bulma-sass 0.7.5.1 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/bulma.sass +2 -1
  3. data/app/assets/stylesheets/sass/base/_all.sass +1 -1
  4. data/app/assets/stylesheets/sass/base/generic.sass +3 -2
  5. data/app/assets/stylesheets/sass/base/helpers.sass +1 -281
  6. data/app/assets/stylesheets/sass/base/minireset.sass +2 -8
  7. data/app/assets/stylesheets/sass/components/_all.sass +1 -1
  8. data/app/assets/stylesheets/sass/components/breadcrumb.sass +4 -4
  9. data/app/assets/stylesheets/sass/components/card.sass +10 -6
  10. data/app/assets/stylesheets/sass/components/dropdown.sass +8 -8
  11. data/app/assets/stylesheets/sass/components/level.sass +2 -2
  12. data/app/assets/stylesheets/sass/components/media.sass +14 -10
  13. data/app/assets/stylesheets/sass/components/menu.sass +2 -2
  14. data/app/assets/stylesheets/sass/components/message.sass +23 -11
  15. data/app/assets/stylesheets/sass/components/modal.sass +7 -5
  16. data/app/assets/stylesheets/sass/components/navbar.sass +27 -27
  17. data/app/assets/stylesheets/sass/components/pagination.sass +7 -6
  18. data/app/assets/stylesheets/sass/components/panel.sass +29 -13
  19. data/app/assets/stylesheets/sass/components/tabs.sass +36 -13
  20. data/app/assets/stylesheets/sass/elements/_all.sass +1 -0
  21. data/app/assets/stylesheets/sass/elements/box.sass +4 -4
  22. data/app/assets/stylesheets/sass/elements/button.sass +49 -29
  23. data/app/assets/stylesheets/sass/elements/container.sass +14 -10
  24. data/app/assets/stylesheets/sass/elements/content.sass +5 -5
  25. data/app/assets/stylesheets/sass/elements/image.sass +2 -0
  26. data/app/assets/stylesheets/sass/elements/notification.sass +19 -4
  27. data/app/assets/stylesheets/sass/elements/progress.sass +6 -2
  28. data/app/assets/stylesheets/sass/elements/table.sass +12 -8
  29. data/app/assets/stylesheets/sass/elements/tag.sass +34 -17
  30. data/app/assets/stylesheets/sass/elements/title.sass +3 -3
  31. data/app/assets/stylesheets/sass/form/_all.sass +1 -0
  32. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +3 -2
  33. data/app/assets/stylesheets/sass/form/file.sass +16 -14
  34. data/app/assets/stylesheets/sass/form/input-textarea.sass +13 -7
  35. data/app/assets/stylesheets/sass/form/select.sass +9 -7
  36. data/app/assets/stylesheets/sass/form/shared.sass +14 -12
  37. data/app/assets/stylesheets/sass/form/tools.sass +22 -12
  38. data/app/assets/stylesheets/sass/grid/_all.sass +1 -0
  39. data/app/assets/stylesheets/sass/helpers/_all.sass +12 -0
  40. data/app/assets/stylesheets/sass/helpers/color.sass +37 -0
  41. data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
  42. data/app/assets/stylesheets/sass/helpers/float.sass +8 -0
  43. data/app/assets/stylesheets/sass/helpers/other.sass +11 -0
  44. data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
  45. data/app/assets/stylesheets/sass/helpers/position.sass +5 -0
  46. data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
  47. data/app/assets/stylesheets/sass/helpers/typography.sass +98 -0
  48. data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
  49. data/app/assets/stylesheets/sass/layout/_all.sass +1 -0
  50. data/app/assets/stylesheets/sass/layout/footer.sass +1 -1
  51. data/app/assets/stylesheets/sass/layout/hero.sass +25 -21
  52. data/app/assets/stylesheets/sass/utilities/_all.sass +1 -0
  53. data/app/assets/stylesheets/sass/utilities/controls.sass +3 -3
  54. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +32 -10
  55. data/app/assets/stylesheets/sass/utilities/functions.sass +68 -15
  56. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +5 -3
  57. data/app/assets/stylesheets/sass/utilities/mixins.sass +29 -5
  58. data/bulma-sass.gemspec +2 -2
  59. data/lib/bulma/sass/version.rb +1 -1
  60. data/release.sh +2 -2
  61. metadata +17 -8
  62. data/app/assets/stylesheets/sass/components/list.sass +0 -39
@@ -1,13 +1,15 @@
1
1
  $panel-margin: $block-spacing !default
2
- $panel-item-border: 1px solid $border !default
2
+ $panel-item-border: 1px solid $border-light !default
3
+ $panel-radius: $radius-large !default
4
+ $panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
3
5
 
4
- $panel-heading-background-color: $background !default
6
+ $panel-heading-background-color: $border-light !default
5
7
  $panel-heading-color: $text-strong !default
6
8
  $panel-heading-line-height: 1.25 !default
7
- $panel-heading-padding: 0.5em 0.75em !default
9
+ $panel-heading-padding: 0.75em 1em !default
8
10
  $panel-heading-radius: $radius !default
9
11
  $panel-heading-size: 1.25em !default
10
- $panel-heading-weight: $weight-light !default
12
+ $panel-heading-weight: $weight-bold !default
11
13
 
12
14
  $panel-tabs-font-size: 0.875em !default
13
15
  $panel-tab-border-bottom: 1px solid $border !default
@@ -24,24 +26,35 @@ $panel-block-active-color: $link-active !default
24
26
  $panel-block-active-icon-color: $link !default
25
27
 
26
28
  $panel-icon-color: $text-light !default
29
+ $panel-colors: $colors !default
27
30
 
28
31
  .panel
32
+ border-radius: $panel-radius
33
+ box-shadow: $panel-shadow
29
34
  font-size: $size-normal
30
35
  &:not(:last-child)
31
36
  margin-bottom: $panel-margin
37
+ // Colors
38
+ @each $name, $components in $panel-colors
39
+ $color: nth($components, 1)
40
+ $color-invert: nth($components, 2)
41
+ &.is-#{$name}
42
+ .panel-heading
43
+ background-color: $color
44
+ color: $color-invert
45
+ .panel-tabs a.is-active
46
+ border-bottom-color: $color
47
+ .panel-block.is-active .panel-icon
48
+ color: $color
32
49
 
33
- .panel-heading,
34
50
  .panel-tabs,
35
51
  .panel-block
36
- border-bottom: $panel-item-border
37
- border-left: $panel-item-border
38
- border-right: $panel-item-border
39
- &:first-child
40
- border-top: $panel-item-border
52
+ &:not(:last-child)
53
+ border-bottom: $panel-item-border
41
54
 
42
55
  .panel-heading
43
56
  background-color: $panel-heading-background-color
44
- border-radius: $panel-heading-radius $panel-heading-radius 0 0
57
+ border-radius: $panel-radius $panel-radius 0 0
45
58
  color: $panel-heading-color
46
59
  font-size: $panel-heading-size
47
60
  font-weight: $panel-heading-weight
@@ -75,7 +88,7 @@ $panel-icon-color: $text-light !default
75
88
  justify-content: flex-start
76
89
  padding: 0.5em 0.75em
77
90
  input[type="checkbox"]
78
- margin-right: 0.75em
91
+ +ltr-property("margin", 0.75em)
79
92
  & > .control
80
93
  flex-grow: 1
81
94
  flex-shrink: 1
@@ -87,6 +100,9 @@ $panel-icon-color: $text-light !default
87
100
  color: $panel-block-active-color
88
101
  .panel-icon
89
102
  color: $panel-block-active-icon-color
103
+ &:last-child
104
+ border-bottom-left-radius: $panel-radius
105
+ border-bottom-right-radius: $panel-radius
90
106
 
91
107
  a.panel-block,
92
108
  label.panel-block
@@ -97,7 +113,7 @@ label.panel-block
97
113
  .panel-icon
98
114
  +fa(14px, 1em)
99
115
  color: $panel-icon-color
100
- margin-right: 0.75em
116
+ +ltr-property("margin", 0.75em)
101
117
  .fa
102
118
  font-size: inherit
103
119
  line-height: inherit
@@ -12,7 +12,7 @@ $tabs-boxed-link-radius: $radius !default
12
12
  $tabs-boxed-link-hover-background-color: $background !default
13
13
  $tabs-boxed-link-hover-border-bottom-color: $border !default
14
14
 
15
- $tabs-boxed-link-active-background-color: $white !default
15
+ $tabs-boxed-link-active-background-color: $scheme-main !default
16
16
  $tabs-boxed-link-active-border-color: $border !default
17
17
  $tabs-boxed-link-active-border-bottom-color: transparent !default
18
18
 
@@ -78,9 +78,9 @@ $tabs-toggle-link-active-color: $link-invert !default
78
78
  padding-left: 0.75em
79
79
  .icon
80
80
  &:first-child
81
- margin-right: 0.5em
81
+ +ltr-property("margin", 0.5em)
82
82
  &:last-child
83
- margin-left: 0.5em
83
+ +ltr-property("margin", 0.5em, false)
84
84
  // Alignment
85
85
  &.is-centered
86
86
  ul
@@ -92,7 +92,10 @@ $tabs-toggle-link-active-color: $link-invert !default
92
92
  &.is-boxed
93
93
  a
94
94
  border: 1px solid transparent
95
- border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
95
+ +ltr
96
+ border-radius: $tabs-boxed-link-radius $tabs-boxed-link-radius 0 0
97
+ +rtl
98
+ border-radius: 0 0 $tabs-boxed-link-radius $tabs-boxed-link-radius
96
99
  &:hover
97
100
  background-color: $tabs-boxed-link-hover-background-color
98
101
  border-bottom-color: $tabs-boxed-link-hover-border-bottom-color
@@ -119,11 +122,21 @@ $tabs-toggle-link-active-color: $link-invert !default
119
122
  z-index: 2
120
123
  li
121
124
  & + li
122
- margin-left: -#{$tabs-toggle-link-border-width}
125
+ +ltr-property("margin", -#{$tabs-toggle-link-border-width}, false)
123
126
  &:first-child a
124
- border-radius: $tabs-toggle-link-radius 0 0 $tabs-toggle-link-radius
127
+ +ltr
128
+ border-top-left-radius: $tabs-toggle-link-radius
129
+ border-bottom-left-radius: $tabs-toggle-link-radius
130
+ +rtl
131
+ border-top-right-radius: $tabs-toggle-link-radius
132
+ border-bottom-right-radius: $tabs-toggle-link-radius
125
133
  &:last-child a
126
- border-radius: 0 $tabs-toggle-link-radius $tabs-toggle-link-radius 0
134
+ +ltr
135
+ border-top-right-radius: $tabs-toggle-link-radius
136
+ border-bottom-right-radius: $tabs-toggle-link-radius
137
+ +rtl
138
+ border-top-left-radius: $tabs-toggle-link-radius
139
+ border-bottom-left-radius: $tabs-toggle-link-radius
127
140
  &.is-active
128
141
  a
129
142
  background-color: $tabs-toggle-link-active-background-color
@@ -135,13 +148,23 @@ $tabs-toggle-link-active-color: $link-invert !default
135
148
  &.is-toggle-rounded
136
149
  li
137
150
  &:first-child a
138
- border-bottom-left-radius: $radius-rounded
139
- border-top-left-radius: $radius-rounded
140
- padding-left: 1.25em
151
+ +ltr
152
+ border-bottom-left-radius: $radius-rounded
153
+ border-top-left-radius: $radius-rounded
154
+ padding-left: 1.25em
155
+ +rtl
156
+ border-bottom-right-radius: $radius-rounded
157
+ border-top-right-radius: $radius-rounded
158
+ padding-right: 1.25em
141
159
  &:last-child a
142
- border-bottom-right-radius: $radius-rounded
143
- border-top-right-radius: $radius-rounded
144
- padding-right: 1.25em
160
+ +ltr
161
+ border-bottom-right-radius: $radius-rounded
162
+ border-top-right-radius: $radius-rounded
163
+ padding-right: 1.25em
164
+ +rtl
165
+ border-bottom-left-radius: $radius-rounded
166
+ border-top-left-radius: $radius-rounded
167
+ padding-left: 1.25em
145
168
  // Sizes
146
169
  &.is-small
147
170
  font-size: $size-small
@@ -1,3 +1,4 @@
1
+ /* Bulma Elements */
1
2
  @charset "utf-8"
2
3
 
3
4
  @import "box.sass"
@@ -1,11 +1,11 @@
1
1
  $box-color: $text !default
2
- $box-background-color: $white !default
2
+ $box-background-color: $scheme-main !default
3
3
  $box-radius: $radius-large !default
4
- $box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
4
+ $box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
5
5
  $box-padding: 1.25rem !default
6
6
 
7
- $box-link-hover-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link !default
8
- $box-link-active-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link !default
7
+ $box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
8
+ $box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
9
9
 
10
10
  .box
11
11
  @extend %block
@@ -1,12 +1,12 @@
1
- $button-color: $grey-darker !default
2
- $button-background-color: $white !default
1
+ $button-color: $text-strong !default
2
+ $button-background-color: $scheme-main !default
3
3
  $button-family: false !default
4
4
 
5
- $button-border-color: $grey-lighter !default
5
+ $button-border-color: $border !default
6
6
  $button-border-width: $control-border-width !default
7
7
 
8
- $button-padding-vertical: calc(0.375em - #{$button-border-width}) !default
9
- $button-padding-horizontal: 0.75em !default
8
+ $button-padding-vertical: calc(0.5em - #{$button-border-width}) !default
9
+ $button-padding-horizontal: 1em !default
10
10
 
11
11
  $button-hover-color: $link-hover !default
12
12
  $button-hover-border-color: $link-hover-border !default
@@ -14,23 +14,26 @@ $button-hover-border-color: $link-hover-border !default
14
14
  $button-focus-color: $link-focus !default
15
15
  $button-focus-border-color: $link-focus-border !default
16
16
  $button-focus-box-shadow-size: 0 0 0 0.125em !default
17
- $button-focus-box-shadow-color: rgba($link, 0.25) !default
17
+ $button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
18
18
 
19
19
  $button-active-color: $link-active !default
20
20
  $button-active-border-color: $link-active-border !default
21
21
 
22
22
  $button-text-color: $text !default
23
+ $button-text-decoration: underline !default
23
24
  $button-text-hover-background-color: $background !default
24
25
  $button-text-hover-color: $text-strong !default
25
26
 
26
- $button-disabled-background-color: $white !default
27
- $button-disabled-border-color: $grey-lighter !default
27
+ $button-disabled-background-color: $scheme-main !default
28
+ $button-disabled-border-color: $border !default
28
29
  $button-disabled-shadow: none !default
29
30
  $button-disabled-opacity: 0.5 !default
30
31
 
31
- $button-static-color: $grey !default
32
- $button-static-background-color: $white-ter !default
33
- $button-static-border-color: $grey-lighter !default
32
+ $button-static-color: $text-light !default
33
+ $button-static-background-color: $scheme-main-ter !default
34
+ $button-static-border-color: $border !default
35
+
36
+ $button-colors: $colors !default
34
37
 
35
38
  // The button sizes use mixins so they can be used at different breakpoints
36
39
  =button-small
@@ -70,14 +73,14 @@ $button-static-border-color: $grey-lighter !default
70
73
  height: 1.5em
71
74
  width: 1.5em
72
75
  &:first-child:not(:last-child)
73
- margin-left: calc(-0.375em - #{$button-border-width})
74
- margin-right: 0.1875em
76
+ +ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
77
+ +ltr-property("margin", $button-padding-horizontal / 4)
75
78
  &:last-child:not(:first-child)
76
- margin-left: 0.1875em
77
- margin-right: calc(-0.375em - #{$button-border-width})
79
+ +ltr-property("margin", $button-padding-horizontal / 4, false)
80
+ +ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
78
81
  &:first-child:last-child
79
- margin-left: calc(-0.375em - #{$button-border-width})
80
- margin-right: calc(-0.375em - #{$button-border-width})
82
+ margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
83
+ margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
81
84
  // States
82
85
  &:hover,
83
86
  &.is-hovered
@@ -98,7 +101,7 @@ $button-static-border-color: $grey-lighter !default
98
101
  background-color: transparent
99
102
  border-color: transparent
100
103
  color: $button-text-color
101
- text-decoration: underline
104
+ text-decoration: $button-text-decoration
102
105
  &:hover,
103
106
  &.is-hovered,
104
107
  &:focus,
@@ -107,14 +110,14 @@ $button-static-border-color: $grey-lighter !default
107
110
  color: $button-text-hover-color
108
111
  &:active,
109
112
  &.is-active
110
- background-color: darken($button-text-hover-background-color, 5%)
113
+ background-color: bulmaDarken($button-text-hover-background-color, 5%)
111
114
  color: $button-text-hover-color
112
115
  &[disabled],
113
116
  fieldset[disabled] &
114
117
  background-color: transparent
115
118
  border-color: transparent
116
119
  box-shadow: none
117
- @each $name, $pair in $colors
120
+ @each $name, $pair in $button-colors
118
121
  $color: nth($pair, 1)
119
122
  $color-invert: nth($pair, 2)
120
123
  &.is-#{$name}
@@ -123,7 +126,7 @@ $button-static-border-color: $grey-lighter !default
123
126
  color: $color-invert
124
127
  &:hover,
125
128
  &.is-hovered
126
- background-color: darken($color, 2.5%)
129
+ background-color: bulmaDarken($color, 2.5%)
127
130
  border-color: transparent
128
131
  color: $color-invert
129
132
  &:focus,
@@ -131,10 +134,10 @@ $button-static-border-color: $grey-lighter !default
131
134
  border-color: transparent
132
135
  color: $color-invert
133
136
  &:not(:active)
134
- box-shadow: $button-focus-box-shadow-size rgba($color, 0.25)
137
+ box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
135
138
  &:active,
136
139
  &.is-active
137
- background-color: darken($color, 5%)
140
+ background-color: bulmaDarken($color, 5%)
138
141
  border-color: transparent
139
142
  color: $color-invert
140
143
  &[disabled],
@@ -147,7 +150,7 @@ $button-static-border-color: $grey-lighter !default
147
150
  color: $color
148
151
  &:hover,
149
152
  &.is-hovered
150
- background-color: darken($color-invert, 5%)
153
+ background-color: bulmaDarken($color-invert, 5%)
151
154
  &[disabled],
152
155
  fieldset[disabled] &
153
156
  background-color: $color-invert
@@ -206,6 +209,23 @@ $button-static-border-color: $grey-lighter !default
206
209
  border-color: $color-invert
207
210
  box-shadow: none
208
211
  color: $color-invert
212
+ // If light and dark colors are provided
213
+ @if length($pair) >= 4
214
+ $color-light: nth($pair, 3)
215
+ $color-dark: nth($pair, 4)
216
+ &.is-light
217
+ background-color: $color-light
218
+ color: $color-dark
219
+ &:hover,
220
+ &.is-hovered
221
+ background-color: bulmaDarken($color-light, 2.5%)
222
+ border-color: transparent
223
+ color: $color-dark
224
+ &:active,
225
+ &.is-active
226
+ background-color: bulmaDarken($color-light, 5%)
227
+ border-color: transparent
228
+ color: $color-dark
209
229
  // Sizes
210
230
  &.is-small
211
231
  +button-small
@@ -240,8 +260,8 @@ $button-static-border-color: $grey-lighter !default
240
260
  pointer-events: none
241
261
  &.is-rounded
242
262
  border-radius: $radius-rounded
243
- padding-left: 1em
244
- padding-right: 1em
263
+ padding-left: calc(#{$button-padding-horizontal} + 0.25em)
264
+ padding-right: calc(#{$button-padding-horizontal} + 0.25em)
245
265
 
246
266
  .buttons
247
267
  align-items: center
@@ -251,7 +271,7 @@ $button-static-border-color: $grey-lighter !default
251
271
  .button
252
272
  margin-bottom: 0.5rem
253
273
  &:not(:last-child):not(.is-fullwidth)
254
- margin-right: 0.5rem
274
+ +ltr-property("margin", 0.5rem)
255
275
  &:last-child
256
276
  margin-bottom: -0.5rem
257
277
  &:not(:last-child)
@@ -274,9 +294,9 @@ $button-static-border-color: $grey-lighter !default
274
294
  &:not(:last-child)
275
295
  border-bottom-right-radius: 0
276
296
  border-top-right-radius: 0
277
- margin-right: -1px
297
+ +ltr-property("margin", -1px)
278
298
  &:last-child
279
- margin-right: 0
299
+ +ltr-property("margin", 0)
280
300
  &:hover,
281
301
  &.is-hovered
282
302
  z-index: 2
@@ -1,23 +1,27 @@
1
1
  $container-offset: (2 * $gap) !default
2
+ $container-max-width: $fullhd !default
2
3
 
3
4
  .container
4
5
  flex-grow: 1
5
6
  margin: 0 auto
6
7
  position: relative
7
8
  width: auto
9
+ &.is-fluid
10
+ max-width: none !important
11
+ padding-left: $gap
12
+ padding-right: $gap
13
+ width: 100%
8
14
  +desktop
9
15
  max-width: $desktop - $container-offset
10
- &.is-fluid
11
- margin-left: $gap
12
- margin-right: $gap
13
- max-width: none
14
16
  +until-widescreen
15
- &.is-widescreen
16
- max-width: $widescreen - $container-offset
17
+ &.is-widescreen:not(.is-max-desktop)
18
+ max-width: min($widescreen, $container-max-width) - $container-offset
17
19
  +until-fullhd
18
- &.is-fullhd
19
- max-width: $fullhd - $container-offset
20
+ &.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen)
21
+ max-width: min($fullhd, $container-max-width) - $container-offset
20
22
  +widescreen
21
- max-width: $widescreen - $container-offset
23
+ &:not(.is-max-desktop)
24
+ max-width: min($widescreen, $container-max-width) - $container-offset
22
25
  +fullhd
23
- max-width: $fullhd - $container-offset
26
+ &:not(.is-max-desktop):not(.is-max-widescreen)
27
+ max-width: min($fullhd, $container-max-width) - $container-offset
@@ -67,11 +67,11 @@ $content-table-foot-cell-color: $text-strong !default
67
67
  margin-bottom: 1em
68
68
  blockquote
69
69
  background-color: $content-blockquote-background-color
70
- border-left: $content-blockquote-border-left
70
+ +ltr-property("border", $content-blockquote-border-left, false)
71
71
  padding: $content-blockquote-padding
72
72
  ol
73
73
  list-style-position: outside
74
- margin-left: 2em
74
+ +ltr-property("margin", 2em, false)
75
75
  margin-top: 1em
76
76
  &:not([type])
77
77
  list-style-type: decimal
@@ -85,7 +85,7 @@ $content-table-foot-cell-color: $text-strong !default
85
85
  list-style-type: upper-roman
86
86
  ul
87
87
  list-style: disc outside
88
- margin-left: 2em
88
+ +ltr-property("margin", 2em, false)
89
89
  margin-top: 1em
90
90
  ul
91
91
  list-style-type: circle
@@ -93,7 +93,7 @@ $content-table-foot-cell-color: $text-strong !default
93
93
  ul
94
94
  list-style-type: square
95
95
  dd
96
- margin-left: 2em
96
+ +ltr-property("margin", 2em, false)
97
97
  figure
98
98
  margin-left: 2em
99
99
  margin-right: 2em
@@ -126,7 +126,7 @@ $content-table-foot-cell-color: $text-strong !default
126
126
  th
127
127
  color: $content-table-cell-heading-color
128
128
  &:not([align])
129
- text-align: left
129
+ text-align: inherit
130
130
  thead
131
131
  td,
132
132
  th