359 lines
6.5 KiB
CSS
359 lines
6.5 KiB
CSS
html,
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Segoe UI Emoji', Tahoma, Geneva, Verdana, sans-serif;
|
|
width: 100%;
|
|
height: 100%;
|
|
user-select: none;
|
|
background: #333;
|
|
color: #bbb;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
|
|
img {
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
#controls {
|
|
z-index: 1000;
|
|
}
|
|
|
|
#container {
|
|
z-index: 100;
|
|
}
|
|
|
|
#background {
|
|
position: fixed;
|
|
top: -100px;
|
|
left: -100px;
|
|
right: -100px;
|
|
bottom: -100px;
|
|
background: linear-gradient( 135deg, rgba(6, 10, 15, 1) 32%, rgba(26, 43, 65, 1) 50%, rgba(79, 109, 148, 1) 59%, rgba(157, 174, 182, 1) 65%, rgba(65, 82, 91, 1) 78%, rgba(42, 55, 63, 1) 89%, rgba(14, 14, 14, 1) 100%);
|
|
filter: blur(50px);
|
|
box-shadow: inset 0px 0px 84px 223px rgb(51 51 51 / 50%);
|
|
display: none;
|
|
}
|
|
|
|
.container {
|
|
border-radius: 10px;
|
|
padding: 20px;
|
|
margin: 15px;
|
|
display: inline-block;
|
|
min-width: 50px;
|
|
min-height: 25px;
|
|
box-shadow: 0 9px 19px rgba(0, 0, 0, 0.15), 0 15px 12px rgba(0, 0, 0, 0.15);
|
|
background: #222;
|
|
}
|
|
|
|
img.container {
|
|
padding: 0px;
|
|
}
|
|
|
|
.card {
|
|
padding: 0px;
|
|
display: flex;
|
|
flex-flow: column;
|
|
transition: box-shadow 0.1s linear;
|
|
background: #333;
|
|
}
|
|
|
|
.a.card:hover {
|
|
box-shadow: 0 2px 19px rgba(0, 17, 255, 0), 0 11px 40px rgba(51, 146, 255, 0);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.card>.title {
|
|
border-top-left-radius: 10px;
|
|
border-top-right-radius: 10px;
|
|
padding: 20px;
|
|
display: block;
|
|
flex: 0 1 auto;
|
|
background: #222;
|
|
}
|
|
|
|
.card>.content {
|
|
padding: 20px;
|
|
flex: 1 1 auto;
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
}
|
|
|
|
.card>.content.img {
|
|
padding: 0px;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
}
|
|
|
|
#container {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#navigation {
|
|
flex: 0 1 auto;
|
|
height: 100%;
|
|
max-height: 100%;
|
|
display: inline-block;
|
|
box-shadow: 0 19px 38px rgba(0, 0, 0, 0.03), 0 15px 12px rgba(0, 0, 0, 0.03);
|
|
padding: 20px;
|
|
text-align: center;
|
|
background: #222;
|
|
}
|
|
|
|
#navigation>.separator {
|
|
width: calc(100% + 40px);
|
|
height: 1px;
|
|
display: block;
|
|
margin-left: -20px;
|
|
margin-right: -20px;
|
|
z-index: 0;
|
|
position: relative;
|
|
background: #333;
|
|
}
|
|
|
|
#navigation>.element {
|
|
z-index: 1;
|
|
position: relative;
|
|
margin: auto;
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
border-radius: 15px;
|
|
display: block;
|
|
width: 7vw;
|
|
height: 7vw;
|
|
transition: box-shadow 0.1s linear;
|
|
box-shadow: 0 9px 19px rgba(0, 0, 0, 0.2), 0 15px 12px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
#navigation>.element:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
#navigation>.element:first-of-type {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
#navigation>#settings.element {
|
|
background: #333;
|
|
}
|
|
|
|
#navigation>#settings.element>img {
|
|
filter: invert(8%) sepia(8%) saturate(0%) hue-rotate(347deg) brightness(94%) contrast(100%);
|
|
width: 100%;
|
|
}
|
|
|
|
#navigation>.element.active {
|
|
box-shadow: 0 2px 19px rgba(0, 17, 255, 0), 0 11px 40px rgba(51, 146, 255, 0);
|
|
}
|
|
|
|
#content {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
padding: 15px;
|
|
}
|
|
|
|
#controls {
|
|
z-index: 99999;
|
|
flex: 0 1 auto;
|
|
-webkit-user-select: none;
|
|
-webkit-app-region: drag;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
padding: 5px;
|
|
text-align: center;
|
|
background: #222;
|
|
border-bottom: 1px solid #333;
|
|
}
|
|
|
|
#controls>.title {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
#controls>span.button {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
float: right;
|
|
-webkit-app-region: no-drag;
|
|
opacity: 0.6;
|
|
transition: opacity 0.1s linear;
|
|
border: 5px solid #222;
|
|
}
|
|
|
|
#controls>span.button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
#minimize-button {
|
|
background: rgb(255, 217, 0);
|
|
}
|
|
|
|
#close-button {
|
|
background: rgb(255, 61, 61);
|
|
}
|
|
|
|
#message-box {
|
|
background: rgba(0, 0, 0, 0.4);
|
|
position: fixed;
|
|
z-index: 9999;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.1s linear;
|
|
}
|
|
|
|
#message-box.visible {
|
|
pointer-events: all;
|
|
opacity: 1;
|
|
}
|
|
|
|
#message-box>.container {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 45%;
|
|
transform: translate(-50%, -50%);
|
|
min-width: 300px;
|
|
background: #333;
|
|
}
|
|
|
|
#message-box .mb-buttons {
|
|
display: block;
|
|
text-align: right;
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid #222;
|
|
}
|
|
|
|
#vignette {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 1px;
|
|
bottom: 1px;
|
|
z-index: 999999;
|
|
border-radius: 8px;
|
|
pointer-events: none;
|
|
box-shadow: inset 0 0 2px rgb(255, 255, 255, 0.2);
|
|
}
|
|
|
|
button {
|
|
padding: 10px;
|
|
margin: 5px;
|
|
border-radius: 5px;
|
|
transition: box-shadow 0.1s linear;
|
|
color: #bbb;
|
|
background: #222;
|
|
border: 1px solid rgb(51 51 51 / 50%);
|
|
}
|
|
|
|
button:hover {
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.07), 0 3px 6px rgba(0, 0, 0, 0.13);
|
|
}
|
|
|
|
input[type="text"] {
|
|
padding: 10px;
|
|
margin: 5px;
|
|
border-radius: 5px;
|
|
transition: border 0.1s linear;
|
|
outline: 0;
|
|
width: 250px;
|
|
color: #bbb;
|
|
background: #222;
|
|
border: 1px solid #222;
|
|
}
|
|
|
|
input[type="text"]:focus {
|
|
border: 1px solid rgba(187, 187, 187, 0.3);
|
|
}
|
|
|
|
.input {
|
|
margin: 5px;
|
|
}
|
|
|
|
.two-grid {
|
|
display: flex;
|
|
}
|
|
|
|
.two-grid>* {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.two-grid>:first-child {
|
|
text-align: left;
|
|
flex: 0 1 auto;
|
|
}
|
|
|
|
.two-grid>:last-child {
|
|
text-align: right;
|
|
margin-left: auto;
|
|
justify-content: flex-end;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
input[type="radio"] {
|
|
position: relative;
|
|
margin: 5px;
|
|
margin-right: 7px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
input[type="radio"]::before {
|
|
content: '';
|
|
width: 22px;
|
|
height: 22px;
|
|
display: block;
|
|
border-radius: 50%;
|
|
left: -5px;
|
|
top: -4px;
|
|
position: absolute;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
transition: box-shadow 0.1s linear;
|
|
background: #222;
|
|
}
|
|
|
|
input[type="radio"]::after {
|
|
content: '';
|
|
width: 12px;
|
|
height: 12px;
|
|
display: block;
|
|
border-radius: 50%;
|
|
left: 1px;
|
|
top: 2px;
|
|
position: absolute;
|
|
background: #222;
|
|
}
|
|
|
|
input[type="radio"]:checked {
|
|
display: inline;
|
|
}
|
|
|
|
input[type="radio"]:checked::after {
|
|
background: rgb(0, 135, 193);
|
|
}
|
|
|
|
input[type="radio"]:hover::before {
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.07), 0 3px 6px rgba(0, 0, 0, 0.13);
|
|
}
|
|
|
|
::selection {
|
|
color: white;
|
|
background: rgb(0, 135, 193);
|
|
}
|
|
|
|
#dark-mode-toggle {
|
|
--dark-mode-toggle-icon-size: 1.25rem;
|
|
} |