mirror of
https://github.com/koel/koel
synced 2024-12-20 17:43:36 +00:00
59 lines
1.1 KiB
SCSS
59 lines
1.1 KiB
SCSS
/**
|
|
* ALL YOUR DIRTY UGLY HACKS ARE BELONG TO US.
|
|
*/
|
|
|
|
/**
|
|
* Make elements draggable in old WebKit
|
|
*/
|
|
[draggable] {
|
|
user-select: none;
|
|
-khtml-user-drag: element;
|
|
-webkit-user-drag: element;
|
|
}
|
|
|
|
/**
|
|
* Make webkit scrollbars a bit more good looking on non-mac systems.
|
|
*/
|
|
html.non-mac {
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-button {
|
|
width: 0px;
|
|
height: 0px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--color-bg-primary);
|
|
border: 1px solid rgba(255, 255, 255, .2);
|
|
border-radius: 50px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #303030;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:active {
|
|
background: var(--color-bg-primary);
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--color-bg-primary);
|
|
border: 0px none var(--color-text-primary);
|
|
border-radius: 50px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track:hover {
|
|
background: var(--color-bg-primary);
|
|
}
|
|
|
|
::-webkit-scrollbar-track:active {
|
|
background: #333333;
|
|
}
|
|
|
|
::-webkit-scrollbar-corner {
|
|
background: transparent;
|
|
}
|
|
}
|