Skip to content
Snippets Groups Projects
Commit fc77160f authored by Karl Prieb's avatar Karl Prieb
Browse files

remove custom-scroll mixin

parent 70f985fa
No related merge requests found
...@@ -34,12 +34,24 @@ ...@@ -34,12 +34,24 @@
/** ---------------------------------------------------------------------------- /** ----------------------------------------------------------------------------
* Document components * Document components
*/ */
html {
.custom-scroll(@transparent-dark, @custom-scrollbar-color, 0);
}
* { * {
.custom-scroll(@transparent-dark, @custom-scrollbar-color); -webkit-overflow-scrolling: touch;
&::-webkit-scrollbar {
height: 8px;
width: 8px;
background: @transparent-dark;
}
&::-webkit-scrollbar-thumb {
background-color: @custom-scrollbar-color;
-webkit-border-radius: 50px;
}
&::-webkit-scrollbar-corner {
background-color: @transparent-dark;
}
} }
body { body {
......
...@@ -23,25 +23,6 @@ ...@@ -23,25 +23,6 @@
transition: @process; 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) { .gradient(@startColor: #eee, @endColor: white) {
background: linear-gradient(to top, @startColor, @endColor); background: linear-gradient(to top, @startColor, @endColor);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment