Skip to content

Commit

Permalink
Improved CSS naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Vainonen committed Sep 16, 2022
1 parent 5099078 commit e350661
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions resource/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
--alert-color-bright: #ED0D6C;
--uri-id-text-color: #006621; /* only used in search results */

--scroll-box-color: #474b4f; /* used for the sidebar scroll */
--scroll-bar-color: #b9c1c6; /* used for the sidebar scroll */
--scroll-bar-width: 14px; /* used for the sidebar scroll */

--white-color: #FFFFFF; /**/
--gray-100: #F6F7F8;
--gray-200: #EDF0F2;
Expand Down Expand Up @@ -2229,23 +2233,18 @@ body, .versal, h1, h2, h3, p, .versal-bold {

/* CSS custom scrollbars
************************************/
:root {
--scrollbarWidth: 14px;
--scrollbarBg: #b9c1c6;
--scrollbarThumb: #474b4f;
}
.sidebar-grey, .tt-dropdown-menu, .multiselect-container {
scrollbar-width: var(--scrollbarWidth);
scrollbar-color: var(--scrollbarThumb) var(--scrollbarBg);
scrollbar-width: var(--scroll-bar-width);
scrollbar-color: var(--scroll-box-color) var(--scroll-bar-color);
}
.sidebar-grey::-webkit-scrollbar, .tt-dropdown-menu::-webkit-scrollbar, .multiselect-container::-webkit-scrollbar {
width: var(--scrollbarWidth);
width: var(--scroll-bar-width);
}
.sidebar-grey::-webkit-scrollbar-track, .tt-dropdown-menu::-webkit-scrollbar-track, .multiselect-container::-webkit-scrollbar-track {
background: var(--scrollbarBg);
background: var(--scroll-bar-color);
}
.sidebar-grey::-webkit-scrollbar-thumb, .tt-dropdown-menu::-webkit-scrollbar-thumb, .multiselect-container::-webkit-scrollbar-thumb {
background-color: var(--scrollbarThumb);
background-color: var(--scroll-box-color);
min-height: 40px;
-webkit-box-shadow: inset 0 -1.5em 0 #b9c1c6
}
Expand Down

0 comments on commit e350661

Please sign in to comment.