mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-28 12:24:23 +00:00
Add logical properties
This commit is contained in:
parent
4af9686eb0
commit
0f6af6105c
@ -137,6 +137,6 @@ table
|
|||||||
th
|
th
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
&:not([align])
|
&:not([align])
|
||||||
text-align: left
|
text-align: inherit
|
||||||
th
|
th
|
||||||
color: $text-strong
|
color: $text-strong
|
||||||
|
@ -76,4 +76,4 @@ td,
|
|||||||
th
|
th
|
||||||
padding: 0
|
padding: 0
|
||||||
&:not([align])
|
&:not([align])
|
||||||
text-align: left
|
text-align: inherit
|
||||||
|
@ -24,7 +24,7 @@ $breadcrumb-item-separator-color: $border-hover !default
|
|||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
&:first-child a
|
&:first-child a
|
||||||
padding-left: 0
|
padding-inline-start: 0
|
||||||
&.is-active
|
&.is-active
|
||||||
a
|
a
|
||||||
color: $breadcrumb-item-active-color
|
color: $breadcrumb-item-active-color
|
||||||
@ -41,9 +41,9 @@ $breadcrumb-item-separator-color: $border-hover !default
|
|||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
.icon
|
.icon
|
||||||
&:first-child
|
&:first-child
|
||||||
margin-right: 0.5em
|
margin-inline-end: 0.5em
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-left: 0.5em
|
margin-inline-start: 0.5em
|
||||||
// Alignment
|
// Alignment
|
||||||
&.is-centered
|
&.is-centered
|
||||||
ol,
|
ol,
|
||||||
|
@ -70,7 +70,7 @@ $card-media-margin: $block-spacing !default
|
|||||||
justify-content: center
|
justify-content: center
|
||||||
padding: $card-footer-padding
|
padding: $card-footer-padding
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
border-right: $card-footer-border-top
|
border-inline-end: $card-footer-border-top
|
||||||
|
|
||||||
// Combinations
|
// Combinations
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ $dropdown-divider-background-color: $border-light !default
|
|||||||
|
|
||||||
.dropdown-menu
|
.dropdown-menu
|
||||||
display: none
|
display: none
|
||||||
left: 0
|
+inset-inline-start(0)
|
||||||
min-width: $dropdown-menu-min-width
|
min-width: $dropdown-menu-min-width
|
||||||
padding-top: $dropdown-content-offset
|
padding-top: $dropdown-content-offset
|
||||||
position: absolute
|
position: absolute
|
||||||
@ -62,8 +62,8 @@ $dropdown-divider-background-color: $border-light !default
|
|||||||
|
|
||||||
a.dropdown-item,
|
a.dropdown-item,
|
||||||
button.dropdown-item
|
button.dropdown-item
|
||||||
padding-right: 3rem
|
padding-inline-end: 3rem
|
||||||
text-align: left
|
text-align: inherit
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
width: 100%
|
width: 100%
|
||||||
&:hover
|
&:hover
|
||||||
|
@ -20,7 +20,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|||||||
.level-item
|
.level-item
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
margin-right: $level-item-spacing
|
margin-inline-end: $level-item-spacing
|
||||||
&:not(.is-narrow)
|
&:not(.is-narrow)
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
// Responsiveness
|
// Responsiveness
|
||||||
@ -57,7 +57,7 @@ $level-item-spacing: ($block-spacing / 2) !default
|
|||||||
// Responsiveness
|
// Responsiveness
|
||||||
+tablet
|
+tablet
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-right: $level-item-spacing
|
margin-inline-end: $level-item-spacing
|
||||||
|
|
||||||
.level-left
|
.level-left
|
||||||
align-items: center
|
align-items: center
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
$media-border-color: bulmaRgba($border, 0.5) !default
|
$media-border-color: bulmaRgba($border, 0.5) !default
|
||||||
|
$media-spacing: 1rem
|
||||||
|
$media-spacing-large: 1.5rem
|
||||||
|
|
||||||
.media
|
.media
|
||||||
align-items: flex-start
|
align-items: flex-start
|
||||||
@ -19,13 +21,13 @@ $media-border-color: bulmaRgba($border, 0.5) !default
|
|||||||
margin-top: 0.5rem
|
margin-top: 0.5rem
|
||||||
& + .media
|
& + .media
|
||||||
border-top: 1px solid $media-border-color
|
border-top: 1px solid $media-border-color
|
||||||
margin-top: 1rem
|
margin-top: $media-spacing
|
||||||
padding-top: 1rem
|
padding-top: $media-spacing
|
||||||
// Sizes
|
// Sizes
|
||||||
&.is-large
|
&.is-large
|
||||||
& + .media
|
& + .media
|
||||||
margin-top: 1.5rem
|
margin-top: $media-spacing-large
|
||||||
padding-top: 1.5rem
|
padding-top: $media-spacing-large
|
||||||
|
|
||||||
.media-left,
|
.media-left,
|
||||||
.media-right
|
.media-right
|
||||||
@ -34,16 +36,16 @@ $media-border-color: bulmaRgba($border, 0.5) !default
|
|||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
|
|
||||||
.media-left
|
.media-left
|
||||||
margin-right: 1rem
|
margin-inline-end: 1rem
|
||||||
|
|
||||||
.media-right
|
.media-right
|
||||||
margin-left: 1rem
|
margin-inline-start: 1rem
|
||||||
|
|
||||||
.media-content
|
.media-content
|
||||||
flex-basis: auto
|
flex-basis: auto
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
flex-shrink: 1
|
flex-shrink: 1
|
||||||
text-align: left
|
text-align: inherit
|
||||||
|
|
||||||
+mobile
|
+mobile
|
||||||
.media-content
|
.media-content
|
||||||
|
@ -42,9 +42,9 @@ $menu-label-spacing: 1em !default
|
|||||||
color: $menu-item-active-color
|
color: $menu-item-active-color
|
||||||
li
|
li
|
||||||
ul
|
ul
|
||||||
border-left: $menu-list-border-left
|
border-inline-start: $menu-list-border-left
|
||||||
margin: $menu-nested-list-margin
|
margin: $menu-nested-list-margin
|
||||||
padding-left: $menu-nested-list-padding-left
|
padding-inline-start: $menu-nested-list-padding-left
|
||||||
|
|
||||||
.menu-label
|
.menu-label
|
||||||
color: $menu-label-color
|
color: $menu-label-color
|
||||||
|
@ -79,7 +79,7 @@ $message-colors: $colors !default
|
|||||||
.delete
|
.delete
|
||||||
flex-grow: 0
|
flex-grow: 0
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
margin-left: 0.75em
|
margin-inline-start: 0.75em
|
||||||
& + .message-body
|
& + .message-body
|
||||||
border-width: $message-header-body-border-width
|
border-width: $message-header-body-border-width
|
||||||
border-top-left-radius: 0
|
border-top-left-radius: 0
|
||||||
|
@ -63,7 +63,7 @@ $modal-card-body-padding: 20px !default
|
|||||||
background: none
|
background: none
|
||||||
height: $modal-close-dimensions
|
height: $modal-close-dimensions
|
||||||
position: fixed
|
position: fixed
|
||||||
right: $modal-close-right
|
+inset-inline-end($modal-close-right)
|
||||||
top: $modal-close-top
|
top: $modal-close-top
|
||||||
width: $modal-close-dimensions
|
width: $modal-close-dimensions
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ $modal-card-body-padding: 20px !default
|
|||||||
border-top: $modal-card-foot-border-top
|
border-top: $modal-card-foot-border-top
|
||||||
.button
|
.button
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-right: 0.5em
|
margin-inline-end: 0.5em
|
||||||
|
|
||||||
.modal-card-body
|
.modal-card-body
|
||||||
+overflow-touch
|
+overflow-touch
|
||||||
|
@ -151,7 +151,7 @@ body
|
|||||||
.navbar-burger
|
.navbar-burger
|
||||||
color: $navbar-burger-color
|
color: $navbar-burger-color
|
||||||
+hamburger($navbar-height)
|
+hamburger($navbar-height)
|
||||||
margin-left: auto
|
margin-inline-start: auto
|
||||||
|
|
||||||
.navbar-menu
|
.navbar-menu
|
||||||
display: none
|
display: none
|
||||||
@ -348,10 +348,10 @@ a.navbar-item,
|
|||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
.navbar-start
|
.navbar-start
|
||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
margin-right: auto
|
margin-inline-end: auto
|
||||||
.navbar-end
|
.navbar-end
|
||||||
justify-content: flex-end
|
justify-content: flex-end
|
||||||
margin-left: auto
|
margin-inline-start: auto
|
||||||
.navbar-dropdown
|
.navbar-dropdown
|
||||||
background-color: $navbar-dropdown-background-color
|
background-color: $navbar-dropdown-background-color
|
||||||
border-bottom-left-radius: $navbar-dropdown-radius
|
border-bottom-left-radius: $navbar-dropdown-radius
|
||||||
@ -360,7 +360,7 @@ a.navbar-item,
|
|||||||
box-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1)
|
box-shadow: 0 8px 8px bulmaRgba($scheme-invert, 0.1)
|
||||||
display: none
|
display: none
|
||||||
font-size: 0.875rem
|
font-size: 0.875rem
|
||||||
left: 0
|
+inset-inline-start(0)
|
||||||
min-width: 100%
|
min-width: 100%
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 100%
|
top: 100%
|
||||||
@ -397,9 +397,9 @@ a.navbar-item,
|
|||||||
.navbar > .container,
|
.navbar > .container,
|
||||||
.container > .navbar
|
.container > .navbar
|
||||||
.navbar-brand
|
.navbar-brand
|
||||||
margin-left: -.75rem
|
margin-inline-start: -.75rem
|
||||||
.navbar-menu
|
.navbar-menu
|
||||||
margin-right: -.75rem
|
margin-inline-end: -.75rem
|
||||||
// Fixed navbar
|
// Fixed navbar
|
||||||
.navbar
|
.navbar
|
||||||
&.is-fixed-bottom-desktop,
|
&.is-fixed-bottom-desktop,
|
||||||
|
@ -88,7 +88,7 @@ $panel-colors: $colors !default
|
|||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
padding: 0.5em 0.75em
|
padding: 0.5em 0.75em
|
||||||
input[type="checkbox"]
|
input[type="checkbox"]
|
||||||
margin-right: 0.75em
|
margin-inline-end: 0.75em
|
||||||
& > .control
|
& > .control
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
flex-shrink: 1
|
flex-shrink: 1
|
||||||
@ -113,7 +113,7 @@ label.panel-block
|
|||||||
.panel-icon
|
.panel-icon
|
||||||
+fa(14px, 1em)
|
+fa(14px, 1em)
|
||||||
color: $panel-icon-color
|
color: $panel-icon-color
|
||||||
margin-right: 0.75em
|
margin-inline-end: 0.75em
|
||||||
.fa
|
.fa
|
||||||
font-size: inherit
|
font-size: inherit
|
||||||
line-height: inherit
|
line-height: inherit
|
||||||
|
@ -78,9 +78,9 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|||||||
padding-left: 0.75em
|
padding-left: 0.75em
|
||||||
.icon
|
.icon
|
||||||
&:first-child
|
&:first-child
|
||||||
margin-right: 0.5em
|
margin-inline-end: 0.5em
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-left: 0.5em
|
margin-inline-start: 0.5em
|
||||||
// Alignment
|
// Alignment
|
||||||
&.is-centered
|
&.is-centered
|
||||||
ul
|
ul
|
||||||
@ -92,7 +92,8 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|||||||
&.is-boxed
|
&.is-boxed
|
||||||
a
|
a
|
||||||
border: 1px solid transparent
|
border: 1px solid transparent
|
||||||
border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
|
border-start-start-radius: $tabs-boxed-link-radius
|
||||||
|
border-start-end-radius: $tabs-boxed-link-radius
|
||||||
&:hover
|
&:hover
|
||||||
background-color: $tabs-boxed-link-hover-background-color
|
background-color: $tabs-boxed-link-hover-background-color
|
||||||
border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
|
border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
|
||||||
@ -119,11 +120,13 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|||||||
z-index: 2
|
z-index: 2
|
||||||
li
|
li
|
||||||
& + li
|
& + li
|
||||||
margin-left: -#{$tabs-toggle-link-border-width}
|
margin-inline-start: -#{$tabs-toggle-link-border-width}
|
||||||
&:first-child a
|
&:first-child a
|
||||||
border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
|
border-start-start-radius: $tabs-toggle-link-radius
|
||||||
|
border-end-start-radius: $tabs-toggle-link-radius
|
||||||
&:last-child a
|
&:last-child a
|
||||||
border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
|
border-start-end-radius: $tabs-toggle-link-radius
|
||||||
|
border-end-end-radius: $tabs-toggle-link-radius
|
||||||
&.is-active
|
&.is-active
|
||||||
a
|
a
|
||||||
background-color: $tabs-toggle-link-active-background-color
|
background-color: $tabs-toggle-link-active-background-color
|
||||||
@ -135,13 +138,13 @@ $tabs-toggle-link-active-color: $link-invert !default
|
|||||||
&.is-toggle-rounded
|
&.is-toggle-rounded
|
||||||
li
|
li
|
||||||
&:first-child a
|
&:first-child a
|
||||||
border-bottom-left-radius: $radius-rounded
|
border-end-start-radius: $radius-rounded
|
||||||
border-top-left-radius: $radius-rounded
|
border-start-start-radius: $radius-rounded
|
||||||
padding-left: 1.25em
|
padding-inline-start: 1.25em
|
||||||
&:last-child a
|
&:last-child a
|
||||||
border-bottom-right-radius: $radius-rounded
|
border-end-end-radius: $radius-rounded
|
||||||
border-top-right-radius: $radius-rounded
|
border-start-end-radius: $radius-rounded
|
||||||
padding-right: 1.25em
|
padding-inline-end: 1.25em
|
||||||
// Sizes
|
// Sizes
|
||||||
&.is-small
|
&.is-small
|
||||||
font-size: $size-small
|
font-size: $size-small
|
||||||
|
@ -71,11 +71,11 @@ $button-static-border-color: $border !default
|
|||||||
height: 1.5em
|
height: 1.5em
|
||||||
width: 1.5em
|
width: 1.5em
|
||||||
&:first-child:not(:last-child)
|
&:first-child:not(:last-child)
|
||||||
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
margin-inline-start: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||||
margin-right: $button-padding-horizontal / 4
|
margin-inline-end: $button-padding-horizontal / 4
|
||||||
&:last-child:not(:first-child)
|
&:last-child:not(:first-child)
|
||||||
margin-left: $button-padding-horizontal / 4
|
margin-inline-start: $button-padding-horizontal / 4
|
||||||
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
margin-inline-end: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||||
&:first-child:last-child
|
&:first-child:last-child
|
||||||
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||||
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||||
@ -269,7 +269,7 @@ $button-static-border-color: $border !default
|
|||||||
.button
|
.button
|
||||||
margin-bottom: 0.5rem
|
margin-bottom: 0.5rem
|
||||||
&:not(:last-child):not(.is-fullwidth)
|
&:not(:last-child):not(.is-fullwidth)
|
||||||
margin-right: 0.5rem
|
margin-inline-end: 0.5rem
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-bottom: -0.5rem
|
margin-bottom: -0.5rem
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
@ -287,14 +287,14 @@ $button-static-border-color: $border !default
|
|||||||
&.has-addons
|
&.has-addons
|
||||||
.button
|
.button
|
||||||
&:not(:first-child)
|
&:not(:first-child)
|
||||||
border-bottom-left-radius: 0
|
border-end-start-radius: 0
|
||||||
border-top-left-radius: 0
|
border-start-start-radius: 0
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
border-bottom-right-radius: 0
|
border-end-end-radius: 0
|
||||||
border-top-right-radius: 0
|
border-start-end-radius: 0
|
||||||
margin-right: -1px
|
margin-inline-end: -1px
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-right: 0
|
margin-inline-end: 0
|
||||||
&:hover,
|
&:hover,
|
||||||
&.is-hovered
|
&.is-hovered
|
||||||
z-index: 2
|
z-index: 2
|
||||||
|
@ -67,11 +67,11 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
margin-bottom: 1em
|
margin-bottom: 1em
|
||||||
blockquote
|
blockquote
|
||||||
background-color: $content-blockquote-background-color
|
background-color: $content-blockquote-background-color
|
||||||
border-left: $content-blockquote-border-left
|
border-inline-start: $content-blockquote-border-left
|
||||||
padding: $content-blockquote-padding
|
padding: $content-blockquote-padding
|
||||||
ol
|
ol
|
||||||
list-style-position: outside
|
list-style-position: outside
|
||||||
margin-left: 2em
|
margin-inline-start: 2em
|
||||||
margin-top: 1em
|
margin-top: 1em
|
||||||
&:not([type])
|
&:not([type])
|
||||||
list-style-type: decimal
|
list-style-type: decimal
|
||||||
@ -85,7 +85,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
list-style-type: upper-roman
|
list-style-type: upper-roman
|
||||||
ul
|
ul
|
||||||
list-style: disc outside
|
list-style: disc outside
|
||||||
margin-left: 2em
|
margin-inline-start: 2em
|
||||||
margin-top: 1em
|
margin-top: 1em
|
||||||
ul
|
ul
|
||||||
list-style-type: circle
|
list-style-type: circle
|
||||||
@ -93,7 +93,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
ul
|
ul
|
||||||
list-style-type: square
|
list-style-type: square
|
||||||
dd
|
dd
|
||||||
margin-left: 2em
|
margin-inline-start: 2em
|
||||||
figure
|
figure
|
||||||
margin-left: 2em
|
margin-left: 2em
|
||||||
margin-right: 2em
|
margin-right: 2em
|
||||||
@ -126,7 +126,7 @@ $content-table-foot-cell-color: $text-strong !default
|
|||||||
th
|
th
|
||||||
color: $content-table-cell-heading-color
|
color: $content-table-cell-heading-color
|
||||||
&:not([align])
|
&:not([align])
|
||||||
text-align: left
|
text-align: inherit
|
||||||
thead
|
thead
|
||||||
td,
|
td,
|
||||||
th
|
th
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
$notification-background-color: $background !default
|
$notification-background-color: $background !default
|
||||||
$notification-code-background-color: $scheme-main !default
|
$notification-code-background-color: $scheme-main !default
|
||||||
$notification-radius: $radius !default
|
$notification-radius: $radius !default
|
||||||
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
$notification-padding: 1.25rem 1.5rem !default
|
||||||
|
$notification-padding-start: 2.5rem !default
|
||||||
|
|
||||||
.notification
|
.notification
|
||||||
@extend %block
|
@extend %block
|
||||||
background-color: $notification-background-color
|
background-color: $notification-background-color
|
||||||
border-radius: $notification-radius
|
border-radius: $notification-radius
|
||||||
padding: $notification-padding
|
padding: $notification-padding
|
||||||
|
padding-inline-start: $notification-padding-start
|
||||||
position: relative
|
position: relative
|
||||||
a:not(.button):not(.dropdown-item)
|
a:not(.button):not(.dropdown-item)
|
||||||
color: currentColor
|
color: currentColor
|
||||||
@ -21,7 +23,7 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
|||||||
background: transparent
|
background: transparent
|
||||||
& > .delete
|
& > .delete
|
||||||
position: absolute
|
position: absolute
|
||||||
right: 0.5rem
|
+inset-inline-end(0.5rem)
|
||||||
top: 0.5rem
|
top: 0.5rem
|
||||||
.title,
|
.title,
|
||||||
.subtitle,
|
.subtitle,
|
||||||
|
@ -54,7 +54,7 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
|
|||||||
th
|
th
|
||||||
color: $table-cell-heading-color
|
color: $table-cell-heading-color
|
||||||
&:not([align])
|
&:not([align])
|
||||||
text-align: left
|
text-align: inherit
|
||||||
tr
|
tr
|
||||||
&.is-selected
|
&.is-selected
|
||||||
background-color: $table-row-active-background-color
|
background-color: $table-row-active-background-color
|
||||||
|
@ -166,7 +166,7 @@ $file-name-max-width: 16em !default
|
|||||||
display: block
|
display: block
|
||||||
max-width: $file-name-max-width
|
max-width: $file-name-max-width
|
||||||
overflow: hidden
|
overflow: hidden
|
||||||
text-align: left
|
text-align: inherit
|
||||||
text-overflow: ellipsis
|
text-overflow: ellipsis
|
||||||
|
|
||||||
.file-icon
|
.file-icon
|
||||||
|
@ -38,7 +38,7 @@ $help-size: $size-small !default
|
|||||||
justify-content: flex-start
|
justify-content: flex-start
|
||||||
.control
|
.control
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-right: -1px
|
margin-inline-end: -1px
|
||||||
&:not(:first-child):not(:last-child)
|
&:not(:first-child):not(:last-child)
|
||||||
.button,
|
.button,
|
||||||
.input,
|
.input,
|
||||||
@ -48,14 +48,22 @@ $help-size: $size-small !default
|
|||||||
.button,
|
.button,
|
||||||
.input,
|
.input,
|
||||||
.select select
|
.select select
|
||||||
|
+ltr
|
||||||
border-bottom-right-radius: 0
|
border-bottom-right-radius: 0
|
||||||
border-top-right-radius: 0
|
border-top-right-radius: 0
|
||||||
|
+rtl
|
||||||
|
border-bottom-left-radius: 0
|
||||||
|
border-top-left-radius: 0
|
||||||
&:last-child:not(:only-child)
|
&:last-child:not(:only-child)
|
||||||
.button,
|
.button,
|
||||||
.input,
|
.input,
|
||||||
.select select
|
.select select
|
||||||
|
+ltr
|
||||||
border-bottom-left-radius: 0
|
border-bottom-left-radius: 0
|
||||||
border-top-left-radius: 0
|
border-top-left-radius: 0
|
||||||
|
+rtl
|
||||||
|
border-bottom-right-radius: 0
|
||||||
|
border-top-right-radius: 0
|
||||||
.button,
|
.button,
|
||||||
.input,
|
.input,
|
||||||
.select select
|
.select select
|
||||||
@ -88,7 +96,7 @@ $help-size: $size-small !default
|
|||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
margin-right: 0.75rem
|
margin-inline-end: 0.75rem
|
||||||
&.is-expanded
|
&.is-expanded
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
flex-shrink: 1
|
flex-shrink: 1
|
||||||
@ -119,7 +127,7 @@ $help-size: $size-small !default
|
|||||||
flex-basis: 0
|
flex-basis: 0
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
flex-shrink: 0
|
flex-shrink: 0
|
||||||
margin-right: 1.5rem
|
margin-inline-end: 1.5rem
|
||||||
text-align: right
|
text-align: right
|
||||||
&.is-small
|
&.is-small
|
||||||
font-size: $size-small
|
font-size: $size-small
|
||||||
@ -148,14 +156,14 @@ $help-size: $size-small !default
|
|||||||
&:not(.is-narrow)
|
&:not(.is-narrow)
|
||||||
flex-grow: 1
|
flex-grow: 1
|
||||||
&:not(:last-child)
|
&:not(:last-child)
|
||||||
margin-right: 0.75rem
|
margin-inline-end: 0.75rem
|
||||||
|
|
||||||
.control
|
.control
|
||||||
box-sizing: border-box
|
box-sizing: border-box
|
||||||
clear: both
|
clear: both
|
||||||
font-size: $size-normal
|
font-size: $size-normal
|
||||||
position: relative
|
position: relative
|
||||||
text-align: left
|
text-align: inherit
|
||||||
// Modifiers
|
// Modifiers
|
||||||
&.has-icons-left,
|
&.has-icons-left,
|
||||||
&.has-icons-right
|
&.has-icons-right
|
||||||
@ -194,7 +202,7 @@ $help-size: $size-small !default
|
|||||||
&::after
|
&::after
|
||||||
@extend %loader
|
@extend %loader
|
||||||
position: absolute !important
|
position: absolute !important
|
||||||
right: 0.625em
|
+inset-inline-end(0.625em)
|
||||||
top: 0.625em
|
top: 0.625em
|
||||||
z-index: 4
|
z-index: 4
|
||||||
&.is-small:after
|
&.is-small:after
|
||||||
|
@ -75,3 +75,4 @@ $speed: 86ms !default
|
|||||||
// Flags
|
// Flags
|
||||||
|
|
||||||
$variable-columns: true !default
|
$variable-columns: true !default
|
||||||
|
$rtl: false !default
|
||||||
|
@ -128,6 +128,26 @@
|
|||||||
@media screen and (min-width: $fullhd)
|
@media screen and (min-width: $fullhd)
|
||||||
@content
|
@content
|
||||||
|
|
||||||
|
=ltr
|
||||||
|
@if not $rtl
|
||||||
|
@content
|
||||||
|
|
||||||
|
=rtl
|
||||||
|
@if $rtl
|
||||||
|
@content
|
||||||
|
|
||||||
|
=inset-inline-start($spacing)
|
||||||
|
@if $rtl
|
||||||
|
right: $spacing
|
||||||
|
@else
|
||||||
|
left: $spacing
|
||||||
|
|
||||||
|
=inset-inline-end($spacing)
|
||||||
|
@if $rtl
|
||||||
|
left: $spacing
|
||||||
|
@else
|
||||||
|
right: $spacing
|
||||||
|
|
||||||
// Placeholders
|
// Placeholders
|
||||||
|
|
||||||
=unselectable
|
=unselectable
|
||||||
|
Loading…
Reference in New Issue
Block a user