bulma-clean-theme 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -0
  3. data/_includes/showcase.html +25 -24
  4. data/_sass/_block-list.scss +81 -0
  5. data/_sass/_main.scss +2 -1
  6. data/_sass/_showcase.scss +2 -4
  7. data/node_modules/bulma-block-list/LICENSE.txt +21 -0
  8. data/node_modules/bulma-block-list/README.md +17 -0
  9. data/node_modules/bulma-block-list/docs/block-list.css +1079 -0
  10. data/node_modules/bulma-block-list/docs/index.html +226 -0
  11. data/node_modules/bulma-block-list/package.json +55 -0
  12. data/node_modules/bulma-block-list/src/block-list.scss +81 -0
  13. data/node_modules/bulma/CHANGELOG.md +118 -1
  14. data/node_modules/bulma/README.md +3 -1
  15. data/node_modules/bulma/bulma.sass +1 -1
  16. data/node_modules/bulma/css/bulma.css +608 -375
  17. data/node_modules/bulma/css/bulma.css.map +1 -1
  18. data/node_modules/bulma/css/bulma.min.css +1 -1
  19. data/node_modules/bulma/package.json +53 -27
  20. data/node_modules/bulma/sass/base/generic.sass +1 -1
  21. data/node_modules/bulma/sass/base/minireset.sass +1 -7
  22. data/node_modules/bulma/sass/components/breadcrumb.sass +1 -1
  23. data/node_modules/bulma/sass/components/card.sass +5 -5
  24. data/node_modules/bulma/sass/components/dropdown.sass +5 -5
  25. data/node_modules/bulma/sass/components/list.sass +2 -2
  26. data/node_modules/bulma/sass/components/media.sass +4 -2
  27. data/node_modules/bulma/sass/components/message.sass +22 -10
  28. data/node_modules/bulma/sass/components/modal.sass +2 -2
  29. data/node_modules/bulma/sass/components/navbar.sass +12 -12
  30. data/node_modules/bulma/sass/components/pagination.sass +7 -6
  31. data/node_modules/bulma/sass/components/panel.sass +26 -11
  32. data/node_modules/bulma/sass/components/tabs.sass +1 -1
  33. data/node_modules/bulma/sass/elements/box.sass +4 -4
  34. data/node_modules/bulma/sass/elements/button.sass +35 -18
  35. data/node_modules/bulma/sass/elements/container.sass +5 -4
  36. data/node_modules/bulma/sass/elements/image.sass +2 -0
  37. data/node_modules/bulma/sass/elements/notification.sass +2 -1
  38. data/node_modules/bulma/sass/elements/progress.sass +1 -1
  39. data/node_modules/bulma/sass/elements/table.sass +6 -6
  40. data/node_modules/bulma/sass/elements/tag.sass +7 -0
  41. data/node_modules/bulma/sass/elements/title.sass +3 -3
  42. data/node_modules/bulma/sass/form/file.sass +4 -4
  43. data/node_modules/bulma/sass/form/input-textarea.sass +9 -5
  44. data/node_modules/bulma/sass/form/shared.sass +9 -9
  45. data/node_modules/bulma/sass/form/tools.sass +1 -1
  46. data/node_modules/bulma/sass/grid/columns.sass +7 -7
  47. data/node_modules/bulma/sass/layout/footer.sass +1 -1
  48. data/node_modules/bulma/sass/layout/hero.sass +1 -1
  49. data/node_modules/bulma/sass/utilities/controls.sass +3 -3
  50. data/node_modules/bulma/sass/utilities/derived-variables.sass +30 -9
  51. data/node_modules/bulma/sass/utilities/functions.sass +51 -15
  52. data/node_modules/bulma/sass/utilities/initial-variables.sass +4 -3
  53. data/node_modules/bulma/sass/utilities/mixins.sass +4 -4
  54. data/package-lock.json +8 -3
  55. data/package.json +2 -1
  56. metadata +11 -3
@@ -0,0 +1,226 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <title>Bulma Block List</title>
8
+ <meta name="description" content="A simple scss package extending Bulma with block style list elements">
9
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.8.0/css/bulma.min.css">
10
+ <link rel="stylesheet" href="block-list.css">
11
+ </head>
12
+ <body>
13
+ <nav class="navbar is-dark" role="navigation" aria-label="main navigation">
14
+ <div class="container">
15
+ <div class="navbar-brand">
16
+ <a class="navbar-item" href="https://www.csrhymes.com">
17
+ C.S. Rhymes
18
+ </a>
19
+
20
+ <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
21
+ <span aria-hidden="true"></span>
22
+ <span aria-hidden="true"></span>
23
+ <span aria-hidden="true"></span>
24
+ </a>
25
+ </div>
26
+ </div>
27
+ </nav>
28
+ <section class="section">
29
+ <div class="container">
30
+
31
+ <div class="columns is-multiline">
32
+ <div class="column is-6">
33
+ <p class="title">Bulma Block List</p>
34
+ </div>
35
+ <div class="column is-6 has-text-right">
36
+ <a href="https://github.com/chrisrhymes/bulma-block-list/stargazers">
37
+ <img src="https://img.shields.io/github/stars/chrisrhymes/bulma-block-list?style=social" alt="GitHub Stars" />
38
+ </a>
39
+ <a href="https://github.com/chrisrhymes/bulma-block-list/network/members">
40
+ <img alt="GitHub forks" src="https://img.shields.io/github/forks/chrisrhymes/bulma-block-list?label=fork&style=social">
41
+ </a>
42
+ </div>
43
+ <div class="column is-12">
44
+ <div class="content">
45
+ <h2>How to use</h2>
46
+ <p>View the <a href="https://github.com/chrisrhymes/bulma-block-list">Bulma Block List repo on GitHub</a> and follow the instructions.</p>
47
+ <p>Create a ul and give it the class 'block-list' then use the modifyers to style as needed. Only some of the colours are displayed below but the scss loops through the entire Bulma $colors map.</p>
48
+ </div>
49
+ </div>
50
+ <div class="column is-12">
51
+ <p class="title is-4">Alignment</p>
52
+ </div>
53
+ <div class="column is-4">
54
+ <p class="title is-5">is-left (default)</p>
55
+ <ul class="block-list is-left">
56
+ <li>Item one</li>
57
+ <li>Item two</li>
58
+ <li>Item three</li>
59
+ </ul>
60
+ </div>
61
+ <div class="column is-4">
62
+ <p class="title is-5">is-centered</p>
63
+ <ul class="block-list is-centered">
64
+ <li>Item one</li>
65
+ <li>Item two</li>
66
+ <li>Item three</li>
67
+ </ul>
68
+ </div>
69
+ <div class="column is-4">
70
+ <p class="title is-5">is-right</p>
71
+ <ul class="block-list is-right">
72
+ <li>Item one</li>
73
+ <li>Item two</li>
74
+ <li>Item three</li>
75
+ </ul>
76
+ </div>
77
+
78
+ <div class="column is-12">
79
+ <p class="title is-4">Sizes</p>
80
+ </div>
81
+ <div class="column is-4">
82
+ <p class="title is-5">is-small</p>
83
+ <ul class="block-list is-small">
84
+ <li>Item one</li>
85
+ <li>Item two</li>
86
+ <li>Item three</li>
87
+ </ul>
88
+ </div>
89
+ <div class="column is-4">
90
+ <p class="title is-5">is-normal</p>
91
+ <ul class="block-list is-normal">
92
+ <li>Item one</li>
93
+ <li>Item two</li>
94
+ <li>Item three</li>
95
+ </ul>
96
+ </div>
97
+ <div class="column is-4">
98
+ <p class="title is-5">is-large</p>
99
+ <ul class="block-list is-large">
100
+ <li>Item one</li>
101
+ <li>Item two</li>
102
+ <li>Item three</li>
103
+ </ul>
104
+ </div>
105
+
106
+ <div class="column is-12">
107
+ <p class="title is-4">Colours</p>
108
+ </div>
109
+ <div class="column is-4">
110
+ <p class="title is-5">is-primary</p>
111
+ <ul class="block-list is-primary">
112
+ <li>Item one</li>
113
+ <li>Item two</li>
114
+ <li>Item three</li>
115
+ </ul>
116
+ </div>
117
+ <div class="column is-4">
118
+ <p class="title is-5">is-info</p>
119
+ <ul class="block-list is-info">
120
+ <li>Item one</li>
121
+ <li>Item two</li>
122
+ <li>Item three</li>
123
+ </ul>
124
+ </div>
125
+ <div class="column is-4">
126
+ <p class="title is-5">is-dark</p>
127
+ <ul class="block-list is-dark">
128
+ <li>Item one</li>
129
+ <li>Item two</li>
130
+ <li>Item three</li>
131
+ </ul>
132
+ </div>
133
+
134
+ <div class="column is-12">
135
+ <p class="title is-4">Outlined</p>
136
+ </div>
137
+ <div class="column is-4">
138
+ <p class="title is-5">is-outlined is-primary</p>
139
+ <ul class="block-list is-outlined is-primary">
140
+ <li>Item one</li>
141
+ <li>Item two</li>
142
+ <li>Item three</li>
143
+ </ul>
144
+ </div>
145
+ <div class="column is-4">
146
+ <p class="title is-5">is-outlined is-info</p>
147
+ <ul class="block-list is-outlined is-info">
148
+ <li>Item one</li>
149
+ <li>Item two</li>
150
+ <li>Item three</li>
151
+ </ul>
152
+ </div>
153
+ <div class="column is-4">
154
+ <p class="title is-5">is-outlined is-dark</p>
155
+ <ul class="block-list is-outlined is-dark">
156
+ <li>Item one</li>
157
+ <li>Item two</li>
158
+ <li>Item three</li>
159
+ </ul>
160
+ </div>
161
+
162
+ <div class="column is-12">
163
+ <p class="title is-4">Has Radius</p>
164
+ </div>
165
+ <div class="column is-4">
166
+ <p class="title is-5">has-radius is-primary </p>
167
+ <ul class="block-list has-radius is-primary">
168
+ <li>Item one</li>
169
+ <li>Item two</li>
170
+ <li>Item three</li>
171
+ </ul>
172
+ </div>
173
+ <div class="column is-4">
174
+ <p class="title is-5">has-radius is-info</p>
175
+ <ul class="block-list has-radius is-info">
176
+ <li>Item one</li>
177
+ <li>Item two</li>
178
+ <li>Item three</li>
179
+ </ul>
180
+ </div>
181
+ <div class="column is-4">
182
+ <p class="title is-5">has-radius is-dark</p>
183
+ <ul class="block-list has-radius is-dark">
184
+ <li>Item one</li>
185
+ <li>Item two</li>
186
+ <li>Item three</li>
187
+ </ul>
188
+ </div>
189
+
190
+ <div class="column is-12">
191
+ <p class="title is-4">Combinations</p>
192
+ </div>
193
+ <div class="column is-4">
194
+ <p class="title is-5">is-small is-outlined is-success is-centered</p>
195
+ <ul class="block-list is-small is-outlined is-success is-centered">
196
+ <li>Item one</li>
197
+ <li>Item two</li>
198
+ <li>Item three</li>
199
+ </ul>
200
+ </div>
201
+ <div class="column is-4">
202
+ <p class="title is-5">is-large is-warning is-right has-radius</p>
203
+ <ul class="block-list is-large is-warning is-right has-radius">
204
+ <li>Item one</li>
205
+ <li>Item two</li>
206
+ <li>Item three</li>
207
+ </ul>
208
+ </div>
209
+ <div class="column is-4">
210
+ <p class="title is-5">is-large is-outlined is-danger is-centered</p>
211
+ <ul class="block-list is-large is-outlined is-danger is-centered">
212
+ <li>Item one</li>
213
+ <li>Item two</li>
214
+ <li>Item three</li>
215
+ </ul>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </section>
220
+ <footer class="footer">
221
+ <div class="has-text-centered">
222
+ <p><a href="https://www.csrhymes.com">C.S. Rhymes</a></p>
223
+ </div>
224
+ </footer>
225
+ </body>
226
+ </html>
@@ -0,0 +1,55 @@
1
+ {
2
+ "_from": "bulma-block-list",
3
+ "_id": "bulma-block-list@0.1.1",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-ebtC0vbsn+MNQWmL7RFf9YElZzy365uBjiHN85op5F9YHITvDmysCf69FyV6emOu0R57Nq7kZHDjC620ntC2ZQ==",
6
+ "_location": "/bulma-block-list",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "tag",
10
+ "registry": true,
11
+ "raw": "bulma-block-list",
12
+ "name": "bulma-block-list",
13
+ "escapedName": "bulma-block-list",
14
+ "rawSpec": "",
15
+ "saveSpec": null,
16
+ "fetchSpec": "latest"
17
+ },
18
+ "_requiredBy": [
19
+ "#USER",
20
+ "/"
21
+ ],
22
+ "_resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.1.1.tgz",
23
+ "_shasum": "c9ac135363c2b747716b0fcaea98b0b84cf4b18a",
24
+ "_spec": "bulma-block-list",
25
+ "_where": "/Users/chrisrhymes/Code/bulma-clean-theme",
26
+ "author": {
27
+ "name": "chrisrhymes"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/chrisrhymes/bulma-block-list/issues"
31
+ },
32
+ "bundleDependencies": false,
33
+ "deprecated": false,
34
+ "description": "A simple scss package extending Bulma with block style list elements",
35
+ "devDependencies": {
36
+ "bulma": "^0.8.0",
37
+ "node-sass": "^4.9.2"
38
+ },
39
+ "homepage": "https://github.com/chrisrhymes/bulma-block-list#readme",
40
+ "keywords": [
41
+ "Bulma",
42
+ "List",
43
+ "BlockList",
44
+ "Unordered List"
45
+ ],
46
+ "license": "MIT",
47
+ "main": "src/block-list.scss",
48
+ "name": "bulma-block-list",
49
+ "scripts": {
50
+ "css-build": "node-sass --omit-source-map-url src/block-list.scss docs/block-list.css",
51
+ "css-watch": "npm run css-build -- --watch",
52
+ "start": "npm run css-watch"
53
+ },
54
+ "version": "0.1.1"
55
+ }
@@ -0,0 +1,81 @@
1
+ @charset "utf-8";
2
+ @import "node_modules/bulma/sass/utilities/_all.sass";
3
+ @import "node_modules/bulma/sass/base/_all.sass";
4
+
5
+ $block-list-separator: 0.25rem !default;
6
+
7
+ .block-list {
8
+ list-style: none;
9
+
10
+ li {
11
+ padding: ($gap / 2);
12
+ background: $light;
13
+ margin-bottom: $block-list-separator;
14
+ }
15
+
16
+ &.is-left {
17
+ li {
18
+ text-align: left;
19
+ }
20
+ }
21
+
22
+
23
+ &.is-centered {
24
+ li {
25
+ text-align: center;
26
+ }
27
+ }
28
+
29
+ &.is-right {
30
+ li {
31
+ text-align: right;
32
+ }
33
+ }
34
+
35
+ &.is-small {
36
+ li {
37
+ font-size: $small-font-size;
38
+ padding: ($gap / 3);
39
+ }
40
+ }
41
+
42
+ &.is-normal {
43
+ li {
44
+ font-size: $body-font-size;
45
+ }
46
+ }
47
+
48
+ &.is-large {
49
+ li {
50
+ font-size: $size-large;
51
+ }
52
+ }
53
+
54
+ @each $name, $pair in $colors {
55
+
56
+ $color: nth($pair, 1);
57
+ $color-invert: nth($pair, 2);
58
+
59
+ &.is-#{$name} {
60
+ li {
61
+ background: $color;
62
+ color: $color-invert;
63
+ }
64
+
65
+ &.is-outlined {
66
+ li {
67
+ background: transparent;
68
+ color: $color;
69
+ border: 1px solid $color;
70
+ }
71
+ }
72
+
73
+ &.has-radius {
74
+ li {
75
+ border-radius: $radius;
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ }
@@ -1,6 +1,123 @@
1
1
  # Bulma Changelog
2
2
 
3
- ## Upcoming release
3
+ ## 0.8.0
4
+
5
+ ### Big update
6
+
7
+ #### Larger form controls
8
+
9
+ Controls and buttons are now `2.5em` high. You can revert this resizing by setting these previous values:
10
+
11
+ ```sass
12
+ $control-height: 2.25em
13
+ $control-padding-vertical: calc(0.375em - #{$control-border-width})
14
+ $control-padding-horizontal: calc(0.625em - #{$control-border-width})
15
+ $button-padding-vertical: calc(0.375em - #{$button-border-width})
16
+ $button-padding-horizontal: 0.75em
17
+ ```
18
+
19
+ #### Light and dark colors
20
+
21
+ Each main color (`"primary"`, `"info"`, `"success"`, `"warning"`, `"danger"`) now has a `*-light` and `*-dark` version. They are calculated using 2 new color functions:
22
+
23
+ * `findLightColor()` which finds the light version of a color
24
+ * `findDarkolor()` which finds the dark version of a color
25
+
26
+ The light colors are used by the `button` element, while the light and dark colors are used by the `message` component.
27
+
28
+ #### Panel colors
29
+
30
+ The `panel` component is now available in all the different colors.
31
+
32
+ #### 4-value color map
33
+
34
+ The `$colors` Sass map now accepts, for each of its values, a map of up to **4** values. For example: the key `"info"` now has the `($info, $info-invert, $info-light, $info-dark)` map.
35
+
36
+ If you provide a `$custom-colors` map, you can decide to provide a map of 1, 2, 3 or 4 values for each value. If fewer than 4 are provided, Bulma will calculate the remaining ones:
37
+
38
+ ```scss
39
+ $custom-colors: (
40
+ "lime": (lime),
41
+ "tomato": (tomato, white),
42
+ "orange": ($orange, $orange-invert, $orange-light),
43
+ "lavender": ($lavender, $lavender-invert, $lavender-light, $lavender-dark)
44
+ );
45
+ ```
46
+
47
+ This is processed by the updated `mergeColorMaps()` Sass function.
48
+
49
+ #### Scheme variables
50
+
51
+ There are 6 new `$scheme` derived variables: `$scheme-main` `$scheme-main-bis` `$scheme-main-ter` `$scheme-invert` `$scheme-invert-bis` `$scheme-invert-ter`
52
+ They replace the `$white` and `$black` occurences in the codebase. This makes it easy to create a "Dark mode" simply by swapping the values:
53
+
54
+ ```sass
55
+ $scheme-main: $black
56
+ $scheme-invert: $white
57
+ // etc.
58
+ ```
59
+
60
+ That is also why most of the codebase now references **derived** variables (`$text`, `$background`, `$border` etc.) instead of **initial** ones (`$grey`, `$grey-lighter`, `$grey-darker` etc.): updating the derived variables will affect all elements and components directly.
61
+
62
+ #### Initial variables
63
+
64
+ * `$green: hsl(141, 53%, 53%)`
65
+ * `$cyan: hsl(204, 71%, 53%)`
66
+ * `$red: hsl(348, 86%, 61%)`
67
+
68
+ #### Derived variables
69
+
70
+ * `$primary-invert: findColorInvert($primary)`
71
+ * `$primary-light: findLightColor($primary)`
72
+ * `$primary-dark: findDarkColor($primary)`
73
+ * `$info-invert: findColorInvert($info)`
74
+ * `$info-light: findLightColor($info)`
75
+ * `$info-dark: findDarkColor($info)`
76
+ * `$success-invert: findColorInvert($success)`
77
+ * `$success-light: findLightColor($success)`
78
+ * `$success-dark: findDarkColor($success)`
79
+ * `$warning-invert: findColorInvert($warning)`
80
+ * `$warning-light: findLightColor($warning)`
81
+ * `$warning-dark: findDarkColor($warning)`
82
+ * `$danger-invert: findColorInvert($danger)`
83
+ * `$danger-light: findLightColor($danger)`
84
+ * `$danger-dark: findDarkColor($danger)`
85
+ * `$light-invert: findColorInvert($light)`
86
+ * `$dark-invert: findColorInvert($dark)`
87
+
88
+ * `$scheme-main: $white`
89
+ * `$scheme-main-bis: $white-bis`
90
+ * `$scheme-main-ter: $white-ter`
91
+ * `$scheme-invert: $black`
92
+ * `$scheme-invert-bis: $black-bis`
93
+ * `$scheme-invert-ter: $black-ter`
94
+
95
+ ### Other variables
96
+
97
+ * `$control-height: 2.5em`
98
+ * `$control-padding-vertical: calc(0.5em - #{$control-border-width})`
99
+ * `$control-padding-horizontal: calc(0.75em - #{$control-border-width})`
100
+ * `$media-border-color: rgba($border, 0.5)`
101
+ * `$notification-code-background-color: $scheme-main`
102
+ * `$panel-radius: $radius-large`
103
+ * `$panel-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02)`
104
+ * `$textarea-padding: $control-padding-horizontal`
105
+ * `$textarea-max-height: 40em`
106
+ * `$textarea-min-height: 8em`
107
+
108
+ ### Bug fixes
109
+
110
+ * Fix #2647 -> Missing meta tags in snippet
111
+ * Fix #2031, Fix #2483 -> Invalid output when declaring a custom shade map
112
+ * Fix #2060 -> `height: auto` on HTML `audio` element breaks height of element
113
+ * Fix #706 -> Derive `-invert` variables using `findColorInvert()`
114
+ * #1608 Fix #1552 -> `.container.is-fluid` margins
115
+
116
+ ### New features
117
+
118
+ * #2563 `.image` has a new `.is-fullwidth` modifier
119
+
120
+ ## 0.7.5
4
121
 
5
122
  ### Deprecation warning
6
123