bulma-sass 0.0.2 → 0.6.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 (80) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +2 -0
  4. data/app/assets/stylesheets/bulma.sass +7 -8
  5. data/app/assets/stylesheets/sass/base/_all.sass +5 -0
  6. data/app/assets/stylesheets/sass/base/generic.sass +127 -0
  7. data/app/assets/stylesheets/sass/base/helpers.sass +203 -0
  8. data/app/assets/stylesheets/sass/base/minireset.sass +80 -0
  9. data/app/assets/stylesheets/sass/components/_all.sass +14 -0
  10. data/app/assets/stylesheets/sass/components/breadcrumb.sass +74 -0
  11. data/app/assets/stylesheets/sass/components/card.sass +67 -0
  12. data/app/assets/stylesheets/sass/components/dropdown.sass +74 -0
  13. data/app/assets/stylesheets/sass/components/level.sass +75 -0
  14. data/app/assets/stylesheets/sass/components/media.sass +44 -0
  15. data/app/assets/stylesheets/sass/components/menu.sass +50 -0
  16. data/app/assets/stylesheets/sass/components/message.sass +79 -0
  17. data/app/assets/stylesheets/sass/components/modal.sass +111 -0
  18. data/app/assets/stylesheets/sass/components/navbar.sass +301 -0
  19. data/app/assets/stylesheets/sass/components/pagination.sass +134 -0
  20. data/app/assets/stylesheets/sass/components/panel.sass +101 -0
  21. data/app/assets/stylesheets/sass/components/tabs.sass +141 -0
  22. data/app/assets/stylesheets/sass/elements/_all.sass +16 -0
  23. data/app/assets/stylesheets/sass/elements/box.sass +24 -0
  24. data/app/assets/stylesheets/sass/elements/button.sass +201 -0
  25. data/app/assets/stylesheets/sass/elements/container.sass +25 -0
  26. data/app/assets/stylesheets/sass/elements/content.sass +145 -0
  27. data/app/assets/stylesheets/sass/elements/form.sass +605 -0
  28. data/app/assets/stylesheets/sass/elements/icon.sass +21 -0
  29. data/app/assets/stylesheets/sass/elements/image.sass +36 -0
  30. data/app/assets/stylesheets/sass/elements/notification.sass +35 -0
  31. data/app/assets/stylesheets/sass/elements/other.sass +39 -0
  32. data/app/assets/stylesheets/sass/elements/progress.sass +35 -0
  33. data/app/assets/stylesheets/sass/elements/table.sass +104 -0
  34. data/app/assets/stylesheets/sass/elements/tag.sass +89 -0
  35. data/app/assets/stylesheets/sass/elements/title.sass +55 -0
  36. data/app/assets/stylesheets/sass/grid/_all.sass +4 -0
  37. data/app/assets/stylesheets/sass/grid/columns.sass +328 -0
  38. data/app/assets/stylesheets/sass/grid/tiles.sass +32 -0
  39. data/app/assets/stylesheets/sass/layout/_all.sass +5 -0
  40. data/app/assets/stylesheets/sass/layout/footer.sass +5 -0
  41. data/app/assets/stylesheets/sass/layout/hero.sass +155 -0
  42. data/app/assets/stylesheets/sass/layout/section.sass +13 -0
  43. data/app/assets/stylesheets/sass/utilities/_all.sass +8 -0
  44. data/app/assets/stylesheets/{bulma → sass}/utilities/animations.sass +1 -1
  45. data/app/assets/stylesheets/sass/utilities/controls.sass +41 -0
  46. data/app/assets/stylesheets/sass/utilities/derived-variables.sass +82 -0
  47. data/app/assets/stylesheets/{bulma → sass}/utilities/functions.sass +7 -13
  48. data/app/assets/stylesheets/sass/utilities/initial-variables.sass +65 -0
  49. data/app/assets/stylesheets/sass/utilities/mixins.sass +226 -0
  50. data/lib/bulma/sass/version.rb +1 -1
  51. metadata +46 -32
  52. data/app/assets/stylesheets/bulma/base/base.sass +0 -6
  53. data/app/assets/stylesheets/bulma/base/content.sass +0 -51
  54. data/app/assets/stylesheets/bulma/base/generic.sass +0 -101
  55. data/app/assets/stylesheets/bulma/base/helpers.sass +0 -27
  56. data/app/assets/stylesheets/bulma/base/highlight.sass +0 -123
  57. data/app/assets/stylesheets/bulma/components/card.sass +0 -36
  58. data/app/assets/stylesheets/bulma/components/components.sass +0 -11
  59. data/app/assets/stylesheets/bulma/components/grid.sass +0 -48
  60. data/app/assets/stylesheets/bulma/components/media.sass +0 -69
  61. data/app/assets/stylesheets/bulma/components/menu.sass +0 -25
  62. data/app/assets/stylesheets/bulma/components/navbar.sass +0 -45
  63. data/app/assets/stylesheets/bulma/components/table.sass +0 -73
  64. data/app/assets/stylesheets/bulma/components/tabs.sass +0 -84
  65. data/app/assets/stylesheets/bulma/config/generated-variables.sass +0 -74
  66. data/app/assets/stylesheets/bulma/config/variables.sass +0 -41
  67. data/app/assets/stylesheets/bulma/elements/buttons.sass +0 -96
  68. data/app/assets/stylesheets/bulma/elements/controls.sass +0 -213
  69. data/app/assets/stylesheets/bulma/elements/elements.sass +0 -172
  70. data/app/assets/stylesheets/bulma/elements/messages.sass +0 -41
  71. data/app/assets/stylesheets/bulma/elements/notifications.sass +0 -20
  72. data/app/assets/stylesheets/bulma/elements/titles.sass +0 -57
  73. data/app/assets/stylesheets/bulma/layout/footer.sass +0 -11
  74. data/app/assets/stylesheets/bulma/layout/header.sass +0 -149
  75. data/app/assets/stylesheets/bulma/layout/hero.sass +0 -148
  76. data/app/assets/stylesheets/bulma/layout/layout.sass +0 -6
  77. data/app/assets/stylesheets/bulma/layout/section.sass +0 -11
  78. data/app/assets/stylesheets/bulma/utilities/mixins.sass +0 -83
  79. data/app/assets/stylesheets/bulma/utilities/reset.sass +0 -174
  80. data/app/assets/stylesheets/bulma/utilities/utilities.sass +0 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 525b7085ba50c66dcd30af560dbeeeea26d4f34f
4
- data.tar.gz: 438ade79827d3f87daccf3ce2539d4b54faf3c7d
3
+ metadata.gz: fe9833c39d49e784f7408664ea5ca14815838641
4
+ data.tar.gz: f4fd6749013f4780ff7900c1667c9968c5e83772
5
5
  SHA512:
6
- metadata.gz: 376fc25cf91f77ac28274b4212d537962ef241a8389766bb9e1004d11cf9c908c87c3202edc8f145b222096e199d228d083efc6e93cb0f8809999b6e6238e60d
7
- data.tar.gz: 1dd3b4f7107e65cb00e416de0633a6e140347d3fc222058143e36076cf0933c4889fcb12670fc25aa35ecbf31b0cb2cffe2c0f86e0b8fd3243e2069dbdbef8ba
6
+ metadata.gz: 2e7b50b932c9efcc07300fb76a2f88c7d468e829f156eb8e7c35e553fd453a047d6aef9a6f4de9217c2e02a374a0f84c3c7b99fb41b5c751b44dfc48599857cb
7
+ data.tar.gz: ae8a600fbb8d17f7f9ee829430a4e798f22c7649e4a7c93b74d97eb675f1b2e52ab9eb9fecf370e869ea7636a74a7b18d6a047bb247ed2c3f391029852b7a87e
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
  Gemfile.lock
10
+ *.gem
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Bulma, modern CSS framework based on Flexbox
4
4
 
5
+ `bulma-sass` gem supports Rails and Sprockets
6
+
5
7
  ## Installation
6
8
 
7
9
  Add this line to your application's Gemfile:
@@ -1,9 +1,8 @@
1
1
  @charset "utf-8"
2
-
3
- @import bulma/utilities/utilities
4
- @import bulma/config/variables
5
- @import bulma/config/generated-variables
6
- @import bulma/base/base
7
- @import bulma/elements/elements
8
- @import bulma/components/components
9
- @import bulma/layout/layout
2
+ /*! bulma.io v0.6.0 | MIT License | github.com/jgthms/bulma */
3
+ @import "sass/utilities/_all"
4
+ @import "sass/base/_all"
5
+ @import "sass/elements/_all"
6
+ @import "sass/components/_all"
7
+ @import "sass/grid/_all"
8
+ @import "sass/layout/_all"
@@ -0,0 +1,5 @@
1
+ @charset "utf-8"
2
+
3
+ @import "minireset.sass"
4
+ @import "generic.sass"
5
+ @import "helpers.sass"
@@ -0,0 +1,127 @@
1
+ $body-background-color: #fff !default
2
+ $body-size: 16px !default
3
+ $body-rendering: optimizeLegibility !default
4
+ $body-family: $family-primary !default
5
+ $body-color: $text !default
6
+ $body-weight: $weight-normal !default
7
+ $body-line-height: 1.5 !default
8
+
9
+ $code-family: $family-code !default
10
+ $code-padding: 0.25em 0.5em 0.25em !default
11
+ $code-weight: normal !default
12
+ $code-size: 0.875em !default
13
+
14
+ $hr-background-color: $border !default
15
+ $hr-height: 1px !default
16
+ $hr-margin: 1.5rem 0 !default
17
+
18
+ $strong-color: $text-strong !default
19
+ $strong-weight: $weight-bold !default
20
+
21
+ html
22
+ background-color: $body-background-color
23
+ font-size: $body-size
24
+ -moz-osx-font-smoothing: grayscale
25
+ -webkit-font-smoothing: antialiased
26
+ min-width: 300px
27
+ overflow-x: hidden
28
+ overflow-y: scroll
29
+ text-rendering: $body-rendering
30
+ text-size-adjust: 100%
31
+
32
+ article,
33
+ aside,
34
+ figure,
35
+ footer,
36
+ header,
37
+ hgroup,
38
+ section
39
+ display: block
40
+
41
+ body,
42
+ button,
43
+ input,
44
+ select,
45
+ textarea
46
+ font-family: $body-family
47
+
48
+ code,
49
+ pre
50
+ -moz-osx-font-smoothing: auto
51
+ -webkit-font-smoothing: auto
52
+ font-family: $code-family
53
+
54
+ body
55
+ color: $body-color
56
+ font-size: 1rem
57
+ font-weight: $body-weight
58
+ line-height: $body-line-height
59
+
60
+ // Inline
61
+
62
+ a
63
+ color: $link
64
+ cursor: pointer
65
+ text-decoration: none
66
+ strong
67
+ color: currentColor
68
+ &:hover
69
+ color: $link-hover
70
+
71
+ code
72
+ background-color: $code-background
73
+ color: $code
74
+ font-size: $code-size
75
+ font-weight: $code-weight
76
+ padding: $code-padding
77
+
78
+ hr
79
+ background-color: $hr-background-color
80
+ border: none
81
+ display: block
82
+ height: $hr-height
83
+ margin: $hr-margin
84
+
85
+ img
86
+ height: auto
87
+ max-width: 100%
88
+
89
+ input[type="checkbox"],
90
+ input[type="radio"]
91
+ vertical-align: baseline
92
+
93
+ small
94
+ font-size: 0.875em
95
+
96
+ span
97
+ font-style: inherit
98
+ font-weight: inherit
99
+
100
+ strong
101
+ color: $strong-color
102
+ font-weight: $strong-weight
103
+
104
+ // Block
105
+
106
+ pre
107
+ +overflow-touch
108
+ background-color: $pre-background
109
+ color: $pre
110
+ font-size: 0.875em
111
+ overflow-x: auto
112
+ padding: 1.25rem 1.5rem
113
+ white-space: pre
114
+ word-wrap: normal
115
+ code
116
+ background-color: transparent
117
+ color: currentColor
118
+ font-size: 1em
119
+ padding: 0
120
+
121
+ table
122
+ td,
123
+ th
124
+ text-align: left
125
+ vertical-align: top
126
+ th
127
+ color: $text-strong
@@ -0,0 +1,203 @@
1
+ // Float
2
+
3
+ .is-clearfix
4
+ +clearfix
5
+
6
+ .is-pulled-left
7
+ float: left !important
8
+
9
+ .is-pulled-right
10
+ float: right !important
11
+
12
+ // Overflow
13
+
14
+ .is-clipped
15
+ overflow: hidden !important
16
+
17
+ // Overlay
18
+
19
+ .is-overlay
20
+ +overlay
21
+
22
+ // Typography
23
+
24
+ =typography-size($target:'')
25
+ @each $size in $sizes
26
+ $i: index($sizes, $size)
27
+ .is-size-#{$i}#{if($target == '', '', '-' + $target)}
28
+ font-size: $size !important
29
+
30
+ +typography-size()
31
+
32
+ +mobile
33
+ +typography-size('mobile')
34
+
35
+ +tablet
36
+ +typography-size('tablet')
37
+
38
+ +touch
39
+ +typography-size('touch')
40
+
41
+ +desktop
42
+ +typography-size('desktop')
43
+
44
+ +widescreen
45
+ +typography-size('widescreen')
46
+
47
+ +fullhd
48
+ +typography-size('fullhd')
49
+
50
+ $alignments: ('centered': 'center', 'justified': 'justify', 'left': 'left', 'right': 'right')
51
+
52
+ @each $alignment, $text-align in $alignments
53
+ .has-text-#{$alignment}
54
+ text-align: #{$text-align} !important
55
+ +mobile
56
+ .has-text-#{$alignment}-mobile
57
+ text-align: #{$text-align} !important
58
+ +tablet
59
+ .has-text-#{$alignment}-tablet
60
+ text-align: #{$text-align} !important
61
+ +tablet-only
62
+ .has-text-#{$alignment}-tablet-only
63
+ text-align: #{$text-align} !important
64
+ +touch
65
+ .has-text-#{$alignment}-touch
66
+ text-align: #{$text-align} !important
67
+ +desktop
68
+ .has-text-#{$alignment}-desktop
69
+ text-align: #{$text-align} !important
70
+ +desktop-only
71
+ .has-text-#{$alignment}-desktop-only
72
+ text-align: #{$text-align} !important
73
+ +widescreen
74
+ .has-text-#{$alignment}-widescreen
75
+ text-align: #{$text-align} !important
76
+ +widescreen-only
77
+ .has-text-#{$alignment}-widescreen-only
78
+ text-align: #{$text-align} !important
79
+ +fullhd
80
+ .has-text-#{$alignment}-fullhd
81
+ text-align: #{$text-align} !important
82
+
83
+ .is-capitalized
84
+ text-transform: capitalize !important
85
+
86
+ .is-lowercase
87
+ text-transform: lowercase !important
88
+
89
+ .is-uppercase
90
+ text-transform: uppercase !important
91
+
92
+ @each $name, $pair in $colors
93
+ $color: nth($pair, 1)
94
+ .has-text-#{$name}
95
+ color: $color !important
96
+ a.has-text-#{$name}
97
+ &:hover,
98
+ &:focus
99
+ color: darken($color, 10%) !important
100
+
101
+ @each $name, $shade in $shades
102
+ .has-text-#{$name}
103
+ color: $shade !important
104
+
105
+ .has-text-weight-light
106
+ font-weight: $weight-light !important
107
+ .has-text-weight-normal
108
+ font-weight: $weight-normal !important
109
+ .has-text-weight-semibold
110
+ font-weight: $weight-semibold !important
111
+ .has-text-weight-bold
112
+ font-weight: $weight-bold !important
113
+
114
+ // Visibility
115
+
116
+ $displays: 'block' 'flex' 'inline' 'inline-block' 'inline-flex'
117
+
118
+ @each $display in $displays
119
+ .is-#{$display}
120
+ display: #{$display} !important
121
+ +mobile
122
+ .is-#{$display}-mobile
123
+ display: #{$display} !important
124
+ +tablet
125
+ .is-#{$display}-tablet
126
+ display: #{$display} !important
127
+ +tablet-only
128
+ .is-#{$display}-tablet-only
129
+ display: #{$display} !important
130
+ +touch
131
+ .is-#{$display}-touch
132
+ display: #{$display} !important
133
+ +desktop
134
+ .is-#{$display}-desktop
135
+ display: #{$display} !important
136
+ +desktop-only
137
+ .is-#{$display}-desktop-only
138
+ display: #{$display} !important
139
+ +widescreen
140
+ .is-#{$display}-widescreen
141
+ display: #{$display} !important
142
+ +widescreen-only
143
+ .is-#{$display}-widescreen-only
144
+ display: #{$display} !important
145
+ +fullhd
146
+ .is-#{$display}-fullhd
147
+ display: #{$display} !important
148
+
149
+ .is-hidden
150
+ display: none !important
151
+
152
+ +mobile
153
+ .is-hidden-mobile
154
+ display: none !important
155
+
156
+ +tablet
157
+ .is-hidden-tablet
158
+ display: none !important
159
+
160
+ +tablet-only
161
+ .is-hidden-tablet-only
162
+ display: none !important
163
+
164
+ +touch
165
+ .is-hidden-touch
166
+ display: none !important
167
+
168
+ +desktop
169
+ .is-hidden-desktop
170
+ display: none !important
171
+
172
+ +desktop-only
173
+ .is-hidden-desktop-only
174
+ display: none !important
175
+
176
+ +widescreen
177
+ .is-hidden-widescreen
178
+ display: none !important
179
+
180
+ +widescreen-only
181
+ .is-hidden-widescreen-only
182
+ display: none !important
183
+
184
+ +fullhd
185
+ .is-hidden-fullhd
186
+ display: none !important
187
+
188
+ // Other
189
+
190
+ .is-marginless
191
+ margin: 0 !important
192
+
193
+ .is-paddingless
194
+ padding: 0 !important
195
+
196
+ .is-radiusless
197
+ border-radius: 0 !important
198
+
199
+ .is-shadowless
200
+ box-shadow: none !important
201
+
202
+ .is-unselectable
203
+ +unselectable
@@ -0,0 +1,80 @@
1
+ /*! minireset.css v0.0.2 | MIT License | github.com/jgthms/minireset.css */
2
+ // Blocks
3
+ html,
4
+ body,
5
+ p,
6
+ ol,
7
+ ul,
8
+ li,
9
+ dl,
10
+ dt,
11
+ dd,
12
+ blockquote,
13
+ figure,
14
+ fieldset,
15
+ legend,
16
+ textarea,
17
+ pre,
18
+ iframe,
19
+ hr,
20
+ h1,
21
+ h2,
22
+ h3,
23
+ h4,
24
+ h5,
25
+ h6
26
+ margin: 0
27
+ padding: 0
28
+
29
+ // Headings
30
+ h1,
31
+ h2,
32
+ h3,
33
+ h4,
34
+ h5,
35
+ h6
36
+ font-size: 100%
37
+ font-weight: normal
38
+
39
+ // List
40
+ ul
41
+ list-style: none
42
+
43
+ // Form
44
+ button,
45
+ input,
46
+ select,
47
+ textarea
48
+ margin: 0
49
+
50
+ // Box sizing
51
+ html
52
+ box-sizing: border-box
53
+
54
+ *
55
+ box-sizing: inherit
56
+ &:before,
57
+ &:after
58
+ box-sizing: inherit
59
+
60
+ // Media
61
+ img,
62
+ embed,
63
+ object,
64
+ audio,
65
+ video
66
+ max-width: 100%
67
+
68
+ // Iframe
69
+ iframe
70
+ border: 0
71
+
72
+ // Table
73
+ table
74
+ border-collapse: collapse
75
+ border-spacing: 0
76
+
77
+ td,
78
+ th
79
+ padding: 0
80
+ text-align: left