328 lines
6 KiB
CSS
328 lines
6 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@300&display=swap");
|
|
:root {
|
|
--background-primary: #191724;
|
|
--sidebar-color: #191724;
|
|
--sidebar-text-color: #e0def4;
|
|
--text-color-primary: #e0def4;
|
|
--text-color-secondary: #6e6a86;
|
|
--focus-color: #eb6f92;
|
|
--header-height: 10vh;
|
|
--section-font-size: 20pt;
|
|
--section-font: 'Calibri';
|
|
--section-padding: 0.5em;
|
|
--setting-distance-from-sidebar: 1em;
|
|
--setting-distance-from-right: 1em;
|
|
--setting-name-font: 'Calibri';
|
|
--setting-desc-font: 'Calibri';
|
|
}
|
|
|
|
* {
|
|
user-select: none;
|
|
overflow: hidden;
|
|
}
|
|
/*
|
|
body {
|
|
background-color: var(--background-primary);
|
|
}*/
|
|
|
|
#sidebar {
|
|
animation: fadeIn 750ms ease-in 300ms forwards;
|
|
-webkit-animation: fadeIn 750ms ease-in 300ms forwards;
|
|
position: absolute;
|
|
top: var(--header-height);
|
|
left: 0;
|
|
background-color: var(--sidebar-color);
|
|
transition: width 0.5s;
|
|
width: var(--sidebar-width);
|
|
}
|
|
|
|
.setting li a {
|
|
background-color: #2e2828;
|
|
padding: 10px 16px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.settings-div li a ul {
|
|
border-bottom-right-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
margin-top: 10px;
|
|
left: 0 !important;
|
|
display: none;
|
|
}
|
|
|
|
.settings-div li a:hover ul,
|
|
ul li:hover {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
display: block;
|
|
}
|
|
|
|
|
|
/*
|
|
.settings-div ul li p{
|
|
color: white;
|
|
font-family: 'Calibri';
|
|
z-index: 3 !important;
|
|
|
|
}*/
|
|
|
|
li {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.settings-div li a ul li {
|
|
clear: both;
|
|
width: 100%;
|
|
}
|
|
|
|
.section {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
background-color: transparent;
|
|
color: var(--sidebar-text-color);
|
|
font-size: var(--section-font-size);
|
|
font-family: var(--section-font);
|
|
width: 100%;
|
|
transition: background-color 0.5s;
|
|
padding-top: var(--section-padding);
|
|
padding-bottom: var(--section-padding);
|
|
}
|
|
|
|
.section:hover {
|
|
background-color: #ffffff20;
|
|
}
|
|
|
|
.settings-div {
|
|
position: absolute;
|
|
left: calc(var(--sidebar-width) + var(--setting-distance-from-sidebar));
|
|
top: 0;
|
|
width: calc(100vw - var(--sidebar-width) - var(--setting-distance-from-sidebar));
|
|
padding-top: 5%;
|
|
}
|
|
|
|
.setting-input {
|
|
/* left: 100%; */
|
|
color: black !important;
|
|
position: relative;
|
|
/* right: 0; */
|
|
transform: translateY(-1.5em);
|
|
float: right;
|
|
margin-right: 5%;
|
|
}
|
|
|
|
.setting-input {
|
|
display: none;
|
|
}
|
|
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300&display=swap');
|
|
|
|
.toogle-button {
|
|
font-weight: bold;
|
|
font-size: 10PX;
|
|
display: inline-block;
|
|
width: 75px;
|
|
height: 35px;
|
|
background-color: #dfddf3;
|
|
border-radius: 30px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.toogle-button::after {
|
|
content: 'Off';
|
|
width: 40px;
|
|
height: 40px;
|
|
color: #E7E2CD;
|
|
background-color: #e14343;
|
|
border: 2px solid #E7E2CD;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 5px rgb(0 0 0 / 25%);
|
|
position: absolute;
|
|
top: -3px;
|
|
left: 0;
|
|
line-height: 0;
|
|
display: grid;
|
|
place-content: center;
|
|
transition: all .5s;
|
|
transform: 1s ease-in;
|
|
font-family: 'Mulish', sans-serif;
|
|
}
|
|
|
|
.setting-input:checked + .toogle-button::after {
|
|
content: 'On';
|
|
background-color: #53b357;
|
|
transform: translateX(35px) rotate(360deg);
|
|
}
|
|
|
|
ul li {
|
|
float: left;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
padding-right: 1em;
|
|
padding-left: 1em;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.button {
|
|
width: 30px;
|
|
height: 30px;
|
|
transform: translateY(-30px);
|
|
justify-self: end;
|
|
font-family: var(--setting-desc-font);
|
|
align-self: flex-end;
|
|
color: white;
|
|
}
|
|
|
|
@-webkit-keyframes fadeIn {
|
|
0% {
|
|
opacity: 0.01;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% {
|
|
opacity: 0.01;
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');
|
|
|
|
.notification-container {
|
|
position: fixed;
|
|
top: 15px;
|
|
right: 15px;
|
|
width: 500px;
|
|
max-width: calc(100% - 30px);
|
|
font-family: 'Roboto', sans-serif;
|
|
}
|
|
|
|
.notification {
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
|
color: #fff;
|
|
font-size: 16px;
|
|
padding: 15px 20px;
|
|
line-height: 20px;
|
|
margin-bottom: 15px;
|
|
animation: grow 0.5s ease-in forwards;
|
|
}
|
|
|
|
@keyframes grow {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
}
|
|
|
|
.notification.hide {
|
|
animation: shrink 0.3s ease-out forwards;
|
|
}
|
|
|
|
@keyframes shrink {
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
}
|
|
}
|
|
|
|
.notification strong {
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
letter-spacing: 0.5px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.notification-info {
|
|
background-color: #00cae3;
|
|
}
|
|
|
|
.notification-success {
|
|
background-color: #55b559;
|
|
}
|
|
|
|
.notification-warning {
|
|
background-color: #ff9e0f;
|
|
}
|
|
|
|
.notification-danger {
|
|
background-color: #f55145;
|
|
}
|
|
|
|
|
|
@keyframes fade-in {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
.stamp {
|
|
text-align: left;
|
|
position: fixed;
|
|
bottom: 0;
|
|
}
|
|
.bk-btn {
|
|
height: 52px;
|
|
width: 52px;
|
|
background-color: black;
|
|
border-radius: 50%;
|
|
}
|
|
.bk-btn .bk-btn-triangle {
|
|
position: relative;
|
|
top: 13px;
|
|
left: 10.4px;
|
|
width: 0;
|
|
height: 0;
|
|
border-top: 13px solid transparent;
|
|
border-bottom: 13px solid transparent;
|
|
border-right: 13px solid white;
|
|
}
|
|
.bk-btn .bk-btn-bar {
|
|
position: relative;
|
|
background-color: white;
|
|
height: 7.8px;
|
|
width: 13px;
|
|
top: -3.64px;
|
|
left: 22.88px;
|
|
}
|
|
|
|
.settings-cont {
|
|
box-sizing: border-box;
|
|
width: 300px;
|
|
height: 246px;
|
|
padding: 30px;
|
|
border: 2px solid rgb(121 103 221);
|
|
border-radius: 9px;
|
|
margin-top: 20px;
|
|
|
|
}
|
|
|
|
.name {
|
|
color: var(--text-color-primary);
|
|
font-size: 2vmax;
|
|
margin: 0;
|
|
font-family: var(--setting-name-font);
|
|
|
|
}
|
|
|
|
.description {
|
|
color: var(--text-color-secondary);
|
|
margin: 0;
|
|
font-size: 17px;
|
|
font-family: var(--setting-desc-font);
|
|
}
|