bulma-sass 0.6.0 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe9833c39d49e784f7408664ea5ca14815838641
4
- data.tar.gz: f4fd6749013f4780ff7900c1667c9968c5e83772
3
+ metadata.gz: 60c061dad8b1739060e906b8de651d08f7966c72
4
+ data.tar.gz: 0e7066949f8186ccbd78ed48994120d595cdf1fe
5
5
  SHA512:
6
- metadata.gz: 2e7b50b932c9efcc07300fb76a2f88c7d468e829f156eb8e7c35e553fd453a047d6aef9a6f4de9217c2e02a374a0f84c3c7b99fb41b5c751b44dfc48599857cb
7
- data.tar.gz: ae8a600fbb8d17f7f9ee829430a4e798f22c7649e4a7c93b74d97eb675f1b2e52ab9eb9fecf370e869ea7636a74a7b18d6a047bb247ed2c3f391029852b7a87e
6
+ metadata.gz: 546496e3cdf267ced595843f7eb92abacb3458041c2e42dde3ecd95a2731b72035259f12db73eedbf7dacbb08c13681f5ee3620357851d8288a212ef8bdf041e
7
+ data.tar.gz: 71707aa3fda3978e4a6ffc0163727c60a68b22cb7d3f8a72aa5ae9ce03c5d24fdecc7f7c9961e14cfd58db33fe5ae00706dfcd6b88139e2e02d059d6fd1099d8
@@ -1,4 +1,4 @@
1
- $body-background-color: #fff !default
1
+ $body-background-color: $white !default
2
2
  $body-size: 16px !default
3
3
  $body-rendering: optimizeLegibility !default
4
4
  $body-family: $family-primary !default
@@ -89,6 +89,9 @@ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'rig
89
89
  .is-uppercase
90
90
  text-transform: uppercase !important
91
91
 
92
+ .is-italic
93
+ font-style: italic !important
94
+
92
95
  @each $name, $pair in $colors
93
96
  $color: nth($pair, 1)
94
97
  .has-text-#{$name}
@@ -185,6 +188,45 @@ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
185
188
  .is-hidden-fullhd
186
189
  display: none !important
187
190
 
191
+ .is-invisible
192
+ visibility: hidden !important
193
+
194
+ +mobile
195
+ .is-invisible-mobile
196
+ visibility: hidden !important
197
+
198
+ +tablet
199
+ .is-invisible-tablet
200
+ visibility: hidden !important
201
+
202
+ +tablet-only
203
+ .is-invisible-tablet-only
204
+ visibility: hidden !important
205
+
206
+ +touch
207
+ .is-invisible-touch
208
+ visibility: hidden !important
209
+
210
+ +desktop
211
+ .is-invisible-desktop
212
+ visibility: hidden !important
213
+
214
+ +desktop-only
215
+ .is-invisible-desktop-only
216
+ visibility: hidden !important
217
+
218
+ +widescreen
219
+ .is-invisible-widescreen
220
+ visibility: hidden !important
221
+
222
+ +widescreen-only
223
+ .is-invisible-widescreen-only
224
+ visibility: hidden !important
225
+
226
+ +fullhd
227
+ .is-invisible-fullhd
228
+ visibility: hidden !important
229
+
188
230
  // Other
189
231
 
190
232
  .is-marginless
@@ -42,7 +42,7 @@
42
42
  +mobile
43
43
  &:not(:last-child)
44
44
  margin-bottom: 0.75rem
45
-
45
+
46
46
  .level-left,
47
47
  .level-right
48
48
  flex-basis: auto
@@ -41,4 +41,5 @@
41
41
  flex-basis: auto
42
42
  flex-grow: 1
43
43
  flex-shrink: 1
44
+ overflow: auto
44
45
  text-align: left
@@ -1,4 +1,4 @@
1
- $modal-z: 20 !default
1
+ $modal-z: 40 !default
2
2
 
3
3
  $modal-background-background-color: rgba($black, 0.86) !default
4
4
 
@@ -1,8 +1,9 @@
1
1
  $navbar-background-color: $white !default
2
2
  $navbar-height: 3.25rem !default
3
+ $navbar-fixed-z: 30 !default
3
4
 
4
5
  $navbar-item-color: $grey-dark !default
5
- $navbar-item-hover-color: $black !default
6
+ $navbar-item-hover-color: $link !default
6
7
  $navbar-item-hover-background-color: $background !default
7
8
  $navbar-item-active-color: $black !default
8
9
  $navbar-item-active-background-color: transparent !default
@@ -33,6 +34,17 @@ $navbar-dropdown-item-active-background-color: $background !default
33
34
 
34
35
  $navbar-divider-background-color: $border !default
35
36
 
37
+ =navbar-fixed
38
+ left: 0
39
+ position: fixed
40
+ right: 0
41
+ z-index: $navbar-fixed-z
42
+
43
+ =navbar-fixed-html
44
+ left: 0
45
+ position: fixed
46
+ right: 0
47
+
36
48
  .navbar
37
49
  background-color: $navbar-background-color
38
50
  min-height: $navbar-height
@@ -87,6 +99,21 @@ $navbar-divider-background-color: $border !default
87
99
  width: 100%
88
100
  &.has-shadow
89
101
  box-shadow: 0 2px 3px rgba($black, 0.1)
102
+ &.is-fixed-bottom,
103
+ &.is-fixed-top
104
+ +navbar-fixed
105
+ &.is-fixed-bottom
106
+ bottom: 0
107
+ &.has-shadow
108
+ box-shadow: 0 -2px 3px rgba($black, 0.1)
109
+ &.is-fixed-top
110
+ top: 0
111
+
112
+ html.has-navbar-fixed-top
113
+ padding-top: $navbar-height
114
+
115
+ html.has-navbar-fixed-bottom
116
+ padding-bottom: $navbar-height
90
117
 
91
118
  .navbar-brand,
92
119
  .navbar-tabs
@@ -117,7 +144,7 @@ $navbar-divider-background-color: $border !default
117
144
  position: relative
118
145
 
119
146
  a.navbar-item,
120
- .navbar-link
147
+ a.navbar-link
121
148
  &:hover,
122
149
  &.is-active
123
150
  background-color: $navbar-item-hover-background-color
@@ -130,6 +157,9 @@ a.navbar-item,
130
157
  max-height: $navbar-item-img-max-height
131
158
  &.has-dropdown
132
159
  padding: 0
160
+ &.is-expanded
161
+ flex-grow: 1
162
+ flex-shrink: 1
133
163
  &.is-tab
134
164
  border-bottom: 1px solid transparent
135
165
  min-height: $navbar-height
@@ -176,11 +206,32 @@ a.navbar-item,
176
206
  align-items: center
177
207
  display: flex
178
208
  .navbar-menu
179
- background-color: $white
209
+ background-color: $navbar-background-color
180
210
  box-shadow: 0 8px 16px rgba($black, 0.1)
181
211
  padding: 0.5rem 0
182
212
  &.is-active
183
213
  display: block
214
+ // Fixed navbar
215
+ .navbar
216
+ &.is-fixed-bottom-touch,
217
+ &.is-fixed-top-touch
218
+ +navbar-fixed
219
+ &.is-fixed-bottom-touch
220
+ bottom: 0
221
+ &.has-shadow
222
+ box-shadow: 0 -2px 3px rgba($black, 0.1)
223
+ &.is-fixed-top-touch
224
+ top: 0
225
+ &.is-fixed-top,
226
+ &.is-fixed-top-touch
227
+ .navbar-menu
228
+ +overflow-touch
229
+ max-height: calc(100vh - #{$navbar-height})
230
+ overflow: auto
231
+ html.has-navbar-fixed-top-touch
232
+ padding-top: $navbar-height
233
+ html.has-navbar-fixed-bottom-touch
234
+ padding-bottom: $navbar-height
184
235
 
185
236
  +desktop
186
237
  .navbar,
@@ -193,7 +244,7 @@ a.navbar-item,
193
244
  min-height: $navbar-height
194
245
  &.is-transparent
195
246
  a.navbar-item,
196
- .navbar-link
247
+ a.navbar-link
197
248
  &:hover,
198
249
  &.is-active
199
250
  background-color: transparent !important
@@ -219,6 +270,16 @@ a.navbar-item,
219
270
  .navbar-item
220
271
  &.has-dropdown
221
272
  align-items: stretch
273
+ &.has-dropdown-up
274
+ .navbar-link::after
275
+ transform: rotate(135deg) translate(0.25em, -0.25em)
276
+ .navbar-dropdown
277
+ border-bottom: $navbar-dropdown-border-top
278
+ border-radius: $navbar-dropdown-radius $navbar-dropdown-radius 0 0
279
+ border-top: none
280
+ bottom: 100%
281
+ box-shadow: 0 -8px 8px rgba($black, 0.1)
282
+ top: auto
222
283
  &.is-active,
223
284
  &.is-hoverable:hover
224
285
  .navbar-dropdown
@@ -282,14 +343,30 @@ a.navbar-item,
282
343
  right: 0
283
344
  .navbar-divider
284
345
  display: block
346
+ .navbar > .container,
285
347
  .container > .navbar
286
348
  .navbar-brand
287
349
  margin-left: -1rem
288
350
  .navbar-menu
289
351
  margin-right: -1rem
352
+ // Fixed navbar
353
+ .navbar
354
+ &.is-fixed-bottom-desktop,
355
+ &.is-fixed-top-desktop
356
+ +navbar-fixed
357
+ &.is-fixed-bottom-desktop
358
+ bottom: 0
359
+ &.has-shadow
360
+ box-shadow: 0 -2px 3px rgba($black, 0.1)
361
+ &.is-fixed-top-desktop
362
+ top: 0
363
+ html.has-navbar-fixed-top-desktop
364
+ padding-top: $navbar-height
365
+ html.has-navbar-fixed-bottom-desktop
366
+ padding-bottom: $navbar-height
290
367
  // Hover/Active states
291
368
  a.navbar-item,
292
- .navbar-link
369
+ a.navbar-link
293
370
  &.is-active
294
371
  color: $navbar-item-active-color
295
372
  &.is-active:not(:hover)
@@ -33,6 +33,14 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
33
33
  font-size: $size-medium
34
34
  &.is-large
35
35
  font-size: $size-large
36
+ &.is-rounded
37
+ .pagination-previous,
38
+ .pagination-next
39
+ padding-left: 1em
40
+ padding-right: 1em
41
+ border-radius: $radius-rounded
42
+ .pagination-link
43
+ border-radius: $radius-rounded
36
44
 
37
45
  .pagination,
38
46
  .pagination-list
@@ -58,6 +66,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
58
66
  .pagination-next,
59
67
  .pagination-link
60
68
  border-color: $pagination-border-color
69
+ color: $pagination-color
61
70
  min-width: 2.25em
62
71
  &:hover
63
72
  border-color: $pagination-hover-border-color
@@ -132,6 +132,16 @@ $tabs-toggle-link-active-color: $link-invert !default
132
132
  z-index: 1
133
133
  ul
134
134
  border-bottom: none
135
+ &.is-toggle-rounded
136
+ li
137
+ &:first-child a
138
+ border-bottom-left-radius: $radius-rounded
139
+ border-top-left-radius: $radius-rounded
140
+ padding-left: 1.25em
141
+ &:last-child a
142
+ border-bottom-right-radius: $radius-rounded
143
+ border-top-right-radius: $radius-rounded
144
+ padding-right: 1.25em
135
145
  // Sizes
136
146
  &.is-small
137
147
  font-size: $size-small
@@ -199,3 +199,47 @@ $button-static-border-color: $grey-lighter !default
199
199
  color: $button-static-color
200
200
  box-shadow: none
201
201
  pointer-events: none
202
+ &.is-rounded
203
+ border-radius: $radius-rounded
204
+ padding-left: 1em
205
+ padding-right: 1em
206
+
207
+ .buttons
208
+ align-items: center
209
+ display: flex
210
+ flex-wrap: wrap
211
+ justify-content: flex-start
212
+ .button
213
+ margin-bottom: 0.5rem
214
+ &:not(:last-child)
215
+ margin-right: 0.5rem
216
+ &:last-child
217
+ margin-bottom: -0.5rem
218
+ &:not(:last-child)
219
+ margin-bottom: 1rem
220
+ &.has-addons
221
+ .button
222
+ &:not(:first-child)
223
+ border-bottom-left-radius: 0
224
+ border-top-left-radius: 0
225
+ &:not(:last-child)
226
+ border-bottom-right-radius: 0
227
+ border-top-right-radius: 0
228
+ margin-right: -1px
229
+ &:last-child
230
+ margin-right: 0
231
+ &:hover,
232
+ &.is-hovered
233
+ z-index: 2
234
+ &:focus,
235
+ &.is-focused,
236
+ &:active,
237
+ &.is-active,
238
+ &.is-selected
239
+ z-index: 3
240
+ &:hover
241
+ z-index: 4
242
+ &.is-centered
243
+ justify-content: center
244
+ &.is-right
245
+ justify-content: flex-end
@@ -70,8 +70,6 @@ $help-size: $size-small !default
70
70
  box-shadow: $input-shadow
71
71
  max-width: 100%
72
72
  width: 100%
73
- &[type="search"]
74
- border-radius: 290486px
75
73
  &[readonly]
76
74
  box-shadow: none
77
75
  // Colors
@@ -100,6 +98,10 @@ $help-size: $size-small !default
100
98
  width: auto
101
99
 
102
100
  .input
101
+ &.is-rounded
102
+ border-radius: $radius-rounded
103
+ padding-left: 1em
104
+ padding-right: 1em
103
105
  &.is-static
104
106
  background-color: transparent
105
107
  border-color: transparent
@@ -153,6 +155,10 @@ $help-size: $size-small !default
153
155
  right: 1.125em
154
156
  top: 50%
155
157
  z-index: 4
158
+ &.is-rounded
159
+ select
160
+ border-radius: $radius-rounded
161
+ padding-left: 1em
156
162
  select
157
163
  +input
158
164
  cursor: pointer
@@ -269,10 +275,11 @@ $help-size: $size-small !default
269
275
  .file-name
270
276
  border-bottom-left-radius: 0
271
277
  border-top-left-radius: 0
272
- &.is-centered
273
- justify-content: center
274
- &.is-right
275
- justify-content: flex-end
278
+ &.is-empty
279
+ .file-cta
280
+ border-radius: $file-radius
281
+ .file-name
282
+ display: none
276
283
  &.is-boxed
277
284
  .file-label
278
285
  flex-direction: column
@@ -302,19 +309,22 @@ $help-size: $size-small !default
302
309
  .file-name
303
310
  border-radius: 0 0 $file-radius $file-radius
304
311
  border-width: 0 1px 1px
312
+ &.is-centered
313
+ justify-content: center
314
+ &.is-fullwidth
315
+ .file-label
316
+ width: 100%
317
+ .file-name
318
+ flex-grow: 1
319
+ max-width: none
305
320
  &.is-right
321
+ justify-content: flex-end
306
322
  .file-cta
307
323
  border-radius: 0 $file-radius $file-radius 0
308
324
  .file-name
309
325
  border-radius: $file-radius 0 0 $file-radius
310
326
  border-width: 1px 0 1px 1px
311
327
  order: -1
312
- &.is-fullwidth
313
- .file-label
314
- width: 100%
315
- .file-name
316
- flex-grow: 1
317
- max-width: none
318
328
 
319
329
  .file-label
320
330
  align-items: stretch
@@ -414,22 +424,26 @@ $help-size: $size-small !default
414
424
  .control
415
425
  &:not(:last-child)
416
426
  margin-right: -1px
427
+ &:not(:first-child):not(:last-child)
428
+ .button,
429
+ .input,
430
+ .select select
431
+ border-radius: 0
417
432
  &:first-child
418
433
  .button,
419
434
  .input,
420
435
  .select select
421
- border-bottom-left-radius: $input-radius
422
- border-top-left-radius: $input-radius
436
+ border-bottom-right-radius: 0
437
+ border-top-right-radius: 0
423
438
  &:last-child
424
439
  .button,
425
440
  .input,
426
441
  .select select
427
- border-bottom-right-radius: $input-radius
428
- border-top-right-radius: $input-radius
442
+ border-bottom-left-radius: 0
443
+ border-top-left-radius: 0
429
444
  .button,
430
445
  .input,
431
446
  .select select
432
- border-radius: 0
433
447
  &:hover,
434
448
  &.is-hovered
435
449
  z-index: 2
@@ -597,6 +611,7 @@ $help-size: $size-small !default
597
611
  position: absolute !important
598
612
  right: 0.625em
599
613
  top: 0.625em
614
+ z-index: 4
600
615
  &.is-small:after
601
616
  font-size: $size-small
602
617
  &.is-medium:after
@@ -7,6 +7,8 @@ $dimensions: 16 24 32 48 64 96 128 !default
7
7
  display: block
8
8
  height: auto
9
9
  width: 100%
10
+ &.is-rounded
11
+ border-radius: $radius-rounded
10
12
  // Ratio
11
13
  &.is-square,
12
14
  &.is-1by1,
@@ -20,8 +20,8 @@ $notification-padding: 1.25rem 2.5rem 1.25rem 1.5rem !default
20
20
  background: transparent
21
21
  & > .delete
22
22
  position: absolute
23
- right: 0.5em
24
- top: 0.5em
23
+ right: 0.5rem
24
+ top: 0.5rem
25
25
  .title,
26
26
  .subtitle,
27
27
  .content
@@ -27,7 +27,7 @@
27
27
  .number
28
28
  align-items: center
29
29
  background-color: $background
30
- border-radius: 290486px
30
+ border-radius: $radius-rounded
31
31
  display: inline-flex
32
32
  font-size: $size-medium
33
33
  height: 2em
@@ -6,7 +6,7 @@ $progress-value-background-color: $text !default
6
6
  -moz-appearance: none
7
7
  -webkit-appearance: none
8
8
  border: none
9
- border-radius: 290486px
9
+ border-radius: $radius-rounded
10
10
  display: block
11
11
  height: $size-normal
12
12
  overflow: hidden
@@ -18,6 +18,9 @@ $progress-value-background-color: $text !default
18
18
  background-color: $progress-value-background-color
19
19
  &::-moz-progress-bar
20
20
  background-color: $progress-value-background-color
21
+ &::-ms-fill
22
+ background-color: $progress-value-background-color
23
+ border: none
21
24
  // Colors
22
25
  @each $name, $pair in $colors
23
26
  $color: nth($pair, 1)
@@ -26,6 +29,8 @@ $progress-value-background-color: $text !default
26
29
  background-color: $color
27
30
  &::-moz-progress-bar
28
31
  background-color: $color
32
+ &::-ms-fill
33
+ background-color: $color
29
34
  // Sizes
30
35
  &.is-small
31
36
  height: $size-small
@@ -41,6 +41,12 @@ $table-striped-row-even-hover-background-color: $white-ter !default
41
41
  &.is-narrow
42
42
  white-space: nowrap
43
43
  width: 1%
44
+ &.is-selected
45
+ background-color: $table-row-active-background-color
46
+ color: $table-row-active-color
47
+ a,
48
+ strong
49
+ color: currentColor
44
50
  th
45
51
  color: $table-cell-heading-color
46
52
  text-align: left
@@ -85,7 +91,7 @@ $table-striped-row-even-hover-background-color: $white-ter !default
85
91
  width: 100%
86
92
  &.is-hoverable
87
93
  tbody
88
- tr
94
+ tr:not(.is-selected)
89
95
  &:hover
90
96
  background-color: $table-row-hover-background-color
91
97
  &.is-striped
@@ -25,6 +25,18 @@ $tag-delete-margin: 1px !default
25
25
  &:not(:last-child)
26
26
  border-bottom-right-radius: 0
27
27
  border-top-right-radius: 0
28
+ &.is-centered
29
+ justify-content: center
30
+ .tag
31
+ margin-right: 0.25rem
32
+ margin-left: 0.25rem
33
+ &.is-right
34
+ justify-content: flex-end
35
+ .tag
36
+ &:not(:first-child)
37
+ margin-left: 0.5rem
38
+ &:not(:last-child)
39
+ margin-right: 0
28
40
 
29
41
  .tag:not(body)
30
42
  align-items: center
@@ -54,6 +66,16 @@ $tag-delete-margin: 1px !default
54
66
  font-size: $size-normal
55
67
  &.is-large
56
68
  font-size: $size-medium
69
+ .icon
70
+ &:first-child:not(:last-child)
71
+ margin-left: -0.375em
72
+ margin-right: 0.1875em
73
+ &:last-child:not(:first-child)
74
+ margin-left: 0.1875em
75
+ margin-right: -0.375em
76
+ &:first-child:last-child
77
+ margin-left: -0.375em
78
+ margin-right: -0.375em
57
79
  // Modifiers
58
80
  &.is-delete
59
81
  margin-left: $tag-delete-margin
@@ -82,7 +104,7 @@ $tag-delete-margin: 1px !default
82
104
  &:active
83
105
  background-color: darken($tag-background-color, 10%)
84
106
  &.is-rounded
85
- border-radius: 290486px
107
+ border-radius: $radius-rounded
86
108
 
87
109
  a.tag
88
110
  &:hover
@@ -3,6 +3,8 @@ $title-size: $size-3 !default
3
3
  $title-weight: $weight-semibold !default
4
4
  $title-strong-color: inherit !default
5
5
  $title-strong-weight: inherit !default
6
+ $title-sub-size: 0.75em !default
7
+ $title-sup-size: 0.75em !default
6
8
 
7
9
  $subtitle-color: $grey-dark !default
8
10
  $subtitle-size: $size-5 !default
@@ -17,6 +19,10 @@ $subtitle-strong-weight: $weight-semibold !default
17
19
  em,
18
20
  span
19
21
  font-weight: inherit
22
+ sub
23
+ font-size: $title-sub-size
24
+ sup
25
+ font-size: $title-sup-size
20
26
  .tag
21
27
  vertical-align: middle
22
28
 
@@ -26,6 +26,18 @@ $column-gap: 0.75rem !default
26
26
  .columns.is-mobile > &.is-one-quarter
27
27
  flex: none
28
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%
29
41
  .columns.is-mobile > &.is-offset-three-quarters
30
42
  margin-left: 75%
31
43
  .columns.is-mobile > &.is-offset-two-thirds
@@ -36,6 +48,14 @@ $column-gap: 0.75rem !default
36
48
  margin-left: 33.3333%
37
49
  .columns.is-mobile > &.is-offset-one-quarter
38
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%
39
59
  @for $i from 1 through 12
40
60
  .columns.is-mobile > &.is-#{$i}
41
61
  flex: none
@@ -63,6 +83,18 @@ $column-gap: 0.75rem !default
63
83
  &.is-one-quarter-mobile
64
84
  flex: none
65
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%
66
98
  &.is-offset-three-quarters-mobile
67
99
  margin-left: 75%
68
100
  &.is-offset-two-thirds-mobile
@@ -73,6 +105,14 @@ $column-gap: 0.75rem !default
73
105
  margin-left: 33.3333%
74
106
  &.is-offset-one-quarter-mobile
75
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%
76
116
  @for $i from 1 through 12
77
117
  &.is-#{$i}-mobile
78
118
  flex: none
@@ -107,6 +147,22 @@ $column-gap: 0.75rem !default
107
147
  &.is-one-quarter-tablet
108
148
  flex: none
109
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%
110
166
  &.is-offset-three-quarters,
111
167
  &.is-offset-three-quarters-tablet
112
168
  margin-left: 75%
@@ -122,6 +178,18 @@ $column-gap: 0.75rem !default
122
178
  &.is-offset-one-quarter,
123
179
  &.is-offset-one-quarter-tablet
124
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%
125
193
  @for $i from 1 through 12
126
194
  &.is-#{$i},
127
195
  &.is-#{$i}-tablet
@@ -151,6 +219,18 @@ $column-gap: 0.75rem !default
151
219
  &.is-one-quarter-touch
152
220
  flex: none
153
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%
154
234
  &.is-offset-three-quarters-touch
155
235
  margin-left: 75%
156
236
  &.is-offset-two-thirds-touch
@@ -161,6 +241,14 @@ $column-gap: 0.75rem !default
161
241
  margin-left: 33.3333%
162
242
  &.is-offset-one-quarter-touch
163
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%
164
252
  @for $i from 1 through 12
165
253
  &.is-#{$i}-touch
166
254
  flex: none
@@ -188,6 +276,18 @@ $column-gap: 0.75rem !default
188
276
  &.is-one-quarter-desktop
189
277
  flex: none
190
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%
191
291
  &.is-offset-three-quarters-desktop
192
292
  margin-left: 75%
193
293
  &.is-offset-two-thirds-desktop
@@ -198,6 +298,14 @@ $column-gap: 0.75rem !default
198
298
  margin-left: 33.3333%
199
299
  &.is-offset-one-quarter-desktop
200
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%
201
309
  @for $i from 1 through 12
202
310
  &.is-#{$i}-desktop
203
311
  flex: none
@@ -225,6 +333,18 @@ $column-gap: 0.75rem !default
225
333
  &.is-one-quarter-widescreen
226
334
  flex: none
227
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%
228
348
  &.is-offset-three-quarters-widescreen
229
349
  margin-left: 75%
230
350
  &.is-offset-two-thirds-widescreen
@@ -235,6 +355,14 @@ $column-gap: 0.75rem !default
235
355
  margin-left: 33.3333%
236
356
  &.is-offset-one-quarter-widescreen
237
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%
238
366
  @for $i from 1 through 12
239
367
  &.is-#{$i}-widescreen
240
368
  flex: none
@@ -262,6 +390,18 @@ $column-gap: 0.75rem !default
262
390
  &.is-one-quarter-fullhd
263
391
  flex: none
264
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%
265
405
  &.is-offset-three-quarters-fullhd
266
406
  margin-left: 75%
267
407
  &.is-offset-two-thirds-fullhd
@@ -272,6 +412,14 @@ $column-gap: 0.75rem !default
272
412
  margin-left: 33.3333%
273
413
  &.is-offset-one-quarter-fullhd
274
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%
275
423
  @for $i from 1 through 12
276
424
  &.is-#{$i}-fullhd
277
425
  flex: none
@@ -316,13 +464,14 @@ $column-gap: 0.75rem !default
316
464
  &.is-desktop
317
465
  display: flex
318
466
 
319
- .columns.is-variable
320
- --columnGap: 0.75rem
321
- margin-left: calc(-1 * var(--columnGap))
322
- margin-right: calc(-1 * var(--columnGap))
323
- .column
324
- padding-left: var(--columnGap)
325
- padding-right: var(--columnGap)
326
- @for $i from 0 through 8
327
- &.is-#{$i}
328
- --columnGap: $i * 0.25rem
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}
@@ -17,7 +17,7 @@
17
17
  &.is-#{$name}
