mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
theme scrollbars
This commit is contained in:
parent
d8067f43b7
commit
4756640f3f
@ -88,11 +88,16 @@ div:not(.modal)::-webkit-scrollbar-track {
|
||||
}
|
||||
|
||||
div:not(.modal)::-webkit-scrollbar-thumb {
|
||||
background-color: rgba(100,100,100,.2);
|
||||
border-radius: 10px;
|
||||
margin-right: 1px;
|
||||
|
||||
@include themify($themes) {
|
||||
background-color: themed('scrollbarColor');
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(100,100,100,.4);
|
||||
@include themify($themes) {
|
||||
background-color: themed('scrollbarHoverColor');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -44,6 +44,11 @@ $themes: (
|
||||
backgroundColor: $background-color,
|
||||
backgroundColorAlt: $background-color-alt,
|
||||
backgroundColorAlt2: $background-color-alt2,
|
||||
scrollbarColor: rgba(100,100,100,.2),
|
||||
scrollbarHoverColor: rgba(100,100,100,.4),
|
||||
boxBackgroundColor: $box-background-color,
|
||||
boxBackgroundHoverColor: $box-background-hover-color,
|
||||
boxBorderColor: $box-border-color,
|
||||
headerBackgroundColor: $brand-primary,
|
||||
headerBorderColor: darken($brand-primary, 7%),
|
||||
headerInputBackgroundColor: darken($brand-primary, 8%),
|
||||
@ -52,9 +57,6 @@ $themes: (
|
||||
headerInputPlaceholderColor: lighten($brand-primary, 35%),
|
||||
listItemBackgroundColor: $background-color,
|
||||
listItemBackgroundHoverColor: $list-item-hover,
|
||||
boxBackgroundColor: $box-background-color,
|
||||
boxBackgroundHoverColor: $box-background-hover-color,
|
||||
boxBorderColor: $box-border-color,
|
||||
groupingsActiveColor: darken($background-color-alt, 5%),
|
||||
disabledIconColor: $list-icon-color,
|
||||
headingColor: $gray-light,
|
||||
@ -88,6 +90,8 @@ $themes: (
|
||||
backgroundColor: #363636,
|
||||
backgroundColorAlt: #3d3d3d,
|
||||
backgroundColorAlt2: #222222,
|
||||
scrollbarColor: #4d4d4d,
|
||||
scrollbarHoverColor: #5f5f5f,
|
||||
boxBackgroundColor: #363636,
|
||||
boxBackgroundHoverColor: #3f3f3f,
|
||||
boxBorderColor: #2f2f2f,
|
||||
|
Loading…
Reference in New Issue
Block a user