migu/common/css.css
2024-07-11 17:52:40 +02:00

227 lines
No EOL
5.4 KiB
CSS

:root {
--accent-color: #e5204c;
--dm-link-text-color: var(--dm-muted-text-color) !important;
--dm-link-text-color-hover: var(--dm-text-color) !important;
--base-html-font-size: 50%;
--base-html-font-size-1600: 50%;
--base-html-font-size-1920: 62.5%;
--tooltip-width: 17rem;
--card-border-width: 0;
--sidebar-border-width: 0;
--input-border-width: 0;
--sidebar-minimised: 0px;
--sidebar-width: 0px;
--navbar-height: 7rem;
--dark-color-base-hue: 220deg !important;
--dark-color-base-saturation: 10% !important;
--dark-color-hsl: var(--dark-color-base-hue), var(--dark-color-base-saturation), 10% !important;
--dark-color-light: #25292F !important;
--dm-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
--dm-input-border-color: none;
--gray-color-light: hsl(var(--gray-color-light-hsl));
--gray-color-light-hsl: var(--gray-color-base-hue), 10%, 28%;
--gray-color-base-hue: 216;
--safe-area-top: 0px;
--safe-area-left: 0px;
--sidebar-gradient: linear-gradient(90deg, #17191D 15.62%, rgba(23, 25, 29, 0.92) 36.46%, rgba(23, 25, 29, 0.619632) 70.83%, rgba(23, 25, 29, 0) 100%);
--banner-gradient-bottom: linear-gradient(0deg, #17191D 0%, #0000 15%, #0000 100%);
--banner-gradient-left: linear-gradient(90deg, #17191D 0%, rgba(23, 25, 29, 0.5) 75%, rgba(25, 28, 32, 0) 100%);
--torrent-card-gradient: linear-gradient(90deg, #17191C 32%, rgba(23, 25, 28, 0.90) 100%);
--episode-card-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0) 77.08%, rgba(0, 0, 0, 0.7) 100%);
--episode-preview-card-gradient: linear-gradient(180deg, #0000 0%, #25292f00 80%, #25292f 95%, #25292f 100%);
--preview-card-gradient: linear-gradient(180deg, #0000 0%, #25292f00 80%, #25292fe3 95%, #25292f 100%);
--section-end-gradient: linear-gradient(270deg, #17191cff 0%, #17191c00 100%);
color-scheme: dark;
}
.dark-mode {
background-color: var(--dark-color) !important;
}
@media (min-width: 769px) {
:root {
--sidebar-minimised: 7rem;
--sidebar-width: 7rem;
--navbar-height: 0px;
}
}
* {
-webkit-tap-highlight-color: transparent;
}
a[href]:active, button:not([disabled]):active, fieldset:not([disabled]):active, input:not([disabled]):active, optgroup:not([disabled]):active, option:not([disabled]):active, select:not([disabled]):active, textarea:not([disabled]):active, details:active, [tabindex]:not([tabindex="-1"]):active, [contenteditable]:active, [controls]:active {
transition: transform 0.1s ease-in-out;
transform: scale(0.95);
}
.btn-secondary {
--dm-button-secondary-bg-color: #fff !important;
--dm-button-secondary-bg-color-hover: #ddd !important;
--dm-button-secondary-bg-color-focus: var(--dm-button-secondary-bg-color) !important;
}
[data-sonner-toaster][data-theme='dark'] {
--normal-bg: var(--dark-color) !important;
--normal-border: none !important;
--normal-text: var(--dm-base-text-color) !important;
/* --success-bg: var(--success-color) !important; */
--success-border: none !important;
/* --success-text: var(--lm-base-text-color) !important; */
/* --error-bg: hsl(358, 76%, 10%); */
--error-border: none !important;
/* --error-text: hsl(358, 100%, 81%); */
}
[data-sonner-toaster] [data-description] {
white-space: pre-wrap;
}
.z-100 {
z-index: 100;
}
.material-symbols-outlined {
font-family: "Material Symbols Outlined Variable";
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
font-feature-settings: "liga";
font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 64;
}
.filled {
font-variation-settings: 'FILL' 1;
}
.pointer {
cursor: pointer;
}
.h-10 {
height: 1rem !important;
}
.h-25 {
height: 2.5rem !important;
}
body {
scroll-behavior: smooth;
overscroll-behavior: none;
user-select: none;
font-family: 'Nunito Variable'
}
.font-weight-very-bold {
font-weight: 900;
}
.bg-black {
background: #000;
}
img {
-webkit-user-drag: none;
}
.select-all {
user-select: all;
}
img[src=''], img[src=' '] {
display: none;
}
::-webkit-inner-spin-button {
display: none;
}
*:focus-visible {
outline: none;
border-radius: 5px;
box-shadow: inset 0 0 0 1.5px #eee !important;
}
.modal:focus-visible {
box-shadow: none !important;
}
.root {
animation: 0.3s ease 0s 1 load-in;
}
.content-visibility-auto {
content-visibility: auto;
}
.nav-hidden > .content-wrapper {
left: 0 !important;
width: 100% !important;
}
@keyframes skeleloader {
from {
background-position-x: 200%;
}
to {
background-position-x: -100%;
}
}
@keyframes load-in {
from {
transform: translateY(1.2rem) scale(0.95);
}
to {
transform: none
}
}
.skeloader {
position: relative;
overflow: hidden;
}
.skeloader .skeleloader-swipe {
height: 100%;
width: 100%;
background: linear-gradient(to right, transparent 0%, #17191c 50%, transparent 100%);
background-repeat: no-repeat;
background-size: 200% 100%;
animation: skeleloader 1s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.align-content-start {
align-content: start;
}
.cover-img {
object-fit: cover;
}
.pre-wrap {
white-space: pre-wrap
}
.px-50 {
padding-left: 5rem;
padding-right: 5rem;
}
@media (min-width: 769px) {
.px-md-50 {
padding-left: 5rem !important;
padding-right: 5rem !important;
}
}