bulma-rails 0.4.1.pre → 0.4.2
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/README.md +1 -1
- data/app/assets/stylesheets/bulma.sass +1 -1
- data/app/assets/stylesheets/sass/base/_all.sass +0 -0
- data/app/assets/stylesheets/sass/base/generic.sass +0 -0
- data/app/assets/stylesheets/sass/base/helpers.sass +0 -0
- data/app/assets/stylesheets/sass/base/minireset.sass +0 -0
- data/app/assets/stylesheets/sass/components/_all.sass +0 -0
- data/app/assets/stylesheets/sass/components/card.sass +0 -0
- data/app/assets/stylesheets/sass/components/level.sass +0 -0
- data/app/assets/stylesheets/sass/components/media.sass +0 -0
- data/app/assets/stylesheets/sass/components/menu.sass +0 -0
- data/app/assets/stylesheets/sass/components/message.sass +0 -0
- data/app/assets/stylesheets/sass/components/modal.sass +1 -1
- data/app/assets/stylesheets/sass/components/nav.sass +7 -3
- data/app/assets/stylesheets/sass/components/pagination.sass +5 -14
- data/app/assets/stylesheets/sass/components/panel.sass +0 -0
- data/app/assets/stylesheets/sass/components/tabs.sass +1 -0
- data/app/assets/stylesheets/sass/elements/_all.sass +0 -0
- data/app/assets/stylesheets/sass/elements/box.sass +0 -0
- data/app/assets/stylesheets/sass/elements/button.sass +11 -1
- data/app/assets/stylesheets/sass/elements/content.sass +0 -0
- data/app/assets/stylesheets/sass/elements/form.sass +59 -13
- data/app/assets/stylesheets/sass/elements/icon.sass +0 -0
- data/app/assets/stylesheets/sass/elements/image.sass +0 -0
- data/app/assets/stylesheets/sass/elements/notification.sass +0 -0
- data/app/assets/stylesheets/sass/elements/other.sass +0 -0
- data/app/assets/stylesheets/sass/elements/progress.sass +0 -0
- data/app/assets/stylesheets/sass/elements/table.sass +15 -1
- data/app/assets/stylesheets/sass/elements/tag.sass +0 -1
- data/app/assets/stylesheets/sass/elements/title.sass +2 -2
- data/app/assets/stylesheets/sass/grid/_all.sass +0 -0
- data/app/assets/stylesheets/sass/grid/columns.sass +0 -0
- data/app/assets/stylesheets/sass/grid/tiles.sass +0 -0
- data/app/assets/stylesheets/sass/layout/_all.sass +0 -0
- data/app/assets/stylesheets/sass/layout/footer.sass +0 -0
- data/app/assets/stylesheets/sass/layout/hero.sass +0 -0
- data/app/assets/stylesheets/sass/layout/section.sass +0 -0
- data/app/assets/stylesheets/sass/utilities/_all.sass +2 -1
- data/app/assets/stylesheets/sass/utilities/animations.sass +0 -0
- data/app/assets/stylesheets/sass/utilities/controls.sass +8 -5
- data/app/assets/stylesheets/sass/utilities/derived-variables.sass +80 -0
- data/app/assets/stylesheets/sass/utilities/functions.sass +0 -0
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +66 -0
- data/app/assets/stylesheets/sass/utilities/mixins.sass +6 -0
- data/app/assets/stylesheets/sass/utilities/variables.sass +6 -7
- data/bulma-rails.gemspec +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 63031c5b67fe906b4ece2c285933cd1896574586
|
|
4
|
+
data.tar.gz: cc9d9dda4cfcd250481fafdc4e9d50c5f1a157c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19b09662db1036c41b1bd6c76fad8ee951c2e40684f49ca7a8c60d60c01d540fce5967c20628cecb6da997db5fb717d92d34339b2e5ea24968918f13f9e07d43
|
|
7
|
+
data.tar.gz: 10682b3ed37bb55e4fe1715287055695811481cea6a55cc8066ded953bf5f4e9b118263bd5c0dd06b944aaa6a46e25106b3d30eb59ed844e82cb3130c8201284
|
data/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -62,11 +62,15 @@ a.nav-item
|
|
|
62
62
|
|
|
63
63
|
.nav-left,
|
|
64
64
|
.nav-right
|
|
65
|
+
+overflow-touch
|
|
65
66
|
align-items: stretch
|
|
66
67
|
display: flex
|
|
67
|
-
flex-basis: 0
|
|
68
68
|
flex-grow: 1
|
|
69
69
|
flex-shrink: 0
|
|
70
|
+
max-width: 100%
|
|
71
|
+
overflow: auto
|
|
72
|
+
+widescreen
|
|
73
|
+
flex-basis: 0
|
|
70
74
|
|
|
71
75
|
.nav-left
|
|
72
76
|
justify-content: flex-start
|
|
@@ -107,10 +111,10 @@ a.nav-item
|
|
|
107
111
|
align-items: stretch
|
|
108
112
|
background-color: $white
|
|
109
113
|
display: flex
|
|
110
|
-
|
|
114
|
+
height: $nav-height
|
|
111
115
|
position: relative
|
|
112
116
|
text-align: center
|
|
113
|
-
z-index:
|
|
117
|
+
z-index: 10
|
|
114
118
|
& > .container
|
|
115
119
|
align-items: stretch
|
|
116
120
|
display: flex
|
|
@@ -25,6 +25,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
25
25
|
|
|
26
26
|
.pagination
|
|
27
27
|
font-size: $size-normal
|
|
28
|
+
margin: -0.25rem
|
|
28
29
|
// Sizes
|
|
29
30
|
&.is-small
|
|
30
31
|
font-size: $size-small
|
|
@@ -50,12 +51,13 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
50
51
|
padding-left: 0.5em
|
|
51
52
|
padding-right: 0.5em
|
|
52
53
|
justify-content: center
|
|
54
|
+
margin: 0.25rem
|
|
53
55
|
text-align: center
|
|
54
56
|
|
|
55
57
|
.pagination-previous,
|
|
56
58
|
.pagination-next,
|
|
57
59
|
.pagination-link
|
|
58
|
-
border:
|
|
60
|
+
border-color: $pagination-border
|
|
59
61
|
min-width: 2.25em
|
|
60
62
|
&:hover
|
|
61
63
|
border-color: $pagination-hover-border
|
|
@@ -75,6 +77,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
75
77
|
.pagination-next
|
|
76
78
|
padding-left: 0.75em
|
|
77
79
|
padding-right: 0.75em
|
|
80
|
+
white-space: nowrap
|
|
78
81
|
|
|
79
82
|
.pagination-link
|
|
80
83
|
&.is-current
|
|
@@ -87,9 +90,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
87
90
|
pointer-events: none
|
|
88
91
|
|
|
89
92
|
.pagination-list
|
|
90
|
-
|
|
91
|
-
&:not(:first-child)
|
|
92
|
-
margin-left: 0.375rem
|
|
93
|
+
flex-wrap: wrap
|
|
93
94
|
|
|
94
95
|
+mobile
|
|
95
96
|
.pagination
|
|
@@ -98,11 +99,7 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
98
99
|
.pagination-next
|
|
99
100
|
flex-grow: 1
|
|
100
101
|
flex-shrink: 1
|
|
101
|
-
width: calc(50% - 0.375rem)
|
|
102
|
-
.pagination-next
|
|
103
|
-
margin-left: 0.75rem
|
|
104
102
|
.pagination-list
|
|
105
|
-
margin-top: 0.75rem
|
|
106
103
|
li
|
|
107
104
|
flex-grow: 1
|
|
108
105
|
flex-shrink: 1
|
|
@@ -113,9 +110,6 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
113
110
|
flex-shrink: 1
|
|
114
111
|
justify-content: flex-start
|
|
115
112
|
order: 1
|
|
116
|
-
.pagination-previous,
|
|
117
|
-
.pagination-next
|
|
118
|
-
margin-left: 0.75rem
|
|
119
113
|
.pagination-previous
|
|
120
114
|
order: 2
|
|
121
115
|
.pagination-next
|
|
@@ -124,7 +118,6 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
124
118
|
justify-content: space-between
|
|
125
119
|
&.is-centered
|
|
126
120
|
.pagination-previous
|
|
127
|
-
margin-left: 0
|
|
128
121
|
order: 1
|
|
129
122
|
.pagination-list
|
|
130
123
|
justify-content: center
|
|
@@ -133,11 +126,9 @@ $pagination-shadow-inset: inset 0 1px 2px rgba($black, 0.2)
|
|
|
133
126
|
order: 3
|
|
134
127
|
&.is-right
|
|
135
128
|
.pagination-previous
|
|
136
|
-
margin-left: 0
|
|
137
129
|
order: 1
|
|
138
130
|
.pagination-next
|
|
139
131
|
order: 2
|
|
140
|
-
margin-right: 0.75rem
|
|
141
132
|
.pagination-list
|
|
142
133
|
justify-content: flex-end
|
|
143
134
|
order: 3
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,6 +11,10 @@ $button-focus-border: $link-focus-border !default
|
|
|
11
11
|
$button-active: $link-active !default
|
|
12
12
|
$button-active-border: $link-active-border !default
|
|
13
13
|
|
|
14
|
+
$button-static: $grey !default
|
|
15
|
+
$button-static-background: $white-ter !default
|
|
16
|
+
$button-static-border: $grey-lighter !default
|
|
17
|
+
|
|
14
18
|
$button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
|
|
15
19
|
|
|
16
20
|
// The button sizes use mixins so they can be used at different breakpoints
|
|
@@ -26,7 +30,7 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
|
|
|
26
30
|
+control
|
|
27
31
|
+unselectable
|
|
28
32
|
background-color: $button-background
|
|
29
|
-
border:
|
|
33
|
+
border-color: $button-border
|
|
30
34
|
color: $button
|
|
31
35
|
cursor: pointer
|
|
32
36
|
justify-content: center
|
|
@@ -178,6 +182,12 @@ $button-shadow-inset: inset 0 1px 2px rgba($black, 0.2) !default
|
|
|
178
182
|
+loader
|
|
179
183
|
+center(1em)
|
|
180
184
|
position: absolute !important
|
|
185
|
+
&.is-static
|
|
186
|
+
background-color: $button-static-background
|
|
187
|
+
border-color: $button-static-border
|
|
188
|
+
color: $button-static
|
|
189
|
+
box-shadow: none
|
|
190
|
+
pointer-events: none
|
|
181
191
|
|
|
182
192
|
// Adjustment for vertical spacing
|
|
183
193
|
button.button,
|
|
File without changes
|
|
@@ -22,7 +22,7 @@ $input-radius: $radius !default
|
|
|
22
22
|
=input
|
|
23
23
|
+control
|
|
24
24
|
background-color: $input-background
|
|
25
|
-
border:
|
|
25
|
+
border-color: $input-border
|
|
26
26
|
color: $input
|
|
27
27
|
&:hover,
|
|
28
28
|
&.is-hovered
|
|
@@ -79,17 +79,12 @@ $input-radius: $radius !default
|
|
|
79
79
|
|
|
80
80
|
.checkbox,
|
|
81
81
|
.radio
|
|
82
|
-
align-items: center
|
|
83
82
|
cursor: pointer
|
|
84
|
-
display: inline-
|
|
85
|
-
|
|
86
|
-
justify-content: flex-start
|
|
87
|
-
line-height: 1.5
|
|
83
|
+
display: inline-block
|
|
84
|
+
line-height: 1.25
|
|
88
85
|
position: relative
|
|
89
|
-
vertical-align: top
|
|
90
86
|
input
|
|
91
87
|
cursor: pointer
|
|
92
|
-
margin-right: 0.5em
|
|
93
88
|
&:hover
|
|
94
89
|
color: $input-hover
|
|
95
90
|
&[disabled]
|
|
@@ -103,6 +98,7 @@ $input-radius: $radius !default
|
|
|
103
98
|
.select
|
|
104
99
|
display: inline-block
|
|
105
100
|
height: 2.25em
|
|
101
|
+
max-width: 100%
|
|
106
102
|
position: relative
|
|
107
103
|
vertical-align: top
|
|
108
104
|
&:after
|
|
@@ -116,12 +112,15 @@ $input-radius: $radius !default
|
|
|
116
112
|
cursor: pointer
|
|
117
113
|
display: block
|
|
118
114
|
font-size: 1em
|
|
115
|
+
max-width: 100%
|
|
119
116
|
outline: none
|
|
120
117
|
padding-right: 2.5em
|
|
121
118
|
&:hover
|
|
122
119
|
border-color: $input-hover-border
|
|
123
120
|
&::-ms-expand
|
|
124
121
|
display: none
|
|
122
|
+
&[disabled]:hover
|
|
123
|
+
border-color: $input-disabled-border
|
|
125
124
|
// States
|
|
126
125
|
&:hover
|
|
127
126
|
&:after
|
|
@@ -139,10 +138,21 @@ $input-radius: $radius !default
|
|
|
139
138
|
&.is-large
|
|
140
139
|
+control-large
|
|
141
140
|
// Modifiers
|
|
141
|
+
&.is-disabled
|
|
142
|
+
&:after
|
|
143
|
+
border-color: $input-disabled
|
|
142
144
|
&.is-fullwidth
|
|
143
145
|
width: 100%
|
|
144
146
|
select
|
|
145
147
|
width: 100%
|
|
148
|
+
&.is-loading
|
|
149
|
+
&:after
|
|
150
|
+
+loader
|
|
151
|
+
margin-top: 0
|
|
152
|
+
position: absolute
|
|
153
|
+
right: 0.625em
|
|
154
|
+
top: 0.625em
|
|
155
|
+
transform: none
|
|
146
156
|
|
|
147
157
|
.label
|
|
148
158
|
color: $input
|
|
@@ -151,6 +161,13 @@ $input-radius: $radius !default
|
|
|
151
161
|
font-weight: $weight-bold
|
|
152
162
|
&:not(:last-child)
|
|
153
163
|
margin-bottom: 0.5em
|
|
164
|
+
// Sizes
|
|
165
|
+
&.is-small
|
|
166
|
+
font-size: $size-small
|
|
167
|
+
&.is-medium
|
|
168
|
+
font-size: $size-medium
|
|
169
|
+
&.is-large
|
|
170
|
+
font-size: $size-large
|
|
154
171
|
|
|
155
172
|
.help
|
|
156
173
|
display: block
|
|
@@ -161,9 +178,6 @@ $input-radius: $radius !default
|
|
|
161
178
|
&.is-#{$name}
|
|
162
179
|
color: $color
|
|
163
180
|
|
|
164
|
-
.select select
|
|
165
|
-
line-height: 1
|
|
166
|
-
|
|
167
181
|
// Containers
|
|
168
182
|
|
|
169
183
|
.field
|
|
@@ -203,7 +217,6 @@ $input-radius: $radius !default
|
|
|
203
217
|
z-index: 4
|
|
204
218
|
&.is-expanded
|
|
205
219
|
flex-grow: 1
|
|
206
|
-
flex-shrink: 0
|
|
207
220
|
&.has-addons-centered
|
|
208
221
|
justify-content: center
|
|
209
222
|
&.has-addons-right
|
|
@@ -216,7 +229,6 @@ $input-radius: $radius !default
|
|
|
216
229
|
display: flex
|
|
217
230
|
justify-content: flex-start
|
|
218
231
|
& > .control
|
|
219
|
-
flex-basis: 0
|
|
220
232
|
flex-shrink: 0
|
|
221
233
|
&:not(:last-child)
|
|
222
234
|
margin-bottom: 0
|
|
@@ -274,6 +286,7 @@ $input-radius: $radius !default
|
|
|
274
286
|
position: relative
|
|
275
287
|
text-align: left
|
|
276
288
|
// Modifiers
|
|
289
|
+
// DEPRECATED
|
|
277
290
|
&.has-icon
|
|
278
291
|
.icon
|
|
279
292
|
color: $input-icon
|
|
@@ -306,6 +319,39 @@ $input-radius: $radius !default
|
|
|
306
319
|
right: 0
|
|
307
320
|
.input
|
|
308
321
|
padding-right: 2.25em
|
|
322
|
+
&.has-icons-left,
|
|
323
|
+
&.has-icons-right
|
|
324
|
+
.input,
|
|
325
|
+
.select select
|
|
326
|
+
&:focus
|
|
327
|
+
& ~ .icon
|
|
328
|
+
color: $input-icon-active
|
|
329
|
+
&.is-small ~ .icon
|
|
330
|
+
font-size: $size-small
|
|
331
|
+
&.is-medium ~ .icon
|
|
332
|
+
font-size: $size-medium
|
|
333
|
+
&.is-large ~ .icon
|
|
334
|
+
font-size: $size-large
|
|
335
|
+
.icon
|
|
336
|
+
color: $input-icon
|
|
337
|
+
height: 2.25em
|
|
338
|
+
pointer-events: none
|
|
339
|
+
position: absolute
|
|
340
|
+
top: 0
|
|
341
|
+
width: 2.25em
|
|
342
|
+
z-index: 4
|
|
343
|
+
&.has-icons-left
|
|
344
|
+
.input,
|
|
345
|
+
.select select
|
|
346
|
+
padding-left: 2.25em
|
|
347
|
+
.icon.is-left
|
|
348
|
+
left: 0
|
|
349
|
+
&.has-icons-right
|
|
350
|
+
.input,
|
|
351
|
+
.select select
|
|
352
|
+
padding-right: 2.25em
|
|
353
|
+
.icon.is-right
|
|
354
|
+
right: 0
|
|
309
355
|
&.is-loading
|
|
310
356
|
&:after
|
|
311
357
|
+loader
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -5,6 +5,10 @@ $table-border: $grey-lighter !default
|
|
|
5
5
|
$table-head: $grey !default
|
|
6
6
|
|
|
7
7
|
$table-row-hover-background: $white-bis !default
|
|
8
|
+
|
|
9
|
+
$table-row-active-background: $primary !default
|
|
10
|
+
$table-row-active: $primary-invert !default
|
|
11
|
+
|
|
8
12
|
$table-row-even-background: $white-bis !default
|
|
9
13
|
$table-row-even-hover-background: $white-ter !default
|
|
10
14
|
|
|
@@ -29,6 +33,16 @@ $table-row-even-hover-background: $white-ter !default
|
|
|
29
33
|
tr
|
|
30
34
|
&:hover
|
|
31
35
|
background-color: $table-row-hover-background
|
|
36
|
+
&.is-selected
|
|
37
|
+
background-color: $table-row-active-background
|
|
38
|
+
color: $table-row-active
|
|
39
|
+
a,
|
|
40
|
+
strong
|
|
41
|
+
color: currentColor
|
|
42
|
+
td,
|
|
43
|
+
th
|
|
44
|
+
border-color: $table-row-active
|
|
45
|
+
color: currentColor
|
|
32
46
|
thead
|
|
33
47
|
td,
|
|
34
48
|
th
|
|
@@ -61,7 +75,7 @@ $table-row-even-hover-background: $white-ter !default
|
|
|
61
75
|
padding: 0.25em 0.5em
|
|
62
76
|
&.is-striped
|
|
63
77
|
tbody
|
|
64
|
-
tr
|
|
78
|
+
tr:not(.is-selected)
|
|
65
79
|
&:nth-child(even)
|
|
66
80
|
background-color: $table-row-even-background
|
|
67
81
|
&:hover
|
|
@@ -31,7 +31,7 @@ $subtitle-weight: $weight-light !default
|
|
|
31
31
|
margin-top: -0.75rem
|
|
32
32
|
&:not(.is-spaced) + .subtitle
|
|
33
33
|
margin-top: -1.5rem
|
|
34
|
-
//
|
|
34
|
+
// Sizes
|
|
35
35
|
@each $size in $sizes
|
|
36
36
|
$i: index($sizes, $size)
|
|
37
37
|
&.is-#{$i}
|
|
@@ -46,7 +46,7 @@ $subtitle-weight: $weight-light !default
|
|
|
46
46
|
color: $subtitle-strong
|
|
47
47
|
&:not(.is-spaced) + .title
|
|
48
48
|
margin-top: -1.5rem
|
|
49
|
-
//
|
|
49
|
+
// Sizes
|
|
50
50
|
@each $size in $sizes
|
|
51
51
|
$i: index($sizes, $size)
|
|
52
52
|
&.is-#{$i}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
$control-radius: $radius !default
|
|
2
2
|
$control-radius-small: $radius-small !default
|
|
3
3
|
|
|
4
|
+
$control-padding-vertical: calc(0.375em - 1px) !default
|
|
5
|
+
$control-padding-horizontal: calc(0.625em - 1px) !default
|
|
6
|
+
|
|
4
7
|
=control
|
|
5
8
|
-moz-appearance: none
|
|
6
9
|
-webkit-appearance: none
|
|
7
10
|
align-items: center
|
|
8
|
-
border:
|
|
11
|
+
border: 1px solid transparent
|
|
9
12
|
border-radius: $control-radius
|
|
10
13
|
box-shadow: none
|
|
11
14
|
display: inline-flex
|
|
@@ -13,10 +16,10 @@ $control-radius-small: $radius-small !default
|
|
|
13
16
|
height: 2.25em
|
|
14
17
|
justify-content: flex-start
|
|
15
18
|
line-height: 1.5
|
|
16
|
-
padding-bottom:
|
|
17
|
-
padding-left:
|
|
18
|
-
padding-right:
|
|
19
|
-
padding-top:
|
|
19
|
+
padding-bottom: $control-padding-vertical
|
|
20
|
+
padding-left: $control-padding-horizontal
|
|
21
|
+
padding-right: $control-padding-horizontal
|
|
22
|
+
padding-top: $control-padding-vertical
|
|
20
23
|
position: relative
|
|
21
24
|
vertical-align: top
|
|
22
25
|
// States
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
$primary: $turquoise !default
|
|
2
|
+
|
|
3
|
+
$info: $blue !default
|
|
4
|
+
$success: $green !default
|
|
5
|
+
$warning: $yellow !default
|
|
6
|
+
$danger: $red !default
|
|
7
|
+
|
|
8
|
+
$light: $white-ter !default
|
|
9
|
+
$dark: $grey-darker !default
|
|
10
|
+
|
|
11
|
+
// Invert colors
|
|
12
|
+
|
|
13
|
+
$orange-invert: findColorInvert($orange) !default
|
|
14
|
+
$yellow-invert: findColorInvert($yellow) !default
|
|
15
|
+
$green-invert: findColorInvert($green) !default
|
|
16
|
+
$turquoise-invert: findColorInvert($turquoise) !default
|
|
17
|
+
$blue-invert: findColorInvert($blue) !default
|
|
18
|
+
$purple-invert: findColorInvert($purple) !default
|
|
19
|
+
$red-invert: findColorInvert($red) !default
|
|
20
|
+
|
|
21
|
+
$primary-invert: $turquoise-invert !default
|
|
22
|
+
$info-invert: $blue-invert !default
|
|
23
|
+
$success-invert: $green-invert !default
|
|
24
|
+
$warning-invert: $yellow-invert !default
|
|
25
|
+
$danger-invert: $red-invert !default
|
|
26
|
+
$light-invert: $dark !default
|
|
27
|
+
$dark-invert: $light !default
|
|
28
|
+
|
|
29
|
+
// General colors
|
|
30
|
+
|
|
31
|
+
$background: $white-ter !default
|
|
32
|
+
|
|
33
|
+
$border: $grey-lighter !default
|
|
34
|
+
$border-hover: $grey-light !default
|
|
35
|
+
|
|
36
|
+
// Text colors
|
|
37
|
+
|
|
38
|
+
$text: $grey-dark !default
|
|
39
|
+
$text-invert: findColorInvert($text) !default
|
|
40
|
+
$text-light: $grey !default
|
|
41
|
+
$text-strong: $grey-darker !default
|
|
42
|
+
|
|
43
|
+
// Code colors
|
|
44
|
+
|
|
45
|
+
$code: $red !default
|
|
46
|
+
$code-background: $background !default
|
|
47
|
+
|
|
48
|
+
$pre: $text !default
|
|
49
|
+
$pre-background: $background !default
|
|
50
|
+
|
|
51
|
+
// Link colors
|
|
52
|
+
|
|
53
|
+
$link: $primary !default
|
|
54
|
+
$link-invert: $primary-invert !default
|
|
55
|
+
$link-visited: $purple !default
|
|
56
|
+
|
|
57
|
+
$link-hover: $grey-darker !default
|
|
58
|
+
$link-hover-border: $grey-light !default
|
|
59
|
+
|
|
60
|
+
$link-focus: $grey-darker !default
|
|
61
|
+
$link-focus-border: $primary !default
|
|
62
|
+
|
|
63
|
+
$link-active: $grey-darker !default
|
|
64
|
+
$link-active-border: $grey-dark !default
|
|
65
|
+
|
|
66
|
+
// Typography
|
|
67
|
+
|
|
68
|
+
$family-primary: $family-sans-serif !default
|
|
69
|
+
$family-code: $family-monospace !default
|
|
70
|
+
|
|
71
|
+
$size-small: $size-7 !default
|
|
72
|
+
$size-normal: $size-6 !default
|
|
73
|
+
$size-medium: $size-5 !default
|
|
74
|
+
$size-large: $size-4 !default
|
|
75
|
+
|
|
76
|
+
// Lists and maps
|
|
77
|
+
|
|
78
|
+
$colors: ("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)) !default
|
|
79
|
+
|
|
80
|
+
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 !default
|
|
File without changes
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// Colors
|
|
2
|
+
|
|
3
|
+
$black: hsl(0, 0%, 4%) !default
|
|
4
|
+
$black-bis: hsl(0, 0%, 7%) !default
|
|
5
|
+
$black-ter: hsl(0, 0%, 14%) !default
|
|
6
|
+
|
|
7
|
+
$grey-darker: hsl(0, 0%, 21%) !default
|
|
8
|
+
$grey-dark: hsl(0, 0%, 29%) !default
|
|
9
|
+
$grey: hsl(0, 0%, 48%) !default
|
|
10
|
+
$grey-light: hsl(0, 0%, 71%) !default
|
|
11
|
+
$grey-lighter: hsl(0, 0%, 86%) !default
|
|
12
|
+
|
|
13
|
+
$white-ter: hsl(0, 0%, 96%) !default
|
|
14
|
+
$white-bis: hsl(0, 0%, 98%) !default
|
|
15
|
+
$white: hsl(0, 0%, 100%) !default
|
|
16
|
+
|
|
17
|
+
$orange: hsl(14, 100%, 53%) !default
|
|
18
|
+
$yellow: hsl(48, 100%, 67%) !default
|
|
19
|
+
$green: hsl(141, 71%, 48%) !default
|
|
20
|
+
$turquoise: hsl(171, 100%, 41%) !default
|
|
21
|
+
$blue: hsl(217, 71%, 53%) !default
|
|
22
|
+
$purple: hsl(271, 100%, 71%) !default
|
|
23
|
+
$red: hsl(348, 100%, 61%) !default
|
|
24
|
+
|
|
25
|
+
// Typography
|
|
26
|
+
|
|
27
|
+
$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
|
|
28
|
+
$family-monospace: monospace !default
|
|
29
|
+
$render-mode: optimizeLegibility !default
|
|
30
|
+
|
|
31
|
+
$size-1: 3rem !default
|
|
32
|
+
$size-2: 2.5rem !default
|
|
33
|
+
$size-3: 2rem !default
|
|
34
|
+
$size-4: 1.5rem !default
|
|
35
|
+
$size-5: 1.25rem !default
|
|
36
|
+
$size-6: 1rem !default
|
|
37
|
+
$size-7: 0.75rem !default
|
|
38
|
+
|
|
39
|
+
$weight-light: 300 !default
|
|
40
|
+
$weight-normal: 400 !default
|
|
41
|
+
$weight-semibold: 500 !default
|
|
42
|
+
$weight-bold: 700 !default
|
|
43
|
+
|
|
44
|
+
// Body
|
|
45
|
+
|
|
46
|
+
$body-background: #fff !default
|
|
47
|
+
$body-size: 16px !default
|
|
48
|
+
|
|
49
|
+
// Responsiveness
|
|
50
|
+
|
|
51
|
+
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
|
52
|
+
$tablet: 769px !default
|
|
53
|
+
// 960px container + 40px
|
|
54
|
+
$desktop: 1000px !default
|
|
55
|
+
// 1152px container + 40
|
|
56
|
+
$widescreen: 1192px !default
|
|
57
|
+
// 1344px container + 40
|
|
58
|
+
$fullhd: 1384px !default
|
|
59
|
+
|
|
60
|
+
// Miscellaneous
|
|
61
|
+
|
|
62
|
+
$easing: ease-out !default
|
|
63
|
+
$radius-small: 2px !default
|
|
64
|
+
$radius: 3px !default
|
|
65
|
+
$radius-large: 5px !default
|
|
66
|
+
$speed: 86ms !default
|
|
@@ -38,8 +38,14 @@
|
|
|
38
38
|
border-radius: 290486px
|
|
39
39
|
cursor: pointer
|
|
40
40
|
display: inline-block
|
|
41
|
+
flex-grow: 0
|
|
42
|
+
flex-shrink: 0
|
|
41
43
|
font-size: $size-normal
|
|
42
44
|
height: 20px
|
|
45
|
+
max-height: 20px
|
|
46
|
+
max-width: 20px
|
|
47
|
+
min-height: 20px
|
|
48
|
+
min-width: 20px
|
|
43
49
|
outline: none
|
|
44
50
|
position: relative
|
|
45
51
|
vertical-align: top
|
|
@@ -26,9 +26,9 @@ $purple: hsl(271, 100%, 71%) !default
|
|
|
26
26
|
$red: hsl(348, 100%, 61%) !default
|
|
27
27
|
|
|
28
28
|
// Typography
|
|
29
|
-
$family-sans-serif: -apple-system,
|
|
30
|
-
$family-monospace: monospace !default
|
|
31
|
-
$render-mode: optimizeLegibility !default
|
|
29
|
+
$family-sans-serif: BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif !default
|
|
30
|
+
$family-monospace: monospace !default
|
|
31
|
+
$render-mode: optimizeLegibility !default
|
|
32
32
|
|
|
33
33
|
$size-1: 3rem !default
|
|
34
34
|
$size-2: 2.5rem !default
|
|
@@ -44,12 +44,11 @@ $weight-semibold: 500 !default
|
|
|
44
44
|
$weight-bold: 700 !default
|
|
45
45
|
|
|
46
46
|
// Body
|
|
47
|
-
$body-background:
|
|
47
|
+
$body-background: #fff !default
|
|
48
48
|
$body-size: 16px !default
|
|
49
49
|
|
|
50
50
|
// Responsiveness
|
|
51
|
-
// 960, 1152, and 1344 have been chosen because
|
|
52
|
-
// they are divisible by both 12 and 16
|
|
51
|
+
// 960, 1152, and 1344 have been chosen because they are divisible by both 12 and 16
|
|
53
52
|
$tablet: 769px !default
|
|
54
53
|
// 960px container + 40px
|
|
55
54
|
$desktop: 1000px !default
|
|
@@ -146,6 +145,6 @@ $size-large: $size-4 !default
|
|
|
146
145
|
////////////////////////////////////////////////
|
|
147
146
|
// 4. Lists and maps
|
|
148
147
|
|
|
149
|
-
$colors: (white: ($white, $black), black: ($black, $white), light: ($light, $light-invert), dark: ($dark, $dark-invert), primary: ($primary, $primary-invert), info: ($info, $info-invert), success: ($success, $success-invert), warning: ($warning, $warning-invert), danger: ($danger, $danger-invert)) !default
|
|
148
|
+
$colors: ("white": ($white, $black), "black": ($black, $white), "light": ($light, $light-invert), "dark": ($dark, $dark-invert), "primary": ($primary, $primary-invert), "info": ($info, $info-invert), "success": ($success, $success-invert), "warning": ($warning, $warning-invert), "danger": ($danger, $danger-invert)) !default
|
|
150
149
|
|
|
151
150
|
$sizes: $size-1 $size-2 $size-3 $size-4 $size-5 $size-6 !default
|
data/bulma-rails.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bulma-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joshua Jansen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sass
|
|
@@ -72,7 +72,9 @@ files:
|
|
|
72
72
|
- app/assets/stylesheets/sass/utilities/_all.sass
|
|
73
73
|
- app/assets/stylesheets/sass/utilities/animations.sass
|
|
74
74
|
- app/assets/stylesheets/sass/utilities/controls.sass
|
|
75
|
+
- app/assets/stylesheets/sass/utilities/derived-variables.sass
|
|
75
76
|
- app/assets/stylesheets/sass/utilities/functions.sass
|
|
77
|
+
- app/assets/stylesheets/sass/utilities/initial-variables.sass
|
|
76
78
|
- app/assets/stylesheets/sass/utilities/mixins.sass
|
|
77
79
|
- app/assets/stylesheets/sass/utilities/variables.sass
|
|
78
80
|
- bulma-rails.gemspec
|
|
@@ -92,12 +94,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
92
94
|
version: '0'
|
|
93
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
96
|
requirements:
|
|
95
|
-
- - "
|
|
97
|
+
- - ">="
|
|
96
98
|
- !ruby/object:Gem::Version
|
|
97
|
-
version:
|
|
99
|
+
version: '0'
|
|
98
100
|
requirements: []
|
|
99
101
|
rubyforge_project:
|
|
100
|
-
rubygems_version: 2.
|
|
102
|
+
rubygems_version: 2.5.1
|
|
101
103
|
signing_key:
|
|
102
104
|
specification_version: 4
|
|
103
105
|
summary: This gem adds the bulma.io assets to your asset pipeline so you can import
|