Use extends

This commit is contained in:
Jeremy Thomas
2018-04-08 18:48:47 +01:00
parent 7e6d335c6d
commit 292fd8ac4f
4 changed files with 990 additions and 2739 deletions

View File

@@ -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