You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
168 lines
2.7 KiB
CSS
168 lines
2.7 KiB
CSS
:root {
|
|
--color-menu-point1: #e8ecef;
|
|
--color-menu-point2: #1879da;
|
|
}
|
|
|
|
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.admin {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: lightgray;
|
|
padding: 0 10px 10px 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.button {
|
|
border-radius: 8px;
|
|
border: 2px solid var(--color-menu-point1);
|
|
background-color: var(--color-menu-point2);
|
|
color: var(--color-menu-point1);
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.button:hover {
|
|
border-color: var(--color-menu-point2);
|
|
background-color: var(--color-menu-point1);
|
|
color: var(--color-menu-point2);
|
|
}
|
|
|
|
.divider {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.divider_hr {
|
|
width: 100%;
|
|
border-top: 0.5px solid var(--color-menu-point2);
|
|
}
|
|
|
|
.divider_h3 {
|
|
margin: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1;
|
|
padding-top: 100px;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: calc(100% - 100px);
|
|
overflow: auto;
|
|
background-color: rgb(0,0,0);
|
|
background-color: rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 80%;
|
|
}
|
|
|
|
.modal-text {
|
|
white-space: break-spaces;
|
|
}
|
|
|
|
.modal-close {
|
|
color: #aaaaaa;
|
|
float: right;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.modal-close:hover,
|
|
.modal-close:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-block;
|
|
width: 60px;
|
|
height: 34px;
|
|
}
|
|
|
|
.switch input {
|
|
opacity: 0;
|
|
width: 0;
|
|
height: 0;
|
|
}
|
|
|
|
.slider {
|
|
position: absolute;
|
|
cursor: pointer;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: #807272;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
.slider:before {
|
|
position: absolute;
|
|
content: "";
|
|
height: 26px;
|
|
width: 26px;
|
|
left: 4px;
|
|
bottom: 4px;
|
|
background-color: white;
|
|
-webkit-transition: .4s;
|
|
transition: .4s;
|
|
}
|
|
|
|
input:checked + .slider {
|
|
background-color: var(--color-menu-point2);
|
|
}
|
|
|
|
input:focus + .slider {
|
|
box-shadow: 0 0 1px var(--color-menu-point2);
|
|
}
|
|
|
|
input:checked + .slider:before {
|
|
-webkit-transform: translateX(26px);
|
|
-ms-transform: translateX(26px);
|
|
transform: translateX(26px);
|
|
}
|
|
|
|
/* Rounded sliders */
|
|
.slider.round {
|
|
border-radius: 34px;
|
|
}
|
|
|
|
.slider.round:before {
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.timeInput {
|
|
background-color: var(--color-menu-point1);
|
|
}
|
|
|
|
.group {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.direction_column {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.direction_row {
|
|
flex-direction: row;
|
|
}
|