bulma-rails 0.7.4 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/README.md +1 -1
- data/app/assets/stylesheets/bulma.sass +3 -1
- data/app/assets/stylesheets/sass/base/_all.sass +1 -1
- data/app/assets/stylesheets/sass/base/generic.sass +23 -10
- data/app/assets/stylesheets/sass/base/helpers.sass +1 -276
- data/app/assets/stylesheets/sass/base/minireset.sass +3 -8
- data/app/assets/stylesheets/sass/components/_all.sass +1 -1
- data/app/assets/stylesheets/sass/components/breadcrumb.sass +4 -4
- data/app/assets/stylesheets/sass/components/card.sass +19 -10
- data/app/assets/stylesheets/sass/components/dropdown.sass +15 -11
- data/app/assets/stylesheets/sass/components/level.sass +5 -3
- data/app/assets/stylesheets/sass/components/media.sass +14 -10
- data/app/assets/stylesheets/sass/components/menu.sass +16 -9
- data/app/assets/stylesheets/sass/components/message.sass +24 -11
- data/app/assets/stylesheets/sass/components/modal.sass +7 -5
- data/app/assets/stylesheets/sass/components/navbar.sass +43 -28
- data/app/assets/stylesheets/sass/components/pagination.sass +16 -10
- data/app/assets/stylesheets/sass/components/panel.sass +33 -15
- data/app/assets/stylesheets/sass/components/tabs.sass +36 -13
- data/app/assets/stylesheets/sass/elements/_all.sass +1 -1
- data/app/assets/stylesheets/sass/elements/box.sass +4 -4
- data/app/assets/stylesheets/sass/elements/button.sass +82 -32
- data/app/assets/stylesheets/sass/elements/container.sass +19 -17
- data/app/assets/stylesheets/sass/elements/content.sass +9 -5
- data/app/assets/stylesheets/sass/elements/form.sass +1 -602
- data/app/assets/stylesheets/sass/elements/image.sass +2 -0
- data/app/assets/stylesheets/sass/elements/notification.sass +19 -4
- data/app/assets/stylesheets/sass/elements/progress.sass +20 -14
- data/app/assets/stylesheets/sass/elements/table.sass +13 -8
- data/app/assets/stylesheets/sass/elements/tag.sass +34 -26
- data/app/assets/stylesheets/sass/elements/title.sass +9 -3
- data/app/assets/stylesheets/sass/form/_all.sass +9 -0
- data/app/assets/stylesheets/sass/form/checkbox-radio.sass +22 -0
- data/app/assets/stylesheets/sass/form/file.sass +182 -0
- data/app/assets/stylesheets/sass/form/input-textarea.sass +66 -0
- data/app/assets/stylesheets/sass/form/select.sass +87 -0
- data/app/assets/stylesheets/sass/form/shared.sass +57 -0
- data/app/assets/stylesheets/sass/form/tools.sass +215 -0
- data/app/assets/stylesheets/sass/grid/_all.sass +1 -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/helpers/_all.sass +12 -0
- data/app/assets/stylesheets/sass/helpers/color.sass +37 -0
- data/app/assets/stylesheets/sass/helpers/flexbox.sass +35 -0
- data/app/assets/stylesheets/sass/helpers/float.sass +8 -0
- data/app/assets/stylesheets/sass/helpers/other.sass +11 -0
- data/app/assets/stylesheets/sass/helpers/overflow.sass +2 -0
- data/app/assets/stylesheets/sass/helpers/position.sass +5 -0
- data/app/assets/stylesheets/sass/helpers/spacing.sass +31 -0
- data/app/assets/stylesheets/sass/helpers/typography.sass +98 -0
- data/app/assets/stylesheets/sass/helpers/visibility.sass +122 -0
- data/app/assets/stylesheets/sass/layout/_all.sass +1 -0
- data/app/assets/stylesheets/sass/layout/footer.sass +4 -1
- data/app/assets/stylesheets/sass/layout/hero.sass +26 -35
- data/app/assets/stylesheets/sass/utilities/_all.sass +1 -0
- data/app/assets/stylesheets/sass/utilities/controls.sass +3 -3
- data/app/assets/stylesheets/sass/utilities/derived-variables.sass +32 -10
- data/app/assets/stylesheets/sass/utilities/functions.sass +68 -15
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +10 -4
- data/app/assets/stylesheets/sass/utilities/mixins.sass +31 -7
- data/bulma-rails.gemspec +2 -2
- metadata +23 -7
- data/app/assets/stylesheets/sass/components/list.sass +0 -39
@@ -3,11 +3,11 @@ $control-radius-small: $radius-small !default
|
|
3
3
|
|
4
4
|
$control-border-width: 1px !default
|
5
5
|
|
6
|
-
$control-height: 2.
|
6
|
+
$control-height: 2.5em !default
|
7
7
|
$control-line-height: 1.5 !default
|
8
8
|
|
9
|
-
$control-padding-vertical: calc(0.
|
10
|
-
$control-padding-horizontal: calc(0.
|
9
|
+
$control-padding-vertical: calc(0.5em - #{$control-border-width}) !default
|
10
|
+
$control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default
|
11
11
|
|
12
12
|
=control
|
13
13
|
-moz-appearance: none
|
@@ -19,20 +19,39 @@ $blue-invert: findColorInvert($blue) !default
|
|
19
19
|
$purple-invert: findColorInvert($purple) !default
|
20
20
|
$red-invert: findColorInvert($red) !default
|
21
21
|
|
22
|
-
$primary-invert: $
|
23
|
-
$
|
24
|
-
$
|
25
|
-
$
|
26
|
-
$
|
27
|
-
$
|
28
|
-
$
|
22
|
+
$primary-invert: findColorInvert($primary) !default
|
23
|
+
$primary-light: findLightColor($primary) !default
|
24
|
+
$primary-dark: findDarkColor($primary) !default
|
25
|
+
$info-invert: findColorInvert($info) !default
|
26
|
+
$info-light: findLightColor($info) !default
|
27
|
+
$info-dark: findDarkColor($info) !default
|
28
|
+
$success-invert: findColorInvert($success) !default
|
29
|
+
$success-light: findLightColor($success) !default
|
30
|
+
$success-dark: findDarkColor($success) !default
|
31
|
+
$warning-invert: findColorInvert($warning) !default
|
32
|
+
$warning-light: findLightColor($warning) !default
|
33
|
+
$warning-dark: findDarkColor($warning) !default
|
34
|
+
$danger-invert: findColorInvert($danger) !default
|
35
|
+
$danger-light: findLightColor($danger) !default
|
36
|
+
$danger-dark: findDarkColor($danger) !default
|
37
|
+
$light-invert: findColorInvert($light) !default
|
38
|
+
$dark-invert: findColorInvert($dark) !default
|
29
39
|
|
30
40
|
// General colors
|
31
41
|
|
42
|
+
$scheme-main: $white !default
|
43
|
+
$scheme-main-bis: $white-bis !default
|
44
|
+
$scheme-main-ter: $white-ter !default
|
45
|
+
$scheme-invert: $black !default
|
46
|
+
$scheme-invert-bis: $black-bis !default
|
47
|
+
$scheme-invert-ter: $black-ter !default
|
48
|
+
|
32
49
|
$background: $white-ter !default
|
33
50
|
|
34
51
|
$border: $grey-lighter !default
|
35
52
|
$border-hover: $grey-light !default
|
53
|
+
$border-light: $grey-lightest !default
|
54
|
+
$border-light-hover: $grey-light !default
|
36
55
|
|
37
56
|
// Text colors
|
38
57
|
|
@@ -43,7 +62,7 @@ $text-strong: $grey-darker !default
|
|
43
62
|
|
44
63
|
// Code colors
|
45
64
|
|
46
|
-
$code: $red !default
|
65
|
+
$code: darken($red, 15%) !default
|
47
66
|
$code-background: $background !default
|
48
67
|
|
49
68
|
$pre: $text !default
|
@@ -52,7 +71,9 @@ $pre-background: $background !default
|
|
52
71
|
// Link colors
|
53
72
|
|
54
73
|
$link: $blue !default
|
55
|
-
$link-invert: $
|
74
|
+
$link-invert: findColorInvert($link) !default
|
75
|
+
$link-light: findLightColor($link) !default
|
76
|
+
$link-dark: findDarkColor($link) !default
|
56
77
|
$link-visited: $purple !default
|
57
78
|
|
58
79
|
$link-hover: $grey-darker !default
|
@@ -79,7 +100,8 @@ $size-large: $size-4 !default
|
|
79
100
|
$custom-colors: null !default
|
80
101
|
$custom-shades: null !default
|
81
102
|
|
82
|
-
$colors: mergeColorMaps(("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "link": ($link, $link-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)), $custom-colors) !default
|
103
|
+
$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
|
104
|
+
|
83
105
|
$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
|
84
106
|
|
85
107
|
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 $size-7 !default
|
@@ -1,34 +1,53 @@
|
|
1
1
|
@function mergeColorMaps($bulma-colors, $custom-colors)
|
2
|
-
//
|
2
|
+
// We return at least Bulma's hard-coded colors
|
3
3
|
$merged-colors: $bulma-colors
|
4
4
|
|
5
|
-
//
|
5
|
+
// We want a map as input
|
6
6
|
@if type-of($custom-colors) == 'map'
|
7
7
|
@each $name, $components in $custom-colors
|
8
|
-
// color name should be a string
|
8
|
+
// The color name should be a string
|
9
|
+
// and the components either a single color
|
10
|
+
// or a colors list with at least one element
|
9
11
|
@if type-of($name) == 'string' and (type-of($components) == 'list' or type-of($components) == 'color') and length($components) >= 1
|
10
12
|
$color-base: null
|
13
|
+
$color-invert: null
|
14
|
+
$color-light: null
|
15
|
+
$color-dark: null
|
16
|
+
$value: null
|
11
17
|
|
12
|
-
//
|
18
|
+
// The param can either be a single color
|
13
19
|
// or a list of 2 colors
|
14
20
|
@if type-of($components) == 'color'
|
15
21
|
$color-base: $components
|
22
|
+
$color-invert: findColorInvert($color-base)
|
23
|
+
$color-light: findLightColor($color-base)
|
24
|
+
$color-dark: findDarkColor($color-base)
|
16
25
|
@else if type-of($components) == 'list'
|
17
26
|
$color-base: nth($components, 1)
|
27
|
+
// If Invert, Light and Dark are provided
|
28
|
+
@if length($components) > 3
|
29
|
+
$color-invert: nth($components, 2)
|
30
|
+
$color-light: nth($components, 3)
|
31
|
+
$color-dark: nth($components, 4)
|
32
|
+
// If only Invert and Light are provided
|
33
|
+
@else if length($components) > 2
|
34
|
+
$color-invert: nth($components, 2)
|
35
|
+
$color-light: nth($components, 3)
|
36
|
+
$color-dark: findDarkColor($color-base)
|
37
|
+
// If only Invert is provided
|
38
|
+
@else
|
39
|
+
$color-invert: nth($components, 2)
|
40
|
+
$color-light: findLightColor($color-base)
|
41
|
+
$color-dark: findDarkColor($color-base)
|
18
42
|
|
19
|
-
$color-invert
|
20
|
-
// is an inverted color provided in the list
|
21
|
-
@if length($components) > 1
|
22
|
-
$color-invert: nth($components, 2)
|
43
|
+
$value: ($color-base, $color-invert, $color-light, $color-dark)
|
23
44
|
|
24
|
-
//
|
45
|
+
// We only want to merge the map if the color base is an actual color
|
25
46
|
@if type-of($color-base) == 'color'
|
26
|
-
//
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
// we merge this colors elements as map with bulma colors (we can override them this way, no multiple definition for the same name)
|
31
|
-
$merged-colors: map_merge($merged-colors, ($name: ($color-base, $color-invert)))
|
47
|
+
// We merge this colors elements as map with Bulma's colors map
|
48
|
+
// (we can override them this way, no multiple definition for the same name)
|
49
|
+
// $merged-colors: map_merge($merged-colors, ($name: ($color-base, $color-invert, $color-light, $color-dark)))
|
50
|
+
$merged-colors: map_merge($merged-colors, ($name: $value))
|
32
51
|
|
33
52
|
@return $merged-colors
|
34
53
|
|
@@ -43,6 +62,8 @@
|
|
43
62
|
@return $value
|
44
63
|
|
45
64
|
@function colorLuminance($color)
|
65
|
+
@if type-of($color) != 'color'
|
66
|
+
@return 0.55
|
46
67
|
$color-rgb: ('red': red($color),'green': green($color),'blue': blue($color))
|
47
68
|
@each $name, $value in $color-rgb
|
48
69
|
$adjusted: 0
|
@@ -60,3 +81,35 @@
|
|
60
81
|
@return rgba(#000, 0.7)
|
61
82
|
@else
|
62
83
|
@return #fff
|
84
|
+
|
85
|
+
@function findLightColor($color)
|
86
|
+
@if type-of($color) == 'color'
|
87
|
+
$l: 96%
|
88
|
+
@if lightness($color) > 96%
|
89
|
+
$l: lightness($color)
|
90
|
+
@return change-color($color, $lightness: $l)
|
91
|
+
@return $background
|
92
|
+
|
93
|
+
@function findDarkColor($color)
|
94
|
+
@if type-of($color) == 'color'
|
95
|
+
$base-l: 29%
|
96
|
+
$luminance: colorLuminance($color)
|
97
|
+
$luminance-delta: (0.53 - $luminance)
|
98
|
+
$target-l: round($base-l + ($luminance-delta * 53))
|
99
|
+
@return change-color($color, $lightness: max($base-l, $target-l))
|
100
|
+
@return $text-strong
|
101
|
+
|
102
|
+
@function bulmaRgba($color, $alpha)
|
103
|
+
@if type-of($color) != 'color'
|
104
|
+
@return $color
|
105
|
+
@return rgba($color, $alpha)
|
106
|
+
|
107
|
+
@function bulmaDarken($color, $amount)
|
108
|
+
@if type-of($color) != 'color'
|
109
|
+
@return $color
|
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)
|
@@ -9,6 +9,7 @@ $grey-dark: hsl(0, 0%, 29%) !default
|
|
9
9
|
$grey: hsl(0, 0%, 48%) !default
|
10
10
|
$grey-light: hsl(0, 0%, 71%) !default
|
11
11
|
$grey-lighter: hsl(0, 0%, 86%) !default
|
12
|
+
$grey-lightest: hsl(0, 0%, 93%) !default
|
12
13
|
|
13
14
|
$white-ter: hsl(0, 0%, 96%) !default
|
14
15
|
$white-bis: hsl(0, 0%, 98%) !default
|
@@ -16,12 +17,12 @@ $white: hsl(0, 0%, 100%) !default
|
|
16
17
|
|
17
18
|
$orange: hsl(14, 100%, 53%) !default
|
18
19
|
$yellow: hsl(48, 100%, 67%) !default
|
19
|
-
$green: hsl(141,
|
20
|
+
$green: hsl(141, 53%, 53%) !default
|
20
21
|
$turquoise: hsl(171, 100%, 41%) !default
|
21
|
-
$cyan: hsl(204,
|
22
|
+
$cyan: hsl(204, 71%, 53%) !default
|
22
23
|
$blue: hsl(217, 71%, 53%) !default
|
23
24
|
$purple: hsl(271, 100%, 71%) !default
|
24
|
-
$red: hsl(348,
|
25
|
+
$red: hsl(348, 86%, 61%) !default
|
25
26
|
|
26
27
|
// Typography
|
27
28
|
|
@@ -43,10 +44,14 @@ $weight-medium: 500 !default
|
|
43
44
|
$weight-semibold: 600 !default
|
44
45
|
$weight-bold: 700 !default
|
45
46
|
|
47
|
+
// Spacing
|
48
|
+
|
49
|
+
$block-spacing: 1.5rem !default
|
50
|
+
|
46
51
|
// Responsiveness
|
47
52
|
|
48
53
|
// The container horizontal gap, which acts as the offset for breakpoints
|
49
|
-
$gap:
|
54
|
+
$gap: 32px !default
|
50
55
|
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
51
56
|
$tablet: 769px !default
|
52
57
|
// 960px container + 4rem
|
@@ -70,3 +75,4 @@ $speed: 86ms !default
|
|
70
75
|
// Flags
|
71
76
|
|
72
77
|
$variable-columns: true !default
|
78
|
+
$rtl: false !default
|
@@ -48,7 +48,7 @@
|
|
48
48
|
&:nth-child(3)
|
49
49
|
top: calc(50% + 4px)
|
50
50
|
&:hover
|
51
|
-
background-color:
|
51
|
+
background-color: bulmaRgba(black, 0.05)
|
52
52
|
// Modifers
|
53
53
|
&.is-active
|
54
54
|
span
|
@@ -128,6 +128,30 @@
|
|
128
128
|
@media screen and (min-width: $fullhd)
|
129
129
|
@content
|
130
130
|
|
131
|
+
=ltr
|
132
|
+
@if not $rtl
|
133
|
+
@content
|
134
|
+
|
135
|
+
=rtl
|
136
|
+
@if $rtl
|
137
|
+
@content
|
138
|
+
|
139
|
+
=ltr-property($property, $spacing, $right: true)
|
140
|
+
$normal: if($right, "right", "left")
|
141
|
+
$opposite: if($right, "left", "right")
|
142
|
+
@if $rtl
|
143
|
+
#{$property}-#{$opposite}: $spacing
|
144
|
+
@else
|
145
|
+
#{$property}-#{$normal}: $spacing
|
146
|
+
|
147
|
+
=ltr-position($spacing, $right: true)
|
148
|
+
$normal: if($right, "right", "left")
|
149
|
+
$opposite: if($right, "left", "right")
|
150
|
+
@if $rtl
|
151
|
+
#{$opposite}: $spacing
|
152
|
+
@else
|
153
|
+
#{$normal}: $spacing
|
154
|
+
|
131
155
|
// Placeholders
|
132
156
|
|
133
157
|
=unselectable
|
@@ -159,9 +183,9 @@
|
|
159
183
|
%arrow
|
160
184
|
+arrow
|
161
185
|
|
162
|
-
=block
|
186
|
+
=block($spacing: $block-spacing)
|
163
187
|
&:not(:last-child)
|
164
|
-
margin-bottom:
|
188
|
+
margin-bottom: $spacing
|
165
189
|
|
166
190
|
%block
|
167
191
|
+block
|
@@ -170,7 +194,7 @@
|
|
170
194
|
@extend %unselectable
|
171
195
|
-moz-appearance: none
|
172
196
|
-webkit-appearance: none
|
173
|
-
background-color:
|
197
|
+
background-color: bulmaRgba($scheme-invert, 0.2)
|
174
198
|
border: none
|
175
199
|
border-radius: $radius-rounded
|
176
200
|
cursor: pointer
|
@@ -190,7 +214,7 @@
|
|
190
214
|
width: 20px
|
191
215
|
&::before,
|
192
216
|
&::after
|
193
|
-
background-color: $
|
217
|
+
background-color: $scheme-main
|
194
218
|
content: ""
|
195
219
|
display: block
|
196
220
|
left: 50%
|
@@ -206,9 +230,9 @@
|
|
206
230
|
width: 2px
|
207
231
|
&:hover,
|
208
232
|
&:focus
|
209
|
-
background-color:
|
233
|
+
background-color: bulmaRgba($scheme-invert, 0.3)
|
210
234
|
&:active
|
211
|
-
background-color:
|
235
|
+
background-color: bulmaRgba($scheme-invert, 0.4)
|
212
236
|
// Sizes
|
213
237
|
&.is-small
|
214
238
|
height: 16px
|
data/bulma-rails.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'bulma-rails'
|
5
|
-
gem.version = '0.
|
5
|
+
gem.version = '0.9.1'
|
6
6
|
gem.authors = ["Joshua Jansen"]
|
7
7
|
gem.email = ["joshuajansen88@gmail.com"]
|
8
8
|
gem.description = %q{A modern CSS framework based on Flexbox}
|
@@ -13,5 +13,5 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.require_paths = ["lib"]
|
14
14
|
gem.license = 'MIT'
|
15
15
|
|
16
|
-
gem.add_runtime_dependency '
|
16
|
+
gem.add_runtime_dependency 'sassc', '~> 2.0'
|
17
17
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulma-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Jansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: sassc
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
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: '
|
26
|
+
version: '2.0'
|
27
27
|
description: A modern CSS framework based on Flexbox
|
28
28
|
email:
|
29
29
|
- joshuajansen88@gmail.com
|
@@ -43,7 +43,6 @@ files:
|
|
43
43
|
- app/assets/stylesheets/sass/components/card.sass
|
44
44
|
- app/assets/stylesheets/sass/components/dropdown.sass
|
45
45
|
- app/assets/stylesheets/sass/components/level.sass
|
46
|
-
- app/assets/stylesheets/sass/components/list.sass
|
47
46
|
- app/assets/stylesheets/sass/components/media.sass
|
48
47
|
- app/assets/stylesheets/sass/components/menu.sass
|
49
48
|
- app/assets/stylesheets/sass/components/message.sass
|
@@ -66,9 +65,26 @@ files:
|
|
66
65
|
- app/assets/stylesheets/sass/elements/table.sass
|
67
66
|
- app/assets/stylesheets/sass/elements/tag.sass
|
68
67
|
- app/assets/stylesheets/sass/elements/title.sass
|
68
|
+
- app/assets/stylesheets/sass/form/_all.sass
|
69
|
+
- app/assets/stylesheets/sass/form/checkbox-radio.sass
|
70
|
+
- app/assets/stylesheets/sass/form/file.sass
|
71
|
+
- app/assets/stylesheets/sass/form/input-textarea.sass
|
72
|
+
- app/assets/stylesheets/sass/form/select.sass
|
73
|
+
- app/assets/stylesheets/sass/form/shared.sass
|
74
|
+
- app/assets/stylesheets/sass/form/tools.sass
|
69
75
|
- app/assets/stylesheets/sass/grid/_all.sass
|
70
76
|
- app/assets/stylesheets/sass/grid/columns.sass
|
71
77
|
- app/assets/stylesheets/sass/grid/tiles.sass
|
78
|
+
- app/assets/stylesheets/sass/helpers/_all.sass
|
79
|
+
- app/assets/stylesheets/sass/helpers/color.sass
|
80
|
+
- app/assets/stylesheets/sass/helpers/flexbox.sass
|
81
|
+
- app/assets/stylesheets/sass/helpers/float.sass
|
82
|
+
- app/assets/stylesheets/sass/helpers/other.sass
|
83
|
+
- app/assets/stylesheets/sass/helpers/overflow.sass
|
84
|
+
- app/assets/stylesheets/sass/helpers/position.sass
|
85
|
+
- app/assets/stylesheets/sass/helpers/spacing.sass
|
86
|
+
- app/assets/stylesheets/sass/helpers/typography.sass
|
87
|
+
- app/assets/stylesheets/sass/helpers/visibility.sass
|
72
88
|
- app/assets/stylesheets/sass/layout/_all.sass
|
73
89
|
- app/assets/stylesheets/sass/layout/footer.sass
|
74
90
|
- app/assets/stylesheets/sass/layout/hero.sass
|
@@ -101,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
117
|
- !ruby/object:Gem::Version
|
102
118
|
version: '0'
|
103
119
|
requirements: []
|
104
|
-
rubygems_version: 3.0.
|
120
|
+
rubygems_version: 3.0.3
|
105
121
|
signing_key:
|
106
122
|
specification_version: 4
|
107
123
|
summary: This gem adds the bulma.io assets to your asset pipeline so you can import
|
@@ -1,39 +0,0 @@
|
|
1
|
-
$list-background-color: $white !default
|
2
|
-
$list-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 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-top-left-radius: $list-radius
|
30
|
-
border-top-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
|