18
18
  background-color: $color
19
19
  color: $color-invert
20
- a:not(.button),
20
+ a:not(.button):not(.dropdown-item):not(.tag),
21
21
  strong
22
22
  color: inherit
23
23
  .title
@@ -49,12 +49,12 @@ $weight-bold: 700 !default
49
49
  $gap: 32px !default
50
50
  // 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
51
51
  $tablet: 769px !default
52
- // 960px container + 3rem
52
+ // 960px container + 4rem
53
53
  $desktop: 960px + (2 * $gap) !default
54
- // 1152px container + 3rem
55
- $widescreen: 1152px + (2 * $gap) !default
56
- // 1344px container + 3rem
57
- $fullhd: 1344px + (2 * $gap) !default
54
+ // 1152px container + 4rem
55
+ $widescreen: 1152px + (2 * $gap) !default
56
+ // 1344px container + 4rem
57
+ $fullhd: 1344px + (2 * $gap) !default
58
58
 
59
59
  // Miscellaneous
60
60
 
@@ -62,4 +62,9 @@ $easing: ease-out !default
62
62
  $radius-small: 2px !default
63
63
  $radius: 3px !default
64
64
  $radius-large: 5px !default
65
+ $radius-rounded: 290486px !default
65
66
  $speed: 86ms !default
