forked from Archives/Athou_commafeed
scrollbar styling in webkit
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
@import "generic/misc";
|
@import "generic/misc";
|
||||||
|
@import "generic/scrollbar";
|
||||||
|
|
||||||
@import "components/admin-panel";
|
@import "components/admin-panel";
|
||||||
@import "components/toolbar";
|
@import "components/toolbar";
|
||||||
|
|||||||
21
src/main/webapp/sass/generic/_scrollbar.scss
Normal file
21
src/main/webapp/sass/generic/_scrollbar.scss
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 12px;
|
||||||
|
height: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track:hover {
|
||||||
|
background-color: rgba(0, 0, 0, .05);
|
||||||
|
box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1)
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: rgba(0, 0, 0, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user