bulma-sass 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/bulma.sass +2 -1
- data/app/assets/stylesheets/sass/base/generic.sass +21 -9
- data/app/assets/stylesheets/sass/base/helpers.sass +5 -0
- data/app/assets/stylesheets/sass/base/minireset.sass +2 -1
- data/app/assets/stylesheets/sass/components/card.sass +10 -5
- data/app/assets/stylesheets/sass/components/dropdown.sass +7 -3
- data/app/assets/stylesheets/sass/components/level.sass +5 -3
- data/app/assets/stylesheets/sass/components/list.sass +3 -3
- data/app/assets/stylesheets/sass/components/menu.sass +15 -8
- data/app/assets/stylesheets/sass/components/message.sass +2 -1
- data/app/assets/stylesheets/sass/components/modal.sass +1 -1
- data/app/assets/stylesheets/sass/components/navbar.sass +16 -1
- data/app/assets/stylesheets/sass/components/pagination.sass +9 -4
- data/app/assets/stylesheets/sass/components/panel.sass +4 -2
- data/app/assets/stylesheets/sass/elements/_all.sass +0 -1
- data/app/assets/stylesheets/sass/elements/button.sass +33 -3
- data/app/assets/stylesheets/sass/elements/container.sass +9 -11
- data/app/assets/stylesheets/sass/elements/content.sass +5 -1
- data/app/assets/stylesheets/sass/elements/form.sass +1 -602
- data/app/assets/stylesheets/sass/elements/progress.sass +15 -13
- data/app/assets/stylesheets/sass/elements/table.sass +2 -1
- data/app/assets/stylesheets/sass/elements/tag.sass +0 -9
- data/app/assets/stylesheets/sass/elements/title.sass +6 -0
- data/app/assets/stylesheets/sass/grid/columns.sass +7 -7
- data/app/assets/stylesheets/sass/grid/tiles.sass +8 -6
- data/app/assets/stylesheets/sass/layout/footer.sass +3 -0
- data/app/assets/stylesheets/sass/layout/hero.sass +1 -14
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +5 -1
- data/app/assets/stylesheets/sass/utilities/mixins.sass +2 -2
- data/lib/bulma/sass/version.rb +1 -1
- metadata +1 -1
@@ -1,5 +1,6 @@
|
|
1
1
|
$progress-bar-background-color: $border !default
|
2
2
|
$progress-value-background-color: $text !default
|
3
|
+
$progress-border-radius: $radius-rounded !default
|
3
4
|
|
4
5
|
$progress-indeterminate-duration: 1.5s !default
|
5
6
|
|
@@ -8,7 +9,7 @@ $progress-indeterminate-duration: 1.5s !default
|
|
8
9
|
-moz-appearance: none
|
9
10
|
-webkit-appearance: none
|
10
11
|
border: none
|
11
|
-
border-radius: $radius
|
12
|
+
border-radius: $progress-border-radius
|
12
13
|
display: block
|
13
14
|
height: $size-normal
|
14
15
|
overflow: hidden
|
@@ -23,6 +24,19 @@ $progress-indeterminate-duration: 1.5s !default
|
|
23
24
|
&::-ms-fill
|
24
25
|
background-color: $progress-value-background-color
|
25
26
|
border: none
|
27
|
+
// Colors
|
28
|
+
@each $name, $pair in $colors
|
29
|
+
$color: nth($pair, 1)
|
30
|
+
&.is-#{$name}
|
31
|
+
&::-webkit-progress-value
|
32
|
+
background-color: $color
|
33
|
+
&::-moz-progress-bar
|
34
|
+
background-color: $color
|
35
|
+
&::-ms-fill
|
36
|
+
background-color: $color
|
37
|
+
&:indeterminate
|
38
|
+
background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
|
39
|
+
|
26
40
|
&:indeterminate
|
27
41
|
animation-duration: $progress-indeterminate-duration
|
28
42
|
animation-iteration-count: infinite
|
@@ -37,18 +51,6 @@ $progress-indeterminate-duration: 1.5s !default
|
|
37
51
|
background-color: transparent
|
38
52
|
&::-moz-progress-bar
|
39
53
|
background-color: transparent
|
40
|
-
// Colors
|
41
|
-
@each $name, $pair in $colors
|
42
|
-
$color: nth($pair, 1)
|
43
|
-
&.is-#{$name}
|
44
|
-
&::-webkit-progress-value
|
45
|
-
background-color: $color
|
46
|
-
&::-moz-progress-bar
|
47
|
-
background-color: $color
|
48
|
-
&::-ms-fill
|
49
|
-
background-color: $color
|
50
|
-
&:indeterminate
|
51
|
-
background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)
|
52
54
|
|
53
55
|
// Sizes
|
54
56
|
&.is-small
|
@@ -53,7 +53,8 @@ $table-striped-row-even-hover-background-color: $white-ter !default
|
|
53
53
|
color: currentColor
|
54
54
|
th
|
55
55
|
color: $table-cell-heading-color
|
56
|
-
|
56
|
+
&:not([align])
|
57
|
+
text-align: left
|
57
58
|
tr
|
58
59
|
&.is-selected
|
59
60
|
background-color: $table-row-active-background-color
|
@@ -23,15 +23,6 @@ $tag-delete-margin: 1px !default
|
|
23
23
|
&.are-large
|
24
24
|
.tag:not(.is-normal):not(.is-medium)
|
25
25
|
font-size: $size-medium
|
26
|
-
&.has-addons
|
27
|
-
.tag
|
28
|
-
margin-right: 0
|
29
|
-
&:not(:first-child)
|
30
|
-
border-bottom-left-radius: 0
|
31
|
-
border-top-left-radius: 0
|
32
|
-
&:not(:last-child)
|
33
|
-
border-bottom-right-radius: 0
|
34
|
-
border-top-right-radius: 0
|
35
26
|
&.is-centered
|
36
27
|
justify-content: center
|
37
28
|
.tag
|
@@ -1,4 +1,5 @@
|
|
1
1
|
$title-color: $grey-darker !default
|
2
|
+
$title-family: false !default
|
2
3
|
$title-size: $size-3 !default
|
3
4
|
$title-weight: $weight-semibold !default
|
4
5
|
$title-line-height: 1.125 !default
|
@@ -8,6 +9,7 @@ $title-sub-size: 0.75em !default
|
|
8
9
|
$title-sup-size: 0.75em !default
|
9
10
|
|
10
11
|
$subtitle-color: $grey-dark !default
|
12
|
+
$subtitle-family: false !default
|
11
13
|
$subtitle-size: $size-5 !default
|
12
14
|
$subtitle-weight: $weight-normal !default
|
13
15
|
$subtitle-line-height: 1.25 !default
|
@@ -31,6 +33,8 @@ $subtitle-negative-margin: -1.25rem !default
|
|
31
33
|
|
32
34
|
.title
|
33
35
|
color: $title-color
|
36
|
+
@if $title-family
|
37
|
+
font-family: $title-family
|
34
38
|
font-size: $title-size
|
35
39
|
font-weight: $title-weight
|
36
40
|
line-height: $title-line-height
|
@@ -49,6 +53,8 @@ $subtitle-negative-margin: -1.25rem !default
|
|
49
53
|
|
50
54
|
.subtitle
|
51
55
|
color: $subtitle-color
|
56
|
+
@if $subtitle-family
|
57
|
+
font-family: $subtitle-family
|
52
58
|
font-size: $subtitle-size
|
53
59
|
font-weight: $subtitle-weight
|
54
60
|
line-height: $subtitle-line-height
|
@@ -56,7 +56,7 @@ $column-gap: 0.75rem !default
|
|
56
56
|
margin-left: 60%
|
57
57
|
.columns.is-mobile > &.is-offset-four-fifths
|
58
58
|
margin-left: 80%
|
59
|
-
@for $i from
|
59
|
+
@for $i from 0 through 12
|
60
60
|
.columns.is-mobile > &.is-#{$i}
|
61
61
|
flex: none
|
62
62
|
width: percentage($i / 12)
|
@@ -113,7 +113,7 @@ $column-gap: 0.75rem !default
|
|
113
113
|
margin-left: 60%
|
114
114
|
&.is-offset-four-fifths-mobile
|
115
115
|
margin-left: 80%
|
116
|
-
@for $i from
|
116
|
+
@for $i from 0 through 12
|
117
117
|
&.is-#{$i}-mobile
|
118
118
|
flex: none
|
119
119
|
width: percentage($i / 12)
|
@@ -190,7 +190,7 @@ $column-gap: 0.75rem !default
|
|
190
190
|
&.is-offset-four-fifths,
|
191
191
|
&.is-offset-four-fifths-tablet
|
192
192
|
margin-left: 80%
|
193
|
-
@for $i from
|
193
|
+
@for $i from 0 through 12
|
194
194
|
&.is-#{$i},
|
195
195
|
&.is-#{$i}-tablet
|
196
196
|
flex: none
|
@@ -249,7 +249,7 @@ $column-gap: 0.75rem !default
|
|
249
249
|
margin-left: 60%
|
250
250
|
&.is-offset-four-fifths-touch
|
251
251
|
margin-left: 80%
|
252
|
-
@for $i from
|
252
|
+
@for $i from 0 through 12
|
253
253
|
&.is-#{$i}-touch
|
254
254
|
flex: none
|
255
255
|
width: percentage($i / 12)
|
@@ -306,7 +306,7 @@ $column-gap: 0.75rem !default
|
|
306
306
|
margin-left: 60%
|
307
307
|
&.is-offset-four-fifths-desktop
|
308
308
|
margin-left: 80%
|
309
|
-
@for $i from
|
309
|
+
@for $i from 0 through 12
|
310
310
|
&.is-#{$i}-desktop
|
311
311
|
flex: none
|
312
312
|
width: percentage($i / 12)
|
@@ -363,7 +363,7 @@ $column-gap: 0.75rem !default
|
|
363
363
|
margin-left: 60%
|
364
364
|
&.is-offset-four-fifths-widescreen
|
365
365
|
margin-left: 80%
|
366
|
-
@for $i from
|
366
|
+
@for $i from 0 through 12
|
367
367
|
&.is-#{$i}-widescreen
|
368
368
|
flex: none
|
369
369
|
width: percentage($i / 12)
|
@@ -420,7 +420,7 @@ $column-gap: 0.75rem !default
|
|
420
420
|
margin-left: 60%
|
421
421
|
&.is-offset-four-fifths-fullhd
|
422
422
|
margin-left: 80%
|
423
|
-
@for $i from
|
423
|
+
@for $i from 0 through 12
|
424
424
|
&.is-#{$i}-fullhd
|
425
425
|
flex: none
|
426
426
|
width: percentage($i / 12)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
$tile-spacing: 0.75rem !default
|
2
|
+
|
1
3
|
.tile
|
2
4
|
align-items: stretch
|
3
5
|
display: block
|
@@ -7,17 +9,17 @@
|
|
7
9
|
min-height: min-content
|
8
10
|
// Modifiers
|
9
11
|
&.is-ancestor
|
10
|
-
margin-left: -
|
11
|
-
margin-right: -
|
12
|
-
margin-top: -
|
12
|
+
margin-left: $tile-spacing * -1
|
13
|
+
margin-right: $tile-spacing * -1
|
14
|
+
margin-top: $tile-spacing * -1
|
13
15
|
&:last-child
|
14
|
-
margin-bottom: -
|
16
|
+
margin-bottom: $tile-spacing * -1
|
15
17
|
&:not(:last-child)
|
16
|
-
margin-bottom:
|
18
|
+
margin-bottom: $tile-spacing
|
17
19
|
&.is-child
|
18
20
|
margin: 0 !important
|
19
21
|
&.is-parent
|
20
|
-
padding:
|
22
|
+
padding: $tile-spacing
|
21
23
|
&.is-vertical
|
22
24
|
flex-direction: column
|
23
25
|
& > .tile.is-child:not(:last-child)
|
@@ -17,7 +17,7 @@
|
|
17
17
|
&.is-#{$name}
|
18
18
|
background-color: $color
|
19
19
|
color: $color-invert
|
20
|
-
a:not(.button):not(.dropdown-item):not(.tag),
|
20
|
+
a:not(.button):not(.dropdown-item):not(.tag):not(.pagination-link.is-current),
|
21
21
|
strong
|
22
22
|
color: inherit
|
23
23
|
.title
|
@@ -68,19 +68,6 @@
|
|
68
68
|
+mobile
|
69
69
|
.navbar-menu
|
70
70
|
background-image: linear-gradient(141deg, $gradient-top-left 0%, $color 71%, $gradient-bottom-right 100%)
|
71
|
-
// Responsiveness
|
72
|
-
// +mobile
|
73
|
-
// .nav-toggle
|
74
|
-
// span
|
75
|
-
// background-color: $color-invert
|
76
|
-
// &:hover
|
77
|
-
// background-color: rgba($black, 0.1)
|
78
|
-
// &.is-active
|
79
|
-
// span
|
80
|
-
// background-color: $color-invert
|
81
|
-
// .nav-menu
|
82
|
-
// .nav-item
|
83
|
-
// border-top-color: rgba($color-invert, 0.2)
|
84
71
|
// Sizes
|
85
72
|
&.is-small
|
86
73
|
.hero-body
|
@@ -43,10 +43,14 @@ $weight-medium: 500 !default
|
|
43
43
|
$weight-semibold: 600 !default
|
44
44
|
$weight-bold: 700 !default
|
45
45
|
|
46
|
+
// Spacing
|
47
|
+
|
48
|
+
$block-spacing: 1.5rem !default
|
49
|
+
|
46
50
|
// Responsiveness
|
47
51
|
|
48
52
|
// The container horizontal gap, which acts as the offset for breakpoints
|
49
|
-
$gap:
|
53
|
+
$gap: 32px !default
|
50
54
|
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
51
55
|
$tablet: 769px !default
|
52
56
|
// 960px container + 4rem
|
data/lib/bulma/sass/version.rb
CHANGED