Rename LTR mixins

This commit is contained in:
Jeremy Thomas
2020-01-22 09:14:04 +00:00
parent 0ca264016b
commit a5f9266997
15 changed files with 45 additions and 62 deletions

View File

@@ -71,11 +71,11 @@ $button-static-border-color: $border !default
height: 1.5em
width: 1.5em
&:first-child:not(:last-child)
+directioner("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
+directioner("margin", $button-padding-horizontal / 4)
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
+ltr-property("margin", $button-padding-horizontal / 4)
&:last-child:not(:first-child)
+directioner("margin", $button-padding-horizontal / 4, false)
+directioner("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
+ltr-property("margin", $button-padding-horizontal / 4, false)
+ltr-property("margin", 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)
+directioner("margin", 0.5rem)
+ltr-property("margin", 0.5rem)
&:last-child
margin-bottom: -0.5rem
&:not(:last-child)

View File

@@ -67,11 +67,11 @@ $content-table-foot-cell-color: $text-strong !default
margin-bottom: 1em
blockquote
background-color: $content-blockquote-background-color
+directioner("border", $content-blockquote-border-left, false)
+ltr-property("border", $content-blockquote-border-left, false)
padding: $content-blockquote-padding
ol
list-style-position: outside
+directioner("margin", 2em, false)
+ltr-property("margin", 2em, false)
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
+directioner("margin", 2em, false)
+ltr-property("margin", 2em, false)
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
+directioner("margin", 2em, false)
+ltr-property("margin", 2em, false)
figure
margin-left: 2em
margin-right: 2em

View File

@@ -25,7 +25,7 @@ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
pre code
background: transparent
& > .delete
+right(0.5rem)
+ltr-position(0.5rem)
position: absolute
top: 0.5rem
.title,