67
+
68
+ // Flags
69
+
70
+ $variable-columns: true !default
@@ -10,6 +10,7 @@
10
10
  pointer-events: none
11
11
  position: absolute
12
12
  transform: rotate(-45deg)
13
+ transform-origin: center
13
14
  width: 0.5em
14
15
 
15
16
  =block
@@ -37,12 +38,12 @@
37
38
  -webkit-appearance: none
38
39
  background-color: rgba($black, 0.2)
39
40
  border: none
40
- border-radius: 290486px
41
+ border-radius: $radius-rounded
41
42
  cursor: pointer
42
43
  display: inline-block
43
44
  flex-grow: 0
44
45
  flex-shrink: 0
45
- font-size: $size-normal
46
+ font-size: 0
46
47
  height: 20px
47
48
  max-height: 20px
48
49
  max-width: 20px
@@ -115,39 +116,35 @@
115
116
  background-color: currentColor
116
117
  display: block
117
118
  height: 1px
118
- left: 50%
119
- margin-left: -7px
119
+ left: calc(50% - 8px)
120
120
  position: absolute
121
- top: 50%
122
- transition: none $speed $easing
123
- transition-property: background, left, opacity, transform
124
- width: 15px
121
+ transform-origin: center
122
+ transition-duration: $speed
123
+ transition-property: background-color, opacity, transform
124
+ transition-timing-function: $easing
125
+ width: 16px
125
126
  &:nth-child(1)
