mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 13:59:36 -07:00
Use extends
This commit is contained in:
@@ -4,7 +4,7 @@ $control-radius-small: $radius-small !default
|
||||
$control-padding-vertical: calc(0.375em - 1px) !default
|
||||
$control-padding-horizontal: calc(0.625em - 1px) !default
|
||||
|
||||
=control
|
||||
%control
|
||||
-moz-appearance: none
|
||||
-webkit-appearance: none
|
||||
align-items: center
|
||||
@@ -31,6 +31,9 @@ $control-padding-horizontal: calc(0.625em - 1px) !default
|
||||
&[disabled]
|
||||
cursor: not-allowed
|
||||
|
||||
=control
|
||||
@extend %control
|
||||
|
||||
// The controls sizes use mixins so they can be used at different breakpoints
|
||||
=control-small
|
||||
border-radius: $control-radius-small
|
||||
|
||||
Reference in New Issue
Block a user