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
-19
View File
@@ -148,25 +148,6 @@ body {
color: var(--color-text-faint);
}
/* ── Scrollbar ── */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--color-shadow-md);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-shadow-2xl);
}
* {
scrollbar-width: thin;
scrollbar-color: var(--color-shadow-md) transparent;
}
/* ── Top Header Bar ── */
.admin-header {
background: linear-gradient(135deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);
-17
View File
@@ -439,23 +439,6 @@
padding: 6px;
}
.lang-picker-list::-webkit-scrollbar {
width: 6px;
}
.lang-picker-list::-webkit-scrollbar-track {
background: transparent;
}
.lang-picker-list::-webkit-scrollbar-thumb {
background: var(--color-border);
border-radius: 3px;
}
.lang-picker-list::-webkit-scrollbar-thumb:hover {
background: var(--color-text-faint);
}
/* Language item in dropdown */
.lang-picker-item {
display: flex;
-16
View File
@@ -27,22 +27,6 @@ body {
/* #main-content and #auth-error start hidden via .hidden class */
/* ── Scrollbar ── */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--color-shadow-md);
border-radius: 4px;
}
* {
scrollbar-width: thin;
scrollbar-color: var(--color-shadow-md) transparent;
}
/* ── Header ── */
.profile-header {
background: linear-gradient(135deg, var(--color-sidebar-bg-from) 0%, var(--color-sidebar-bg-to) 100%);