replace various SASS button.small extending by button-small-basic mixin

This commit is contained in:
Simon Grim 2018-10-03 00:32:13 +05:00
parent 76c38f22d8
commit 9411dbf5c5
3 changed files with 11 additions and 8 deletions

View File

@ -56,6 +56,12 @@
&:hover
border-color: darken($color, $hover-border-color-darken-amount)
@mixin button-small-basic
padding: .5rem
font-weight: 700
font-size: .7rem
line-height: .7rem
button, a.button
@include button-basic
&.color-1
@ -63,10 +69,7 @@ button, a.button
&.color-2
@include button-color-basic(2)
&.small
padding: .5rem
font-weight: 700
font-size: .7rem
line-height: .7rem
@include button-small-basic
&.light
background: #eee
border-color: darken(#eee, 5%)

View File

@ -112,7 +112,7 @@ $header-modal-height : $menu-height
position: absolute
right: 10px
top: 10px
@extend .small
@include button-small-basic
.bio
color: rgba(0, 0, 0, 0.6)
font-style: italic
@ -164,7 +164,7 @@ $header-modal-height : $menu-height
position: absolute
right: 10px
top: 10px
@extend .small
@include button-small-basic
.bio
color: rgba(0, 0, 0, 0.6)
font-style: italic

View File

@ -443,7 +443,7 @@ textarea.splited-post
position: absolute
right: 30px
top: 10px
@extend .small
@include button-small-basic
display: none
padding: .4rem!important
&:hover button
@ -587,7 +587,7 @@ img.twister-user-photo
position: absolute
right: 30px
top: 10px
@extend .small
@include button-small-basic
display: none
padding: .4rem!important
&:hover button