forked from rDrama/rDrama
more elegant scrollbars in chromium
parent
a5875f713e
commit
8f22a66e68
|
@ -1807,14 +1807,6 @@ button.close {
|
||||||
.modal-open {
|
.modal-open {
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
@media (min-width: 768px) {
|
|
||||||
.modal-open {
|
|
||||||
padding-right: 1.3vw;
|
|
||||||
}
|
|
||||||
.modal-open nav {
|
|
||||||
padding-right: 1.3vw;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.modal-open .modal {
|
.modal-open .modal {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
@ -7687,3 +7679,21 @@ ul {
|
||||||
:not(.modal):target {
|
:not(.modal):target {
|
||||||
scroll-margin-top: 100px;
|
scroll-margin-top: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.modal-open {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
.modal-open nav {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #555;
|
||||||
|
}
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: #3d3d3d;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue