|
|
|
|
@ -23,25 +23,6 @@ |
|
|
|
|
transition: @process; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.custom-scroll(@background, @thumb, @width: 8px, @height: 8px) { |
|
|
|
|
-webkit-overflow-scrolling: touch; |
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar { |
|
|
|
|
height: @height; |
|
|
|
|
width: @width; |
|
|
|
|
background: @background; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb { |
|
|
|
|
background-color: @thumb; |
|
|
|
|
-webkit-border-radius: 50px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-corner { |
|
|
|
|
background-color: @background; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.gradient(@startColor: #eee, @endColor: white) { |
|
|
|
|
background: linear-gradient(to top, @startColor, @endColor); |
|
|
|
|
} |
|
|
|
|
|