rudeshark.net/src/client/app/desktop/style.styl
MeiMei 65a82f32be Supports CSS Scrollbars (#3783)
* Supports CSS Scrollbars

* fix
2018-12-28 21:34:35 +09:00

38 lines
637 B
Stylus

@import "../app"
@import "../reset"
*::input-placeholder
color #D8CBC5
*:focus
outline none
html
height 100%
background var(--bg)
&, *
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)