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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f262e7e14b4e0ee0e8021ef9c1fc0eb2ad6e1560022393c10bde3adf29f3173
4
- data.tar.gz: 7f3eddff59e6874c1875337b52a186f377329661090d47af6889d84e3b4a7c7d
3
+ metadata.gz: 4059718d27ced55304dbe5cbdfb044bb745589f391ed3159c4996819d40e527f
4
+ data.tar.gz: cff16bca7debd8b0620bc1494b283280887c70e073238864aad61666fd3ecba5
5
5
  SHA512:
6
- metadata.gz: 8f05bdcc9a7ad76754bfc23ff0147ff934789f9b92c705ff0561023cacd71b84e03168cddf60b02e07a1e86e8b3dbfe3742d2262905862d6f50dce9bee41ff7c
7
- data.tar.gz: 7eb86051affffdb6103c51cda9c1038ef8502647e4848defe61a28e67810c3b8cb9f3f7eafc307d9dabba50b38886e47f666cc241dd544e5987dd5805bcc3b94
6
+ metadata.gz: 28f07b207c4342cb2a58e1529c4ff1436e6e2fd85e7473623a2b38b22c1341eb619a03f3ec89e5233617acb922ca9e3f03576b7eca0426dd9a73d7216618344b
7
+ data.tar.gz: 9c03e15f639210477655e504a43efbfa725fbe22ea4a9a6cfcd832329349092a48eece71d29fe86ef3cdfc7b3627ed27ba2cf3f291e412212193b43bf1192e63
@@ -1,9 +1,10 @@
1
1
  @charset "utf-8"
2
- /*! bulma.io v0.7.5 | MIT License | github.com/jgthms/bulma */
2
+ /*! bulma.io v0.9.1 | MIT License | github.com/jgthms/bulma */
3
3
  @import "sass/utilities/_all"
4
4
  @import "sass/base/_all"
5
5
  @import "sass/elements/_all"
6
6
  @import "sass/form/_all"
7
7
  @import "sass/components/_all"
8
8
  @import "sass/grid/_all"
9
+ @import "sass/helpers/_all"
9
10
  @import "sass/layout/_all"
@@ -1,5 +1,5 @@
1
+ /* Bulma Base */
1
2
  @charset "utf-8"
2
3
 
3
4
  @import "minireset.sass"
4
5
  @import "generic.sass"
5
- @import "helpers.sass"
@@ -1,4 +1,4 @@
1
- $body-background-color: $white !default
1
+ $body-background-color: $scheme-main !default
2
2
  $body-size: 16px !default
3
3
  $body-min-width: 300px !default
4
4
  $body-rendering: optimizeLegibility !default
@@ -52,6 +52,7 @@ section
52
52
  body,
53
53
  button,
54
54
  input,
55
+ optgroup,
55
56
  select,
56
57
  textarea
57
58
  font-family: $body-family
@@ -137,6 +138,6 @@ table
137
138
  th
138
139
  vertical-align: top
139
140
  &:not([align])
140
- text-align: left
141
+ text-align: inherit
141
142
  th
142
143
  color: $text-strong
@@ -1,281 +1 @@
1
- // Float
2
-
3
- .is-clearfix
4
- +clearfix
5
-
6
- .is-pulled-left
7
- float: left !important
8
-
9
- .is-pulled-right
10
- float: right !important
11
-
12
- // Overflow
13
-
14
- .is-clipped
15
- overflow: hidden !important
16
-
17
- // Overlay
18
-
19
- .is-overlay
20
- @extend %overlay
21
-
22
- // Typography
23
-
24
- =typography-size($target:'')
25
- @each $size in $sizes
26
- $i: index($sizes, $size)
27
- .is-size-#{$i}#{if($target == '', '', '-' + $target)}
28
- font-size: $size !important
29
-
30
- +typography-size()
31
-
32
- +mobile
33
- +typography-size('mobile')
34
-
35
- +tablet
36
- +typography-size('tablet')
37
-
38
- +touch
39
- +typography-size('touch')
40
-
41
- +desktop
42
- +typography-size('desktop')
43
-
44
- +widescreen
45
- +typography-size('widescreen')
46
-
47
- +fullhd
48
- +typography-size('fullhd')
49
-
50
- $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
51
-
52
- @each $alignment, $text-align in $alignments
53
- .has-text-#{$alignment}
54
- text-align: #{$text-align} !important
55
-
56
- @each $alignment, $text-align in $alignments
57
- +mobile
58
- .has-text-#{$alignment}-mobile
59
- text-align: #{$text-align} !important
60
- +tablet
61
- .has-text-#{$alignment}-tablet
62
- text-align: #{$text-align} !important
63
- +tablet-only
64
- .has-text-#{$alignment}-tablet-only
65
- text-align: #{$text-align} !important
66
- +touch
67
- .has-text-#{$alignment}-touch
68
- text-align: #{$text-align} !important
69
- +desktop
70
- .has-text-#{$alignment}-desktop
71
- text-align: #{$text-align} !important
72
- +desktop-only
73
- .has-text-#{$alignment}-desktop-only
74
- text-align: #{$text-align} !important
75
- +widescreen
76
- .has-text-#{$alignment}-widescreen
77
- text-align: #{$text-align} !important
78
- +widescreen-only
79
- .has-text-#{$alignment}-widescreen-only
80
- text-align: #{$text-align} !important
81
- +fullhd
82
- .has-text-#{$alignment}-fullhd
83
- text-align: #{$text-align} !important
84
-
85
- .is-capitalized
86
- text-transform: capitalize !important
87
-
88
- .is-lowercase
89
- text-transform: lowercase !important
90
-
91
- .is-uppercase
92
- text-transform: uppercase !important
93
-
94
- .is-italic
95
- font-style: italic !important
96
-
97
- @each $name, $pair in $colors
98
- $color: nth($pair, 1)
99
- .has-text-#{$name}
100
- color: $color !important
101
- a.has-text-#{$name}
102
- &:hover,
103
- &:focus
104
- color: darken($color, 10%) !important
105
- .has-background-#{$name}
106
- background-color: $color !important
107
-
108
- @each $name, $shade in $shades
109
- .has-text-#{$name}
110
- color: $shade !important
111
- .has-background-#{$name}
112
- background-color: $shade !important
113
-
114
- .has-text-weight-light
115
- font-weight: $weight-light !important
116
- .has-text-weight-normal
117
- font-weight: $weight-normal !important
118
- .has-text-weight-medium
119
- font-weight: $weight-medium !important
120
- .has-text-weight-semibold
121
- font-weight: $weight-semibold !important
122
- .has-text-weight-bold
123
- font-weight: $weight-bold !important
124
-
125
- .is-family-primary
126
- font-family: $family-primary !important
127
-
128
- .is-family-secondary
129
- font-family: $family-secondary !important
130
-
131
- .is-family-sans-serif
132
- font-family: $family-sans-serif !important
133
-
134
- .is-family-monospace
135
- font-family: $family-monospace !important
136
-
137
- .is-family-code
138
- font-family: $family-code !important
139
-
140
- // Visibility
141
-
142
- $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
143
-
144
- @each $display in $displays
145
- .is-#{$display}
146
- display: #{$display} !important
147
- +mobile
148
- .is-#{$display}-mobile
149
- display: #{$display} !important
150
- +tablet
151
- .is-#{$display}-tablet
152
- display: #{$display} !important
153
- +tablet-only
154
- .is-#{$display}-tablet-only
155
- display: #{$display} !important
156
- +touch
157
- .is-#{$display}-touch
158
- display: #{$display} !important
159
- +desktop
160
- .is-#{$display}-desktop
161
- display: #{$display} !important
162
- +desktop-only
163
- .is-#{$display}-desktop-only
164
- display: #{$display} !important
165
- +widescreen
166
- .is-#{$display}-widescreen
167
- display: #{$display} !important
168
- +widescreen-only
169
- .is-#{$display}-widescreen-only
170
- display: #{$display} !important
171
- +fullhd
172
- .is-#{$display}-fullhd
173
- display: #{$display} !important
174
-
175
- .is-hidden
176
- display: none !important
177
-
178
- .is-sr-only
179
- border: none !important
180
- clip: rect(0, 0, 0, 0) !important
181
- height: 0.01em !important
182
- overflow: hidden !important
183
- padding: 0 !important
184
- position: absolute !important
185
- white-space: nowrap !important
186
- width: 0.01em !important
187
-
188
- +mobile
189
- .is-hidden-mobile
190
- display: none !important
191
-
192
- +tablet
193
- .is-hidden-tablet
194
- display: none !important
195
-
196
- +tablet-only
197
- .is-hidden-tablet-only
198
- display: none !important
199
-
200
- +touch
201
- .is-hidden-touch
202
- display: none !important
203
-
204
- +desktop
205
- .is-hidden-desktop
206
- display: none !important
207
-
208
- +desktop-only
209
- .is-hidden-desktop-only
210
- display: none !important
211
-
212
- +widescreen
213
- .is-hidden-widescreen
214
- display: none !important
215
-
216
- +widescreen-only
217
- .is-hidden-widescreen-only
218
- display: none !important
219
-
220
- +fullhd
221
- .is-hidden-fullhd
222
- display: none !important
223
-
224
- .is-invisible
225
- visibility: hidden !important
226
-
227
- +mobile
228
- .is-invisible-mobile
229
- visibility: hidden !important
230
-
231
- +tablet
232
- .is-invisible-tablet
233
- visibility: hidden !important
234
-
235
- +tablet-only
236
- .is-invisible-tablet-only
237
- visibility: hidden !important
238
-
239
- +touch
240
- .is-invisible-touch
241
- visibility: hidden !important
242
-
243
- +desktop
244
- .is-invisible-desktop
245
- visibility: hidden !important
246
-
247
- +desktop-only
248
- .is-invisible-desktop-only
249
- visibility: hidden !important
250
-
251
- +widescreen
252
- .is-invisible-widescreen
253
- visibility: hidden !important
254
-
255
- +widescreen-only
256
- .is-invisible-widescreen-only
257
- visibility: hidden !important
258
-
259
- +fullhd
260
- .is-invisible-fullhd
261
- visibility: hidden !important
262
-
263
- // Other
264
-
265
- .is-marginless
266
- margin: 0 !important
267
-
268
- .is-paddingless
269
- padding: 0 !important
270
-
271
- .is-radiusless
272
- border-radius: 0 !important
273
-
274
- .is-shadowless
275
- box-shadow: none !important
276
-
277
- .is-unselectable
278
- @extend %unselectable
279
-
280
- .is-relative
281
- position: relative !important
1
+ @warn "The helpers.sass file is DEPRECATED. It has moved into its own /helpers folder. Please import sass/helpers/_all instead."
@@ -1,4 +1,4 @@
1
- /*! minireset.css v0.0.4 | MIT License | github.com/jgthms/minireset.css */
1
+ /*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
2
2
  // Blocks
3
3
  html,
4
4
  body,
@@ -59,16 +59,10 @@ html
59
59
 
60
60
  // Media
61
61
  img,
62
- embed,
63
- iframe,
64
- object,
65
62
  video
66
63
  height: auto
67
64
  max-width: 100%
68
65
 
69
- audio
70
- max-width: 100%
71
-
72
66
  // Iframe
73
67
  iframe
74
68
  border: 0
@@ -82,4 +76,4 @@ td,
82
76
  th
83
77
  padding: 0
84
78
  &:not([align])
85
- text-align: left
79
+ text-align: inherit
@@ -1,10 +1,10 @@
1
+ /* Bulma Components */
1
2
  @charset "utf-8"
