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
@@ -70,17 +70,6 @@
.notes-scroll-container {
overflow: auto hidden;
height: 100%;
&::-webkit-scrollbar {
height: 10px;
}
&::-webkit-scrollbar-track {
background: rgb(30 30 30 / 50%);
border-radius: 10px;
}
scrollbar-width: thin;
}
.notes-horizontal-list {
@@ -268,10 +257,6 @@
max-height: 120px;
font-size: 0.85rem;
}
&::-webkit-scrollbar {
width: 6px;
}
}
.dialog-form {
@@ -109,24 +109,6 @@
overflow: auto hidden;
padding-bottom: 8px;
height: 100%;
&::-webkit-scrollbar {
height: 8px;
}
&::-webkit-scrollbar-track {
background: var(--ground-background);
border-radius: 4px;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 4px;
&:hover {
background: var(--primary-color);
}
}
}
.reviews-horizontal-list {
@@ -357,24 +339,6 @@
&--blurred {
filter: blur(4px);
}
&::-webkit-scrollbar {
width: 4px;
}
&::-webkit-scrollbar-track {
background: var(--ground-background);
border-radius: 2px;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 2px;
&:hover {
background: var(--primary-color);
}
}
}
.review-empty-text {
@@ -70,23 +70,6 @@
overflow-y: auto;
// Desktop width constraints moved to src/styles.scss for body-appended elements
&::-webkit-scrollbar {
width: 8px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 4px;
}
&::-webkit-scrollbar-thumb:hover {
background: var(--text-secondary-color);
}
}
// .show class no longer needed as popover handles visibility
@@ -118,28 +118,6 @@
flex: 1;
padding-right: 0.25rem;
min-height: 0;
&::-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);
}
.shelf-item {