refactor(styles): unify scrollbar styles (#990)

This commit is contained in:
brios
2026-04-29 21:17:08 +02:00
committed by GitHub
parent 0fad5c11e4
commit 9e14f3b319
35 changed files with 7 additions and 581 deletions
@@ -266,28 +266,6 @@
overflow-y: auto;
padding-right: 0.25rem;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: var(--overlay-background);
border-radius: 3px;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 3px;
transition: background 0.2s ease;
&:hover {
background: var(--primary-color);
}
}
scrollbar-width: thin;
scrollbar-color: var(--border-color) var(--overlay-background);
.file-item-card {
display: flex;
align-items: center;
@@ -313,28 +313,6 @@
&.fade-in {
animation: fade-in-up 0.4s ease-out;
}
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: var(--overlay-background);
border-radius: 3px;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 3px;
transition: background 0.2s ease;
&:hover {
background: var(--primary-color);
}
}
scrollbar-width: thin;
scrollbar-color: var(--border-color) var(--overlay-background);
}
@keyframes fade-in-up {
@@ -32,23 +32,6 @@
border: 1px solid var(--border-color);
border-top: none;
border-bottom: none;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 3px;
&:hover {
background: var(--primary-color);
}
}
}
.dialog-footer {
@@ -415,15 +415,6 @@
max-height: 280px;
overflow-y: auto;
padding: 0.25rem;
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 2px;
}
}
.queue-item {