126
- margin-top: -6px
127
+ top: calc(50% - 6px)
127
128
  &:nth-child(2)
128
- margin-top: -1px
129
+ top: calc(50% - 1px)
129
130
  &:nth-child(3)
130
- margin-top: 4px
131
+ top: calc(50% + 4px)
131
132
  &:hover
132
133
  background-color: rgba(black, 0.05)
133
134
  // Modifers
134
135
  &.is-active
135
136
  span
136
137
  &:nth-child(1)
137
- margin-left: -5px
138
- transform: rotate(45deg)
139
- transform-origin: left top
138
+ transform: translateY(5px) rotate(45deg)
140
139
  &:nth-child(2)
141
140
  opacity: 0
142
141
  &:nth-child(3)
143
- margin-left: -5px
144
- transform: rotate(-45deg)
145
- transform-origin: left bottom
142
+ transform: translateY(-5px) rotate(-45deg)
146
143
 
147
144
  =loader
148
145
  animation: spinAround 500ms infinite linear
149
146
  border: 2px solid $border
150
- border-radius: 290486px
147
+ border-radius: $radius-rounded
151
148
  border-right-color: transparent
152
149
  border-top-color: transparent
153
150
  content: ""
@@ -1,5 +1,5 @@
1
1
  module Bulma
2
2
  module Sass
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulma-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - bananaappletw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-03 00:00:00.000000000 Z
11
+ date: 2018-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass