432 lines
7.6 KiB
CSS

:root {
--background: #181e25;
--background-dark: #13181f;
--background-light: #202831;
--background-disabled: #212A34;
--background-note: #2C3540;
--background-warning: #3D3322;
--background-usage: #28313A;
--offwhite: #F2F2F2;
--offwhite-transparent: #F2F2F255;
--blue: #247be2;
--red: #FF5858;
--green: #8BFF63;
--lightgray: #cfd9e8;
--gray: #989898;
--darkgray: #3d4651;
--orange: #FF7B42;
}
* {
font-family: "Open Sans", sans-serif;
box-sizing: border-box;
}
html {
height: 100%;
overflow: hidden;
}
body {
background-color: var(--background);
padding: 0px;
margin: 0px;
height: 100%;
overflow-x: auto;
}
#title-bar {
content: " ";
display: block;
-webkit-user-select: none;
-webkit-app-region: drag;
height: 30px;
width: 100%;
display: flex;
justify-content: end;
column-gap: 15px;
padding: 5px;
background-color: var(--background-dark);
}
#title-bar>*:first-child {
margin-right: auto;
color: #F2F2F2AA;
font-size: 12px;
}
.title-bar-button {
background-color: transparent;
border: 0px solid transparent;
height: 20px;
width: 20px;
background-repeat: no-repeat;
background-position: 50% 50%;
cursor: pointer;
}
.minimize {
background-image: url("../icons/window-minimize-regular.svg");
}
.restore {
background-image: url("../icons/window-restore-regular.svg");
}
.maximize {
background-image: url("../icons/window-maximize-regular.svg");
}
.close {
background-image: url("../icons/xmark-solid.svg");
}
.close:hover {
background-color: darkred;
}
.title-bar-button {
-webkit-app-region: no-drag;
}
#header {
display: flex;
justify-content: start;
align-items: center;
color: #F2F2F2;
font-weight: bold;
font-size: 16px;
padding: 20px 20px 20px 20px;
column-gap: 10px;
background-color: var(--background-dark);
width: 100%;
-webkit-user-select: none;
-webkit-app-region: drag;
}
#header .link{
-webkit-user-select: text;
-webkit-app-region: no-drag;
}
#header>div {
display: flex;
flex-direction: column;
justify-content: center;
height: 60px;
}
#header img.link {
height: 20px;
}
.link {
font-weight: normal;
text-decoration: underline;
cursor: pointer;
}
.link.first {
margin-left: auto;
}
.link>a:link {
color: var(--offwhite);
}
.link>a:visited {
color: var(--offwhite);
}
.main-icon {
width: 60px;
height: 60px;
}
#loader {
color: var(--offwhite);
font-size: 20px;
font-weight: normal;
position: absolute;
display: flex;
width: 100%;
align-items: center;
justify-content: center;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background-color: transparent;
border-bottom-right-radius: 10px;
border-top-right-radius: 10px;
margin-top: 0px;
}
::-webkit-scrollbar-thumb {
background-color: white;
border-radius: 100px;
margin-top: 10px;
opacity: 0.8;
}
.accent-red {
color: var(--red);
}
.accent-green {
color: var(--green);
}
.page-header {
font-size: 18px;
font-weight: 600;
color: var(--offwhite);
border-bottom: 1px solid var(--offwhite);
padding-bottom: 15px;
margin-bottom: 10px;
}
.button {
padding: 10px 15px;
border-radius: 5px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
column-gap: 10px;
}
.button.radio {
border: 1px solid var(--offwhite);
color: var(--offwhite);
}
.button.radio::before {
content: "";
display: block;
width: 10px;
height: 10px;
border: 1px solid var(--offwhite);
border-radius: 999px;
}
.button.radio.selected::before {
background-color: var(--offwhite);
}
.close-popup {
color: var(--offwhite);
background-color: var(--blue);
}
.accept-popup {
color: var(--background);
background-color: var(--offwhite);
}
input {
outline: none;
font-weight: 600;
color: var(--background);
font-size: 13px;
padding: 3px 10px;
border-radius: 5px;
text-align: left;
width: 300px;
}
.hide {
display: none !important;
}
#grayout {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
background-color: white;
opacity: 15%;
z-index: 999;
}
#popup {
width: 450px;
height: fit-content;
min-height: 200px;
position: absolute;
background-color: var(--background);
border-radius: 5px;
left: calc(50% - 200px);
top: calc(50% - 100px);
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px 40px;
align-items: start;
z-index: 999;
}
#popup img {
width: 20px;
height: 20px;
}
#popup img.wait {
animation: rotate 2s linear infinite;
}
#popup .content {
color: var(--offwhite);
font-size: 13px;
font-weight: 600;
width: 100%;
text-align: left;
padding: 15px 0px !important;
word-wrap: break-word;
overflow-wrap: anywhere;
}
#popup .footer {
height: fit-content;
display: flex;
justify-content: end;
width: 100%;
column-gap: 10px;
}
.manager-page {
min-width: 1200px;
overflow-y: auto;
}
.input-group {
color: var(--offwhite);
display: flex;
flex-direction: column;
row-gap: 5px;
align-items: start;
position: relative;
width: 500px;
}
.input-group>span:nth-child(1) {
font-size: 14px;
font-weight: 600;
}
.input-group>span:nth-child(2) {
font-size: 13px;
font-weight: normal;
}
.input-group div {
display: flex;
align-items: center;
column-gap: 5px;
flex-wrap: wrap;
}
.input-group span {
display: flex;
align-items: center;
column-gap: 5px;
flex-wrap: wrap;
}
.divider {
border-top: 0px solid transparent !important;
border-bottom: 1px solid var(--offwhite) !important;
opacity: 80%;
height: 0px !important;
cursor: default;
}
@keyframes rotate {
0% {
transform: rotate(0deg)
}
100% {
transform: rotate(360deg)
}
}
.button.collapse {
display: flex;
justify-content: space-between;
}
.button.collapse::after {
display: block;
content: " ";
width: 20px;
height: 20px;
background-image: url("../icons/chevron-down-solid.svg");
background-repeat: no-repeat;
background-position: 50% 50%;
}
.button.collapse.loading::after {
background-image: url("../icons/spinner-solid.svg");
animation: rotate 2s linear infinite;
}
.button.collapse>div {
display: none;
position: absolute;
transform: translate(-15px, calc(50% + 20px));
}
.button.collapse.open>div {
display: block;
}
.button.collapse .button {
color: var(--offwhite);
background-color: var(--background-light);
}
.button.collapse .button:hover {
color: var(--background);
background-color: var(--offwhite);
}
.button.collapse .button:first-child {
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.button.collapse .button:not(:first-child):not(:last-child) {
border-radius: 0px;
}
.button.collapse .button:last-child {
border-top-left-radius: 0px;
border-top-right-radius: 0px;
}
.checkbox {
position: relative;
height: 15px;
width: 15px;
border: 1px solid var(--offwhite);
border-radius: 2px;
}
.checkbox.checked::after {
display: block;
position: absolute;
content: "";
height: 3px;
width: 8px;
transform: translate(1px, -1px) rotate(-45deg);
border-left: 2px solid var(--offwhite);
border-bottom: 2px solid var(--offwhite);
}