Files
WidevineProxy2/panel/panel.css
2024-10-27 09:51:37 +01:00

150 lines
2.5 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #ffffff;
color: black;
}
button:not(.toggleButton), select {
padding: 4px;
}
.toggleButton {
width: 24px;
}
button, select {
background-color: #e1e1e1;
border: none;
}
.text-box {
outline: none;
width: 80%;
}
button:hover, select:hover {
background-color: #c3c3c3;
}
button, select, fieldset, .text-box {
border-radius: 7px;
}
/* Dark mode */
.dark-mode {
background-color: #1b1b1b;
color: #D5D5D5;
}
.dark-mode fieldset {
border-color: #535353;
}
.dark-mode button, .dark-mode select {
background-color: #222;
color: #D5D5D5;
border-color: #222;
}
.dark-mode button:hover, .dark-mode select:hover {
background-color: #323232;
}
.dark-mode .expandableDiv {
background-color: #1b2027;
}
.dark-mode .text-box {
background-color: #323232;
border-color: #535353;
color: #D5D5D5;
}
/* Switch */
.switch {
position: relative;
display: inline-block;
width: 40px;
height: 20px;
margin-left: 10px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* Slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
transition: 0.4s;
border-radius: 20px;
}
.slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 3px;
bottom: 3px;
background-color: white;
border-radius: 50%;
}
input:checked + .slider {
background-color: #2196F3;
}
input:checked + .slider:before {
transform: translateX(20px);
}
#clear {
width: 100%;
margin-bottom: 3px;
}
#type-select {
margin-left: auto;
}
#settings {
display: flex;
}
.header {
display: flex;
justify-content: center;
align-items: center;
}
.header > * {
margin: 5px;
}
#wvd > *, #remote > * {
margin: 5px;
}
.log-container {
display: flex;
justify-content: center;
}
.right-bound {
text-align: right;
}
.expandableDiv {
width: 100%;
overflow: hidden;
background-color: lightblue;
border-radius: 7px;
padding: 0;
}
.expandableDiv.expanded {
padding: 5px;
}
.expandableDiv.collapsed {
padding: 0;
}
.always-visible {
display: block;
}
.expanded-only {
display: none;
}
.expandableDiv.expanded .expanded-only {
display: block;
}