bulma-clean-theme 0.8 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +40 -0
  3. data/_includes/callouts.html +1 -1
  4. data/_includes/footer.html +1 -1
  5. data/_includes/gallery.html +25 -0
  6. data/_includes/head.html +2 -1
  7. data/_includes/header.html +3 -3
  8. data/_includes/hero.html +1 -1
  9. data/_includes/image-modal.html +18 -0
  10. data/_includes/menubar.html +2 -2
  11. data/_includes/showcase.html +1 -1
  12. data/_includes/tabs.html +1 -1
  13. data/_includes/youtube.html +8 -0
  14. data/_layouts/default.html +1 -0
  15. data/_layouts/product-category.html +1 -1
  16. data/_sass/_layout.scss +6 -0
  17. data/_sass/_main.scss +2 -0
  18. data/node_modules/bulma-block-list/docs/Gemfile +3 -0
  19. data/node_modules/bulma-block-list/docs/_config.yml +15 -0
  20. data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
  21. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +92 -0
  22. data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
  23. data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
  24. data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
  25. data/node_modules/bulma-block-list/docs/index.html +249 -261
  26. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
  27. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
  28. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
  29. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
  30. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
  31. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
  32. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
  33. data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -0
  34. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
  35. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
  36. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
  37. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
  38. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
  39. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  40. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
  41. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
  42. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
  43. data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/components/list.sass +0 -0
  44. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
  45. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
  46. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
  47. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
  48. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
  49. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
  50. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
  51. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
  52. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
  53. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
  54. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
  55. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
  56. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
  57. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
  58. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
  59. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
  60. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
  61. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
  62. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
  63. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
  64. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
  65. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
  66. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
  67. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  68. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
  69. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
  70. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
  71. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
  72. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
  73. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
  74. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
  75. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
  76. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
  77. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
  78. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
  79. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
  80. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
  81. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
  82. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
  83. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/derived-variables.sass +106 -0
  84. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
  85. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
  86. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  87. data/node_modules/bulma-block-list/package.json +10 -10
  88. data/node_modules/bulma-block-list/src/block-list.scss +24 -1
  89. data/node_modules/bulma/CHANGELOG.md +95 -0
  90. data/node_modules/bulma/README.md +3 -2
  91. data/node_modules/bulma/bulma.sass +2 -1
  92. data/node_modules/bulma/css/bulma-rtl.css +11624 -0
  93. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  94. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  95. data/node_modules/bulma/css/bulma.css +7233 -6464
  96. data/node_modules/bulma/css/bulma.css.map +1 -1
  97. data/node_modules/bulma/css/bulma.min.css +1 -1
  98. data/node_modules/bulma/package.json +21 -18
  99. data/node_modules/bulma/sass/base/_all.sass +1 -1
  100. data/node_modules/bulma/sass/base/generic.sass +2 -1
  101. data/node_modules/bulma/sass/base/helpers.sass +1 -281
  102. data/node_modules/bulma/sass/base/minireset.sass +1 -1
  103. data/node_modules/bulma/sass/components/_all.sass +1 -1
  104. data/node_modules/bulma/sass/components/breadcrumb.sass +3 -3
  105. data/node_modules/bulma/sass/components/card.sass +5 -1
  106. data/node_modules/bulma/sass/components/dropdown.sass +3 -3
  107. data/node_modules/bulma/sass/components/level.sass +2 -2
  108. data/node_modules/bulma/sass/components/media.sass +10 -8
  109. data/node_modules/bulma/sass/components/menu.sass +2 -2
  110. data/node_modules/bulma/sass/components/message.sass +1 -1
  111. data/node_modules/bulma/sass/components/modal.sass +5 -3
  112. data/node_modules/bulma/sass/components/navbar.sass +12 -10
  113. data/node_modules/bulma/sass/components/panel.sass +2 -2
  114. data/node_modules/bulma/sass/components/tabs.sass +35 -12
  115. data/node_modules/bulma/sass/elements/_all.sass +1 -0
  116. data/node_modules/bulma/sass/elements/button.sass +10 -8
  117. data/node_modules/bulma/sass/elements/container.sass +10 -7
  118. data/node_modules/bulma/sass/elements/content.sass +5 -5
  119. data/node_modules/bulma/sass/elements/notification.sass +10 -3
  120. data/node_modules/bulma/sass/elements/progress.sass +5 -1
  121. data/node_modules/bulma/sass/elements/table.sass +6 -2
  122. data/node_modules/bulma/sass/elements/tag.sass +27 -17
  123. data/node_modules/bulma/sass/form/_all.sass +1 -0
  124. data/node_modules/bulma/sass/form/checkbox-radio.sass +3 -2
  125. data/node_modules/bulma/sass/form/file.sass +5 -3
  126. data/node_modules/bulma/sass/form/input-textarea.sass +3 -1
  127. data/node_modules/bulma/sass/form/select.sass +7 -5
  128. data/node_modules/bulma/sass/form/shared.sass +2 -0
  129. data/node_modules/bulma/sass/form/tools.sass +21 -11
  130. data/node_modules/bulma/sass/grid/_all.sass +1 -0
  131. data/node_modules/bulma/sass/helpers/_all.sass +12 -0
  132. data/node_modules/bulma/sass/helpers/color.sass +37 -0
  133. data/node_modules/bulma/sass/helpers/flexbox.sass +35 -0
  134. data/node_modules/bulma/sass/helpers/float.sass +8 -0
  135. data/node_modules/bulma/sass/helpers/other.sass +11 -0
  136. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  137. data/node_modules/bulma/sass/helpers/position.sass +5 -0
  138. data/node_modules/bulma/sass/helpers/spacing.sass +31 -0
  139. data/node_modules/bulma/sass/helpers/typography.sass +98 -0
  140. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  141. data/node_modules/bulma/sass/layout/_all.sass +1 -0
  142. data/node_modules/bulma/sass/layout/hero.sass +4 -2
  143. data/node_modules/bulma/sass/utilities/_all.sass +1 -0
  144. data/node_modules/bulma/sass/utilities/derived-variables.sass +2 -1
  145. data/node_modules/bulma/sass/utilities/functions.sass +5 -0
  146. data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
  147. data/node_modules/bulma/sass/utilities/mixins.sass +24 -0
  148. data/package-lock.json +13 -6
  149. data/package.json +2 -2
  150. metadata +98 -31
  151. data/node_modules/bulma-block-list/docs/demo.css +0 -7241
@@ -2,13 +2,20 @@ $notification-background-color: $background !default
2
2
  $notification-code-background-color: $scheme-main !default
3
3
  $notification-radius: $radius !default
4
4
  $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
5
+ $notification-padding-ltr: 1.25rem 2.5rem 1.25rem 1.5rem !default
6
+ $notification-padding-rtl: 1.25rem 1.5rem 1.25rem 2.5rem !default
7
+
8
+ $notification-colors: $colors !default
5
9
 
6
10
  .notification
7
11
  @extend %block
8
12
  background-color: $notification-background-color
9
13
  border-radius: $notification-radius
10
- padding: $notification-padding
11
14
  position: relative
15
+ +ltr
16
+ padding: $notification-padding-ltr
17
+ +rtl
18
+ padding: $notification-padding-rtl
12
19
  a:not(.button):not(.dropdown-item)
13
20
  color: currentColor
14
21
  text-decoration: underline
@@ -20,15 +27,15 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
20
27
  pre code
21
28
  background: transparent
22
29
  & > .delete
30
+ +ltr-position(0.5rem)
23
31
  position: absolute
24
- right: 0.5rem
25
32
  top: 0.5rem
26
33
  .title,
27
34
  .subtitle,
28
35
  .content
29
36
  color: currentColor
30
37
  // Colors
31
- @each $name, $pair in $colors
38
+ @each $name, $pair in $notification-colors
32
39
  $color: nth($pair, 1)
33
40
  $color-invert: nth($pair, 2)
34
41
  &.is-#{$name}
@@ -4,6 +4,8 @@ $progress-border-radius: $radius-rounded !default
4
4
 
5
5
  $progress-indeterminate-duration: 1.5s !default
6
6
 
7
+ $progress-colors: $colors !default
8
+
7
9
  .progress
8
10
  @extend %block
9
11
  -moz-appearance: none
@@ -25,7 +27,7 @@ $progress-indeterminate-duration: 1.5s !default
25
27
  background-color: $progress-value-background-color
26
28
  border: none
27
29
  // Colors
28
- @each $name, $pair in $colors
30
+ @each $name, $pair in $progress-colors
29
31
  $color: nth($pair, 1)
30
32
  &.is-#{$name}
31
33
  &::-webkit-progress-value
@@ -51,6 +53,8 @@ $progress-indeterminate-duration: 1.5s !default
51
53
  background-color: transparent
52
54
  &::-moz-progress-bar
53
55
  background-color: transparent
56
+ &::-ms-fill
57
+ animation-name: none
54
58
 
55
59
  // Sizes
56
60
  &.is-small
@@ -23,6 +23,8 @@ $table-row-active-color: $primary-invert !default
23
23
  $table-striped-row-even-background-color: $scheme-main-bis !default
24
24
  $table-striped-row-even-hover-background-color: $scheme-main-ter !default
25
25
 
26
+ $table-colors: $colors !default
27
+
26
28
  .table
27
29
  @extend %block
28
30
  background-color: $table-background-color
@@ -34,7 +36,7 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
34
36
  padding: $table-cell-padding
35
37
  vertical-align: top
36
38
  // Colors
37
- @each $name, $pair in $colors
39
+ @each $name, $pair in $table-colors
38
40
  $color: nth($pair, 1)
39
41
  $color-invert: nth($pair, 2)
40
42
  &.is-#{$name}
@@ -51,10 +53,12 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
51
53
  a,
52
54
  strong
53
55
  color: currentColor
56
+ &.is-vcentered
57
+ vertical-align: middle
54
58
  th
55
59
  color: $table-cell-heading-color
56
60
  &:not([align])
57
- text-align: left
61
+ text-align: inherit
58
62
  tr
59
63
  &.is-selected
60
64
  background-color: $table-row-active-background-color
@@ -3,6 +3,8 @@ $tag-color: $text !default
3
3
  $tag-radius: $radius !default
4
4
  $tag-delete-margin: 1px !default
5
5
 
6
+ $tag-colors: $colors !default
7
+
6
8
  .tags
7
9
  align-items: center
8
10
  display: flex
@@ -11,7 +13,7 @@ $tag-delete-margin: 1px !default
11
13
  .tag
12
14
  margin-bottom: 0.5rem
13
15
  &:not(:last-child)
14
- margin-right: 0.5rem
16
+ +ltr-property("margin", 0.5rem)
15
17
  &:last-child
16
18
  margin-bottom: -0.5rem
17
19
  &:not(:last-child)
@@ -37,14 +39,22 @@ $tag-delete-margin: 1px !default
37
39
  margin-right: 0
38
40
  &.has-addons
39
41
  .tag
40
- margin-right: 0
42
+ +ltr-property("margin", 0)
41
43
  &:not(:first-child)
42
- margin-left: 0
43
- border-bottom-left-radius: 0
44
- border-top-left-radius: 0
44
+ +ltr-property("margin", 0, false)
45
+ +ltr
46
+ border-top-left-radius: 0
47
+ border-bottom-left-radius: 0
48
+ +rtl
49
+ border-top-right-radius: 0
50
+ border-bottom-right-radius: 0
45
51
  &:not(:last-child)
46
- border-bottom-right-radius: 0
47
- border-top-right-radius: 0
52
+ +ltr
53
+ border-top-right-radius: 0
54
+ border-bottom-right-radius: 0
55
+ +rtl
56
+ border-top-left-radius: 0
57
+ border-bottom-left-radius: 0
48
58
 
49
59
  .tag:not(body)
50
60
  align-items: center
@@ -60,10 +70,10 @@ $tag-delete-margin: 1px !default
60
70
  padding-right: 0.75em
61
71
  white-space: nowrap
62
72
  .delete
63
- margin-left: 0.25rem
64
- margin-right: -0.375rem
73
+ +ltr-property("margin", 0.25rem, false)
74
+ +ltr-property("margin", -0.375rem)
65
75
  // Colors
66
- @each $name, $pair in $colors
76
+ @each $name, $pair in $tag-colors
67
77
  $color: nth($pair, 1)
68
78
  $color-invert: nth($pair, 2)
69
79
  &.is-#{$name}
@@ -85,17 +95,17 @@ $tag-delete-margin: 1px !default
85
95
  font-size: $size-medium
86
96
  .icon
87
97
  &:first-child:not(:last-child)
88
- margin-left: -0.375em
89
- margin-right: 0.1875em
98
+ +ltr-property("margin", -0.375em, false)
99
+ +ltr-property("margin", 0.1875em)
90
100
  &:last-child:not(:first-child)
91
- margin-left: 0.1875em
92
- margin-right: -0.375em
101
+ +ltr-property("margin", 0.1875em, false)
102
+ +ltr-property("margin", -0.375em)
93
103
  &:first-child:last-child
94
- margin-left: -0.375em
95
- margin-right: -0.375em
104
+ +ltr-property("margin", -0.375em, false)
105
+ +ltr-property("margin", -0.375em)
96
106
  // Modifiers
97
107
  &.is-delete
98
- margin-left: $tag-delete-margin
108
+ +ltr-property("margin", $tag-delete-margin, false)
99
109
  padding: 0
100
110
  position: relative
101
111
  width: 2em
@@ -1,3 +1,4 @@
1
+ /* Bulma Form */
1
2
  @charset "utf-8"
2
3
 
3
4
  @import "shared.sass"
@@ -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}
@@ -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
@@ -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
@@ -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,3 +1,5 @@
1
+ $form-colors: $colors !default
2
+
1
3
  $input-color: $text-strong !default
2
4
  $input-background-color: $scheme-main !default
3
5
  $input-border-color: $border !default
@@ -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,3 +1,4 @@
1
+ /* Bulma Grid */
1
2
  @charset "utf-8"
2
3
 
3
4
  @import "columns.sass"
@@ -0,0 +1,12 @@
1
+ /* Bulma Helpers */
2
+ @charset "utf-8"
3
+
4
+ @import "color.sass"
5
+ @import "flexbox.sass"
6
+ @import "float.sass"
7
+ @import "other.sass"
8
+ @import "overflow.sass"
9
+ @import "position.sass"
10
+ @import "spacing.sass"
11
+ @import "typography.sass"
12
+ @import "visibility.sass"
@@ -0,0 +1,37 @@
1
+ @each $name, $pair in $colors
2
+ $color: nth($pair, 1)
3
+ .has-text-#{$name}
4
+ color: $color !important
5
+ a.has-text-#{$name}
6
+ &:hover,
7
+ &:focus
8
+ color: bulmaDarken($color, 10%) !important
9
+ .has-background-#{$name}
10
+ background-color: $color !important
11
+ @if length($pair) >= 4
12
+ $color-light: nth($pair, 3)
13
+ $color-dark: nth($pair, 4)
14
+ // Light
15
+ .has-text-#{$name}-light
16
+ color: $color-light !important
17
+ a.has-text-#{$name}-light
18
+ &:hover,
19
+ &:focus
20
+ color: bulmaDarken($color-light, 10%) !important
21
+ .has-background-#{$name}-light
22
+ background-color: $color-light !important
23
+ // Dark
24
+ .has-text-#{$name}-dark
25
+ color: $color-dark !important
26
+ a.has-text-#{$name}-dark
27
+ &:hover,
28
+ &:focus
29
+ color: bulmaLighten($color-dark, 10%) !important
30
+ .has-background-#{$name}-dark
31
+ background-color: $color-dark !important
32
+
33
+ @each $name, $shade in $shades
34
+ .has-text-#{$name}
35
+ color: $shade !important
36
+ .has-background-#{$name}
37
+ background-color: $shade !important