bulma-rails 0.8.0 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/stylesheets/bulma.sass +2 -1
  4. data/app/assets/stylesheets/sass/base/_all.sass +4 -3
  5. data/app/assets/stylesheets/sass/base/animations.sass +5 -0
  6. data/app/assets/stylesheets/sass/base/generic.sass +4 -1
  7. data/app/assets/stylesheets/sass/base/helpers.sass +1 -281
  8. data/app/assets/stylesheets/sass/base/minireset.sass +1 -1
  9. data/app/assets/stylesheets/sass/components/_all.sass +13 -13
  10. data/app/assets/stylesheets/sass/components/breadcrumb.sass +5 -3
  11. data/app/assets/stylesheets/sass/components/card.sass +24 -1
  12. data/app/assets/stylesheets/sass/components/dropdown.sass +5 -3
  13. data/app/assets/stylesheets/sass/components/level.sass +4 -2
  14. data/app/assets/stylesheets/sass/components/media.sass +25 -16
  15. data/app/assets/stylesheets/sass/components/menu.sass +4 -2
  16. data/app/assets/stylesheets/sass/components/message.sass +3 -1
  17. data/app/assets/stylesheets/sass/components/modal.sass +8 -4
  18. data/app/assets/stylesheets/sass/components/navbar.sass +23 -21
  19. data/app/assets/stylesheets/sass/components/pagination.sass +11 -3
  20. data/app/assets/stylesheets/sass/components/panel.sass +4 -2
  21. data/app/assets/stylesheets/sass/components/tabs.sass +37 -12
  22. data/app/assets/stylesheets/sass/elements/_all.sass +13 -12
  23. data/app/assets/stylesheets/sass/elements/box.sass +2 -0
  24. data/app/assets/stylesheets/sass/elements/button.sass +41 -18
  25. data/app/assets/stylesheets/sass/elements/container.sass +12 -7
  26. data/app/assets/stylesheets/sass/elements/content.sass +7 -5
  27. data/app/assets/stylesheets/sass/elements/icon.sass +19 -0
  28. data/app/assets/stylesheets/sass/elements/image.sass +2 -0
  29. data/app/assets/stylesheets/sass/elements/notification.sass +19 -3
  30. data/app/assets/stylesheets/sass/elements/other.sass +2 -0
  31. data/app/assets/stylesheets/sass/elements/progress.sass +7 -1
  32. data/app/assets/stylesheets/sass/elements/table.sass +8 -2
  33. data/app/assets/stylesheets/sass/elements/tag.sass +29 -17
  34. data/app/assets/stylesheets/sass/elements/title.sass +2 -0
  35. data/app/assets/stylesheets/sass/form/_all.sass +7 -6
  36. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +3 -2
  37. data/app/assets/stylesheets/sass/form/file.sass +12 -10
  38. data/app/assets/stylesheets/sass/form/input-textarea.sass +4 -2
  39. data/app/assets/stylesheets/sass/form/select.sass +9 -7
  40. data/app/assets/stylesheets/sass/form/shared.sass +8 -3
  41. data/app/assets/stylesheets/sass/form/tools.sass +21 -11
  42. data/app/assets/stylesheets/sass/grid/_all.sass +3 -2
  43. data/app/assets/stylesheets/sass/grid/columns.sass +86 -77
  44. data/app/assets/stylesheets/sass/grid/tiles.sass +2 -0
  45. data/app/assets/stylesheets/sass/helpers/_all.sass +12 -0
  46. data/app/assets/stylesheets/sass/helpers/color.sass +39 -0
  47. data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
  48. data/app/assets/stylesheets/sass/helpers/float.sass +10 -0
  49. data/app/assets/stylesheets/sass/helpers/other.sass +14 -0
  50. data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
  51. data/app/assets/stylesheets/sass/helpers/position.sass +7 -0
  52. data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
  53. data/app/assets/stylesheets/sass/helpers/typography.sass +100 -0
  54. data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
  55. data/app/assets/stylesheets/sass/layout/_all.sass +4 -3
  56. data/app/assets/stylesheets/sass/layout/footer.sass +2 -0
  57. data/app/assets/stylesheets/sass/layout/hero.sass +27 -21
  58. data/app/assets/stylesheets/sass/layout/section.sass +2 -0
  59. data/app/assets/stylesheets/sass/utilities/_all.sass +7 -6
  60. data/app/assets/stylesheets/sass/utilities/animations.sass +1 -5
  61. data/app/assets/stylesheets/sass/utilities/controls.sass +2 -3
  62. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +5 -1
  63. data/app/assets/stylesheets/sass/utilities/extends.sass +22 -0
  64. data/app/assets/stylesheets/sass/utilities/functions.sass +17 -0
  65. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +1 -0
  66. data/app/assets/stylesheets/sass/utilities/mixins.sass +30 -23
  67. data/bulma-rails.gemspec +1 -1
  68. metadata +18 -7
  69. data/app/assets/stylesheets/sass/components/list.sass +0 -39
