1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00
Files
Boostnote/browser/styles/mixins/btn.styl
2015-08-17 01:10:08 +09:00

41 lines
995 B
Stylus

btnDefault()
border-style solid
border-width 1px
border-color lightButtonColor
background-color transparent
color lightButtonColor
&:hover, &.hover, &:focus, &.focus
border-color darken(lightButtonColor, 50%)
color darken(lightButtonColor, 50%)
&:active, &.active
border-color darken(brandBorderColor, 10%)
background-color brandColor
color white
&:disabled, &.disabled
opacity 0.6
btnPrimary()
border-style solid
border-width 1px
border-color brandBorderColor
background-color transparent
color brandColor
&:hover, &.hover, &:focus, &.focus
border-color darken(brandBorderColor, 30%)
color darken(brandColor, 30%)
&:active, &.active
background-color brandColor
color white
&:disabled, &.disabled
opacity 0.6
btnStripDefault()
border none
background-color transparent
color lightButtonColor
&:hover, &.hover, &:focus, &.focus
color darken(lightButtonColor, 50%)
&:active, &.active
color brandColor