Files
Blink/src/styles/global.scss
T
2023-11-20 21:48:23 +05:30

170 lines
2.6 KiB
SCSS

/** @format */
::-webkit-scrollbar {
width: 14px;
background: $clr-background-dark;
}
div::-webkit-scrollbar {
width: 14px;
background: transparent;
}
.roundedScrollbar::-webkit-scrollbar-track {
border-radius: 1000px;
}
::-webkit-scrollbar-track {
background-color: transparent;
&:hover {
background-color: rgb(255 255 255 / 0.1);
}
}
::-webkit-scrollbar-thumb {
border: 4px solid transparent;
background-clip: padding-box;
border-radius: 9999px;
background-color: rgb(255 255 255 / 0.25);
&:hover {
background-color: rgb(255 255 255 / 0.45);
}
}
body {
font-family: "Noto Sans";
background: $clr-background-default;
margin: 0;
padding: 0;
position: relative;
width: 100vw;
height: 100vh;
overflow-x: hidden;
overflow-y: auto;
overscroll-behavior: none;
}
.app-backdrop {
object-fit: cover;
width: calc(100% + 100px);
height: calc(100% + 100px);
position: absolute;
top: -100px;
left: -100px;
z-index: -1;
filter: blur(120px) saturate(130%) contrast(140%);
&-container {
position: fixed;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
}
}
#root,
.root-page {
height: fit-content;
width: 100%;
position: relative;
overflow: hidden;
min-height: 100vh;
}
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.loading {
opacity: 0.35;
}
.fadeIn {
animation: 0.5s fadeIn forwards;
}
.fadeOut {
animation: 0.5s fadeOut forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translate(-20px, 0);
}
to {
opacity: 1;
transform: translate(0px, 0px);
}
}
@keyframes fadeOut {
from {
opacity: 1;
transform: translate(0px, 0px);
}
to {
transform: translate(20px, 0);
opacity: 0;
}
}
h1 {
color: white !important;
}
.scrollY {
overflow-x: hidden;
overflow-y: visible;
height: fit-content;
width: 100%;
box-sizing: border-box;
min-height: 100vh;
padding-left: 1em;
padding-right: calc(1em + 14px);
}
.home {
padding-left: 0 !important;
padding-right: 14px !important;
}
.empty {
display: none;
}
.MuiChip-label {
display: flex;
align-items: center;
justify-content: center;
}
.material-symbols-rounded {
font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 25, "opsz" 40;
font-size: 1.1em;
transition: all $transition-time-default;
}
.audio-playing .scrollY {
padding-bottom: 9em !important;
}
.audio-playing .scrollY.library {
padding-bottom: 0 !important;
}
.audio-playing .library-items {
padding-bottom: 9em !important;
}
.library-items,
.scrollY {
transition: all $transition-time-default !important;
}
// Normalize listItemIcons for material symbols
.MuiListItemIcon-root {
font-size: 24px;
}