1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-18 08:38:45 +09:00
cherrypick/src/client/app/desktop/style.styl
MeiMei 9c167acbd9 Supports scrollbar width in Firefox (#4319)
* Supports scrollbar width in Firefox

* fix style
2019-02-19 20:12:19 +09:00

41 lines
679 B
Stylus

@import "../app"
@import "../reset"
*::input-placeholder
color #D8CBC5
*:focus
outline none
html
height 100%
background var(--bg)
&, div, textarea
scrollbar-width thin
&, *
scrollbar-color var(--scrollbarHandle) var(--scrollbarTrack)
&:hover
scrollbar-color var(--scrollbarHandleHover) var(--scrollbarTrack)
&:active
scrollbar-color var(--primary) var(--scrollbarTrack)
&::-webkit-scrollbar
width 6px
height 6px
&::-webkit-scrollbar-track
background var(--scrollbarTrack)
&::-webkit-scrollbar-thumb
background var(--scrollbarHandle)
&:hover
background var(--scrollbarHandleHover)
&:active
background var(--primary)