bulma-clean-theme 0.7.2 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +47 -2
  3. data/_includes/callouts.html +5 -1
  4. data/_includes/footer.html +1 -1
  5. data/_includes/gallery.html +25 -0
  6. data/_includes/head.html +6 -2
  7. data/_includes/header.html +3 -3
  8. data/_includes/hero.html +2 -2
  9. data/_includes/image-modal.html +18 -0
  10. data/_includes/menubar.html +2 -2
  11. data/_includes/share-buttons.html +19 -0
  12. data/_includes/showcase.html +1 -1
  13. data/_includes/tabs.html +1 -1
  14. data/_includes/youtube.html +8 -0
  15. data/_layouts/default.html +1 -0
  16. data/_layouts/post.html +4 -0
  17. data/_layouts/product-category.html +1 -1
  18. data/_posts/2020-05-08-creating-a-docs-site-with-bulma-clean-theme.markdown +96 -0
  19. data/_sass/_layout.scss +6 -0
  20. data/_sass/_main.scss +2 -0
  21. data/node_modules/bulma-block-list/docs/Gemfile +3 -0
  22. data/node_modules/bulma-block-list/docs/_config.yml +15 -0
  23. data/node_modules/bulma-block-list/docs/_data/menu.yaml +20 -0
  24. data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +92 -0
  25. data/node_modules/bulma-block-list/docs/_sass/_main.scss +20 -0
  26. data/node_modules/bulma-block-list/docs/assets/css/app.scss +7 -0
  27. data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
  28. data/node_modules/bulma-block-list/docs/index.html +249 -261
  29. data/node_modules/bulma-block-list/node_modules/bulma/CHANGELOG.md +1390 -0
  30. data/node_modules/bulma-block-list/node_modules/bulma/LICENSE +21 -0
  31. data/node_modules/bulma-block-list/node_modules/bulma/README.md +130 -0
  32. data/node_modules/bulma-block-list/node_modules/bulma/bulma.sass +9 -0
  33. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css +10855 -0
  34. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.css.map +1 -0
  35. data/node_modules/bulma-block-list/node_modules/bulma/css/bulma.min.css +1 -0
  36. data/node_modules/bulma-block-list/node_modules/bulma/package.json +77 -0
  37. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/_all.sass +5 -0
  38. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/generic.sass +142 -0
  39. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/helpers.sass +281 -0
  40. data/node_modules/bulma-block-list/node_modules/bulma/sass/base/minireset.sass +79 -0
  41. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/_all.sass +15 -0
  42. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  43. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/card.sass +79 -0
  44. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/dropdown.sass +81 -0
  45. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/level.sass +77 -0
  46. data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/components/list.sass +0 -0
  47. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/media.sass +50 -0
  48. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/menu.sass +57 -0
  49. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/message.sass +99 -0
  50. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/modal.sass +113 -0
  51. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/navbar.sass +441 -0
  52. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/pagination.sass +150 -0
  53. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/panel.sass +119 -0
  54. data/node_modules/bulma-block-list/node_modules/bulma/sass/components/tabs.sass +151 -0
  55. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/_all.sass +15 -0
  56. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/box.sass +24 -0
  57. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/button.sass +323 -0
  58. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/container.sass +24 -0
  59. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/content.sass +155 -0
  60. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/form.sass +1 -0
  61. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/icon.sass +21 -0
  62. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/image.sass +71 -0
  63. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/notification.sass +43 -0
  64. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/other.sass +39 -0
  65. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass +67 -0
  66. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/table.sass +127 -0
  67. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/tag.sass +128 -0
  68. data/node_modules/bulma-block-list/node_modules/bulma/sass/elements/title.sass +70 -0
  69. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/_all.sass +8 -0
  70. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  71. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/file.sass +180 -0
  72. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/input-textarea.sass +64 -0
  73. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/select.sass +85 -0
  74. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/shared.sass +55 -0
  75. data/node_modules/bulma-block-list/node_modules/bulma/sass/form/tools.sass +205 -0
  76. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/_all.sass +4 -0
  77. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/columns.sass +504 -0
  78. data/node_modules/bulma-block-list/node_modules/bulma/sass/grid/tiles.sass +34 -0
  79. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/_all.sass +5 -0
  80. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/footer.sass +9 -0
  81. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/hero.sass +145 -0
  82. data/node_modules/bulma-block-list/node_modules/bulma/sass/layout/section.sass +13 -0
  83. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/_all.sass +8 -0
  84. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/animations.sass +5 -0
  85. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/controls.sass +50 -0
  86. data/node_modules/{bulma → bulma-block-list/node_modules/bulma}/sass/utilities/derived-variables.sass +0 -0
  87. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/functions.sass +110 -0
  88. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/initial-variables.sass +77 -0
  89. data/node_modules/bulma-block-list/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  90. data/node_modules/bulma-block-list/package.json +10 -10
  91. data/node_modules/bulma-block-list/src/block-list.scss +24 -1
  92. data/node_modules/bulma/CHANGELOG.md +89 -1
  93. data/node_modules/bulma/LICENSE +1 -1
  94. data/node_modules/bulma/README.md +12 -8
  95. data/node_modules/bulma/bulma.sass +2 -1
  96. data/node_modules/bulma/css/bulma-rtl.css +11331 -0
  97. data/node_modules/bulma/css/bulma-rtl.css.map +1 -0
  98. data/node_modules/bulma/css/bulma-rtl.min.css +1 -0
  99. data/node_modules/bulma/css/bulma.css +6815 -6316
  100. data/node_modules/bulma/css/bulma.css.map +1 -1
  101. data/node_modules/bulma/css/bulma.min.css +1 -1
  102. data/node_modules/bulma/package.json +24 -23
  103. data/node_modules/bulma/sass/base/_all.sass +0 -1
  104. data/node_modules/bulma/sass/base/generic.sass +1 -1
  105. data/node_modules/bulma/sass/base/helpers.sass +1 -281
  106. data/node_modules/bulma/sass/base/minireset.sass +1 -1
  107. data/node_modules/bulma/sass/components/_all.sass +0 -1
  108. data/node_modules/bulma/sass/components/breadcrumb.sass +3 -3
  109. data/node_modules/bulma/sass/components/card.sass +1 -1
  110. data/node_modules/bulma/sass/components/dropdown.sass +3 -3
  111. data/node_modules/bulma/sass/components/level.sass +2 -2
  112. data/node_modules/bulma/sass/components/media.sass +11 -9
  113. data/node_modules/bulma/sass/components/menu.sass +2 -2
  114. data/node_modules/bulma/sass/components/message.sass +1 -1
  115. data/node_modules/bulma/sass/components/modal.sass +3 -3
  116. data/node_modules/bulma/sass/components/navbar.sass +18 -20
  117. data/node_modules/bulma/sass/components/panel.sass +4 -3
  118. data/node_modules/bulma/sass/components/tabs.sass +35 -12
  119. data/node_modules/bulma/sass/elements/button.sass +17 -16
  120. data/node_modules/bulma/sass/elements/content.sass +5 -5
  121. data/node_modules/bulma/sass/elements/notification.sass +14 -2
  122. data/node_modules/bulma/sass/elements/table.sass +3 -1
  123. data/node_modules/bulma/sass/elements/tag.sass +24 -16
  124. data/node_modules/bulma/sass/form/checkbox-radio.sass +1 -1
  125. data/node_modules/bulma/sass/form/file.sass +9 -9
  126. data/node_modules/bulma/sass/form/input-textarea.sass +1 -1
  127. data/node_modules/bulma/sass/form/select.sass +6 -6
  128. data/node_modules/bulma/sass/form/shared.sass +3 -3
  129. data/node_modules/bulma/sass/form/tools.sass +18 -10
  130. data/node_modules/bulma/sass/helpers/_all.sass +10 -0
  131. data/node_modules/bulma/sass/helpers/color.sass +37 -0
  132. data/node_modules/bulma/sass/helpers/float.sass +8 -0
  133. data/node_modules/bulma/sass/helpers/other.sass +8 -0
  134. data/node_modules/bulma/sass/helpers/overflow.sass +2 -0
  135. data/node_modules/bulma/sass/helpers/position.sass +5 -0
  136. data/node_modules/bulma/sass/helpers/spacing.sass +28 -0
  137. data/node_modules/bulma/sass/helpers/typography.sass +98 -0
  138. data/node_modules/bulma/sass/helpers/visibility.sass +122 -0
  139. data/node_modules/bulma/sass/layout/hero.sass +22 -20
  140. data/node_modules/bulma/sass/utilities/_all.sass +1 -1
  141. data/node_modules/bulma/sass/utilities/derived-variables.scss +132 -0
  142. data/node_modules/bulma/sass/utilities/functions.sass +17 -0
  143. data/node_modules/bulma/sass/utilities/initial-variables.sass +1 -0
  144. data/node_modules/bulma/sass/utilities/mixins.sass +28 -4
  145. data/package-lock.json +13 -6
  146. data/package.json +2 -2
  147. metadata +89 -7
  148. data/node_modules/bulma-block-list/docs/demo.css +0 -7241
@@ -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
@@ -2,13 +2,18 @@ $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
5
7
 
6
8
  .notification
7
9
  @extend %block
8
10
  background-color: $notification-background-color
9
11
  border-radius: $notification-radius
10
- padding: $notification-padding
11
12
  position: relative
13
+ +ltr
14
+ padding: $notification-padding-ltr
15
+ +rtl
16
+ padding: $notification-padding-rtl
12
17
  a:not(.button):not(.dropdown-item)
13
18
  color: currentColor
14
19
  text-decoration: underline
@@ -20,8 +25,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
20
25
  pre code
21
26
  background: transparent
22
27
  & > .delete
28
+ +ltr-position(0.5rem)
23
29
  position: absolute
24
- right: 0.5rem
25
30
  top: 0.5rem
26
31
  .title,
27
32
  .subtitle,
@@ -34,3 +39,10 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
34
39
  &.is-#{$name}
35
40
  background-color: $color
36
41
  color: $color-invert
42
+ // If light and dark colors are provided
43
+ @if length($pair) >= 4
44
+ $color-light: nth($pair, 3)
45
+ $color-dark: nth($pair, 4)
46
+ &.is-light
47
+ background-color: $color-light
48
+ color: $color-dark
@@ -51,10 +51,12 @@ $table-striped-row-even-hover-background-color: $scheme-main-ter !default
51
51
  a,
