mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
FIX auto theme
This commit is contained in:
@@ -694,6 +694,82 @@ span > select {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* No theme
|
||||
*/
|
||||
|
||||
body.no-theme {
|
||||
background-color: initial; /* oder eine gewünschte Standard-Hintergrundfarbe */
|
||||
color: initial; /* Standard Textfarbe */
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.no-theme a {
|
||||
color: #335d7a;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.no-theme a:hover,
|
||||
.no-theme a:active,
|
||||
.no-theme a:focus,
|
||||
.no-theme summary:hover,
|
||||
.no-theme summary:focus {
|
||||
color: #075A9E !important;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.no-theme .pure-button-primary,
|
||||
.no-theme .pure-button-secondary {
|
||||
border: 1px solid #a0a0a0;
|
||||
border-radius: 3px;
|
||||
color: rgba(35, 35, 35, 1);
|
||||
background-color: #a0a0a0;
|
||||
}
|
||||
|
||||
.no-theme .pure-button-primary:hover,
|
||||
.no-theme .pure-button-primary:focus,
|
||||
.no-theme .pure-button-secondary:hover,
|
||||
.no-theme .pure-button-secondary:focus {
|
||||
color: #fff !important;
|
||||
border-color: rgba(0, 182, 240, 0.75) !important;
|
||||
background-color: rgba(0, 182, 240, 0.75) !important;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.no-theme footer {
|
||||
color: #7c7c7c;
|
||||
}
|
||||
|
||||
.no-theme footer a {
|
||||
color: #7c7c7c !important;
|
||||
}
|
||||
|
||||
/* Formularelemente */
|
||||
.no-theme input,
|
||||
.no-theme select,
|
||||
.no-theme textarea {
|
||||
color: initial;
|
||||
background-color: initial;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* Suchleiste */
|
||||
.no-theme .searchbar input[type="search"] {
|
||||
background-color: inherit;
|
||||
color: inherit;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
/* Scrollbar (optional) */
|
||||
.no-theme ::-webkit-scrollbar {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.no-theme ::-webkit-scrollbar-thumb {
|
||||
background-color: #ccc;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Dark theme
|
||||
|
||||
Reference in New Issue
Block a user