refactor(css): use 1 global declaration for scrollbar

This commit is contained in:
Edouard Vanbelle
2026-04-13 11:04:13 +02:00
parent ce207ebad1
commit 4dff552299
7 changed files with 18 additions and 99 deletions
-30
View File
@@ -84,18 +84,6 @@
/* ------------ */
[data-theme="dark"] ::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.15);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.25);
}
[data-theme="dark"] * {
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
[data-theme="dark"] select {
background-color: #1e293b;
border-color: #334155;
@@ -156,24 +144,6 @@
background-color: #475569;
}
[data-theme="dark"] .view-toggle {
background-color: #1e293b;
border-color: #334155;
}
[data-theme="dark"] .toggle-btn {
color: #94a3b8;
}
[data-theme="dark"] .toggle-btn:hover {
background-color: #334155;
}
[data-theme="dark"] .toggle-btn.active {
background-color: #334155;
color: #ff5e3a;
}
[data-theme="dark"] .context-menu {
background: #1e293b;
border-color: #334155;