feat: move scrollbar styles and add variables locally
This commit is contained in:
parent
b304712b1e
commit
6195637001
5 changed files with 7 additions and 8 deletions
|
|
@ -1,5 +1,3 @@
|
|||
@import "base";
|
||||
|
||||
@import "attachments";
|
||||
@import "gantt";
|
||||
@import "tooltip";
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
@import 'scrollbars';
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
// Chrome
|
||||
::-webkit-scrollbar {
|
||||
width: $scrollbar-height;
|
||||
height: $scrollbar-height;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: $scrollbar-track-color;
|
||||
border-radius: .5rem;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: .5rem;
|
||||
background: $scrollbar-thumb-color;
|
||||
transition: all $transition;
|
||||
|
||||
&:hover {
|
||||
background: $scrollbar-hover-color;
|
||||
}
|
||||
}
|
||||
|
||||
// Firefox
|
||||
* {
|
||||
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
Reference in a new issue