This commit is contained in:
Jeremy Thomas
2020-01-20 20:39:09 +01:00
parent 358c10bebf
commit f5545ac723
15 changed files with 149 additions and 53 deletions

View File

@@ -38,7 +38,7 @@ $help-size: $size-small !default
justify-content: flex-start
.control
&:not(:last-child)
margin-right: -1px
+margin-right(-1px)
&:not(:first-child):not(:last-child)
.button,
.input,
@@ -48,14 +48,22 @@ $help-size: $size-small !default
.button,
.input,
.select select
border-bottom-right-radius: 0
border-top-right-radius: 0
+ltr
border-bottom-right-radius: 0
border-top-right-radius: 0
+rtl
border-bottom-left-radius: 0
border-top-left-radius: 0
&:last-child:not(:only-child)
.button,
.input,
.select select
border-bottom-left-radius: 0
border-top-left-radius: 0
+ltr
border-bottom-left-radius: 0
border-top-left-radius: 0
+rtl
border-bottom-right-radius: 0
border-top-right-radius: 0
.button,
.input,
.select select
@@ -88,7 +96,7 @@ $help-size: $size-small !default
flex-shrink: 0
&:not(:last-child)
margin-bottom: 0
margin-right: 0.75rem
+margin-right(0.75rem)
&.is-expanded
flex-grow: 1
flex-shrink: 1
@@ -119,7 +127,7 @@ $help-size: $size-small !default
flex-basis: 0
flex-grow: 1
flex-shrink: 0
margin-right: 1.5rem
+margin-right(1.5rem)
text-align: right
&.is-small
font-size: $size-small
@@ -148,14 +156,14 @@ $help-size: $size-small !default
&:not(.is-narrow)
flex-grow: 1
&:not(:last-child)
margin-right: 0.75rem
+margin-right(0.75rem)
.control
box-sizing: border-box
clear: both
font-size: $size-normal
position: relative
text-align: left
text-align: inherit
// Modifiers
&.has-icons-left,
&.has-icons-right
@@ -194,7 +202,7 @@ $help-size: $size-small !default
&::after
@extend %loader
position: absolute !important
right: 0.625em
+right(0.625em)
top: 0.625em
z-index: 4
&.is-small:after