1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00
vault-frontend/src/styles/_global.scss
2022-03-23 13:57:33 +07:00

176 lines
2.5 KiB
SCSS

@import "src/styles/variables";
@import 'photoswipe/dist/photoswipe';
@import 'photoswipe/dist/default-skin/default-skin';
@import 'swiper/css';
@import 'swiper/css/effect-fade';
@import 'swiper/css/lazy';
@import 'swiper/css/pagination';
@import 'swiper/css/scrollbar';
@import 'swiper/css/zoom';
@import 'swiper/css/navigation';
html {
min-height: 100vh;
box-sizing: border-box;
}
body {
background: darken($main_bg_color, 12%);
min-height: 100vh;
background: url('../../src/sprites/noise.png') $main_bg_color;
color: $main_text_color;
font: $font_16_regular;
-webkit-font-smoothing: antialiased;
fill: white;
stroke: white;
&::before {
content: '';
position: absolute;
height: 600px;
width: 100%;
top: 0;
left: 0;
z-index: -1;
background: url('../../src/sprites/noise_top.png') 0% 0%;
background-size: 600px 600px;
pointer-events: none;
}
* {
box-sizing: border-box;
}
}
#app {
min-height: 100vh;
& > div {
//min-height: 100vh;
}
}
.grey {
color: #555555;
}
.todo, .done {
color: #333333;
border-radius: 3px;
padding: 0 2px;
font: $font_14_semibold;
text-transform: uppercase;
}
.todo {
background-color: $red;
}
.done {
background-color: $green;
}
h2 {
font: $font_24_bold;
}
.username {
background: transparentize($color: #000000, $amount: 0.8);
padding: 2px 4px;
border-radius: 4px;
cursor: pointer;
color: $wisegreen;
font-weight: bold;
}
a {
color: $primary;
text-decoration: underline;
}
::-webkit-scrollbar {
width: 18px;
height: 18px;
}
::-webkit-scrollbar-button {
width: 0;
height: 0;
}
::-webkit-scrollbar-thumb {
background: #999999;
border: 4px solid $content_bg;
border-radius: 12px;
}
::-webkit-scrollbar-thumb:hover {
background: lighten(#999999, 4%);
}
::-webkit-scrollbar-thumb:active {
background: lighten(#999999, 8%);
}
::-webkit-scrollbar-track {
background: $content_bg;
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-corner {
background: transparent;
}
button {
border: none;
background-color: transparent;
outline: none;
}
h3, h2, h1 {
color: white;
font-weight: 800;
}
h6, h5, h4 {
color: white;
font-weight: 600;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.6em;
}
h4 {
font-size: 1.4em;
}
h5 {
font-size: 1.2em;
}
h6 {
font-size: 1em;
}
p {
margin-bottom: $gap;
&:last-child {
margin-bottom: 0;
}
}
#__next {
min-height: 100vh;
}