ombi: fixed scroll bar
This commit is contained in:
parent
8b4912b709
commit
1b13e93014
@ -1,6 +1,39 @@
|
||||
body {
|
||||
background: var(--main-bg-color);
|
||||
}
|
||||
/* Scrollbar */
|
||||
@media only screen and (min-width: 768px) {
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
body {
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
background: var(--main-bg-color)
|
||||
}
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 14px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
min-height: 50px;
|
||||
border: 3px solid transparent;
|
||||
border-radius: 8px;
|
||||
background-color: hsla(0,0%,100%,.2);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
min-height: 50px;
|
||||
border: 3px solid transparent;
|
||||
border-radius: 8px;
|
||||
background-color: hsla(0,0%,100%,.5);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
/* Navbar */
|
||||
.navbar-default {
|
||||
background: var(--main-bg-color);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user