mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
on Refactoring...
This commit is contained in:
@@ -1,18 +1,11 @@
|
||||
alert()
|
||||
line-height 44px
|
||||
border-radius 5px
|
||||
|
||||
alertSuccess()
|
||||
alert()
|
||||
background-color successBackgroundColor
|
||||
color successTextColor
|
||||
|
||||
alertError()
|
||||
alert()
|
||||
background-color errorBackgroundColor
|
||||
color errorTextColor
|
||||
|
||||
alertInfo()
|
||||
alert()
|
||||
background-color infoBackgroundColor
|
||||
color infoTextColor
|
||||
|
||||
@@ -12,6 +12,8 @@ btnDefault()
|
||||
border-color darken(brandBorderColor, 10%)
|
||||
background-color brandColor
|
||||
color white
|
||||
&:disabled, &.disabled
|
||||
opacity 0.6
|
||||
|
||||
btnPrimary()
|
||||
border-style solid
|
||||
@@ -25,3 +27,14 @@ btnPrimary()
|
||||
&: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
|
||||
|
||||
@@ -2,8 +2,15 @@ stripInput()
|
||||
border none
|
||||
border-bottom 1px solid borderColor
|
||||
padding 5px 15px
|
||||
box-sizing border-box
|
||||
transition 0.1s
|
||||
&:focus, &.focus
|
||||
border-bottom 1px solid brandBorderColor
|
||||
outline none
|
||||
|
||||
borderInput()
|
||||
border solid 1px borderColor
|
||||
padding 5px 15px
|
||||
transition 0.1s
|
||||
&:focus, &.focus
|
||||
border-color brandBorderColor
|
||||
outline none
|
||||
|
||||
@@ -5,24 +5,24 @@ marked()
|
||||
margin 15px 0
|
||||
h1
|
||||
font-size 2em
|
||||
margin 0.67em auto
|
||||
margin 0 auto 0.67em
|
||||
h2
|
||||
font-size 1.5em
|
||||
margin 0.83em auto
|
||||
margin 0 auto 0.83em
|
||||
h3
|
||||
font-size 1.17em
|
||||
margin 1em auto
|
||||
margin 0 auto 1em
|
||||
h4
|
||||
font-size 1em
|
||||
margin 1.33em auto
|
||||
margin 0 auto 1.33em
|
||||
h5
|
||||
font-size 0.83em
|
||||
margin 1.67em auto
|
||||
margin 0 auto 1.67em
|
||||
h6
|
||||
font-size 0.67em
|
||||
margin 2.33em auto
|
||||
h1, h2, h3, h4, h5, h6
|
||||
font-weight bold
|
||||
font-weight font-weight 400
|
||||
line-height 1.2em
|
||||
p
|
||||
line-height 1.2em
|
||||
|
||||
Reference in New Issue
Block a user