Clarify selectize-znc-dark.css belongs to ZNC not Selectize's upstream

- Rename the file to contain znc in it
- Add a header mentioning that it is part of ZNC codebase
This commit is contained in:
Danny Colin
2025-10-05 23:13:42 -04:00
parent 6ce9543e65
commit 51ba58bd8a
3 changed files with 6 additions and 33 deletions

View File

@@ -1,32 +0,0 @@
:root {
--selectize-input-background-color: #ffffff;
--selectize-input-border-color: #cccccc;
--selectize-input-div-background-color: #eeeeee;
--selectize-input-div-color: #000000;
}
@media screen and (prefers-color-scheme: dark) {
:root {
--selectize-input-background-color: #0c0c0d;
--selectize-input-border-color: #3e3e3f;
--selectize-input-div-background-color: #2a2a2b;
--selectize-input-div-color: #fafafa;
}
}
/* jQuery UI components */
.selectize-input,
.selectize-control.single
.selectize-input.input-active {
background: var(--selectize-input-background-color);
}
.selectize-input {
border: 1px solid var(--selectize-input-border-color);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}
.selectize-control.multi .selectize-input > div {
background: var(--selectize-input-div-background-color);
color: var(--selectize-input-div-color);
}

View File

@@ -0,0 +1,5 @@
/* selectize-znc-dark.css
*
* This file is part of ZNC. It contains CSS rules that adds a dark theme to the
* upstream selectize project.
*/

View File

@@ -6,7 +6,7 @@
<? AddRow JSLoop HREF=/pub/selectize-standalone-0.12.1.min.js ?>
<? AddRow CSSLoop HREF=/pub/jquery-ui-sortable.1.11.4.min.css ?>
<? AddRow CSSLoop HREF=/pub/selectize-0.12.1.css ?>
<? AddRow CSSLoop HREF=/pub/selectize-0.12.1-dark.css ?>
<? AddRow CSSLoop HREF=/pub/selectize-znc-dark.css ?>
<html lang="en">
<head>
<meta charset="UTF-8" />