app/assets/stylesheets/modules/buttons/_button-base.sass in oulu-0.12.24 vs app/assets/stylesheets/modules/buttons/_button-base.sass in oulu-0.12.25
- old
+ new
@@ -30,19 +30,19 @@
$button-height: $font-size * $button-lg-height-ratio - if($border-width, $border-width, 0) * 2
@else if $size == 'xl'
$font-size: $xl-button-font-size
$button-height: $font-size * $button-xl-height-ratio - if($border-width, $border-width, 0) * 2
@if $border-width
- +border(all, $border-width)
+ border-width: $border-width
@else
$border-width: 0
height: $button-height
$vertical-padding: ($button-height - $font-size - ($border-width * 2)) / 2
+padding(vertical, $vertical-padding)
+text-block($font-size 1)
+padding(horizontal, $button-height/1.6)
@if $border-radius
- +border-radius($border-radius)
+ border-radius: $border-radius
@if $font-size > .6875rem and 1rem > $font-size
font-weight: 600
@else if .999999rem < $font-size
font-weight: bold
i,