bulma-rails 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -14
  3. data/app/assets/stylesheets/bulma.scss +4 -0
  4. data/app/assets/stylesheets/sass/_index.scss +10 -0
  5. data/app/assets/stylesheets/sass/base/_index.scss +6 -0
  6. data/app/assets/stylesheets/sass/base/animations.scss +15 -0
  7. data/app/assets/stylesheets/sass/base/generic.scss +239 -0
  8. data/app/assets/stylesheets/sass/base/minireset.scss +92 -0
  9. data/app/assets/stylesheets/sass/base/skeleton.scss +126 -0
  10. data/app/assets/stylesheets/sass/components/_index.scss +13 -0
  11. data/app/assets/stylesheets/sass/components/breadcrumb.scss +139 -0
  12. data/app/assets/stylesheets/sass/components/card.scss +162 -0
  13. data/app/assets/stylesheets/sass/components/dropdown.scss +188 -0
  14. data/app/assets/stylesheets/sass/components/menu.scss +165 -0
  15. data/app/assets/stylesheets/sass/components/message.scss +183 -0
  16. data/app/assets/stylesheets/sass/components/modal.scss +164 -0
  17. data/app/assets/stylesheets/sass/components/navbar.scss +788 -0
  18. data/app/assets/stylesheets/sass/components/pagination.scss +379 -0
  19. data/app/assets/stylesheets/sass/components/panel.scss +218 -0
  20. data/app/assets/stylesheets/sass/components/tabs.scss +273 -0
  21. data/app/assets/stylesheets/sass/elements/_index.scss +16 -0
  22. data/app/assets/stylesheets/sass/elements/block.scss +6 -0
  23. data/app/assets/stylesheets/sass/elements/box.scss +59 -0
  24. data/app/assets/stylesheets/sass/elements/button.scss +640 -0
  25. data/app/assets/stylesheets/sass/elements/content.scss +283 -0
  26. data/app/assets/stylesheets/sass/elements/delete.scss +6 -0
  27. data/app/assets/stylesheets/sass/elements/icon.scss +67 -0
  28. data/app/assets/stylesheets/sass/elements/image.scss +62 -0
  29. data/app/assets/stylesheets/sass/elements/loader.scss +15 -0
  30. data/app/assets/stylesheets/sass/elements/notification.scss +105 -0
  31. data/app/assets/stylesheets/sass/elements/progress.scss +115 -0
  32. data/app/assets/stylesheets/sass/elements/table.scss +261 -0
  33. data/app/assets/stylesheets/sass/elements/tag.scss +219 -0
  34. data/app/assets/stylesheets/sass/elements/title.scss +128 -0
  35. data/app/assets/stylesheets/sass/form/_index.scss +9 -0
  36. data/app/assets/stylesheets/sass/form/checkbox-radio.scss +32 -0
  37. data/app/assets/stylesheets/sass/form/file.scss +330 -0
  38. data/app/assets/stylesheets/sass/form/input-textarea.scss +123 -0
  39. data/app/assets/stylesheets/sass/form/select.scss +143 -0
  40. data/app/assets/stylesheets/sass/form/shared.scss +172 -0
  41. data/app/assets/stylesheets/sass/form/tools.scss +341 -0
  42. data/app/assets/stylesheets/sass/grid/_index.scss +5 -0
  43. data/app/assets/stylesheets/sass/grid/columns-v2.scss +957 -0
  44. data/app/assets/stylesheets/sass/grid/columns.scss +877 -0
  45. data/app/assets/stylesheets/sass/grid/grid.scss +209 -0
  46. data/app/assets/stylesheets/sass/helpers/_index.scss +15 -0
  47. data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +10 -0
  48. data/app/assets/stylesheets/sass/helpers/border.scss +15 -0
  49. data/app/assets/stylesheets/sass/helpers/color.scss +364 -0
  50. data/app/assets/stylesheets/sass/helpers/flexbox.scss +62 -0
  51. data/app/assets/stylesheets/sass/helpers/float.scss +28 -0
  52. data/app/assets/stylesheets/sass/helpers/gap.scss +24 -0
  53. data/app/assets/stylesheets/sass/helpers/other.scss +19 -0
  54. data/app/assets/stylesheets/sass/helpers/overflow.scss +21 -0
  55. data/app/assets/stylesheets/sass/helpers/position.scss +19 -0
  56. data/app/assets/stylesheets/sass/helpers/spacing.scss +64 -0
  57. data/app/assets/stylesheets/sass/helpers/typography.scss +168 -0
  58. data/app/assets/stylesheets/sass/helpers/visibility.scss +221 -0
  59. data/app/assets/stylesheets/sass/layout/_index.scss +9 -0
  60. data/app/assets/stylesheets/sass/layout/container.scss +51 -0
  61. data/app/assets/stylesheets/sass/layout/footer.scss +23 -0
  62. data/app/assets/stylesheets/sass/layout/hero.scss +270 -0
  63. data/app/assets/stylesheets/sass/layout/level.scss +107 -0
  64. data/app/assets/stylesheets/sass/layout/media.scss +106 -0
  65. data/app/assets/stylesheets/sass/layout/section.scss +34 -0
  66. data/app/assets/stylesheets/sass/themes/_index.scss +35 -0
  67. data/app/assets/stylesheets/sass/themes/dark.scss +56 -0
  68. data/app/assets/stylesheets/sass/themes/light.scss +145 -0
  69. data/app/assets/stylesheets/sass/themes/setup.scss +174 -0
  70. data/app/assets/stylesheets/sass/utilities/_index.scss +7 -0
  71. data/app/assets/stylesheets/sass/utilities/controls.scss +85 -0
  72. data/app/assets/stylesheets/sass/utilities/css-variables.scss +425 -0
  73. data/app/assets/stylesheets/sass/utilities/derived-variables.scss +86 -106
  74. data/app/assets/stylesheets/sass/utilities/extends.scss +34 -0
  75. data/app/assets/stylesheets/sass/utilities/functions.scss +258 -0
  76. data/app/assets/stylesheets/sass/utilities/initial-variables.scss +155 -0
  77. data/app/assets/stylesheets/sass/utilities/mixins.scss +460 -0
  78. data/bulma-rails.gemspec +4 -6
  79. metadata +80 -67
  80. data/app/assets/stylesheets/bulma.sass +0 -10
  81. data/app/assets/stylesheets/sass/base/_all.sass +0 -4
  82. data/app/assets/stylesheets/sass/base/generic.sass +0 -142
  83. data/app/assets/stylesheets/sass/base/helpers.sass +0 -1
  84. data/app/assets/stylesheets/sass/base/minireset.sass +0 -79
  85. data/app/assets/stylesheets/sass/components/_all.sass +0 -14
  86. data/app/assets/stylesheets/sass/components/breadcrumb.sass +0 -75
  87. data/app/assets/stylesheets/sass/components/card.sass +0 -79
  88. data/app/assets/stylesheets/sass/components/dropdown.sass +0 -81
  89. data/app/assets/stylesheets/sass/components/level.sass +0 -77
  90. data/app/assets/stylesheets/sass/components/media.sass +0 -52
  91. data/app/assets/stylesheets/sass/components/menu.sass +0 -57
  92. data/app/assets/stylesheets/sass/components/message.sass +0 -99
  93. data/app/assets/stylesheets/sass/components/modal.sass +0 -113
  94. data/app/assets/stylesheets/sass/components/navbar.sass +0 -441
  95. data/app/assets/stylesheets/sass/components/pagination.sass +0 -150
  96. data/app/assets/stylesheets/sass/components/panel.sass +0 -119
  97. data/app/assets/stylesheets/sass/components/tabs.sass +0 -174
  98. data/app/assets/stylesheets/sass/elements/_all.sass +0 -15
  99. data/app/assets/stylesheets/sass/elements/box.sass +0 -24
  100. data/app/assets/stylesheets/sass/elements/button.sass +0 -323
  101. data/app/assets/stylesheets/sass/elements/container.sass +0 -24
  102. data/app/assets/stylesheets/sass/elements/content.sass +0 -155
  103. data/app/assets/stylesheets/sass/elements/form.sass +0 -1
  104. data/app/assets/stylesheets/sass/elements/icon.sass +0 -21
  105. data/app/assets/stylesheets/sass/elements/image.sass +0 -71
  106. data/app/assets/stylesheets/sass/elements/notification.sass +0 -48
  107. data/app/assets/stylesheets/sass/elements/other.sass +0 -39
  108. data/app/assets/stylesheets/sass/elements/progress.sass +0 -67
  109. data/app/assets/stylesheets/sass/elements/table.sass +0 -129
  110. data/app/assets/stylesheets/sass/elements/tag.sass +0 -136
  111. data/app/assets/stylesheets/sass/elements/title.sass +0 -70
  112. data/app/assets/stylesheets/sass/form/_all.sass +0 -8
  113. data/app/assets/stylesheets/sass/form/checkbox-radio.sass +0 -21
  114. data/app/assets/stylesheets/sass/form/file.sass +0 -180
  115. data/app/assets/stylesheets/sass/form/input-textarea.sass +0 -64
  116. data/app/assets/stylesheets/sass/form/select.sass +0 -85
  117. data/app/assets/stylesheets/sass/form/shared.sass +0 -55
  118. data/app/assets/stylesheets/sass/form/tools.sass +0 -213
  119. data/app/assets/stylesheets/sass/grid/_all.sass +0 -4
  120. data/app/assets/stylesheets/sass/grid/columns.sass +0 -504
  121. data/app/assets/stylesheets/sass/grid/tiles.sass +0 -34
  122. data/app/assets/stylesheets/sass/helpers/_all.sass +0 -10
  123. data/app/assets/stylesheets/sass/helpers/color.sass +0 -37
  124. data/app/assets/stylesheets/sass/helpers/float.sass +0 -8
  125. data/app/assets/stylesheets/sass/helpers/other.sass +0 -8
  126. data/app/assets/stylesheets/sass/helpers/overflow.sass +0 -2
  127. data/app/assets/stylesheets/sass/helpers/position.sass +0 -5
  128. data/app/assets/stylesheets/sass/helpers/spacing.sass +0 -28
  129. data/app/assets/stylesheets/sass/helpers/typography.sass +0 -98
  130. data/app/assets/stylesheets/sass/helpers/visibility.sass +0 -122
  131. data/app/assets/stylesheets/sass/layout/_all.sass +0 -5
  132. data/app/assets/stylesheets/sass/layout/footer.sass +0 -9
  133. data/app/assets/stylesheets/sass/layout/hero.sass +0 -145
  134. data/app/assets/stylesheets/sass/layout/section.sass +0 -13
  135. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -8
  136. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -5
  137. data/app/assets/stylesheets/sass/utilities/controls.sass +0 -50
  138. data/app/assets/stylesheets/sass/utilities/functions.sass +0 -115
  139. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +0 -78
  140. data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -285