@@ -1,14 +1,23 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  $notification-background-color: $background !default
2
4
  $notification-code-background-color: $scheme-main !default
3
5
  $notification-radius: $radius !default
4
6
  $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
7
+ $notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
8
+ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
9
+
10
+ $notification-colors: $colors !default
5
11
 
6
12
  .notification
7
13
  @extend %block
8
14
  background-color: $notification-background-color
9
15
  border-radius: $notification-radius
10
- padding: $notification-padding
11
16
  position: relative
17
+ +ltr
18
+ padding: $notification-padding-ltr
19
+ +rtl
20
+ padding: $notification-padding-rtl
12
21
  a:not(.button):not(.dropdown-item)
13
22
  color: currentColor
14
23
  text-decoration: underline
@@ -20,17 +29,24 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
20
29
  pre code
21
30
  background: transparent
22
31
  & > .delete
32
+ +ltr-position(0.5rem)
23
33
  position: absolute
24
- right: 0.5rem
25
34
  top: 0.5rem
26
35
  .title,
27
36
  .subtitle,
28
37
  .content
29
38
  color: currentColor
30
39
  // Colors
31
- @each $name, $pair in $colors
40
+ @each $name, $pair in $notification-colors
32
41
  $color: nth($pair, 1)
33
42
  $color-invert: nth($pair, 2)
34
43
  &.is-#{$name}
35
44
  background-color: $color
36
45
  color: $color-invert
46
+ // If light and dark colors are provided
47
+ @if length($pair) >= 4
48
+ $color-light: nth($pair, 3)
49
+ $color-dark: nth($pair, 4)
50
+ &.is-light
51
+ background-color: $color-light
52
+ color: $color-dark
@@ -1,3 +1,5 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  .block
2
4
  @extend %block
3
5
 
@@ -1,9 +1,13 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  $progress-bar-background-color: $border-light !default
2
4
  $progress-value-background-color: $text !default
3
5
  $progress-border-radius: $radius-rounded !default
4
6
 
5
7
  $progress-indeterminate-duration: 1.5s !default
6
8
 
9
+ $progress-colors: $colors !default
10
+
7
11
  .progress
8
12
  @extend %block
9
13
  -moz-appearance: none
@@ -25,7 +29,7 @@ $progress-indeterminate-duration: 1.5s !default
25
29
  background-color: $progress-value-background-color
26
30
  border: none
27
31
  // Colors
28
- @each $name, $pair in $colors
32
+ @each $name, $pair in $progress-colors
29
33
  $color: nth($pair, 1)
30
34
  &.is-#{$name}
31
35
  &::-webkit-progress-value
@@ -51,6 +55,8 @@ $progress-indeterminate-duration: 1.5s !default
51
55
  background-color: transparent
52
56
  &::-moz-progress-bar
53
57
  background-color: transparent
58
+ &::-ms-fill
59
+ animation-name: none
54
60
 
55
61
  // Sizes
56
62
  &.is-small
@@ -1,3 +1,5 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  $table-color: $text-strong !default
2
4
  $table-background-color: $scheme-main !default
3
5
 
@@ -23,6 +25,8 @@ $table-row-active-color: $primary-invert !default
23
25
  $table-striped-row-even-background-color: $scheme-main-bis !default
24
26
  $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
27
 
28
+ $table-colors: $colors !default
29
+
26
30
  .table
27
31
  @extend %block
28
32
  background-color: $table-background-color
@@ -34,7 +38,7 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
34
38
  padding: $table-cell-padding
35
39
  vertical-align: top
36
40
  // Colors
37
- @each $name, $pair in $colors
41
+ @each $name, $pair in $table-colors
38
42
  $color: nth($pair, 1)
39
43
  $color-invert: nth($pair, 2)
40
44
  &.is-#{$name}
@@ -51,10 +55,12 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
51
55
  a,
52
56
  strong
53
57
  color: currentColor
58
+ &.is-vcentered
59
+ vertical-align: middle
54
60
  th
55
61
  color: $table-cell-heading-color
56
62
  &:not([align])
57
- text-align: left
63
+ text-align: inherit
58
64
  tr
59
65
  &.is-selected
60
66
  background-color: $table-row-active-background-color
@@ -1,8 +1,12 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  $tag-background-color: $background !default
2
4
  $tag-color: $text !default
3
5
  $tag-radius: $radius !default
4
6
  $tag-delete-margin: 1px !default
5
7
 
8
+ $tag-colors: $colors !default
9
+
6
10
  .tags
7
11
  align-items: center
8
12
  display: flex
@@ -11,7 +15,7 @@ $tag-delete-margin: 1px !default
11
15
  .tag
12
16
  margin-bottom: 0.5rem
13
17
  &:not(:last-child)
14
- margin-right: 0.5rem
18
+ +ltr-property("margin", 0.5rem)
15
19
  &:last-child
16
20
  margin-bottom: -0.5rem
17
21
  &:not(:last-child)
@@ -37,14 +41,22 @@ $tag-delete-margin: 1px !default
37
41
  margin-right: 0
38
42
  &.has-addons
39
43
  .tag
40
- margin-right: 0
44
+ +ltr-property("margin", 0)
41
45
  &:not(:first-child)
42
- margin-left: 0
43
- border-bottom-left-radius: 0
44
- border-top-left-radius: 0
46
+ +ltr-property("margin", 0, false)
47
+ +ltr
48
+ border-top-left-radius: 0
49
+ border-bottom-left-radius: 0
50
+ +rtl
51
+ border-top-right-radius: 0
52
+ border-bottom-right-radius: 0
45
53
  &:not(:last-child)
46
- border-bottom-right-radius: 0
47
- border-top-right-radius: 0
54
+ +ltr
55
+ border-top-right-radius: 0
56
+ border-bottom-right-radius: 0
57
+ +rtl
58
+ border-top-left-radius: 0
59
+ border-bottom-left-radius: 0
48
60
 
49
61
  .tag:not(body)
50
62
  align-items: center
@@ -60,10 +72,10 @@ $tag-delete-margin: 1px !default
60
72
  padding-right: 0.75em
61
73
  white-space: nowrap
62
74
  .delete
63
- margin-left: 0.25rem
64
- margin-right: -0.375rem
75
+ +ltr-property("margin", 0.25rem, false)
76
+ +ltr-property("margin", -0.375rem)
65
77
  // Colors
66
- @each $name, $pair in $colors
78
+ @each $name, $pair in $tag-colors
67
79
  $color: nth($pair, 1)
68
80
  $color-invert: nth($pair, 2)
69
81
  &.is-#{$name}
@@ -85,17 +97,17 @@ $tag-delete-margin: 1px !default
85
97
  font-size: $size-medium
86
98
  .icon
87
99
  &:first-child:not(:last-child)
88
- margin-left: -0.375em
89
- margin-right: 0.1875em
100
+ +ltr-property("margin", -0.375em, false)
101
+ +ltr-property("margin", 0.1875em)
90
102
  &:last-child:not(:first-child)
91
- margin-left: 0.1875em
92
- margin-right: -0.375em
103
+ +ltr-property("margin", 0.1875em, false)
104
+ +ltr-property("margin", -0.375em)
93
105
  &:first-child:last-child
94
- margin-left: -0.375em
95
- margin-right: -0.375em
106
+ +ltr-property("margin", -0.375em, false)
107
+ +ltr-property("margin", -0.375em)
96
108
  // Modifiers
97
109
  &.is-delete
98
- margin-left: $tag-delete-margin
110
+ +ltr-property("margin", $tag-delete-margin, false)
99
111
  padding: 0
100
112
  position: relative
101
113
  width: 2em
@@ -1,3 +1,5 @@
1
+ @import "../utilities/mixins"
2
+
1
3
  $title-color: $text-strong !default
2
4
  $title-family: false !default
3
5
  $title-size: $size-3 !default
@@ -1,8 +1,9 @@
1
+ /* Bulma Form */
1
2
  @charset "utf-8"
2
3
 
3
- @import "shared.sass"
4
- @import "input-textarea.sass"
5
- @import "checkbox-radio.sass"
6
- @import "select.sass"
7
- @import "file.sass"
8
- @import "tools.sass"
4
+ @import "shared"
5
+ @import "input-textarea"
6
+ @import "checkbox-radio"
7
+ @import "select"
8
+ @import "file"
9
+ @import "tools"
@@ -8,7 +8,8 @@
8
8
  &:hover
9
9
  color: $input-hover-color
10
10
  &[disabled],
11
- fieldset[disabled] &
11
+ fieldset[disabled] &,
12
+ input[disabled]
12
13
  color: $input-disabled-color
13
14
  cursor: not-allowed
14
15
 
@@ -18,4 +19,4 @@
18
19
  .radio
19
20
  @extend %checkbox-radio
20
21
  & + .radio
21
- margin-left: 0.5em
22
+ +ltr-property("margin", 0.5em, false)
@@ -11,6 +11,8 @@ $file-name-border-style: solid !default
11
11
  $file-name-border-width: 1px 1px 1px 0 !default
12
12
  $file-name-max-width: 16em !default
13
13
 
14
+ $file-colors: $form-colors !default
15
+
14
16
  .file
15
17
  @extend %unselectable
16
18
  align-items: stretch
@@ -18,7 +20,7 @@ $file-name-max-width: 16em !default
18
20
  justify-content: flex-start
19
21
  position: relative
20
22
  // Colors
21
- @each $name, $pair in $colors
23
+ @each $name, $pair in $file-colors
22
24
  $color: nth($pair, 1)
23
25
  $color-invert: nth($pair, 2)
24
26
  &.is-#{$name}
@@ -29,19 +31,19 @@ $file-name-max-width: 16em !default
29
31
  &:hover,
30
32
  &.is-hovered
31
33
  .file-cta
32
- background-color: darken($color, 2.5%)
34
+ background-color: bulmaDarken($color, 2.5%)
33
35
  border-color: transparent
34
36
  color: $color-invert
35
37
  &:focus,
36
38
  &.is-focused
37
39
  .file-cta
38
40
  border-color: transparent
39
- box-shadow: 0 0 0.5em rgba($color, 0.25)
41
+ box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
40
42
  color: $color-invert
41
43
  &:active,
42
44
  &.is-active
43
45
  .file-cta
44
- background-color: darken($color, 5%)
46
+ background-color: bulmaDarken($color, 5%)
45
47
  border-color: transparent
46
48
  color: $color-invert
47
49
  // Sizes
@@ -125,16 +127,16 @@ $file-name-max-width: 16em !default
125
127
  position: relative
126
128
  &:hover
127
129
  .file-cta
128
- background-color: darken($file-cta-background-color, 2.5%)
130
+ background-color: bulmaDarken($file-cta-background-color, 2.5%)
129
131
  color: $file-cta-hover-color
130
132
  .file-name
131
- border-color: darken($file-name-border-color, 2.5%)
133
+ border-color: bulmaDarken($file-name-border-color, 2.5%)
132
134
  &:active
133
135
  .file-cta
134
- background-color: darken($file-cta-background-color, 5%)
136
+ background-color: bulmaDarken($file-cta-background-color, 5%)
135
137
  color: $file-cta-active-color
136
138
  .file-name
137
- border-color: darken($file-name-border-color, 5%)
139
+ border-color: bulmaDarken($file-name-border-color, 5%)
138
140
 
139
141
  .file-input
140
142
  height: 100%
@@ -166,7 +168,7 @@ $file-name-max-width: 16em !default
166
168
  display: block
167
169
  max-width: $file-name-max-width
168
170
  overflow: hidden
169
- text-align: left
171
+ text-align: inherit
170
172
  text-overflow: ellipsis
171
173
 
172
174
  .file-icon
@@ -174,7 +176,7 @@ $file-name-max-width: 16em !default
174
176
  display: flex
175
177
  height: 1em
176
178
  justify-content: center
177
- margin-right: 0.5em
179
+ +ltr-property("margin", 0.5em)
178
180
  width: 1em
179
181
  .fa
180
182
  font-size: 14px
@@ -2,6 +2,8 @@ $textarea-padding: $control-padding-horizontal !default
2
2
  $textarea-max-height: 40em !default
3
3
  $textarea-min-height: 8em !default
4
4
 
5
+ $textarea-colors: $form-colors !default
6
+
5
7
  %input-textarea
6
8
  @extend %input
7
9
  box-shadow: $input-shadow
@@ -10,7 +12,7 @@ $textarea-min-height: 8em !default
10
12
  &[readonly]
11
13
  box-shadow: none
12
14
  // Colors
13
- @each $name, $pair in $colors
15
+ @each $name, $pair in $textarea-colors
14
16
  $color: nth($pair, 1)
15
17
  &.is-#{$name}
16
18
  border-color: $color
@@ -18,7 +20,7 @@ $textarea-min-height: 8em !default
18
20
  &.is-focused,
19
21
  &:active,
20
22
  &.is-active
21
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
23
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
22
24
  // Sizes
23
25
  &.is-small
24
26
  +control-small
@@ -1,3 +1,5 @@
1
+ $select-colors: $form-colors !default
2
+
1
3
  .select
2
4
  display: inline-block
3
5
  max-width: 100%
@@ -9,12 +11,12 @@
9
11
  &::after
10
12
  @extend %arrow
11
13
  border-color: $input-arrow
12
- right: 1.125em
14
+ +ltr-position(1.125em)
13
15
  z-index: 4
14
16
  &.is-rounded
15
17
  select
16
18
  border-radius: $radius-rounded
17
- padding-left: 1em
19
+ +ltr-property("padding", 1em, false)
18
20
  select
19
21
  @extend %input
20
22
  cursor: pointer
@@ -28,7 +30,7 @@
28
30
  fieldset[disabled] &:hover
29
31
  border-color: $input-disabled-border-color
30
32
  &:not([multiple])
31
- padding-right: 2.5em
33
+ +ltr-property("padding", 2.5em)
32
34
  &[multiple]
33
35
  height: auto
34
36
  padding: 0
@@ -39,7 +41,7 @@
39
41
  &::after
40
42
  border-color: $input-hover-color
41
43
  // Colors
42
- @each $name, $pair in $colors
44
+ @each $name, $pair in $select-colors
43
45
  $color: nth($pair, 1)
44
46
  &.is-#{$name}
45
47
  &:not(:hover)::after
@@ -48,12 +50,12 @@
48
50
  border-color: $color
49
51
  &:hover,
50
52
  &.is-hovered
51
- border-color: darken($color, 5%)
53
+ border-color: bulmaDarken($color, 5%)
52
54
  &:focus,
53
55
  &.is-focused,
54
56
  &:active,
55
57
  &.is-active
56
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
58
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
57
59
  // Sizes
58
60
  &.is-small
59
61
  +control-small
@@ -74,7 +76,7 @@
74
76
  @extend %loader
75
77
  margin-top: 0
76
78
  position: absolute
77
- right: 0.625em
79
+ +ltr-position(0.625em)
78
80
  top: 0.625em
79
81
  transform: none
80
82
  &.is-small:after
@@ -1,9 +1,14 @@
1
+ @import "../utilities/controls"
2
+ @import "../utilities/mixins"
3
+
4
+ $form-colors: $colors !default
5
+
1
6
  $input-color: $text-strong !default
2
7
  $input-background-color: $scheme-main !default
3
8
  $input-border-color: $border !default
4
9
  $input-height: $control-height !default
5
10
  $input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
6
- $input-placeholder-color: rgba($input-color, 0.3) !default
11
+ $input-placeholder-color: bulmaRgba($input-color, 0.3) !default
7
12
 
8
13
  $input-hover-color: $text-strong !default
9
14
  $input-hover-border-color: $border-hover !default
@@ -11,12 +16,12 @@ $input-hover-border-color: $border-hover !default
11
16
  $input-focus-color: $text-strong !default
12
17
  $input-focus-border-color: $link !default
13
18
  $input-focus-box-shadow-size: 0 0 0 0.125em !default
14
- $input-focus-box-shadow-color: rgba($link, 0.25) !default
19
+ $input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
15
20
 
16
21
  $input-disabled-color: $text-light !default
17
22
  $input-disabled-background-color: $background !default
18
23
  $input-disabled-border-color: $background !default
19
- $input-disabled-placeholder-color: rgba($input-disabled-color, 0.3) !default
24
+ $input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
20
25
 
21
26
  $input-arrow: $link !default
22
27
 
@@ -3,6 +3,8 @@ $label-weight: $weight-bold !default
3
3
 
4
4
  $help-size: $size-small !default
5
5
 
6
+ $label-colors: $form-colors !default
7
+
6
8
  .label
7
9
  color: $label-color
8
10
  display: block
@@ -22,7 +24,7 @@ $help-size: $size-small !default
22
24
  display: block
23
25
  font-size: $help-size
24
26
  margin-top: 0.25rem
25
- @each $name, $pair in $colors
27
+ @each $name, $pair in $label-colors
26
28
  $color: nth($pair, 1)
27
29
  &.is-#{$name}
28
30
  color: $color
@@ -38,7 +40,7 @@ $help-size: $size-small !default
38
40
  justify-content: flex-start
39
41
  .control
40
42
  &:not(:last-child)
41
- margin-right: -1px
43
+ +ltr-property("margin", -1px)
42
44
  &:not(:first-child):not(:last-child)
43
45
  .button,
44
46
  .input,
@@ -48,14 +50,22 @@ $help-size: $size-small !default
48
50
  .button,
49
51
  .input,
50
52
  .select select
51
- border-bottom-right-radius: 0
52
- border-top-right-radius: 0
53
+ +ltr
54
+ border-bottom-right-radius: 0
55
+ border-top-right-radius: 0
56
+ +rtl
57
+ border-bottom-left-radius: 0
58
+ border-top-left-radius: 0
53
59
  &:last-child:not(:only-child)
54
60
  .button,
55
61
  .input,
56
62
  .select select
57
- border-bottom-left-radius: 0
58
- border-top-left-radius: 0
63
+ +ltr
64
+ border-bottom-left-radius: 0
65
+ border-top-left-radius: 0
66
+ +rtl
67
+ border-bottom-right-radius: 0
68
+ border-top-right-radius: 0
59
69
  .button,
60
70
  .input,
61
71
  .select select
@@ -88,7 +98,7 @@ $help-size: $size-small !default
88
98
  flex-shrink: 0
89
99
  &:not(:last-child)
90
100
  margin-bottom: 0
91
- margin-right: 0.75rem
101
+ +ltr-property("margin", 0.75rem)
92
102
  &.is-expanded
93
103
  flex-grow: 1
94
104
  flex-shrink: 1
@@ -119,7 +129,7 @@ $help-size: $size-small !default
119
129
  flex-basis: 0
120
130
  flex-grow: 1
121
131
  flex-shrink: 0
122
- margin-right: 1.5rem
132
+ +ltr-property("margin", 1.5rem)
123
133
  text-align: right
124
134
  &.is-small
125
135
  font-size: $size-small
@@ -148,14 +158,14 @@ $help-size: $size-small !default
148
158
  &:not(.is-narrow)
149
159
  flex-grow: 1
150
160
  &:not(:last-child)
151
- margin-right: 0.75rem
161
+ +ltr-property("margin", 0.75rem)
152
162
 
153
163
  .control
154
164
  box-sizing: border-box
155
165
  clear: both
156
166
  font-size: $size-normal
157
167
  position: relative
158
- text-align: left
168
+ text-align: inherit
159
169
  // Modifiers
160
170
  &.has-icons-left,
161
171
  &.has-icons-right
@@ -194,7 +204,7 @@ $help-size: $size-small !default
194
204
  &::after
195
205
  @extend %loader
196
206
  position: absolute !important
197
- right: 0.625em
207
+ +ltr-position(0.625em)
198
208
  top: 0.625em
199
209
  z-index: 4
200
210
  &.is-small:after
@@ -1,4 +1,5 @@
1
+ /* Bulma Grid */
1
2
  @charset "utf-8"
2
3
 
3
- @import "columns.sass"
4
- @import "tiles.sass"
4
+ @import "columns"
5
+ @import "tiles"