bulma-clean-theme 0.14.0 → 1.0.0.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -0
- data/_includes/callouts.html +12 -5
- data/_includes/cookie-banner.html +1 -1
- data/_includes/hero.html +5 -3
- data/_includes/showcase.html +8 -6
- data/_layouts/default.html +1 -0
- data/_layouts/post.html +7 -3
- data/_sass/_main.scss +3 -2
- data/node_modules/.package-lock.json +211 -8
- data/node_modules/bulma/LICENSE +1 -1
- data/node_modules/bulma/README.md +56 -52
- data/node_modules/bulma/bulma.scss +4 -0
- data/node_modules/bulma/css/bulma.css +19282 -8696
- data/node_modules/bulma/css/bulma.css.map +1 -1
- data/node_modules/bulma/css/bulma.min.css +3 -1
- data/node_modules/bulma/css/versions/bulma-no-dark-mode.min.css +3 -0
- data/node_modules/bulma/css/versions/bulma-no-dark-mode.min.css.map +1 -0
- data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.min.css +3 -0
- data/node_modules/bulma/css/versions/bulma-no-helpers-prefixed.min.css.map +1 -0
- data/node_modules/bulma/css/versions/bulma-no-helpers.min.css +3 -0
- data/node_modules/bulma/css/versions/bulma-no-helpers.min.css.map +1 -0
- data/node_modules/bulma/css/versions/bulma-prefixed.min.css +3 -0
- data/node_modules/bulma/css/versions/bulma-prefixed.min.css.map +1 -0
- data/node_modules/bulma/package.json +25 -20
- data/node_modules/bulma/sass/_index.scss +10 -0
- data/node_modules/bulma/sass/base/_index.scss +6 -0
- data/node_modules/bulma/sass/base/animations.scss +15 -0
- data/node_modules/bulma/sass/base/generic.scss +239 -0
- data/node_modules/bulma/sass/base/minireset.scss +92 -0
- data/node_modules/bulma/sass/base/skeleton.scss +126 -0
- data/node_modules/bulma/sass/components/_index.scss +13 -0
- data/node_modules/bulma/sass/components/breadcrumb.scss +139 -0
- data/node_modules/bulma/sass/components/card.scss +162 -0
- data/node_modules/bulma/sass/components/dropdown.scss +188 -0
- data/node_modules/bulma/sass/components/menu.scss +165 -0
- data/node_modules/bulma/sass/components/message.scss +183 -0
- data/node_modules/bulma/sass/components/modal.scss +164 -0
- data/node_modules/bulma/sass/components/navbar.scss +788 -0
- data/node_modules/bulma/sass/components/pagination.scss +379 -0
- data/node_modules/bulma/sass/components/panel.scss +218 -0
- data/node_modules/bulma/sass/components/tabs.scss +273 -0
- data/node_modules/bulma/sass/elements/_index.scss +16 -0
- data/node_modules/bulma/sass/elements/block.scss +6 -0
- data/node_modules/bulma/sass/elements/box.scss +59 -0
- data/node_modules/bulma/sass/elements/button.scss +640 -0
- data/node_modules/bulma/sass/elements/content.scss +283 -0
- data/node_modules/bulma/sass/elements/delete.scss +6 -0
- data/node_modules/bulma/sass/elements/icon.scss +67 -0
- data/node_modules/bulma/sass/elements/image.scss +62 -0
- data/node_modules/bulma/sass/elements/loader.scss +15 -0
- data/node_modules/bulma/sass/elements/notification.scss +105 -0
- data/node_modules/bulma/sass/elements/progress.scss +115 -0
- data/node_modules/bulma/sass/elements/table.scss +261 -0
- data/node_modules/bulma/sass/elements/tag.scss +219 -0
- data/node_modules/bulma/sass/elements/title.scss +128 -0
- data/node_modules/bulma/sass/form/_index.scss +9 -0
- data/node_modules/bulma/sass/form/checkbox-radio.scss +32 -0
- data/node_modules/bulma/sass/form/file.scss +330 -0
- data/node_modules/bulma/sass/form/input-textarea.scss +123 -0
- data/node_modules/bulma/sass/form/select.scss +143 -0
- data/node_modules/bulma/sass/form/shared.scss +172 -0
- data/node_modules/bulma/sass/form/tools.scss +341 -0
- data/node_modules/bulma/sass/grid/_index.scss +5 -0
- data/node_modules/bulma/sass/grid/columns-v2.scss +957 -0
- data/node_modules/bulma/sass/grid/columns.scss +877 -0
- data/node_modules/bulma/sass/grid/grid.scss +209 -0
- data/node_modules/bulma/sass/helpers/_index.scss +15 -0
- data/node_modules/bulma/sass/helpers/aspect-ratio.scss +10 -0
- data/node_modules/bulma/sass/helpers/border.scss +15 -0
- data/node_modules/bulma/sass/helpers/color.scss +364 -0
- data/node_modules/bulma/sass/helpers/flexbox.scss +62 -0
- data/node_modules/bulma/sass/helpers/float.scss +28 -0
- data/node_modules/bulma/sass/helpers/gap.scss +24 -0
- data/node_modules/bulma/sass/helpers/other.scss +19 -0
- data/node_modules/bulma/sass/helpers/overflow.scss +21 -0
- data/node_modules/bulma/sass/helpers/position.scss +19 -0
- data/node_modules/bulma/sass/helpers/spacing.scss +64 -0
- data/node_modules/bulma/sass/helpers/typography.scss +168 -0
- data/node_modules/bulma/sass/helpers/visibility.scss +221 -0
- data/node_modules/bulma/sass/layout/_index.scss +9 -0
- data/node_modules/bulma/sass/layout/container.scss +51 -0
- data/node_modules/bulma/sass/layout/footer.scss +23 -0
- data/node_modules/bulma/sass/layout/hero.scss +270 -0
- data/node_modules/bulma/sass/layout/level.scss +107 -0
- data/node_modules/bulma/sass/layout/media.scss +106 -0
- data/node_modules/bulma/sass/layout/section.scss +34 -0
- data/node_modules/bulma/sass/themes/_index.scss +35 -0
- data/node_modules/bulma/sass/themes/dark.scss +56 -0
- data/node_modules/bulma/sass/themes/light.scss +145 -0
- data/node_modules/bulma/sass/themes/setup.scss +174 -0
- data/node_modules/bulma/sass/utilities/_index.scss +7 -0
- data/node_modules/bulma/sass/utilities/controls.scss +85 -0
- data/node_modules/bulma/sass/utilities/css-variables.scss +425 -0
- data/node_modules/bulma/sass/utilities/derived-variables.scss +112 -0
- data/node_modules/bulma/sass/utilities/extends.scss +34 -0
- data/node_modules/bulma/sass/utilities/functions.scss +258 -0
- data/node_modules/bulma/sass/utilities/initial-variables.scss +155 -0
- data/node_modules/bulma/sass/utilities/mixins.scss +460 -0
- data/node_modules/bulma/versions/bulma-no-dark-mode.scss +19 -0
- data/node_modules/bulma/versions/bulma-no-helpers-prefixed.scss +13 -0
- data/node_modules/bulma/versions/bulma-no-helpers.scss +11 -0
- data/node_modules/bulma/versions/bulma-prefixed.scss +6 -0
- data/node_modules/bulma-block-list/README.md +12 -6
- data/node_modules/bulma-block-list/docs/.nojekyll +0 -0
- data/node_modules/bulma-block-list/docs/docs.css +22782 -0
- data/node_modules/bulma-block-list/docs/docs.css.map +1 -0
- data/node_modules/bulma-block-list/docs/index.html +376 -307
- data/node_modules/bulma-block-list/package.json +8 -3
- data/node_modules/bulma-block-list/src/block-list.scss +99 -125
- data/node_modules/bulma-block-list/src/docs.scss +5 -0
- data/package-lock.json +353 -16
- data/package.json +2 -2
- metadata +97 -82
- data/node_modules/bulma/bulma.sass +0 -10
- data/node_modules/bulma/css/bulma-rtl.css +0 -11851
- data/node_modules/bulma/css/bulma-rtl.css.map +0 -1
- data/node_modules/bulma/css/bulma-rtl.min.css +0 -1
- data/node_modules/bulma/sass/base/_all.sass +0 -6
- data/node_modules/bulma/sass/base/animations.sass +0 -5
- data/node_modules/bulma/sass/base/generic.sass +0 -145
- data/node_modules/bulma/sass/base/helpers.sass +0 -1
- data/node_modules/bulma/sass/base/minireset.sass +0 -79
- data/node_modules/bulma/sass/components/_all.sass +0 -15
- data/node_modules/bulma/sass/components/breadcrumb.sass +0 -77
- data/node_modules/bulma/sass/components/card.sass +0 -103
- data/node_modules/bulma/sass/components/dropdown.sass +0 -83
- data/node_modules/bulma/sass/components/level.sass +0 -79
- data/node_modules/bulma/sass/components/media.sass +0 -59
- data/node_modules/bulma/sass/components/menu.sass +0 -59
- data/node_modules/bulma/sass/components/message.sass +0 -101
- data/node_modules/bulma/sass/components/modal.sass +0 -117
- data/node_modules/bulma/sass/components/navbar.sass +0 -446
- data/node_modules/bulma/sass/components/pagination.sass +0 -167
- data/node_modules/bulma/sass/components/panel.sass +0 -121
- data/node_modules/bulma/sass/components/tabs.sass +0 -176
- data/node_modules/bulma/sass/elements/_all.sass +0 -16
- data/node_modules/bulma/sass/elements/box.sass +0 -26
- data/node_modules/bulma/sass/elements/button.sass +0 -357
- data/node_modules/bulma/sass/elements/container.sass +0 -29
- data/node_modules/bulma/sass/elements/content.sass +0 -162
- data/node_modules/bulma/sass/elements/form.sass +0 -1
- data/node_modules/bulma/sass/elements/icon.sass +0 -46
- data/node_modules/bulma/sass/elements/image.sass +0 -73
- data/node_modules/bulma/sass/elements/notification.sass +0 -52
- data/node_modules/bulma/sass/elements/other.sass +0 -31
- data/node_modules/bulma/sass/elements/progress.sass +0 -73
- data/node_modules/bulma/sass/elements/table.sass +0 -134
- data/node_modules/bulma/sass/elements/tag.sass +0 -140
- data/node_modules/bulma/sass/elements/title.sass +0 -70
- data/node_modules/bulma/sass/form/_all.sass +0 -9
- data/node_modules/bulma/sass/form/checkbox-radio.sass +0 -22
- data/node_modules/bulma/sass/form/file.sass +0 -184
- data/node_modules/bulma/sass/form/input-textarea.sass +0 -66
- data/node_modules/bulma/sass/form/select.sass +0 -88
- data/node_modules/bulma/sass/form/shared.sass +0 -60
- data/node_modules/bulma/sass/form/tools.sass +0 -215
- data/node_modules/bulma/sass/grid/_all.sass +0 -5
- data/node_modules/bulma/sass/grid/columns.sass +0 -513
- data/node_modules/bulma/sass/grid/tiles.sass +0 -36
- data/node_modules/bulma/sass/helpers/_all.sass +0 -12
- data/node_modules/bulma/sass/helpers/color.sass +0 -39
- data/node_modules/bulma/sass/helpers/flexbox.sass +0 -35
- data/node_modules/bulma/sass/helpers/float.sass +0 -10
- data/node_modules/bulma/sass/helpers/other.sass +0 -14
- data/node_modules/bulma/sass/helpers/overflow.sass +0 -2
- data/node_modules/bulma/sass/helpers/position.sass +0 -7
- data/node_modules/bulma/sass/helpers/spacing.sass +0 -31
- data/node_modules/bulma/sass/helpers/typography.sass +0 -103
- data/node_modules/bulma/sass/helpers/visibility.sass +0 -122
- data/node_modules/bulma/sass/layout/_all.sass +0 -6
- data/node_modules/bulma/sass/layout/footer.sass +0 -11
- data/node_modules/bulma/sass/layout/hero.sass +0 -153
- data/node_modules/bulma/sass/layout/section.sass +0 -17
- data/node_modules/bulma/sass/utilities/_all.sass +0 -9
- data/node_modules/bulma/sass/utilities/animations.sass +0 -1
- data/node_modules/bulma/sass/utilities/controls.sass +0 -49
- data/node_modules/bulma/sass/utilities/derived-variables.sass +0 -114
- data/node_modules/bulma/sass/utilities/extends.sass +0 -25
- data/node_modules/bulma/sass/utilities/functions.sass +0 -135
- data/node_modules/bulma/sass/utilities/initial-variables.sass +0 -79
- data/node_modules/bulma/sass/utilities/mixins.sass +0 -303
- data/node_modules/bulma-block-list/docs/Gemfile +0 -3
- data/node_modules/bulma-block-list/docs/_config.yml +0 -17
- data/node_modules/bulma-block-list/docs/_data/menu.yaml +0 -24
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +0 -156
- data/node_modules/bulma-block-list/docs/_sass/_main.scss +0 -20
- data/node_modules/bulma-block-list/docs/assets/css/app.scss +0 -7
- data/node_modules/bulma-block-list/docs/favicon.ico +0 -0
- data/node_modules/bulma-block-list/src/demo.scss +0 -3
@@ -0,0 +1,460 @@
|
|
1
|
+
@use "initial-variables" as iv;
|
2
|
+
@use "css-variables" as cv;
|
3
|
+
|
4
|
+
@mixin arrow($color: #{cv.getVar("link")}) {
|
5
|
+
border: 0.125em solid $color;
|
6
|
+
border-right: 0;
|
7
|
+
border-top: 0;
|
8
|
+
content: " ";
|
9
|
+
display: block;
|
10
|
+
height: 0.625em;
|
11
|
+
margin-top: -0.4375em;
|
12
|
+
pointer-events: none;
|
13
|
+
position: absolute;
|
14
|
+
top: 50%;
|
15
|
+
transform: rotate(-45deg);
|
16
|
+
transform-origin: center;
|
17
|
+
transition-duration: cv.getVar("duration");
|
18
|
+
transition-property: border-color;
|
19
|
+
width: 0.625em;
|
20
|
+
}
|
21
|
+
|
22
|
+
@mixin block($spacing: cv.getVar("block-spacing")) {
|
23
|
+
&:not(:last-child) {
|
24
|
+
margin-bottom: $spacing;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
@mixin center($width, $height: 0) {
|
29
|
+
position: absolute;
|
30
|
+
@if $height != 0 {
|
31
|
+
left: calc(50% - (#{$width} * 0.5));
|
32
|
+
top: calc(50% - (#{$height} * 0.5));
|
33
|
+
} @else {
|
34
|
+
left: calc(50% - (#{$width} * 0.5));
|
35
|
+
top: calc(50% - (#{$width} * 0.5));
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
@mixin clearfix {
|
40
|
+
&::after {
|
41
|
+
clear: both;
|
42
|
+
content: " ";
|
43
|
+
display: table;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
@mixin delete {
|
48
|
+
@include cv.register-vars(
|
49
|
+
(
|
50
|
+
"delete-dimensions": 1.25rem,
|
51
|
+
"delete-background-l": 0%,
|
52
|
+
"delete-background-alpha": 0.5,
|
53
|
+
"delete-color": #{cv.getVar("white")},
|
54
|
+
)
|
55
|
+
);
|
56
|
+
|
57
|
+
appearance: none;
|
58
|
+
background-color: hsla(
|
59
|
+
#{cv.getVar("scheme-h")},
|
60
|
+
#{cv.getVar("scheme-s")},
|
61
|
+
#{cv.getVar("delete-background-l")},
|
62
|
+
#{cv.getVar("delete-background-alpha")}
|
63
|
+
);
|
64
|
+
border: none;
|
65
|
+
border-radius: cv.getVar("radius-rounded");
|
66
|
+
cursor: pointer;
|
67
|
+
pointer-events: auto;
|
68
|
+
display: inline-flex;
|
69
|
+
flex-grow: 0;
|
70
|
+
flex-shrink: 0;
|
71
|
+
font-size: 1em;
|
72
|
+
height: cv.getVar("delete-dimensions");
|
73
|
+
max-height: cv.getVar("delete-dimensions");
|
74
|
+
max-width: cv.getVar("delete-dimensions");
|
75
|
+
min-height: cv.getVar("delete-dimensions");
|
76
|
+
min-width: cv.getVar("delete-dimensions");
|
77
|
+
outline: none;
|
78
|
+
position: relative;
|
79
|
+
vertical-align: top;
|
80
|
+
width: cv.getVar("delete-dimensions");
|
81
|
+
|
82
|
+
&::before,
|
83
|
+
&::after {
|
84
|
+
background-color: cv.getVar("delete-color");
|
85
|
+
content: "";
|
86
|
+
display: block;
|
87
|
+
left: 50%;
|
88
|
+
position: absolute;
|
89
|
+
top: 50%;
|
90
|
+
transform: translateX(-50%) translateY(-50%) rotate(45deg);
|
91
|
+
transform-origin: center center;
|
92
|
+
}
|
93
|
+
|
94
|
+
&::before {
|
95
|
+
height: 2px;
|
96
|
+
width: 50%;
|
97
|
+
}
|
98
|
+
|
99
|
+
&::after {
|
100
|
+
height: 50%;
|
101
|
+
width: 2px;
|
102
|
+
}
|
103
|
+
|
104
|
+
&:hover,
|
105
|
+
&:focus {
|
106
|
+
@include cv.register-var("delete-background-alpha", 0.4);
|
107
|
+
}
|
108
|
+
|
109
|
+
&:active {
|
110
|
+
@include cv.register-var("delete-background-alpha", 0.5);
|
111
|
+
}
|
112
|
+
|
113
|
+
// Sizes
|
114
|
+
&.#{iv.$class-prefix}is-small {
|
115
|
+
@include cv.register-var("delete-dimensions", 1rem);
|
116
|
+
}
|
117
|
+
|
118
|
+
&.#{iv.$class-prefix}is-medium {
|
119
|
+
@include cv.register-var("delete-dimensions", 1.5rem);
|
120
|
+
}
|
121
|
+
|
122
|
+
&.#{iv.$class-prefix}is-large {
|
123
|
+
@include cv.register-var("delete-dimensions", 2rem);
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
@mixin fa($size, $dimensions) {
|
128
|
+
display: inline-block;
|
129
|
+
font-size: $size;
|
130
|
+
height: $dimensions;
|
131
|
+
line-height: $dimensions;
|
132
|
+
text-align: center;
|
133
|
+
vertical-align: top;
|
134
|
+
width: $dimensions;
|
135
|
+
}
|
136
|
+
|
137
|
+
@mixin burger($dimensions) {
|
138
|
+
align-items: center;
|
139
|
+
appearance: none;
|
140
|
+
background: none;
|
141
|
+
border: none;
|
142
|
+
border-radius: cv.getVar("burger-border-radius");
|
143
|
+
color: hsl(
|
144
|
+
cv.getVar("burger-h"),
|
145
|
+
cv.getVar("burger-s"),
|
146
|
+
cv.getVar("burger-l")
|
147
|
+
);
|
148
|
+
cursor: pointer;
|
149
|
+
display: inline-flex;
|
150
|
+
flex-direction: column;
|
151
|
+
flex-shrink: 0;
|
152
|
+
height: $dimensions;
|
153
|
+
justify-content: center;
|
154
|
+
position: relative;
|
155
|
+
vertical-align: top;
|
156
|
+
width: $dimensions;
|
157
|
+
|
158
|
+
span {
|
159
|
+
background-color: currentColor;
|
160
|
+
display: block;
|
161
|
+
height: cv.getVar("burger-item-height");
|
162
|
+
left: calc(50% - calc(#{cv.getVar("burger-item-width")}) / 2);
|
163
|
+
position: absolute;
|
164
|
+
transform-origin: center;
|
165
|
+
transition-duration: cv.getVar("duration");
|
166
|
+
transition-property: background-color, color, opacity, transform;
|
167
|
+
transition-timing-function: cv.getVar("easing");
|
168
|
+
width: cv.getVar("burger-item-width");
|
169
|
+
|
170
|
+
&:nth-child(1),
|
171
|
+
&:nth-child(2) {
|
172
|
+
top: calc(50% - calc(#{cv.getVar("burger-item-height")}) / 2);
|
173
|
+
}
|
174
|
+
|
175
|
+
&:nth-child(3) {
|
176
|
+
bottom: calc(50% + #{cv.getVar("burger-gap")});
|
177
|
+
}
|
178
|
+
|
179
|
+
&:nth-child(4) {
|
180
|
+
top: calc(50% + #{cv.getVar("burger-gap")});
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
&:hover {
|
185
|
+
background-color: hsla(
|
186
|
+
cv.getVar("burger-h"),
|
187
|
+
cv.getVar("burger-s"),
|
188
|
+
cv.getVar("burger-l"),
|
189
|
+
0.1
|
190
|
+
);
|
191
|
+
}
|
192
|
+
|
193
|
+
&:active {
|
194
|
+
background-color: hsla(
|
195
|
+
cv.getVar("burger-h"),
|
196
|
+
cv.getVar("burger-s"),
|
197
|
+
cv.getVar("burger-l"),
|
198
|
+
0.2
|
199
|
+
);
|
200
|
+
}
|
201
|
+
|
202
|
+
// Modifers
|
203
|
+
&.#{iv.$class-prefix}is-active {
|
204
|
+
span {
|
205
|
+
&:nth-child(1) {
|
206
|
+
transform: rotate(-45deg);
|
207
|
+
}
|
208
|
+
|
209
|
+
&:nth-child(2) {
|
210
|
+
transform: rotate(45deg);
|
211
|
+
}
|
212
|
+
|
213
|
+
&:nth-child(3),
|
214
|
+
&:nth-child(4) {
|
215
|
+
opacity: 0;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
@mixin overflow-touch {
|
222
|
+
-webkit-overflow-scrolling: touch;
|
223
|
+
}
|
224
|
+
|
225
|
+
@mixin placeholder {
|
226
|
+
$placeholders: ":-moz" ":-webkit-input" "-moz" "-ms-input";
|
227
|
+
|
228
|
+
@each $placeholder in $placeholders {
|
229
|
+
&:#{$placeholder}-placeholder {
|
230
|
+
@content;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
}
|
234
|
+
|
235
|
+
@mixin reset {
|
236
|
+
appearance: none;
|
237
|
+
background: none;
|
238
|
+
border: none;
|
239
|
+
color: inherit;
|
240
|
+
font-family: inherit;
|
241
|
+
font-size: 1em;
|
242
|
+
margin: 0;
|
243
|
+
padding: 0;
|
244
|
+
}
|
245
|
+
|
246
|
+
@mixin selection($current-selector: false) {
|
247
|
+
@if $current-selector {
|
248
|
+
&::-moz-selection {
|
249
|
+
@content;
|
250
|
+
}
|
251
|
+
&::selection {
|
252
|
+
@content;
|
253
|
+
}
|
254
|
+
} @else {
|
255
|
+
::-moz-selection {
|
256
|
+
@content;
|
257
|
+
}
|
258
|
+
::selection {
|
259
|
+
@content;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
264
|
+
// Responsiveness
|
265
|
+
|
266
|
+
@mixin from($device) {
|
267
|
+
@media screen and (min-width: $device) {
|
268
|
+
@content;
|
269
|
+
}
|
270
|
+
}
|
271
|
+
|
272
|
+
@mixin until($device) {
|
273
|
+
@media screen and (max-width: ($device - 1px)) {
|
274
|
+
@content;
|
275
|
+
}
|
276
|
+
}
|
277
|
+
|
278
|
+
@mixin between($from, $until) {
|
279
|
+
@media screen and (min-width: $from) and (max-width: ($until - 1px)) {
|
280
|
+
@content;
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
@mixin mobile {
|
285
|
+
@media screen and (max-width: (iv.$tablet - 1px)) {
|
286
|
+
@content;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
|
290
|
+
@mixin tablet {
|
291
|
+
@media screen and (min-width: iv.$tablet), print {
|
292
|
+
@content;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
|
296
|
+
@mixin tablet-only {
|
297
|
+
@media screen and (min-width: iv.$tablet) and (max-width: (iv.$desktop - 1px)) {
|
298
|
+
@content;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
@mixin touch {
|
303
|
+
@media screen and (max-width: (iv.$desktop - 1px)) {
|
304
|
+
@content;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
|
308
|
+
@mixin desktop {
|
309
|
+
@media screen and (min-width: iv.$desktop) {
|
310
|
+
@content;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
|
314
|
+
@mixin desktop-only {
|
315
|
+
@if iv.$widescreen-enabled {
|
316
|
+
@media screen and (min-width: iv.$desktop) and (max-width: (iv.$widescreen - 1px)) {
|
317
|
+
@content;
|
318
|
+
}
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
@mixin until-widescreen {
|
323
|
+
@if iv.$widescreen-enabled {
|
324
|
+
@media screen and (max-width: (iv.$widescreen - 1px)) {
|
325
|
+
@content;
|
326
|
+
}
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
330
|
+
@mixin widescreen {
|
331
|
+
@if iv.$widescreen-enabled {
|
332
|
+
@media screen and (min-width: iv.$widescreen) {
|
333
|
+
@content;
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}
|
337
|
+
|
338
|
+
@mixin widescreen-only {
|
339
|
+
@if iv.$widescreen-enabled and iv.$fullhd-enabled {
|
340
|
+
@media screen and (min-width: iv.$widescreen) and (max-width: (iv.$fullhd - 1px)) {
|
341
|
+
@content;
|
342
|
+
}
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
@mixin until-fullhd {
|
347
|
+
@if iv.$fullhd-enabled {
|
348
|
+
@media screen and (max-width: (iv.$fullhd - 1px)) {
|
349
|
+
@content;
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}
|
353
|
+
|
354
|
+
@mixin fullhd {
|
355
|
+
@if iv.$fullhd-enabled {
|
356
|
+
@media screen and (min-width: iv.$fullhd) {
|
357
|
+
@content;
|
358
|
+
}
|
359
|
+
}
|
360
|
+
}
|
361
|
+
|
362
|
+
@mixin breakpoint($name) {
|
363
|
+
$breakpoint: map-get(iv.$breakpoints, $name);
|
364
|
+
|
365
|
+
@if $breakpoint {
|
366
|
+
$from: map-get($breakpoint, "from");
|
367
|
+
$until: map-get($breakpoint, "until");
|
368
|
+
|
369
|
+
@if $from and $until {
|
370
|
+
@include between($from, $until) {
|
371
|
+
@content;
|
372
|
+
}
|
373
|
+
} @else if $from {
|
374
|
+
@include from($from) {
|
375
|
+
@content;
|
376
|
+
}
|
377
|
+
} @else if $until {
|
378
|
+
@include until($until) {
|
379
|
+
@content;
|
380
|
+
}
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
@mixin container-from($name, $width) {
|
386
|
+
@container #{$name} (min-width: #{$width}) {
|
387
|
+
@content;
|
388
|
+
}
|
389
|
+
}
|
390
|
+
|
391
|
+
@mixin container-until($name, $width) {
|
392
|
+
@container #{$name} (max-width: #{$width - 1px}) {
|
393
|
+
@content;
|
394
|
+
}
|
395
|
+
}
|
396
|
+
|
397
|
+
@mixin ltr {
|
398
|
+
@if not iv.$rtl {
|
399
|
+
@content;
|
400
|
+
}
|
401
|
+
}
|
402
|
+
|
403
|
+
@mixin rtl {
|
404
|
+
@if iv.$rtl {
|
405
|
+
@content;
|
406
|
+
}
|
407
|
+
}
|
408
|
+
|
409
|
+
@mixin ltr-property($property, $spacing, $right: true) {
|
410
|
+
$normal: if($right, "right", "left");
|
411
|
+
$opposite: if($right, "left", "right");
|
412
|
+
|
413
|
+
@if iv.$rtl {
|
414
|
+
#{$property}-#{$opposite}: $spacing;
|
415
|
+
} @else {
|
416
|
+
#{$property}-#{$normal}: $spacing;
|
417
|
+
}
|
418
|
+
}
|
419
|
+
|
420
|
+
@mixin ltr-position($spacing, $right: true) {
|
421
|
+
$normal: if($right, "right", "left");
|
422
|
+
$opposite: if($right, "left", "right");
|
423
|
+
|
424
|
+
@if iv.$rtl {
|
425
|
+
#{$opposite}: $spacing;
|
426
|
+
} @else {
|
427
|
+
#{$normal}: $spacing;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
431
|
+
// Placeholders
|
432
|
+
|
433
|
+
@mixin unselectable {
|
434
|
+
-webkit-touch-callout: none;
|
435
|
+
-webkit-user-select: none;
|
436
|
+
-moz-user-select: none;
|
437
|
+
-ms-user-select: none;
|
438
|
+
user-select: none;
|
439
|
+
}
|
440
|
+
|
441
|
+
@mixin loader {
|
442
|
+
animation: spinAround 500ms infinite linear;
|
443
|
+
border: 2px solid cv.getVar("loading-color");
|
444
|
+
border-radius: cv.getVar("radius-rounded");
|
445
|
+
border-right-color: transparent;
|
446
|
+
border-top-color: transparent;
|
447
|
+
content: "";
|
448
|
+
display: block;
|
449
|
+
height: 1em;
|
450
|
+
position: relative;
|
451
|
+
width: 1em;
|
452
|
+
}
|
453
|
+
|
454
|
+
@mixin overlay($offset: 0) {
|
455
|
+
bottom: $offset;
|
456
|
+
left: $offset;
|
457
|
+
position: absolute;
|
458
|
+
right: $offset;
|
459
|
+
top: $offset;
|
460
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
/*! bulma.io v1.0.0-beta | MIT License | github.com/jgthms/bulma */
|
4
|
+
@forward "../sass/utilities";
|
5
|
+
@forward "../sass/base";
|
6
|
+
@forward "../sass/elements";
|
7
|
+
@forward "../sass/form";
|
8
|
+
@forward "../sass/components";
|
9
|
+
@forward "../sass/grid";
|
10
|
+
@forward "../sass/layout";
|
11
|
+
@forward "../sass/base/skeleton";
|
12
|
+
|
13
|
+
@use "../sass/themes/light";
|
14
|
+
@use "../sass/themes/setup";
|
15
|
+
|
16
|
+
:root {
|
17
|
+
@include light.light-theme;
|
18
|
+
@include setup.setup-theme;
|
19
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
/*! bulma.io v1.0.0-beta | MIT License | github.com/jgthms/bulma */
|
4
|
+
@use "../sass/utilities" with (
|
5
|
+
$class-prefix: "bulma-"
|
6
|
+
);
|
7
|
+
@forward "../sass/base";
|
8
|
+
@forward "../sass/elements";
|
9
|
+
@forward "../sass/form";
|
10
|
+
@forward "../sass/components";
|
11
|
+
@forward "../sass/grid";
|
12
|
+
@forward "../sass/layout";
|
13
|
+
@forward "../sass/base/skeleton";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
/*! bulma.io v1.0.0-beta | MIT License | github.com/jgthms/bulma */
|
4
|
+
@forward "../sass/utilities";
|
5
|
+
@forward "../sass/base";
|
6
|
+
@forward "../sass/elements";
|
7
|
+
@forward "../sass/form";
|
8
|
+
@forward "../sass/components";
|
9
|
+
@forward "../sass/grid";
|
10
|
+
@forward "../sass/layout";
|
11
|
+
@forward "../sass/base/skeleton";
|
@@ -2,12 +2,18 @@
|
|
2
2
|
|
3
3
|
![npm](https://img.shields.io/npm/dw/bulma-block-list)
|
4
4
|
|
5
|
-
A simple scss package extending Bulma with block style list elements
|
5
|
+
A simple scss package extending Bulma with block style list elements.
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
## Upgrading to v1
|
8
|
+
|
9
|
+
To be compatible with Bulma, version 1 of Bulma Block List requires [dart sass](https://bulma.io/documentation/start/migrating-to-v1/#what-changes).
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
- `npm i -S bulma-block-list`
|
14
|
+
- `@import "node_modules/bulma-block-list/src/block-list";` after importing [Bulma](https://bulma.io/documentation/customize/with-node-sass/#3-create-a-sass-file).
|
15
|
+
- Create a ul and give it the class of `block-list`
|
16
|
+
- Add any modifier classes to change the styles as needed
|
11
17
|
|
12
18
|
```html
|
13
19
|
<ul class="block-list is-small is-outlined is-success is-centered">
|
@@ -29,4 +35,4 @@ In v0.3 you can override the list item styles.
|
|
29
35
|
</ul>
|
30
36
|
```
|
31
37
|
|
32
|
-
For examples see [csrhymes.com/bulma-block-list](https://www.csrhymes.com/bulma-block-list)
|
38
|
+
For examples see [csrhymes.com/bulma-block-list](https://www.csrhymes.com/bulma-block-list)
|
File without changes
|