bulma-rails 0.2.3 → 0.3.0

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/stylesheets/bulma.sass +2 -1
  4. data/app/assets/stylesheets/sass/base/_all.sass +0 -0
  5. data/app/assets/stylesheets/sass/base/generic.sass +13 -11
  6. data/app/assets/stylesheets/sass/base/helpers.sass +0 -0
  7. data/app/assets/stylesheets/sass/base/minireset.sass +0 -0
  8. data/app/assets/stylesheets/sass/components/_all.sass +0 -1
  9. data/app/assets/stylesheets/sass/components/card.sass +10 -15
  10. data/app/assets/stylesheets/sass/components/level.sass +16 -6
  11. data/app/assets/stylesheets/sass/components/media.sass +13 -30
  12. data/app/assets/stylesheets/sass/components/menu.sass +11 -11
  13. data/app/assets/stylesheets/sass/components/message.sass +47 -25
  14. data/app/assets/stylesheets/sass/components/modal.sass +1 -0
  15. data/app/assets/stylesheets/sass/components/nav.sass +33 -44
  16. data/app/assets/stylesheets/sass/components/pagination.sass +124 -28
  17. data/app/assets/stylesheets/sass/components/panel.sass +52 -35
  18. data/app/assets/stylesheets/sass/components/tabs.sass +10 -35
  19. data/app/assets/stylesheets/sass/elements/_all.sass +2 -0
  20. data/app/assets/stylesheets/sass/elements/box.sass +1 -1
  21. data/app/assets/stylesheets/sass/elements/button.sass +125 -42
  22. data/app/assets/stylesheets/sass/elements/content.sass +54 -25
  23. data/app/assets/stylesheets/sass/elements/form.sass +136 -92
  24. data/app/assets/stylesheets/sass/elements/icon.sass +12 -0
  25. data/app/assets/stylesheets/sass/elements/image.sass +0 -0
  26. data/app/assets/stylesheets/sass/elements/notification.sass +9 -5
  27. data/app/assets/stylesheets/sass/elements/other.sass +9 -61
  28. data/app/assets/stylesheets/sass/elements/progress.sass +4 -4
  29. data/app/assets/stylesheets/sass/elements/table.sass +16 -45
  30. data/app/assets/stylesheets/sass/elements/tag.sass +29 -0
  31. data/app/assets/stylesheets/sass/elements/title.sass +25 -44
  32. data/app/assets/stylesheets/sass/grid/_all.sass +0 -0
  33. data/app/assets/stylesheets/sass/grid/columns.sass +8 -8
  34. data/app/assets/stylesheets/sass/grid/tiles.sass +8 -8
  35. data/app/assets/stylesheets/sass/layout/_all.sass +0 -0
  36. data/app/assets/stylesheets/sass/layout/footer.sass +1 -11
  37. data/app/assets/stylesheets/sass/layout/hero.sass +13 -12
  38. data/app/assets/stylesheets/sass/layout/section.sass +3 -3
  39. data/app/assets/stylesheets/sass/utilities/_all.sass +0 -0
  40. data/app/assets/stylesheets/sass/utilities/controls.sass +14 -52
  41. data/app/assets/stylesheets/sass/utilities/functions.sass +10 -2
  42. data/app/assets/stylesheets/sass/utilities/mixins.sass +41 -36
  43. data/app/assets/stylesheets/sass/utilities/variables.sass +28 -24
  44. data/bulma-rails.gemspec +1 -1
  45. metadata +4 -12
  46. data/app/assets/stylesheets/sass/base/base.sass +0 -5
  47. data/app/assets/stylesheets/sass/base/classes.sass +0 -20
  48. data/app/assets/stylesheets/sass/components/components.sass +0 -14
  49. data/app/assets/stylesheets/sass/components/grid.sass +0 -282
  50. data/app/assets/stylesheets/sass/components/highlight.sass +0 -123
  51. data/app/assets/stylesheets/sass/elements/elements.sass +0 -13
  52. data/app/assets/stylesheets/sass/layout/layout.sass +0 -5
  53. data/app/assets/stylesheets/sass/utilities/animations.sass +0 -5
  54. data/app/assets/stylesheets/sass/utilities/reset.sass +0 -174
  55. data/app/assets/stylesheets/sass/utilities/utilities.sass +0 -8
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.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Jansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-29 00:00:00.000000000 Z
11
+ date: 2017-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -35,16 +35,11 @@ files:
35
35
  - README.md
36
36
  - app/assets/stylesheets/bulma.sass
37
37
  - app/assets/stylesheets/sass/base/_all.sass
38
- - app/assets/stylesheets/sass/base/base.sass
39
- - app/assets/stylesheets/sass/base/classes.sass
40
38
  - app/assets/stylesheets/sass/base/generic.sass
41
39
  - app/assets/stylesheets/sass/base/helpers.sass
42
40
  - app/assets/stylesheets/sass/base/minireset.sass
43
41
  - app/assets/stylesheets/sass/components/_all.sass
44
42
  - app/assets/stylesheets/sass/components/card.sass
45
- - app/assets/stylesheets/sass/components/components.sass
46
- - app/assets/stylesheets/sass/components/grid.sass
47
- - app/assets/stylesheets/sass/components/highlight.sass
48
43
  - app/assets/stylesheets/sass/components/level.sass
49
44
  - app/assets/stylesheets/sass/components/media.sass
50
45
  - app/assets/stylesheets/sass/components/menu.sass
@@ -58,13 +53,14 @@ files:
58
53
  - app/assets/stylesheets/sass/elements/box.sass
59
54
  - app/assets/stylesheets/sass/elements/button.sass
60
55
  - app/assets/stylesheets/sass/elements/content.sass
61
- - app/assets/stylesheets/sass/elements/elements.sass
62
56
  - app/assets/stylesheets/sass/elements/form.sass
57
+ - app/assets/stylesheets/sass/elements/icon.sass
63
58
  - app/assets/stylesheets/sass/elements/image.sass
64
59
  - app/assets/stylesheets/sass/elements/notification.sass
65
60
  - app/assets/stylesheets/sass/elements/other.sass
66
61
  - app/assets/stylesheets/sass/elements/progress.sass
67
62
  - app/assets/stylesheets/sass/elements/table.sass
63
+ - app/assets/stylesheets/sass/elements/tag.sass
68
64
  - app/assets/stylesheets/sass/elements/title.sass
69
65
  - app/assets/stylesheets/sass/grid/_all.sass
70
66
  - app/assets/stylesheets/sass/grid/columns.sass
@@ -72,15 +68,11 @@ files:
72
68
  - app/assets/stylesheets/sass/layout/_all.sass
73
69
  - app/assets/stylesheets/sass/layout/footer.sass
74
70
  - app/assets/stylesheets/sass/layout/hero.sass
75
- - app/assets/stylesheets/sass/layout/layout.sass
76
71
  - app/assets/stylesheets/sass/layout/section.sass
77
72
  - app/assets/stylesheets/sass/utilities/_all.sass
78
- - app/assets/stylesheets/sass/utilities/animations.sass
79
73
  - app/assets/stylesheets/sass/utilities/controls.sass
80
74
  - app/assets/stylesheets/sass/utilities/functions.sass
81
75
  - app/assets/stylesheets/sass/utilities/mixins.sass
82
- - app/assets/stylesheets/sass/utilities/reset.sass
83
- - app/assets/stylesheets/sass/utilities/utilities.sass
84
76
  - app/assets/stylesheets/sass/utilities/variables.sass
85
77
  - bulma-rails.gemspec
86
78
  - lib/bulma-rails.rb
@@ -1,5 +0,0 @@
1
- @charset "utf-8"
2
-
3
- @import "generic"
4
- @import "classes"
5
- @import "helpers"
@@ -1,20 +0,0 @@
1
- .block
2
- &:not(:last-child)
3
- margin-bottom: 20px
4
-
5
- .container
6
- position: relative
7
- +desktop
8
- margin: 0 auto
9
- max-width: 960px
10
- // Modifiers
11
- &.is-fluid
12
- margin: 0 20px
13
- max-width: none
14
- +widescreen
15
- max-width: 1200px
16
-
17
- .fa
18
- font-size: 21px
19
- text-align: center
20
- vertical-align: top
@@ -1,14 +0,0 @@
1
- @charset "utf-8"
2
-
3
- @import "card"
4
- @import "grid"
5
- @import "highlight"
6
- @import "level"
7
- @import "media"
8
- @import "menu"
9
- @import "message"
10
- @import "modal"
11
- @import "nav"
12
- @import "pagination"
13
- @import "panel"
14
- @import "tabs"
@@ -1,282 +0,0 @@
1
- .column
2
- flex-basis: 0
3
- flex-grow: 1
4
- flex-shrink: 1
5
- padding: 10px
6
- .columns.is-mobile > &.is-narrow
7
- flex: none
8
- .columns.is-mobile > &.is-full
9
- flex: none
10
- width: 100%
11
- .columns.is-mobile > &.is-three-quarters
12
- flex: none
13
- width: 75%
14
- .columns.is-mobile > &.is-two-thirds
15
- flex: none
16
- width: 66.6666%
17
- .columns.is-mobile > &.is-half
18
- flex: none
19
- width: 50%
20
- .columns.is-mobile > &.is-one-third
21
- flex: none
22
- width: 33.3333%
23
- .columns.is-mobile > &.is-one-quarter
24
- flex: none
25
- width: 25%
26
- .columns.is-mobile > &.is-offset-three-quarters
27
- margin-left: 75%
28
- .columns.is-mobile > &.is-offset-two-thirds
29
- margin-left: 66.6666%
30
- .columns.is-mobile > &.is-offset-half
31
- margin-left: 50%
32
- .columns.is-mobile > &.is-offset-one-third
33
- margin-left: 33.3333%
34
- .columns.is-mobile > &.is-offset-one-quarter
35
- margin-left: 25%
36
- @for $i from 1 through 12
37
- .columns.is-mobile > &.is-#{$i}
38
- flex: none
39
- width: ($i / 12) * 100%
40
- .columns.is-mobile > &.is-offset-#{$i}
41
- margin-left: ($i / 12) * 100%
42
- +mobile
43
- &.is-narrow-mobile
44
- flex: none
45
- &.is-full-mobile
46
- flex: none
47
- width: 100%
48
- &.is-three-quarters-mobile
49
- flex: none
50
- width: 75%
51
- &.is-two-thirds-mobile
52
- flex: none
53
- width: 66.6666%
54
- &.is-half-mobile
55
- flex: none
56
- width: 50%
57
- &.is-one-third-mobile
58
- flex: none
59
- width: 33.3333%
60
- &.is-one-quarter-mobile
61
- flex: none
62
- width: 25%
63
- &.is-offset-three-quarters-mobile
64
- margin-left: 75%
65
- &.is-offset-two-thirds-mobile
66
- margin-left: 66.6666%
67
- &.is-offset-half-mobile
68
- margin-left: 50%
69
- &.is-offset-one-third-mobile
70
- margin-left: 33.3333%
71
- &.is-offset-one-quarter-mobile
72
- margin-left: 25%
73
- @for $i from 1 through 12
74
- &.is-#{$i}-mobile
75
- flex: none
76
- width: ($i / 12) * 100%
77
- &.is-offset-#{$i}-mobile
78
- margin-left: ($i / 12) * 100%
79
- +tablet
80
- &.is-narrow,
81
- &.is-narrow-tablet
82
- flex: none
83
- &.is-full,
84
- &.is-full-tablet
85
- flex: none
86
- width: 100%
87
- &.is-three-quarters,
88
- &.is-three-quarters-tablet
89
- flex: none
90
- width: 75%
91
- &.is-two-thirds,
92
- &.is-two-thirds-tablet
93
- flex: none
94
- width: 66.6666%
95
- &.is-half,
96
- &.is-half-tablet
97
- flex: none
98
- width: 50%
99
- &.is-one-third,
100
- &.is-one-third-tablet
101
- flex: none
102
- width: 33.3333%
103
- &.is-one-quarter,
104
- &.is-one-quarter-tablet
105
- flex: none
106
- width: 25%
107
- &.is-offset-three-quarters,
108
- &.is-offset-three-quarters-tablet
109
- margin-left: 75%
110
- &.is-offset-two-thirds,
111
- &.is-offset-two-thirds-tablet
112
- margin-left: 66.6666%
113
- &.is-offset-half,
114
- &.is-offset-half-tablet
115
- margin-left: 50%
116
- &.is-offset-one-third,
117
- &.is-offset-one-third-tablet
118
- margin-left: 33.3333%
119
- &.is-offset-one-quarter,
120
- &.is-offset-one-quarter-tablet
121
- margin-left: 25%
122
- @for $i from 1 through 12
123
- &.is-#{$i},
124
- &.is-#{$i}-tablet
125
- flex: none
126
- width: ($i / 12) * 100%
127
- &.is-offset-#{$i},
128
- &.is-offset-#{$i}-tablet
129
- margin-left: ($i / 12) * 100%
130
- +desktop
131
- &.is-narrow-desktop
132
- flex: none
133
- &.is-full-desktop
134
- flex: none
135
- width: 100%
136
- &.is-three-quarters-desktop
137
- flex: none
138
- width: 75%
139
- &.is-two-thirds-desktop
140
- flex: none
141
- width: 66.6666%
142
- &.is-half-desktop
143
- flex: none
144
- width: 50%
145
- &.is-one-third-desktop
146
- flex: none
147
- width: 33.3333%
148
- &.is-one-quarter-desktop
149
- flex: none
150
- width: 25%
151
- &.is-offset-three-quarters-desktop
152
- margin-left: 75%
153
- &.is-offset-two-thirds-desktop
154
- margin-left: 66.6666%
155
- &.is-offset-half-desktop
156
- margin-left: 50%
157
- &.is-offset-one-third-desktop
158
- margin-left: 33.3333%
159
- &.is-offset-one-quarter-desktop
160
- margin-left: 25%
161
- @for $i from 1 through 12
162
- &.is-#{$i}-desktop
163
- flex: none
164
- width: ($i / 12) * 100%
165
- &.is-offset-#{$i}-desktop
166
- margin-left: ($i / 12) * 100%
167
- +widescreen
168
- &.is-narrow-widescreen
169
- flex: none
170
- &.is-full-widescreen
171
- flex: none
172
- width: 100%
173
- &.is-three-quarters-widescreen
174
- flex: none
175
- width: 75%
176
- &.is-two-thirds-widescreen
177
- flex: none
178
- width: 66.6666%
179
- &.is-half-widescreen
180
- flex: none
181
- width: 50%
182
- &.is-one-third-widescreen
183
- flex: none
184
- width: 33.3333%
185
- &.is-one-quarter-widescreen
186
- flex: none
187
- width: 25%
188
- &.is-offset-three-quarters-widescreen
189
- margin-left: 75%
190
- &.is-offset-two-thirds-widescreen
191
- margin-left: 66.6666%
192
- &.is-offset-half-widescreen
193
- margin-left: 50%
194
- &.is-offset-one-third-widescreen
195
- margin-left: 33.3333%
196
- &.is-offset-one-quarter-widescreen
197
- margin-left: 25%
198
- @for $i from 1 through 12
199
- &.is-#{$i}-widescreen
200
- flex: none
201
- width: ($i / 12) * 100%
202
- &.is-offset-#{$i}-widescreen
203
- margin-left: ($i / 12) * 100%
204
-
205
- .columns
206
- margin-left: -10px
207
- margin-right: -10px
208
- margin-top: -10px
209
- &:last-child
210
- margin-bottom: -10px
211
- &:not(:last-child)
212
- margin-bottom: 10px
213
- // Modifiers
214
- &.is-centered
215
- justify-content: center
216
- &.is-gapless
217
- margin-left: 0
218
- margin-right: 0
219
- margin-top: 0
220
- &:last-child
221
- margin-bottom: 0
222
- &:not(:last-child)
223
- margin-bottom: 20px
224
- & > .column
225
- margin: 0
226
- padding: 0
227
- &.is-grid
228
- // Responsiveness
229
- +tablet
230
- flex-wrap: wrap
231
- & > .column
232
- max-width: 33.3333%
233
- padding: 10px
234
- width: 33.3333%
235
- & + .column
236
- margin-left: 0
237
- &.is-mobile
238
- display: flex
239
- &.is-multiline
240
- flex-wrap: wrap
241
- &.is-vcentered
242
- align-items: center
243
- // Responsiveness
244
- +tablet
245
- &:not(.is-desktop)
246
- display: flex
247
- +desktop
248
- // Modifiers
249
- &.is-desktop
250
- display: flex
251
-
252
- .tile
253
- align-items: stretch
254
- flex-basis: auto
255
- flex-grow: 1
256
- flex-shrink: 1
257
- min-height: min-content
258
- // Modifiers
259
- &.is-ancestor
260
- margin-left: -10px
261
- margin-right: -10px
262
- margin-top: -10px
263
- &:last-child
264
- margin-bottom: -10px
265
- &:not(:last-child)
266
- margin-bottom: 10px
267
- &.is-child
268
- margin: 0 !important
269
- &.is-parent
270
- padding: 10px
271
- &.is-vertical
272
- flex-direction: column
273
- & > .tile.is-child:not(:last-child)
274
- margin-bottom: 20px !important
275
- // Responsiveness
276
- +tablet
277
- &:not(.is-child)
278
- display: flex
279
- @for $i from 1 through 12
280
- &.is-#{$i}
281
- flex: none
282
- width: ($i / 12) * 100%
@@ -1,123 +0,0 @@
1
- .highlight
2
- background-color: #fdf6e3
3
- color: #586e75
4
- .c
5
- color: #93a1a1
6
- .err,
7
- .g
8
- color: #586e75
9
- .k
10
- color: #859900
11
- .l,
12
- .n
13
- color: #586e75
14
- .o
15
- color: #859900
16
- .x
17
- color: #cb4b16
18
- .p
19
- color: #586e75
20
- .cm
21
- color: #93a1a1
22
- .cp
23
- color: #859900
24
- .c1
25
- color: #93a1a1
26
- .cs
27
- color: #859900
28
- .gd
29
- color: #2aa198
30
- .ge
31
- color: #586e75
32
- font-style: italic
33
- .gr
34
- color: #dc322f
35
- .gh
36
- color: #cb4b16
37
- .gi
38
- color: #859900
39
- .go,
40
- .gp
41
- color: #586e75
42
- .gs
43
- color: #586e75
44
- font-weight: bold
45
- .gu
46
- color: #cb4b16
47
- .gt
48
- color: #586e75
49
- .kc
50
- color: #cb4b16
51
- .kd
52
- color: #268bd2
53
- .kn,
54
- .kp
55
- color: #859900
56
- .kr
57
- color: #268bd2
58
- .kt
59
- color: #dc322f
60
- .ld
61
- color: #586e75
62
- .m,
63
- .s
64
- color: #2aa198
65
- .na
66
- color: #B58900
67
- .nb
68
- color: #586e75
69
- .nc
70
- color: #268bd2
71
- .no
72
- color: #cb4b16
73
- .nd
74
- color: #268bd2
75
- .ni,
76
- .ne
77
- color: #cb4b16
78
- .nf
79
- color: #268bd2
80
- .nl,
81
- .nn,
82
- .nx,
83
- .py
84
- color: #586e75
85
- .nt,
86
- .nv
87
- color: #268bd2
88
- .ow
89
- color: #859900
90
- .w
91
- color: #586e75
92
- .mf,
93
- .mh,
94
- .mi,
95
- .mo
96
- color: #2aa198
97
- .sb
98
- color: #93a1a1
99
- .sc
100
- color: #2aa198
101
- .sd
102
- color: #586e75
103
- .s2
104
- color: #2aa198
105
- .se
106
- color: #cb4b16
107
- .sh
108
- color: #586e75
109
- .si,
110
- .sx
111
- color: #2aa198
112
- .sr
113
- color: #dc322f
114
- .s1,
115
- .ss
116
- color: #2aa198
117
- .bp,
118
- .vc,
119
- .vg,
120
- .vi
121
- color: #268bd2
122
- .il
123
- color: #2aa198