bulma-sass 0.8.2 → 0.9.3
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/_all.sass +4 -3
- data/app/assets/stylesheets/sass/base/animations.sass +5 -0
- data/app/assets/stylesheets/sass/base/generic.sass +4 -1
- data/app/assets/stylesheets/sass/base/helpers.sass +1 -281
- data/app/assets/stylesheets/sass/base/minireset.sass +1 -1
- data/app/assets/stylesheets/sass/components/_all.sass +13 -13
- data/app/assets/stylesheets/sass/components/breadcrumb.sass +5 -3
- data/app/assets/stylesheets/sass/components/card.sass +26 -2
- data/app/assets/stylesheets/sass/components/dropdown.sass +6 -4
- data/app/assets/stylesheets/sass/components/level.sass +5 -3
- data/app/assets/stylesheets/sass/components/media.sass +24 -15
- data/app/assets/stylesheets/sass/components/menu.sass +4 -2
- data/app/assets/stylesheets/sass/components/message.sass +3 -1
- data/app/assets/stylesheets/sass/components/modal.sass +7 -3
- data/app/assets/stylesheets/sass/components/navbar.sass +15 -10
- data/app/assets/stylesheets/sass/components/pagination.sass +19 -3
- data/app/assets/stylesheets/sass/components/panel.sass +5 -3
- data/app/assets/stylesheets/sass/components/tabs.sass +37 -12
- data/app/assets/stylesheets/sass/elements/_all.sass +13 -12
- data/app/assets/stylesheets/sass/elements/box.sass +3 -1
- data/app/assets/stylesheets/sass/elements/button.sass +33 -11
- data/app/assets/stylesheets/sass/elements/container.sass +12 -7
- data/app/assets/stylesheets/sass/elements/content.sass +9 -5
- data/app/assets/stylesheets/sass/elements/icon.sass +25 -0
- data/app/assets/stylesheets/sass/elements/image.sass +2 -0
- data/app/assets/stylesheets/sass/elements/notification.sass +12 -3
- data/app/assets/stylesheets/sass/elements/other.sass +2 -10
- data/app/assets/stylesheets/sass/elements/progress.sass +7 -1
- data/app/assets/stylesheets/sass/elements/table.sass +8 -2
- data/app/assets/stylesheets/sass/elements/tag.sass +29 -17
- data/app/assets/stylesheets/sass/elements/title.sass +2 -2
- data/app/assets/stylesheets/sass/form/_all.sass +7 -6
- data/app/assets/stylesheets/sass/form/checkbox-radio.sass +3 -2
- data/app/assets/stylesheets/sass/form/file.sass +7 -3
- data/app/assets/stylesheets/sass/form/input-textarea.sass +3 -1
- data/app/assets/stylesheets/sass/form/select.sass +7 -5
- data/app/assets/stylesheets/sass/form/shared.sass +5 -0
- data/app/assets/stylesheets/sass/form/tools.sass +21 -11
- data/app/assets/stylesheets/sass/grid/_all.sass +3 -2
- data/app/assets/stylesheets/sass/grid/columns.sass +93 -84
- data/app/assets/stylesheets/sass/grid/tiles.sass +3 -1
- data/app/assets/stylesheets/sass/helpers/_all.sass +12 -0
- data/app/assets/stylesheets/sass/helpers/color.sass +39 -0
- data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
- data/app/assets/stylesheets/sass/helpers/float.sass +10 -0
- data/app/assets/stylesheets/sass/helpers/other.sass +14 -0
- data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
- data/app/assets/stylesheets/sass/helpers/position.sass +7 -0
- data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
- data/app/assets/stylesheets/sass/helpers/typography.sass +103 -0
- data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
- data/app/assets/stylesheets/sass/layout/_all.sass +4 -3
- data/app/assets/stylesheets/sass/layout/footer.sass +2 -0
- data/app/assets/stylesheets/sass/layout/hero.sass +12 -4
- data/app/assets/stylesheets/sass/layout/section.sass +6 -2
- data/app/assets/stylesheets/sass/utilities/_all.sass +7 -6
- data/app/assets/stylesheets/sass/utilities/animations.sass +1 -5
- data/app/assets/stylesheets/sass/utilities/controls.sass +2 -3
- data/app/assets/stylesheets/sass/utilities/derived-variables.sass +9 -1
- data/app/assets/stylesheets/sass/utilities/extends.sass +25 -0
- data/app/assets/stylesheets/sass/utilities/functions.sass +30 -4
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +6 -5
- data/app/assets/stylesheets/sass/utilities/mixins.sass +42 -23
- data/bulma-sass.gemspec +2 -2
- data/lib/bulma/sass/version.rb +1 -1
- data/release.sh +2 -2
- metadata +18 -7
- data/app/assets/stylesheets/sass/components/list.sass +0 -39
@@ -0,0 +1,122 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
|
4
|
+
|
5
|
+
@each $display in $displays
|
6
|
+
.is-#{$display}
|
7
|
+
display: #{$display} !important
|
8
|
+
+mobile
|
9
|
+
.is-#{$display}-mobile
|
10
|
+
display: #{$display} !important
|
11
|
+
+tablet
|
12
|
+
.is-#{$display}-tablet
|
13
|
+
display: #{$display} !important
|
14
|
+
+tablet-only
|
15
|
+
.is-#{$display}-tablet-only
|
16
|
+
display: #{$display} !important
|
17
|
+
+touch
|
18
|
+
.is-#{$display}-touch
|
19
|
+
display: #{$display} !important
|
20
|
+
+desktop
|
21
|
+
.is-#{$display}-desktop
|
22
|
+
display: #{$display} !important
|
23
|
+
+desktop-only
|
24
|
+
.is-#{$display}-desktop-only
|
25
|
+
display: #{$display} !important
|
26
|
+
+widescreen
|
27
|
+
.is-#{$display}-widescreen
|
28
|
+
display: #{$display} !important
|
29
|
+
+widescreen-only
|
30
|
+
.is-#{$display}-widescreen-only
|
31
|
+
display: #{$display} !important
|
32
|
+
+fullhd
|
33
|
+
.is-#{$display}-fullhd
|
34
|
+
display: #{$display} !important
|
35
|
+
|
36
|
+
.is-hidden
|
37
|
+
display: none !important
|
38
|
+
|
39
|
+
.is-sr-only
|
40
|
+
border: none !important
|
41
|
+
clip: rect(0, 0, 0, 0) !important
|
42
|
+
height: 0.01em !important
|
43
|
+
overflow: hidden !important
|
44
|
+
padding: 0 !important
|
45
|
+
position: absolute !important
|
46
|
+
white-space: nowrap !important
|
47
|
+
width: 0.01em !important
|
48
|
+
|
49
|
+
+mobile
|
50
|
+
.is-hidden-mobile
|
51
|
+
display: none !important
|
52
|
+
|
53
|
+
+tablet
|
54
|
+
.is-hidden-tablet
|
55
|
+
display: none !important
|
56
|
+
|
57
|
+
+tablet-only
|
58
|
+
.is-hidden-tablet-only
|
59
|
+
display: none !important
|
60
|
+
|
61
|
+
+touch
|
62
|
+
.is-hidden-touch
|
63
|
+
display: none !important
|
64
|
+
|
65
|
+
+desktop
|
66
|
+
.is-hidden-desktop
|
67
|
+
display: none !important
|
68
|
+
|
69
|
+
+desktop-only
|
70
|
+
.is-hidden-desktop-only
|
71
|
+
display: none !important
|
72
|
+
|
73
|
+
+widescreen
|
74
|
+
.is-hidden-widescreen
|
75
|
+
display: none !important
|
76
|
+
|
77
|
+
+widescreen-only
|
78
|
+
.is-hidden-widescreen-only
|
79
|
+
display: none !important
|
80
|
+
|
81
|
+
+fullhd
|
82
|
+
.is-hidden-fullhd
|
83
|
+
display: none !important
|
84
|
+
|
85
|
+
.is-invisible
|
86
|
+
visibility: hidden !important
|
87
|
+
|
88
|
+
+mobile
|
89
|
+
.is-invisible-mobile
|
90
|
+
visibility: hidden !important
|
91
|
+
|
92
|
+
+tablet
|
93
|
+
.is-invisible-tablet
|
94
|
+
visibility: hidden !important
|
95
|
+
|
96
|
+
+tablet-only
|
97
|
+
.is-invisible-tablet-only
|
98
|
+
visibility: hidden !important
|
99
|
+
|
100
|
+
+touch
|
101
|
+
.is-invisible-touch
|
102
|
+
visibility: hidden !important
|
103
|
+
|
104
|
+
+desktop
|
105
|
+
.is-invisible-desktop
|
106
|
+
visibility: hidden !important
|
107
|
+
|
108
|
+
+desktop-only
|
109
|
+
.is-invisible-desktop-only
|
110
|
+
visibility: hidden !important
|
111
|
+
|
112
|
+
+widescreen
|
113
|
+
.is-invisible-widescreen
|
114
|
+
visibility: hidden !important
|
115
|
+
|
116
|
+
+widescreen-only
|
117
|
+
.is-invisible-widescreen-only
|
118
|
+
visibility: hidden !important
|
119
|
+
|
120
|
+
+fullhd
|
121
|
+
.is-invisible-fullhd
|
122
|
+
visibility: hidden !important
|
@@ -1,7 +1,12 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$hero-body-padding: 3rem 1.5rem !default
|
4
|
+
$hero-body-padding-tablet: 3rem 3rem !default
|
2
5
|
$hero-body-padding-small: 1.5rem !default
|
3
|
-
$hero-body-padding-medium: 9rem
|
4
|
-
$hero-body-padding-large: 18rem
|
6
|
+
$hero-body-padding-medium: 9rem 4.5rem !default
|
7
|
+
$hero-body-padding-large: 18rem 6rem !default
|
8
|
+
|
9
|
+
$hero-colors: $colors !default
|
5
10
|
|
6
11
|
// Main container
|
7
12
|
.hero
|
@@ -15,7 +20,7 @@ $hero-body-padding-large: 18rem 1.5rem !default
|
|
15
20
|
ul
|
16
21
|
border-bottom: none
|
17
22
|
// Colors
|
18
|
-
@each $name, $pair in $colors
|
23
|
+
@each $name, $pair in $hero-colors
|
19
24
|
$color: nth($pair, 1)
|
20
25
|
$color-invert: nth($pair, 2)
|
21
26
|
&.is-#{$name}
|
@@ -51,6 +56,7 @@ $hero-body-padding-large: 18rem 1.5rem !default
|
|
51
56
|
opacity: 1
|
52
57
|
li
|
53
58
|
&.is-active a
|
59
|
+
color: $color !important
|
54
60
|
opacity: 1
|
55
61
|
&.is-boxed,
|
56
62
|
&.is-toggle
|
@@ -130,7 +136,7 @@ $hero-body-padding-large: 18rem 1.5rem !default
|
|
130
136
|
display: flex
|
131
137
|
justify-content: center
|
132
138
|
.button:not(:last-child)
|
133
|
-
margin
|
139
|
+
+ltr-property("margin", 1.5rem)
|
134
140
|
|
135
141
|
// Containers
|
136
142
|
|
@@ -143,3 +149,5 @@ $hero-body-padding-large: 18rem 1.5rem !default
|
|
143
149
|
flex-grow: 1
|
144
150
|
flex-shrink: 0
|
145
151
|
padding: $hero-body-padding
|
152
|
+
+tablet
|
153
|
+
padding: $hero-body-padding-tablet
|
@@ -1,11 +1,15 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
1
3
|
$section-padding: 3rem 1.5rem !default
|
2
|
-
$section-padding-
|
3
|
-
$section-padding-
|
4
|
+
$section-padding-desktop: 3rem 3rem !default
|
5
|
+
$section-padding-medium: 9rem 4.5rem !default
|
6
|
+
$section-padding-large: 18rem 6rem !default
|
4
7
|
|
5
8
|
.section
|
6
9
|
padding: $section-padding
|
7
10
|
// Responsiveness
|
8
11
|
+desktop
|
12
|
+
padding: $section-padding-desktop
|
9
13
|
// Sizes
|
10
14
|
&.is-medium
|
11
15
|
padding: $section-padding-medium
|
@@ -1,8 +1,9 @@
|
|
1
|
+
/* Bulma Utilities */
|
1
2
|
@charset "utf-8"
|
2
3
|
|
3
|
-
@import "initial-variables
|
4
|
-
@import "functions
|
5
|
-
@import "derived-variables
|
6
|
-
@import "
|
7
|
-
@import "
|
8
|
-
@import "
|
4
|
+
@import "initial-variables"
|
5
|
+
@import "functions"
|
6
|
+
@import "derived-variables"
|
7
|
+
@import "mixins"
|
8
|
+
@import "controls"
|
9
|
+
@import "extends"
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import "derived-variables"
|
2
|
+
|
1
3
|
$control-radius: $radius !default
|
2
4
|
$control-radius-small: $radius-small !default
|
3
5
|
|
@@ -37,9 +39,6 @@ $control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default
|
|
37
39
|
fieldset[disabled] &
|
38
40
|
cursor: not-allowed
|
39
41
|
|
40
|
-
%control
|
41
|
-
+control
|
42
|
-
|
43
42
|
// The controls sizes use mixins so they can be used at different breakpoints
|
44
43
|
=control-small
|
45
44
|
border-radius: $control-radius-small
|
@@ -1,3 +1,6 @@
|
|
1
|
+
@import "initial-variables"
|
2
|
+
@import "functions"
|
3
|
+
|
1
4
|
$primary: $turquoise !default
|
2
5
|
|
3
6
|
$info: $cyan !default
|
@@ -62,7 +65,7 @@ $text-strong: $grey-darker !default
|
|
62
65
|
|
63
66
|
// Code colors
|
64
67
|
|
65
|
-
$code: $red !default
|
68
|
+
$code: darken($red, 15%) !default
|
66
69
|
$code-background: $background !default
|
67
70
|
|
68
71
|
$pre: $text !default
|
@@ -96,11 +99,16 @@ $size-normal: $size-6 !default
|
|
96
99
|
$size-medium: $size-5 !default
|
97
100
|
$size-large: $size-4 !default
|
98
101
|
|
102
|
+
// Effects
|
103
|
+
|
104
|
+
$shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
105
|
+
|
99
106
|
// Lists and maps
|
100
107
|
$custom-colors: null !default
|
101
108
|
$custom-shades: null !default
|
102
109
|
|
103
110
|
$colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert, $primary-light, $primary-dark), "link": ($link, $link-invert, $link-light, $link-dark), "info": ($info, $info-invert, $info-light, $info-dark), "success": ($success, $success-invert, $success-light, $success-dark), "warning": ($warning, $warning-invert, $warning-light, $warning-dark), "danger": ($danger, $danger-invert, $danger-light, $danger-dark)), $custom-colors) !default
|
111
|
+
|
104
112
|
$shades: mergeColorMaps(("black-bis": $black-bis, "black-ter": $black-ter, "grey-darker": $grey-darker, "grey-dark": $grey-dark, "grey": $grey, "grey-light": $grey-light, "grey-lighter": $grey-lighter, "white-ter": $white-ter, "white-bis": $white-bis), $custom-shades) !default
|
105
113
|
|
106
114
|
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
|
@@ -58,7 +58,7 @@
|
|
58
58
|
$value: $value * $number
|
59
59
|
@else if $exp < 0
|
60
60
|
@for $i from 1 through -$exp
|
61
|
-
$value: $value
|
61
|
+
$value: divide($value, $number)
|
62
62
|
@return $value
|
63
63
|
|
64
64
|
@function colorLuminance($color)
|
@@ -67,11 +67,11 @@
|
|
67
67
|
$color-rgb: ('red': red($color),'green': green($color),'blue': blue($color))
|
68
68
|
@each $name, $value in $color-rgb
|
69
69
|
$adjusted: 0
|
70
|
-
$value: $value
|
70
|
+
$value: divide($value, 255)
|
71
71
|
@if $value < 0.03928
|
72
|
-
$value: $value
|
72
|
+
$value: divide($value, 12.92)
|
73
73
|
@else
|
74
|
-
$value: ($value + .055)
|
74
|
+
$value: divide(($value + .055), 1.055)
|
75
75
|
$value: powerNumber($value, 2)
|
76
76
|
$color-rgb: map-merge($color-rgb, ($name: $value))
|
77
77
|
@return (map-get($color-rgb, 'red') * .2126) + (map-get($color-rgb, 'green') * .7152) + (map-get($color-rgb, 'blue') * .0722)
|
@@ -108,3 +108,29 @@
|
|
108
108
|
@if type-of($color) != 'color'
|
109
109
|
@return $color
|
110
110
|
@return darken($color, $amount)
|
111
|
+
|
112
|
+
@function bulmaLighten($color, $amount)
|
113
|
+
@if type-of($color) != 'color'
|
114
|
+
@return $color
|
115
|
+
@return lighten($color, $amount)
|
116
|
+
|
117
|
+
// Custom divide function by @mdo from https://github.com/twbs/bootstrap/pull/34245
|
118
|
+
// Replaces old slash division deprecated in Dart Sass
|
119
|
+
@function divide($dividend, $divisor, $precision: 10)
|
120
|
+
$sign: if($dividend > 0 and $divisor > 0, 1, -1)
|
121
|
+
$dividend: abs($dividend)
|
122
|
+
$divisor: abs($divisor)
|
123
|
+
$quotient: 0
|
124
|
+
$remainder: $dividend
|
125
|
+
@if $dividend == 0
|
126
|
+
@return 0
|
127
|
+
@if $divisor == 0
|
128
|
+
@error "Cannot divide by 0"
|
129
|
+
@if $divisor == 1
|
130
|
+
@return $dividend
|
131
|
+
@while $remainder >= $divisor
|
132
|
+
$quotient: $quotient + 1
|
133
|
+
$remainder: $remainder - $divisor
|
134
|
+
@if $remainder > 0 and $precision > 0
|
135
|
+
$remainder: divide($remainder * 10, $divisor, $precision - 1) * .1
|
136
|
+
@return ($quotient + $remainder) * $sign
|
@@ -16,11 +16,11 @@ $white-bis: hsl(0, 0%, 98%) !default
|
|
16
16
|
$white: hsl(0, 0%, 100%) !default
|
17
17
|
|
18
18
|
$orange: hsl(14, 100%, 53%) !default
|
19
|
-
$yellow: hsl(
|
20
|
-
$green: hsl(
|
19
|
+
$yellow: hsl(44, 100%, 77%) !default
|
20
|
+
$green: hsl(153, 53%, 53%) !default
|
21
21
|
$turquoise: hsl(171, 100%, 41%) !default
|
22
|
-
$cyan: hsl(
|
23
|
-
$blue: hsl(
|
22
|
+
$cyan: hsl(207, 61%, 53%) !default
|
23
|
+
$blue: hsl(229, 53%, 53%) !default
|
24
24
|
$purple: hsl(271, 100%, 71%) !default
|
25
25
|
$red: hsl(348, 86%, 61%) !default
|
26
26
|
|
@@ -69,9 +69,10 @@ $easing: ease-out !default
|
|
69
69
|
$radius-small: 2px !default
|
70
70
|
$radius: 4px !default
|
71
71
|
$radius-large: 6px !default
|
72
|
-
$radius-rounded:
|
72
|
+
$radius-rounded: 9999px !default
|
73
73
|
$speed: 86ms !default
|
74
74
|
|
75
75
|
// Flags
|
76
76
|
|
77
77
|
$variable-columns: true !default
|
78
|
+
$rtl: false !default
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import "
|
1
|
+
@import "derived-variables"
|
2
2
|
|
3
3
|
=clearfix
|
4
4
|
&::after
|
@@ -9,11 +9,11 @@
|
|
9
9
|
=center($width, $height: 0)
|
10
10
|
position: absolute
|
11
11
|
@if $height != 0
|
12
|
-
left: calc(50% - (#{$width}
|
13
|
-
top: calc(50% - (#{$height}
|
12
|
+
left: calc(50% - (#{$width} * 0.5))
|
13
|
+
top: calc(50% - (#{$height} * 0.5))
|
14
14
|
@else
|
15
|
-
left: calc(50% - (#{$width}
|
16
|
-
top: calc(50% - (#{$width}
|
15
|
+
left: calc(50% - (#{$width} * 0.5))
|
16
|
+
top: calc(50% - (#{$width} * 0.5))
|
17
17
|
|
18
18
|
=fa($size, $dimensions)
|
19
19
|
display: inline-block
|
@@ -68,6 +68,18 @@
|
|
68
68
|
&:#{$placeholder}-placeholder
|
69
69
|
@content
|
70
70
|
|
71
|
+
=reset
|
72
|
+
-moz-appearance: none
|
73
|
+
-webkit-appearance: none
|
74
|
+
appearance: none
|
75
|
+
background: none
|
76
|
+
border: none
|
77
|
+
color: currentColor
|
78
|
+
font-family: inherit
|
79
|
+
font-size: 1em
|
80
|
+
margin: 0
|
81
|
+
padding: 0
|
82
|
+
|
71
83
|
// Responsiveness
|
72
84
|
|
73
85
|
=from($device)
|
@@ -128,6 +140,30 @@
|
|
128
140
|
@media screen and (min-width: $fullhd)
|
129
141
|
@content
|
130
142
|
|
143
|
+
=ltr
|
144
|
+
@if not $rtl
|
145
|
+
@content
|
146
|
+
|
147
|
+
=rtl
|
148
|
+
@if $rtl
|
149
|
+
@content
|
150
|
+
|
151
|
+
=ltr-property($property, $spacing, $right: true)
|
152
|
+
$normal: if($right, "right", "left")
|
153
|
+
$opposite: if($right, "left", "right")
|
154
|
+
@if $rtl
|
155
|
+
#{$property}-#{$opposite}: $spacing
|
156
|
+
@else
|
157
|
+
#{$property}-#{$normal}: $spacing
|
158
|
+
|
159
|
+
=ltr-position($spacing, $right: true)
|
160
|
+
$normal: if($right, "right", "left")
|
161
|
+
$opposite: if($right, "left", "right")
|
162
|
+
@if $rtl
|
163
|
+
#{$opposite}: $spacing
|
164
|
+
@else
|
165
|
+
#{$normal}: $spacing
|
166
|
+
|
131
167
|
// Placeholders
|
132
168
|
|
133
169
|
=unselectable
|
@@ -137,9 +173,6 @@
|
|
137
173
|
-ms-user-select: none
|
138
174
|
user-select: none
|
139
175
|
|
140
|
-
%unselectable
|
141
|
-
+unselectable
|
142
|
-
|
143
176
|
=arrow($color: transparent)
|
144
177
|
border: 3px solid $color
|
145
178
|
border-radius: 2px
|
@@ -156,18 +189,12 @@
|
|
156
189
|
transform-origin: center
|
157
190
|
width: 0.625em
|
158
191
|
|
159
|
-
%arrow
|
160
|
-
+arrow
|
161
|
-
|
162
192
|
=block($spacing: $block-spacing)
|
163
193
|
&:not(:last-child)
|
164
194
|
margin-bottom: $spacing
|
165
195
|
|
166
|
-
%block
|
167
|
-
+block
|
168
|
-
|
169
196
|
=delete
|
170
|
-
|
197
|
+
+unselectable
|
171
198
|
-moz-appearance: none
|
172
199
|
-webkit-appearance: none
|
173
200
|
background-color: bulmaRgba($scheme-invert, 0.2)
|
@@ -232,9 +259,6 @@
|
|
232
259
|
min-width: 32px
|
233
260
|
width: 32px
|
234
261
|
|
235
|
-
%delete
|
236
|
-
+delete
|
237
|
-
|
238
262
|
=loader
|
239
263
|
animation: spinAround 500ms infinite linear
|
240
264
|
border: 2px solid $grey-lighter
|
@@ -247,9 +271,6 @@
|
|
247
271
|
position: relative
|
248
272
|
width: 1em
|
249
273
|
|
250
|
-
%loader
|
251
|
-
+loader
|
252
|
-
|
253
274
|
=overlay($offset: 0)
|
254
275
|
bottom: $offset
|
255
276
|
left: $offset
|
@@ -257,5 +278,3 @@
|
|
257
278
|
right: $offset
|
258
279
|
top: $offset
|
259
280
|
|
260
|
-
%overlay
|
261
|
-
+overlay
|
data/bulma-sass.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.bindir = "exe"
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
|
-
spec.add_runtime_dependency 'sass', '~> 3
|
22
|
+
spec.add_runtime_dependency 'sass', '~> 3'
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 2"
|
25
|
-
spec.add_development_dependency "rake", "
|
25
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
26
26
|
|
27
27
|
end
|
data/lib/bulma/sass/version.rb
CHANGED
data/release.sh
CHANGED
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.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bananaappletw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3
|
19
|
+
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3
|
26
|
+
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 12.3.3
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 12.3.3
|
55
55
|
description: Bulma, modern CSS framework based on Flexbox.
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- Rakefile
|
67
67
|
- app/assets/stylesheets/bulma.sass
|
68
68
|
- app/assets/stylesheets/sass/base/_all.sass
|
69
|
+
- app/assets/stylesheets/sass/base/animations.sass
|
69
70
|
- app/assets/stylesheets/sass/base/generic.sass
|
70
71
|
- app/assets/stylesheets/sass/base/helpers.sass
|
71
72
|
- app/assets/stylesheets/sass/base/minireset.sass
|
@@ -74,7 +75,6 @@ files:
|
|
74
75
|
- app/assets/stylesheets/sass/components/card.sass
|
75
76
|
- app/assets/stylesheets/sass/components/dropdown.sass
|
76
77
|
- app/assets/stylesheets/sass/components/level.sass
|
77
|
-
- app/assets/stylesheets/sass/components/list.sass
|
78
78
|
- app/assets/stylesheets/sass/components/media.sass
|
79
79
|
- app/assets/stylesheets/sass/components/menu.sass
|
80
80
|
- app/assets/stylesheets/sass/components/message.sass
|
@@ -107,6 +107,16 @@ files:
|
|
107
107
|
- app/assets/stylesheets/sass/grid/_all.sass
|
108
108
|
- app/assets/stylesheets/sass/grid/columns.sass
|
109
109
|
- app/assets/stylesheets/sass/grid/tiles.sass
|
110
|
+
- app/assets/stylesheets/sass/helpers/_all.sass
|
111
|
+
- app/assets/stylesheets/sass/helpers/color.sass
|
112
|
+
- app/assets/stylesheets/sass/helpers/flexbox.sass
|
113
|
+
- app/assets/stylesheets/sass/helpers/float.sass
|
114
|
+
- app/assets/stylesheets/sass/helpers/other.sass
|
115
|
+
- app/assets/stylesheets/sass/helpers/overflow.sass
|
116
|
+
- app/assets/stylesheets/sass/helpers/position.sass
|
117
|
+
- app/assets/stylesheets/sass/helpers/spacing.sass
|
118
|
+
- app/assets/stylesheets/sass/helpers/typography.sass
|
119
|
+
- app/assets/stylesheets/sass/helpers/visibility.sass
|
110
120
|
- app/assets/stylesheets/sass/layout/_all.sass
|
111
121
|
- app/assets/stylesheets/sass/layout/footer.sass
|
112
122
|
- app/assets/stylesheets/sass/layout/hero.sass
|
@@ -115,6 +125,7 @@ files:
|
|
115
125
|
- app/assets/stylesheets/sass/utilities/animations.sass
|
116
126
|
- app/assets/stylesheets/sass/utilities/controls.sass
|
117
127
|
- app/assets/stylesheets/sass/utilities/derived-variables.sass
|
128
|
+
- app/assets/stylesheets/sass/utilities/extends.sass
|
118
129
|
- app/assets/stylesheets/sass/utilities/functions.sass
|
119
130
|
- app/assets/stylesheets/sass/utilities/initial-variables.sass
|
120
131
|
- app/assets/stylesheets/sass/utilities/mixins.sass
|
@@ -1,39 +0,0 @@
|
|
1
|
-
$list-background-color: $scheme-main !default
|
2
|
-
$list-shadow: 0 2px 3px rgba($scheme-invert, 0.1), 0 0 0 1px rgba($scheme-invert, 0.1) !default
|
3
|
-
$list-radius: $radius !default
|
4
|
-
|
5
|
-
$list-item-border: 1px solid $border !default
|
6
|
-
$list-item-color: $text !default
|
7
|
-
$list-item-active-background-color: $link !default
|
8
|
-
$list-item-active-color: $link-invert !default
|
9
|
-
$list-item-hover-background-color: $background !default
|
10
|
-
|
11
|
-
.list
|
12
|
-
@extend %block
|
13
|
-
background-color: $list-background-color
|
14
|
-
border-radius: $list-radius
|
15
|
-
box-shadow: $list-shadow
|
16
|
-
// &.is-hoverable > .list-item:hover:not(.is-active)
|
17
|
-
// background-color: $list-item-hover-background-color
|
18
|
-
// cursor: pointer
|
19
|
-
|
20
|
-
.list-item
|
21
|
-
display: block
|
22
|
-
padding: 0.5em 1em
|
23
|
-
&:not(a)
|
24
|
-
color: $list-item-color
|
25
|
-
&:first-child
|
26
|
-
border-top-left-radius: $list-radius
|
27
|
-
border-top-right-radius: $list-radius
|
28
|
-
&:last-child
|
29
|
-
border-bottom-left-radius: $list-radius
|
30
|
-
border-bottom-right-radius: $list-radius
|
31
|
-
&:not(:last-child)
|
32
|
-
border-bottom: $list-item-border
|
33
|
-
&.is-active
|
34
|
-
background-color: $list-item-active-background-color
|
35
|
-
color: $list-item-active-color
|
36
|
-
|
37
|
-
a.list-item
|
38
|
-
background-color: $list-item-hover-background-color
|
39
|
-
cursor: pointer
|