52
52
  strong
53
53
  color: currentColor
54
+ &.is-vcentered
55
+ vertical-align: middle
54
56
  th
55
57
  color: $table-cell-heading-color
56
58
  &:not([align])
57
- text-align: left
59
+ text-align: inherit
58
60
  tr
59
61
  &.is-selected
60
62
  background-color: $table-row-active-background-color
@@ -11,7 +11,7 @@ $tag-delete-margin: 1px !default
11
11
  .tag
12
12
  margin-bottom: 0.5rem
13
13
  &:not(:last-child)
14
- margin-right: 0.5rem
14
+ +ltr-property("margin", 0.5rem)
15
15
  &:last-child
16
16
  margin-bottom: -0.5rem
17
17
  &:not(:last-child)
@@ -37,14 +37,22 @@ $tag-delete-margin: 1px !default
37
37
  margin-right: 0
38
38
  &.has-addons
39
39
  .tag
40
- margin-right: 0
40
+ +ltr-property("margin", 0)
41
41
  &:not(:first-child)
42
- margin-left: 0
43
- border-bottom-left-radius: 0
44
- border-top-left-radius: 0
42
+ +ltr-property("margin", 0, false)
43
+ +ltr
44
+ border-top-left-radius: 0
45
+ border-bottom-left-radius: 0
46
+ +rtl
47
+ border-top-right-radius: 0
48
+ border-bottom-right-radius: 0
45
49
  &:not(:last-child)
46
- border-bottom-right-radius: 0
47
- border-top-right-radius: 0
50
+ +ltr
51
+ border-top-right-radius: 0
52
+ border-bottom-right-radius: 0
53
+ +rtl
54
+ border-top-left-radius: 0
55
+ border-bottom-left-radius: 0
48
56
 
49
57
  .tag:not(body)
50
58
  align-items: center
@@ -60,8 +68,8 @@ $tag-delete-margin: 1px !default
60
68
  padding-right: 0.75em
61
69
  white-space: nowrap
62
70
  .delete
63
- margin-left: 0.25rem
64
- margin-right: -0.375rem
71
+ +ltr-property("margin", 0.25rem, false)
72
+ +ltr-property("margin", -0.375rem)
65
73
  // Colors
66
74
  @each $name, $pair in $colors
67
75
  $color: nth($pair, 1)
@@ -85,17 +93,17 @@ $tag-delete-margin: 1px !default
85
93
  font-size: $size-medium
86
94
  .icon
87
95
  &:first-child:not(:last-child)
88
- margin-left: -0.375em
89
- margin-right: 0.1875em
96
+ +ltr-property("margin", -0.375em, false)
97
+ +ltr-property("margin", 0.1875em)
90
98
  &:last-child:not(:first-child)
91
- margin-left: 0.1875em
92
- margin-right: -0.375em
99
+ +ltr-property("margin", 0.1875em, false)
100
+ +ltr-property("margin", -0.375em)
93
101
  &:first-child:last-child
94
- margin-left: -0.375em
95
- margin-right: -0.375em
102
+ +ltr-property("margin", -0.375em, false)
103
+ +ltr-property("margin", -0.375em)
96
104
  // Modifiers
97
105
  &.is-delete
98
- margin-left: $tag-delete-margin
106
+ +ltr-property("margin", $tag-delete-margin, false)
99
107
  padding: 0
100
108
  position: relative
101
109
  width: 2em
@@ -18,4 +18,4 @@
18
18
  .radio
19
19
  @extend %checkbox-radio
20
20
  & + .radio
21
- margin-left: 0.5em
21
+ +ltr-property("margin", 0.5em, false)
@@ -29,19 +29,19 @@ $file-name-max-width: 16em !default
29
29
  &:hover,
30
30
  &.is-hovered
31
31
  .file-cta
32
- background-color: darken($color, 2.5%)
32
+ background-color: bulmaDarken($color, 2.5%)
33
33
  border-color: transparent
34
34
  color: $color-invert
35
35
  &:focus,
36
36
  &.is-focused
37
37
  .file-cta
38
38
  border-color: transparent
39
- box-shadow: 0 0 0.5em rgba($color, 0.25)
39
+ box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
40
40
  color: $color-invert
41
41
  &:active,
42
42
  &.is-active
43
43
  .file-cta
44
- background-color: darken($color, 5%)
44
+ background-color: bulmaDarken($color, 5%)
45
45
  border-color: transparent
46
46
  color: $color-invert
47
47
  // Sizes
@@ -125,16 +125,16 @@ $file-name-max-width: 16em !default
125
125
  position: relative
126
126
  &:hover
127
127
  .file-cta
128
- background-color: darken($file-cta-background-color, 2.5%)
128
+ background-color: bulmaDarken($file-cta-background-color, 2.5%)
129
129
  color: $file-cta-hover-color
130
130
  .file-name
131
- border-color: darken($file-name-border-color, 2.5%)
131
+ border-color: bulmaDarken($file-name-border-color, 2.5%)
132
132
  &:active
133
133
  .file-cta
134
- background-color: darken($file-cta-background-color, 5%)
134
+ background-color: bulmaDarken($file-cta-background-color, 5%)
135
135
  color: $file-cta-active-color
136
136
  .file-name
137
- border-color: darken($file-name-border-color, 5%)
137
+ border-color: bulmaDarken($file-name-border-color, 5%)
138
138
 
139
139
  .file-input
140
140
  height: 100%
@@ -166,7 +166,7 @@ $file-name-max-width: 16em !default
166
166
  display: block
167
167
  max-width: $file-name-max-width
168
168
  overflow: hidden
169
- text-align: left
169
+ text-align: inherit
170
170
  text-overflow: ellipsis
171
171
 
172
172
  .file-icon
@@ -174,7 +174,7 @@ $file-name-max-width: 16em !default
174
174
  display: flex
175
175
  height: 1em
176
176
  justify-content: center
177
- margin-right: 0.5em
177
+ +ltr-property("margin", 0.5em)
178
178
  width: 1em
179
179
  .fa
180
180
  font-size: 14px
@@ -18,7 +18,7 @@ $textarea-min-height: 8em !default
18
18
  &.is-focused,
19
19
  &:active,
20
20
  &.is-active
21
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
21
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
22
22
  // Sizes
23
23
  &.is-small
24
24
  +control-small
@@ -9,12 +9,12 @@
9
9
  &::after
10
10
  @extend %arrow
11
11
  border-color: $input-arrow
12
- right: 1.125em
12
+ +ltr-position(1.125em)
13
13
  z-index: 4
14
14
  &.is-rounded
15
15
  select
16
16
  border-radius: $radius-rounded
17
- padding-left: 1em
17
+ +ltr-property("padding", 1em, false)
18
18
  select
19
19
  @extend %input
20
20
  cursor: pointer
@@ -28,7 +28,7 @@
28
28
  fieldset[disabled] &:hover
29
29
  border-color: $input-disabled-border-color
30
30
  &:not([multiple])
31
- padding-right: 2.5em
31
+ +ltr-property("padding", 2.5em)
32
32
  &[multiple]
33
33
  height: auto
34
34
  padding: 0
@@ -48,12 +48,12 @@
48
48
  border-color: $color
49
49
  &:hover,
50
50
  &.is-hovered
51
- border-color: darken($color, 5%)
51
+ border-color: bulmaDarken($color, 5%)
52
52
  &:focus,
53
53
  &.is-focused,
54
54
  &:active,
55
55
  &.is-active
56
- box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
56
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
57
57
  // Sizes
58
58
  &.is-small
59
59
  +control-small
@@ -74,7 +74,7 @@
74
74
  @extend %loader
75
75
  margin-top: 0
76
76
  position: absolute
77
- right: 0.625em
77
+ +ltr-position(0.625em)
78
78
  top: 0.625em
79
79
  transform: none
80
80
  &.is-small:after
@@ -3,7 +3,7 @@ $input-background-color: $scheme-main !default
3
3
  $input-border-color: $border !default
4
4
  $input-height: $control-height !default
5
5
  $input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
6
- $input-placeholder-color: rgba($input-color, 0.3) !default
6
+ $input-placeholder-color: bulmaRgba($input-color, 0.3) !default
7
7
 
8
8
  $input-hover-color: $text-strong !default
9
9
  $input-hover-border-color: $border-hover !default
@@ -11,12 +11,12 @@ $input-hover-border-color: $border-hover !default
11
11
  $input-focus-color: $text-strong !default
12
12
  $input-focus-border-color: $link !default
13
13
  $input-focus-box-shadow-size: 0 0 0 0.125em !default
14
- $input-focus-box-shadow-color: rgba($link, 0.25) !default
14
+ $input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
15
15
 
16
16
  $input-disabled-color: $text-light !default
17
17
  $input-disabled-background-color: $background !default
18
18
  $input-disabled-border-color: $background !default
19
- $input-disabled-placeholder-color: rgba($input-disabled-color, 0.3) !default
19
+ $input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
20
20
 
21
21
  $input-arrow: $link !default
22
22
 
@@ -38,7 +38,7 @@ $help-size: $size-small !default
38
38
  justify-content: flex-start
39
39
  .control
40
40
  &:not(:last-child)
41
- margin-right: -1px
41
+ +ltr-property("margin", -1px)
42
42
  &:not(:first-child):not(:last-child)
43
43
  .button,
44
44
  .input,
@@ -48,14 +48,22 @@ $help-size: $size-small !default
48
48
  .button,
49
49
  .input,
50
50
  .select select
51
- border-bottom-right-radius: 0
52
- border-top-right-radius: 0
51
+ +ltr
52
+ border-bottom-right-radius: 0
53
+ border-top-right-radius: 0
54
+ +rtl
55
+ border-bottom-left-radius: 0
56
+ border-top-left-radius: 0
53
57
  &:last-child:not(:only-child)
54
58
  .button,
55
59
  .input,
56
60
  .select select
57
- border-bottom-left-radius: 0
58
- border-top-left-radius: 0
61
+ +ltr
62
+ border-bottom-left-radius: 0
63
+ border-top-left-radius: 0
64
+ +rtl
65
+ border-bottom-right-radius: 0
66
+ border-top-right-radius: 0
59
67
  .button,
60
68
  .input,
61
69
  .select select
@@ -88,7 +96,7 @@ $help-size: $size-small !default
88
96
  flex-shrink: 0
89
97
  &:not(:last-child)
90
98
  margin-bottom: 0
91
- margin-right: 0.75rem
99
+ +ltr-property("margin", 0.75rem)
92
100
  &.is-expanded
93
101
  flex-grow: 1
94
102
  flex-shrink: 1
@@ -119,7 +127,7 @@ $help-size: $size-small !default
119
127
  flex-basis: 0
120
128
  flex-grow: 1
121
129
  flex-shrink: 0
122
- margin-right: 1.5rem
130
+ +ltr-property("margin", 1.5rem)
123
131
  text-align: right
124
132
  &.is-small
125
133
  font-size: $size-small
@@ -148,14 +156,14 @@ $help-size: $size-small !default
148
156
  &:not(.is-narrow)
149
157
  flex-grow: 1
150
158
  &:not(:last-child)
151
- margin-right: 0.75rem
159
+ +ltr-property("margin", 0.75rem)
152
160
 
153
161
  .control
154
162
  box-sizing: border-box
155
163
  clear: both
156
164
  font-size: $size-normal
157
165
  position: relative
158
- text-align: left
166
+ text-align: inherit
159
167
  // Modifiers
160
168
  &.has-icons-left,
161
169
  &.has-icons-right
@@ -194,7 +202,7 @@ $help-size: $size-small !default
194
202
  &::after
195
203
  @extend %loader
196
204
  position: absolute !important
197
- right: 0.625em
205
+ +ltr-position(0.625em)
198
206
  top: 0.625em
199
207
  z-index: 4
200
208
  &.is-small:after
@@ -0,0 +1,10 @@
1
+ @charset "utf-8"
2
+
3
+ @import "color.sass"
4
+ @import "float.sass"
5
+ @import "other.sass"
6
+ @import "overflow.sass"
7
+ @import "position.sass"
8
+ @import "spacing.sass"
9
+ @import "typography.sass"
10
+ @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
@@ -0,0 +1,8 @@
1
+ .is-clearfix
2
+ +clearfix
3
+
4
+ .is-pulled-left
5
+ float: left !important
6
+
7
+ .is-pulled-right
8
+ float: right !important