Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark theme #132

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,47 @@ button#deactivate {
button#deactivate.off {
border: 2px groove green;
}

/* dark theme by https://github.com/anewuser */
@media (prefers-color-scheme: dark) {
body, option {
background: #3B3B3D;
color: #CACBCE;
}
/* necessary for highlighting entire rows */
table {
border-collapse: collapse;
}
td {
padding: 3px 5px;
}
tr:nth-child(n+3):hover {
background: #2C2C30;
}
.control button, .popup button, input, input::file-selector-button, select, thead th{
background: #27272A;
border: #424244;
color: #CACBB5;
margin: 2px 0;
padding: 5px;
}
input:focus {
outline: solid #AA4400 thin;
}
input[disabled] {
opacity: 0.4;
}
.control button, input::file-selector-button{
font-weight: bold;
outline: solid #433027 medium;
anewuser marked this conversation as resolved.
Show resolved Hide resolved
margin: 5px 10px 0 0;
padding: 10px;
}
.control button:hover, .popup button:hover, input::file-selector-button:hover {
background: #2C2C30;
outline: solid #AA4400 medium;
}
.control button:active, .popup button:active, input::file-selector-button:active {
background: #433027;
}
}