@@ -1,504 +0,0 @@
1
- $column-gap: 0.75rem !default
2
-
3
- .column
4
- display: block
5
- flex-basis: 0
6
- flex-grow: 1
7
- flex-shrink: 1
8
- padding: $column-gap
9
- .columns.is-mobile > &.is-narrow
10
- flex: none
11
- .columns.is-mobile > &.is-full
12
- flex: none
13
- width: 100%
14
- .columns.is-mobile > &.is-three-quarters
15
- flex: none
16
- width: 75%
17
- .columns.is-mobile > &.is-two-thirds
18
- flex: none
19
- width: 66.6666%
20
- .columns.is-mobile > &.is-half
21
- flex: none
22
- width: 50%
23
- .columns.is-mobile > &.is-one-third
24
- flex: none
25
- width: 33.3333%
26
- .columns.is-mobile > &.is-one-quarter
27
- flex: none
28
- width: 25%
29
- .columns.is-mobile > &.is-one-fifth
30
- flex: none
31
- width: 20%
32
- .columns.is-mobile > &.is-two-fifths
33
- flex: none
34
- width: 40%
35
- .columns.is-mobile > &.is-three-fifths
36
- flex: none
37
- width: 60%
38
- .columns.is-mobile > &.is-four-fifths
39
- flex: none
40
- width: 80%
41
- .columns.is-mobile > &.is-offset-three-quarters
42
- margin-left: 75%
43
- .columns.is-mobile > &.is-offset-two-thirds
44
- margin-left: 66.6666%
45
- .columns.is-mobile > &.is-offset-half
46
- margin-left: 50%
47
- .columns.is-mobile > &.is-offset-one-third
48
- margin-left: 33.3333%
49
- .columns.is-mobile > &.is-offset-one-quarter
50
- margin-left: 25%
51
- .columns.is-mobile > &.is-offset-one-fifth
52
- margin-left: 20%
53
- .columns.is-mobile > &.is-offset-two-fifths
54
- margin-left: 40%
55
- .columns.is-mobile > &.is-offset-three-fifths
56
- margin-left: 60%
57
- .columns.is-mobile > &.is-offset-four-fifths
58
- margin-left: 80%
59
- @for $i from 0 through 12
60
- .columns.is-mobile > &.is-#{$i}
61
- flex: none
62
- width: percentage($i / 12)
63
- .columns.is-mobile > &.is-offset-#{$i}
64
- margin-left: percentage($i / 12)
65
- +mobile
66
- &.is-narrow-mobile
67
- flex: none
68
- &.is-full-mobile
69
- flex: none
70
- width: 100%
71
- &.is-three-quarters-mobile
72
- flex: none
73
- width: 75%
74
- &.is-two-thirds-mobile
75
- flex: none
76
- width: 66.6666%
77
- &.is-half-mobile
78
- flex: none
79
- width: 50%
80
- &.is-one-third-mobile
81
- flex: none
82
- width: 33.3333%
83
- &.is-one-quarter-mobile
84
- flex: none
85
- width: 25%
86
- &.is-one-fifth-mobile
87
- flex: none
88
- width: 20%
89
- &.is-two-fifths-mobile
90
- flex: none
91
- width: 40%
92
- &.is-three-fifths-mobile
93
- flex: none
94
- width: 60%
95
- &.is-four-fifths-mobile
96
- flex: none
97
- width: 80%
98
- &.is-offset-three-quarters-mobile
99
- margin-left: 75%
100
- &.is-offset-two-thirds-mobile
101
- margin-left: 66.6666%
102
- &.is-offset-half-mobile
103
- margin-left: 50%
104
- &.is-offset-one-third-mobile
105
- margin-left: 33.3333%
106
- &.is-offset-one-quarter-mobile
107
- margin-left: 25%
108
- &.is-offset-one-fifth-mobile
109
- margin-left: 20%
110
- &.is-offset-two-fifths-mobile
111
- margin-left: 40%
112
- &.is-offset-three-fifths-mobile
113
- margin-left: 60%
114
- &.is-offset-four-fifths-mobile
115
- margin-left: 80%
116
- @for $i from 0 through 12
117
- &.is-#{$i}-mobile
118
- flex: none
119
- width: percentage($i / 12)
120
- &.is-offset-#{$i}-mobile
121
- margin-left: percentage($i / 12)
122
- +tablet
123
- &.is-narrow,
124
- &.is-narrow-tablet
125
- flex: none
126
- &.is-full,
127
- &.is-full-tablet
128
- flex: none
129
- width: 100%
130
- &.is-three-quarters,
131
- &.is-three-quarters-tablet
132
- flex: none
133
- width: 75%
134
- &.is-two-thirds,
135
- &.is-two-thirds-tablet
136
- flex: none
137
- width: 66.6666%
138
- &.is-half,
139
- &.is-half-tablet
140
- flex: none
141
- width: 50%
142
- &.is-one-third,
143
- &.is-one-third-tablet
144
- flex: none
145
- width: 33.3333%
146
- &.is-one-quarter,
147
- &.is-one-quarter-tablet
148
- flex: none
149
- width: 25%
150
- &.is-one-fifth,
151
- &.is-one-fifth-tablet
152
- flex: none
153
- width: 20%
154
- &.is-two-fifths,
155
- &.is-two-fifths-tablet
156
- flex: none
157
- width: 40%
158
- &.is-three-fifths,
159
- &.is-three-fifths-tablet
160
- flex: none
161
- width: 60%
162
- &.is-four-fifths,
163
- &.is-four-fifths-tablet
164
- flex: none
165
- width: 80%
166
- &.is-offset-three-quarters,
167
- &.is-offset-three-quarters-tablet
168
- margin-left: 75%
169
- &.is-offset-two-thirds,
170
- &.is-offset-two-thirds-tablet
171
- margin-left: 66.6666%
172
- &.is-offset-half,
173
- &.is-offset-half-tablet
174
- margin-left: 50%
175
- &.is-offset-one-third,
176
- &.is-offset-one-third-tablet
177
- margin-left: 33.3333%
178
- &.is-offset-one-quarter,
179
- &.is-offset-one-quarter-tablet
180
- margin-left: 25%
181
- &.is-offset-one-fifth,
182
- &.is-offset-one-fifth-tablet
183
- margin-left: 20%
184
- &.is-offset-two-fifths,
185
- &.is-offset-two-fifths-tablet
186
- margin-left: 40%
187
- &.is-offset-three-fifths,
188
- &.is-offset-three-fifths-tablet
189
- margin-left: 60%
190
- &.is-offset-four-fifths,
191
- &.is-offset-four-fifths-tablet
192
- margin-left: 80%
193
- @for $i from 0 through 12
194
- &.is-#{$i},
195
- &.is-#{$i}-tablet
196
- flex: none
197
- width: percentage($i / 12)
198
- &.is-offset-#{$i},
199
- &.is-offset-#{$i}-tablet
200
- margin-left: percentage($i / 12)
201
- +touch
202
- &.is-narrow-touch
203
- flex: none
204
- &.is-full-touch
205
- flex: none
206
- width: 100%
207
- &.is-three-quarters-touch
208
- flex: none
209
- width: 75%
210
- &.is-two-thirds-touch
211
- flex: none
212
- width: 66.6666%
213
- &.is-half-touch
214
- flex: none
215
- width: 50%
216
- &.is-one-third-touch
217
- flex: none
218
- width: 33.3333%
219
- &.is-one-quarter-touch
220
- flex: none
221
- width: 25%
222
- &.is-one-fifth-touch
223
- flex: none
224
- width: 20%
225
- &.is-two-fifths-touch
226
- flex: none
227
- width: 40%
228
- &.is-three-fifths-touch
229
- flex: none
230
- width: 60%
231
- &.is-four-fifths-touch
232
- flex: none
233
- width: 80%
234
- &.is-offset-three-quarters-touch
235
- margin-left: 75%
236
- &.is-offset-two-thirds-touch
237
- margin-left: 66.6666%
238
- &.is-offset-half-touch
239
- margin-left: 50%
240
- &.is-offset-one-third-touch
241
- margin-left: 33.3333%
242
- &.is-offset-one-quarter-touch
243
- margin-left: 25%
244
- &.is-offset-one-fifth-touch
245
- margin-left: 20%
246
- &.is-offset-two-fifths-touch
247
- margin-left: 40%
248
- &.is-offset-three-fifths-touch
249
- margin-left: 60%
250
- &.is-offset-four-fifths-touch
251
- margin-left: 80%
252
- @for $i from 0 through 12
253
- &.is-#{$i}-touch
254
- flex: none
255
- width: percentage($i / 12)
256
- &.is-offset-#{$i}-touch
257
- margin-left: percentage($i / 12)
258
- +desktop
259
- &.is-narrow-desktop
260
- flex: none
261
- &.is-full-desktop
262
- flex: none
263
- width: 100%
264
- &.is-three-quarters-desktop
265
- flex: none
266
- width: 75%
267
- &.is-two-thirds-desktop
268
- flex: none
269
- width: 66.6666%
270
- &.is-half-desktop
271
- flex: none
272
- width: 50%
273
- &.is-one-third-desktop
274
- flex: none
275
- width: 33.3333%
276
- &.is-one-quarter-desktop
277
- flex: none
278
- width: 25%
279
- &.is-one-fifth-desktop
280
- flex: none
281
- width: 20%
282
- &.is-two-fifths-desktop
283
- flex: none
284
- width: 40%
285
- &.is-three-fifths-desktop
286
- flex: none
287
- width: 60%
288
- &.is-four-fifths-desktop
289
- flex: none
290
- width: 80%
291
- &.is-offset-three-quarters-desktop
292
- margin-left: 75%
293
- &.is-offset-two-thirds-desktop
294
- margin-left: 66.6666%
295
- &.is-offset-half-desktop
296
- margin-left: 50%
297
- &.is-offset-one-third-desktop
298
- margin-left: 33.3333%
299
- &.is-offset-one-quarter-desktop
300
- margin-left: 25%
301
- &.is-offset-one-fifth-desktop
302
- margin-left: 20%
303
- &.is-offset-two-fifths-desktop
304
- margin-left: 40%
305
- &.is-offset-three-fifths-desktop
306
- margin-left: 60%
307
- &.is-offset-four-fifths-desktop
308
- margin-left: 80%
309
- @for $i from 0 through 12
310
- &.is-#{$i}-desktop
311
- flex: none
312
- width: percentage($i / 12)
313
- &.is-offset-#{$i}-desktop
314
- margin-left: percentage($i / 12)
315
- +widescreen
316
- &.is-narrow-widescreen
317
- flex: none
318
- &.is-full-widescreen
319
- flex: none
320
- width: 100%
321
- &.is-three-quarters-widescreen
322
- flex: none
323
- width: 75%
324
- &.is-two-thirds-widescreen
325
- flex: none
326
- width: 66.6666%
327
- &.is-half-widescreen
328
- flex: none
329
- width: 50%
330
- &.is-one-third-widescreen
331
- flex: none
332
- width: 33.3333%
333
- &.is-one-quarter-widescreen
334
- flex: none
335
- width: 25%
336
- &.is-one-fifth-widescreen
337
- flex: none
338
- width: 20%
339
- &.is-two-fifths-widescreen
340
- flex: none
341
- width: 40%
342
- &.is-three-fifths-widescreen
343
- flex: none
344
- width: 60%
345
- &.is-four-fifths-widescreen
346
- flex: none
347
- width: 80%
348
- &.is-offset-three-quarters-widescreen
349
- margin-left: 75%
350
- &.is-offset-two-thirds-widescreen
351
- margin-left: 66.6666%
352
- &.is-offset-half-widescreen
353
- margin-left: 50%
354
- &.is-offset-one-third-widescreen
355
- margin-left: 33.3333%
356
- &.is-offset-one-quarter-widescreen
357
- margin-left: 25%
358
- &.is-offset-one-fifth-widescreen
359
- margin-left: 20%
360
- &.is-offset-two-fifths-widescreen
361
- margin-left: 40%
362
- &.is-offset-three-fifths-widescreen
363
- margin-left: 60%
364
- &.is-offset-four-fifths-widescreen
365
- margin-left: 80%
366
- @for $i from 0 through 12
367
- &.is-#{$i}-widescreen
368
- flex: none
369
- width: percentage($i / 12)
370
- &.is-offset-#{$i}-widescreen
371
- margin-left: percentage($i / 12)
372
- +fullhd
373
- &.is-narrow-fullhd
374
- flex: none
375
- &.is-full-fullhd
376
- flex: none
377
- width: 100%
378
- &.is-three-quarters-fullhd
379
- flex: none
380
- width: 75%
381
- &.is-two-thirds-fullhd
382
- flex: none
383
- width: 66.6666%
384
- &.is-half-fullhd
385
- flex: none
386
- width: 50%
387
- &.is-one-third-fullhd
388
- flex: none
389
- width: 33.3333%
390
- &.is-one-quarter-fullhd
391
- flex: none
392
- width: 25%
393
- &.is-one-fifth-fullhd
394
- flex: none
395
- width: 20%
396
- &.is-two-fifths-fullhd
397
- flex: none
398
- width: 40%
399
- &.is-three-fifths-fullhd
400
- flex: none
401
- width: 60%
402
- &.is-four-fifths-fullhd
403
- flex: none
404
- width: 80%
405
- &.is-offset-three-quarters-fullhd
406
- margin-left: 75%
407
- &.is-offset-two-thirds-fullhd
408
- margin-left: 66.6666%
409
- &.is-offset-half-fullhd
410
- margin-left: 50%
411
- &.is-offset-one-third-fullhd
412
- margin-left: 33.3333%
413
- &.is-offset-one-quarter-fullhd
414
- margin-left: 25%
415
- &.is-offset-one-fifth-fullhd
416
- margin-left: 20%
417
- &.is-offset-two-fifths-fullhd
418
- margin-left: 40%
419
- &.is-offset-three-fifths-fullhd
420
- margin-left: 60%
421
- &.is-offset-four-fifths-fullhd
422
- margin-left: 80%
423
- @for $i from 0 through 12
424
- &.is-#{$i}-fullhd
425
- flex: none
426
- width: percentage($i / 12)
427
- &.is-offset-#{$i}-fullhd
428
- margin-left: percentage($i / 12)
429
-
430
- .columns
431
- margin-left: (-$column-gap)
432
- margin-right: (-$column-gap)
433
- margin-top: (-$column-gap)
434
- &:last-child
435
- margin-bottom: (-$column-gap)
436
- &:not(:last-child)
437
- margin-bottom: calc(1.5rem - #{$column-gap})
438
- // Modifiers
439
- &.is-centered
440
- justify-content: center
441
- &.is-gapless
442
- margin-left: 0
443
- margin-right: 0
444
- margin-top: 0
445
- & > .column
446
- margin: 0
447
- padding: 0 !important
448
- &:not(:last-child)
449
- margin-bottom: 1.5rem
450
- &:last-child
451
- margin-bottom: 0
452
- &.is-mobile
453
- display: flex
454
- &.is-multiline
455
- flex-wrap: wrap
456
- &.is-vcentered
457
- align-items: center
458
- // Responsiveness
459
- +tablet
460
- &:not(.is-desktop)
461
- display: flex
462
- +desktop
463
- // Modifiers
464
- &.is-desktop
465
- display: flex
466
-
467
- @if $variable-columns
468
- .columns.is-variable
469
- --columnGap: 0.75rem
470
- margin-left: calc(-1 * var(--columnGap))
471
- margin-right: calc(-1 * var(--columnGap))
472
- .column
473
- padding-left: var(--columnGap)
474
- padding-right: var(--columnGap)
475
- @for $i from 0 through 8
476
- &.is-#{$i}
477
- --columnGap: #{$i * 0.25rem}
478
- +mobile
479
- &.is-#{$i}-mobile
480
- --columnGap: #{$i * 0.25rem}
481
- +tablet
482
- &.is-#{$i}-tablet
483
- --columnGap: #{$i * 0.25rem}
484
- +tablet-only
485
- &.is-#{$i}-tablet-only
486
- --columnGap: #{$i * 0.25rem}
487
- +touch
488
- &.is-#{$i}-touch
489
- --columnGap: #{$i * 0.25rem}
490
- +desktop
491
- &.is-#{$i}-desktop
492
- --columnGap: #{$i * 0.25rem}
493
- +desktop-only
494
- &.is-#{$i}-desktop-only
495
- --columnGap: #{$i * 0.25rem}
496
- +widescreen
497
- &.is-#{$i}-widescreen
498
- --columnGap: #{$i * 0.25rem}
499
- +widescreen-only
500
- &.is-#{$i}-widescreen-only
501
- --columnGap: #{$i * 0.25rem}
502
- +fullhd
503
- &.is-#{$i}-fullhd
504
- --columnGap: #{$i * 0.25rem}
@@ -1,34 +0,0 @@
1
- $tile-spacing: 0.75rem !default
2
-
3
- .tile
4
- align-items: stretch
5
- display: block
6
- flex-basis: 0
7
- flex-grow: 1
8
- flex-shrink: 1
9
- min-height: min-content
10
- // Modifiers
11
- &.is-ancestor
12
- margin-left: $tile-spacing * -1
13
- margin-right: $tile-spacing * -1
14
- margin-top: $tile-spacing * -1
15
- &:last-child
16
- margin-bottom: $tile-spacing * -1
17
- &:not(:last-child)
18
- margin-bottom: $tile-spacing
19
- &.is-child
20
- margin: 0 !important
21
- &.is-parent
22
- padding: $tile-spacing
23
- &.is-vertical
24
- flex-direction: column
25
- & > .tile.is-child:not(:last-child)
26
- margin-bottom: 1.5rem !important
27
- // Responsiveness
28
- +tablet
29
- &:not(.is-child)
30
- display: flex
31
- @for $i from 1 through 12
32
- &.is-#{$i}
33
- flex: none
34
- width: ($i / 12) * 100%
@@ -1,10 +0,0 @@
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"
@@ -1,37 +0,0 @@
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
@@ -1,8 +0,0 @@
1
- .is-clearfix
2
- +clearfix
3
-
4
- .is-pulled-left
5
- float: left !important
6
-
7
- .is-pulled-right
8
- float: right !important
@@ -1,8 +0,0 @@
1
- .is-radiusless
2
- border-radius: 0 !important
3
-
4
- .is-shadowless
5
- box-shadow: none !important
6
-
7
- .is-unselectable
8
- @extend %unselectable
@@ -1,2 +0,0 @@
1
- .is-clipped
2
- overflow: hidden !important
@@ -1,5 +0,0 @@
1
- .is-overlay
2
- @extend %overlay
3
-
4
- .is-relative
5
- position: relative !important
@@ -1,28 +0,0 @@
1
- .is-marginless
2
- margin: 0 !important
3
-
4
- .is-paddingless
5
- padding: 0 !important
6
-
7
- $spacing-shortcuts: ("margin": "m", "padding": "p") !default
8
- $spacing-directions: ("top": "t", "right": "r", "bottom": "b", "left": "l") !default
9
- $spacing-horizontal: "x" !default
10
- $spacing-vertical: "y" !default
11
- $spacing-values: ("0": 0, "1": 0.25rem, "2": 0.5rem, "3": 0.75rem, "4": 1rem, "5": 1.5rem, "6": 3rem) !default
12
-
13
- @each $property, $shortcut in $spacing-shortcuts
14
- @each $name, $value in $spacing-values
15
- // Cardinal directions
16
- @each $direction, $suffix in $spacing-directions
17
- .#{$shortcut}#{$suffix}-#{$name}
18
- #{$property}-#{$direction}: $value !important
19
- // Horizontal axis
20
- @if $spacing-horizontal != null
21
- .#{$shortcut}#{$spacing-horizontal}-#{$name}
22
- #{$property}-left: $value !important
23
- #{$property}-right: $value !important
24
- // Vertical axis
25
- @if $spacing-vertical != null
26
- .#{$shortcut}#{$spacing-vertical}-#{$name}
27
- #{$property}-top: $value !important
28
- #{$property}-bottom: $value !important