Skip to content

Commit d1721ca

Browse files
authored
Merge pull request #3549 from AlchemyCMS/scrollbars-style
Scrollbar styling
2 parents 2b0b699 + d6ab6df commit d1721ca

File tree

6 files changed

+13
-4
lines changed

6 files changed

+13
-4
lines changed

app/assets/builds/alchemy/admin.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/builds/alchemy/dark-theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/builds/alchemy/light-theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/assets/builds/alchemy/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/stylesheets/alchemy/_themes.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@
153153
--picture-tool-background-color: var(--a-darker-grey);
154154
--picture-tool-hover-background-color: var(--a-darkest-grey);
155155

156+
--scrollbar-thumb-color: var(--a-dark-grey);
157+
--scrollbar-track-color: var(--a-darkest-grey);
158+
156159
--search-field-background-color: var(--a-dark-grey);
157160

158161
/* Selects */
@@ -422,6 +425,9 @@
422425
--picture-tool-background-color: var(--color-white);
423426
--picture-tool-hover-background-color: var(--color-grey_very_light);
424427

428+
--scrollbar-thumb-color: var(--color-white);
429+
--scrollbar-track-color: var(--color-grey_light);
430+
425431
--search-field-background-color: var(--color-grey_very_light);
426432

427433
/* Selects */

app/stylesheets/alchemy/admin/base.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ html {
44
box-sizing: border-box;
55
height: 100%;
66
font-size: var(--font-size_medium);
7+
scrollbar-width: thin;
8+
scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
79

810
&.turbo-progress-bar::before,
911
.turbo-progress-bar {
@@ -19,6 +21,7 @@ html {
1921
*,
2022
*::before,
2123
*::after {
24+
scrollbar-width: inherit;
2225
box-sizing: inherit;
2326
}
2427

0 commit comments

Comments
 (0)