This commit is contained in:
2022-12-16 00:55:43 +01:00
parent 9ef06db411
commit cc1805e1d4
25 changed files with 5824 additions and 8345 deletions

View File

@@ -61,10 +61,6 @@ $button-responsive-sizes: ("mobile": ("small": ($size-small * 0.75), "normal": (
.button
@extend %control
@extend %unselectable
background-color: $button-background-color
border-color: $button-border-color
border-width: $button-border-width
color: $button-color
cursor: pointer
@if $button-family
font-family: $button-family
@@ -75,8 +71,6 @@ $button-responsive-sizes: ("mobile": ("small": ($size-small * 0.75), "normal": (
padding-top: $button-padding-vertical
text-align: center
white-space: nowrap
strong
color: inherit
.icon
&,
&.is-small,
@@ -94,20 +88,6 @@ $button-responsive-sizes: ("mobile": ("small": ($size-small * 0.75), "normal": (
margin-left: calc(#{-0.5 * $button-padding-horizontal} - #{$button-border-width})
margin-right: calc(#{-0.5 * $button-padding-horizontal} - #{$button-border-width})
// States
&:hover,
&.is-hovered
border-color: $button-hover-border-color
color: $button-hover-color
&:focus,
&.is-focused
border-color: $button-focus-border-color
color: $button-focus-color
&:not(:active)
box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
&:active,
&.is-active
border-color: $button-active-border-color
color: $button-active-color
// Colors
&.is-text
background-color: transparent