mirror of
https://github.com/jgthms/bulma
synced 2026-03-24 05:49:35 -07:00
Fix control extend
This commit is contained in:
@@ -54,7 +54,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|||||||
.pagination-next,
|
.pagination-next,
|
||||||
.pagination-link,
|
.pagination-link,
|
||||||
.pagination-ellipsis
|
.pagination-ellipsis
|
||||||
+control
|
@extend %control
|
||||||
@extend %unselectable
|
@extend %unselectable
|
||||||
font-size: 1em
|
font-size: 1em
|
||||||
padding-left: 0.5em
|
padding-left: 0.5em
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ $button-static-border-color: $grey-lighter !default
|
|||||||
font-size: $size-large
|
font-size: $size-large
|
||||||
|
|
||||||
.button
|
.button
|
||||||
+control
|
@extend %control
|
||||||
@extend %unselectable
|
@extend %unselectable
|
||||||
background-color: $button-background-color
|
background-color: $button-background-color
|
||||||
border-color: $button-border-color
|
border-color: $button-border-color
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ $label-weight: $weight-bold !default
|
|||||||
$help-size: $size-small !default
|
$help-size: $size-small !default
|
||||||
|
|
||||||
=input
|
=input
|
||||||
+control
|
@extend %control
|
||||||
background-color: $input-background-color
|
background-color: $input-background-color
|
||||||
border-color: $input-border-color
|
border-color: $input-border-color
|
||||||
color: $input-color
|
color: $input-color
|
||||||
@@ -363,7 +363,7 @@ $help-size: $size-small !default
|
|||||||
|
|
||||||
.file-cta,
|
.file-cta,
|
||||||
.file-name
|
.file-name
|
||||||
+control
|
@extend %control
|
||||||
border-color: $file-border-color
|
border-color: $file-border-color
|
||||||
border-radius: $file-radius
|
border-radius: $file-radius
|
||||||
font-size: 1em
|
font-size: 1em
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ $control-line-height: 1.5 !default
|
|||||||
$control-padding-vertical: calc(0.375em - #{$control-border-width}) !default
|
$control-padding-vertical: calc(0.375em - #{$control-border-width}) !default
|
||||||
$control-padding-horizontal: calc(0.625em - #{$control-border-width}) !default
|
$control-padding-horizontal: calc(0.625em - #{$control-border-width}) !default
|
||||||
|
|
||||||
%control
|
=control
|
||||||
-moz-appearance: none
|
-moz-appearance: none
|
||||||
-webkit-appearance: none
|
-webkit-appearance: none
|
||||||
align-items: center
|
align-items: center
|
||||||
@@ -36,8 +36,8 @@ $control-padding-horizontal: calc(0.625em - #{$control-border-width}) !default
|
|||||||
&[disabled]
|
&[disabled]
|
||||||
cursor: not-allowed
|
cursor: not-allowed
|
||||||
|
|
||||||
=control
|
%control
|
||||||
@extend %control
|
+control
|
||||||
|
|
||||||
// The controls sizes use mixins so they can be used at different breakpoints
|
// The controls sizes use mixins so they can be used at different breakpoints
|
||||||
=control-small
|
=control-small
|
||||||
|
|||||||
Reference in New Issue
Block a user