mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Added nano scroller shadow
This commit is contained in:
parent
3da3861545
commit
54a4c2657a
14 changed files with 302 additions and 292 deletions
|
|
@ -1,29 +1,24 @@
|
|||
/**
|
||||
::-webkit-scrollbar {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
overflow: visible;
|
||||
.nano:before, .nano:after {
|
||||
display: none;
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
z-index: 102;
|
||||
-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
|
||||
-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
|
||||
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-button {
|
||||
height: 0;
|
||||
width: 0;
|
||||
.nano:before {
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
background-clip: padding-box;
|
||||
border-width: 1px 1px 1px 6px;
|
||||
min-height: 18px;
|
||||
.nano:after {
|
||||
bottom: -2px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #bbb;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background: transparent;
|
||||
}
|
||||
/**/
|
||||
.nano.nano-scrolllimit-top:before, .nano.nano-scrolllimit-bottom:after {
|
||||
display: block;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue