Files
Blink/src/styles/global.scss
T
2023-05-04 18:40:31 +05:30

111 lines
1.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.15);
}
}
::-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.35);
}
}
body {
font-family: "Open Sans";
background: $clr-background-default;
margin: 0;
padding: 0;
position: relative;
width: 100vw;
height: 100vh;
overflow-x: hidden;
overflow-y: overlay;
}
#root,
.root-page {
height: fit-content;
width: 100%;
position: relative;
overflow-y: hidden;
overflow-x: 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: inherit;
box-sizing: border-box;
min-height: 100vh;
}
.empty {
display: none;
}