FIX auto theme

This commit is contained in:
Sommerwiesel
2025-06-27 13:29:36 +02:00
parent 55d6bef4ee
commit 3e0a1e0207
+76
View File
@@ -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