mirror of
https://github.com/jgthms/bulma
synced 2026-03-21 04:34:30 -07:00
RTL init
This commit is contained in:
@@ -71,11 +71,11 @@ $button-static-border-color: $border !default
|
||||
height: 1.5em
|
||||
width: 1.5em
|
||||
&:first-child:not(:last-child)
|
||||
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||
margin-right: $button-padding-horizontal / 4
|
||||
+margin-left(calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
|
||||
+margin-right($button-padding-horizontal / 4)
|
||||
&:last-child:not(:first-child)
|
||||
margin-left: $button-padding-horizontal / 4
|
||||
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
||||
+margin-left($button-padding-horizontal / 4)
|
||||
+margin-right(calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
|
||||
&:first-child:last-child
|
||||
margin-left: 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
|
||||
margin-bottom: 0.5rem
|
||||
&:not(:last-child):not(.is-fullwidth)
|
||||
margin-right: 0.5rem
|
||||
+margin-right(0.5rem)
|
||||
&:last-child
|
||||
margin-bottom: -0.5rem
|
||||
&:not(:last-child)
|
||||
|
||||
@@ -67,11 +67,11 @@ $content-table-foot-cell-color: $text-strong !default
|
||||
margin-bottom: 1em
|
||||
blockquote
|
||||
background-color: $content-blockquote-background-color
|
||||
border-left: $content-blockquote-border-left
|
||||
+border-left($content-blockquote-border-left)
|
||||
padding: $content-blockquote-padding
|
||||
ol
|
||||
list-style-position: outside
|
||||
margin-left: 2em
|
||||
+margin-left(2em)
|
||||
margin-top: 1em
|
||||
&:not([type])
|
||||
list-style-type: decimal
|
||||
@@ -85,7 +85,7 @@ $content-table-foot-cell-color: $text-strong !default
|
||||
list-style-type: upper-roman
|
||||
ul
|
||||
list-style: disc outside
|
||||
margin-left: 2em
|
||||
+margin-left(2em)
|
||||
margin-top: 1em
|
||||
ul
|
||||
list-style-type: circle
|
||||
@@ -93,7 +93,7 @@ $content-table-foot-cell-color: $text-strong !default
|
||||
ul
|
||||
list-style-type: square
|
||||
dd
|
||||
margin-left: 2em
|
||||
+margin-left(2em)
|
||||
figure
|
||||
margin-left: 2em
|
||||
margin-right: 2em
|
||||
@@ -126,7 +126,7 @@ $content-table-foot-cell-color: $text-strong !default
|
||||
th
|
||||
color: $content-table-cell-heading-color
|
||||
&:not([align])
|
||||
text-align: left
|
||||
text-align: inherit
|
||||
thead
|
||||
td,
|
||||
th
|
||||
|
||||
@@ -2,13 +2,18 @@ $notification-background-color: $background !default
|
||||
$notification-code-background-color: $scheme-main !default
|
||||
$notification-radius: $radius !default
|
||||
$notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
||||
$notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
||||
$notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
|
||||
|
||||
.notification
|
||||
@extend %block
|
||||
background-color: $notification-background-color
|
||||
border-radius: $notification-radius
|
||||
padding: $notification-padding
|
||||
position: relative
|
||||
+ltr
|
||||
padding: $notification-padding-ltr
|
||||
+rtl
|
||||
padding: $notification-padding-rtl
|
||||
a:not(.button):not(.dropdown-item)
|
||||
color: currentColor
|
||||
text-decoration: underline
|
||||
@@ -20,8 +25,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
|
||||
pre code
|
||||
background: transparent
|
||||
& > .delete
|
||||
+right(0.5rem)
|
||||
position: absolute
|
||||
right: 0.5rem
|
||||
top: 0.5rem
|
||||
.title,
|
||||
.subtitle,
|
||||
|
||||
@@ -54,7 +54,7 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
|
||||
th
|
||||
color: $table-cell-heading-color
|
||||
&:not([align])
|
||||
text-align: left
|
||||
text-align: inherit
|
||||
tr
|
||||
&.is-selected
|
||||
background-color: $table-row-active-background-color
|
||||
|
||||
Reference in New Issue
Block a user