2
3
 
3
4
  @import "breadcrumb.sass"
4
5
  @import "card.sass"
5
6
  @import "dropdown.sass"
6
7
  @import "level.sass"
7
- @import "list.sass"
8
8
  @import "media.sass"
9
9
  @import "menu.sass"
10
10
  @import "message.sass"
@@ -5,7 +5,7 @@ $breadcrumb-item-active-color: $text-strong !default
5
5
  $breadcrumb-item-padding-vertical: 0 !default
6
6
  $breadcrumb-item-padding-horizontal: 0.75em !default
7
7
 
8
- $breadcrumb-item-separator-color: $grey-light !default
8
+ $breadcrumb-item-separator-color: $border-hover !default
9
9
 
10
10
  .breadcrumb
11
11
  @extend %block
@@ -24,7 +24,7 @@ $breadcrumb-item-separator-color: $grey-light !default
24
24
  align-items: center
25
25
  display: flex
26
26
  &:first-child a
27
- padding-left: 0
27
+ +ltr-property("padding", 0, false)
28
28
  &.is-active
29
29
  a
30
30
  color: $breadcrumb-item-active-color
@@ -41,9 +41,9 @@ $breadcrumb-item-separator-color: $grey-light !default
41
41
  justify-content: flex-start
42
42
  .icon
43
43
  &:first-child
44
- margin-right: 0.5em
44
+ +ltr-property("margin", 0.5em)
45
45
  &:last-child
46
- margin-left: 0.5em
46
+ +ltr-property("margin", 0.5em, false)
47
47
  // Alignment
48
48
  &.is-centered
49
49
  ol,
@@ -1,27 +1,31 @@
1
1
  $card-color: $text !default
2
- $card-background-color: $white !default
3
- $card-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
2
+ $card-background-color: $scheme-main !default
3
+ $card-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
4
+ $card-radius: 0.25rem !default
5
+ $card-overflow: hidden !default
4
6
 
5
7
  $card-header-background-color: transparent !default
6
8
  $card-header-color: $text-strong !default
7
- $card-header-padding: 0.75rem !default
8
- $card-header-shadow: 0 1px 2px rgba($black, 0.1) !default
9
+ $card-header-padding: 0.75rem 1rem !default
10
+ $card-header-shadow: 0 0.125em 0.25em rgba($scheme-invert, 0.1) !default
9
11
  $card-header-weight: $weight-bold !default
10
12
 
11
13
  $card-content-background-color: transparent !default
12
14
  $card-content-padding: 1.5rem !default
13
15
 
14
16
  $card-footer-background-color: transparent !default
15
- $card-footer-border-top: 1px solid $border !default
17
+ $card-footer-border-top: 1px solid $border-light !default
16
18
  $card-footer-padding: 0.75rem !default
17
19
 
18
20
  $card-media-margin: $block-spacing !default
19
21
 
20
22
  .card
21
23
  background-color: $card-background-color
24
+ border-radius: $card-radius
22
25
  box-shadow: $card-shadow
23
26
  color: $card-color
24
27
  max-width: 100%
28
+ overflow: $card-overflow
25
29
  position: relative
26
30
 
27
31
  .card-header
@@ -70,7 +74,7 @@ $card-media-margin: $block-spacing !default
70
74
  justify-content: center
71
75
  padding: $card-footer-padding
72
76
  &:not(:last-child)
73
- border-right: $card-footer-border-top
77
+ +ltr-property("border", $card-footer-border-top)
74
78
 
75
79
  // Combinations
76
80