@bodynarf/react.components 1.14.1 → 1.14.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.
- package/components/primitives/radioGroup/component/style.css +63 -143
- package/components/primitives/radioGroup/component/style.scss +33 -2
- package/components/primitives/slider/component/style.css +81 -161
- package/components/primitives/slider/component/style.scss +32 -3
- package/components/primitives/switch/component/style.css +52 -104
- package/components/primitives/switch/component/style.scss +32 -3
- package/components/progress/component/style.css +41 -41
- package/components/progress/component/style.scss +20 -15
- package/components/stepper/component/style.css +83 -175
- package/components/stepper/component/style.scss +27 -3
- package/components/timeline/component/style.css +69 -141
- package/components/timeline/component/style.scss +28 -4
- package/package.json +5 -2
- package/components/anchor/component/index.d.ts +0 -8
- package/components/anchor/component/index.d.ts.map +0 -1
- package/components/anchor/component/index.js +0 -23
- package/components/anchor/component/style.css +0 -12
- package/components/anchor/component/style.scss +0 -15
- package/components/anchor/components/anchorWithIcon/index.d.ts +0 -11
- package/components/anchor/components/anchorWithIcon/index.d.ts.map +0 -1
- package/components/anchor/components/anchorWithIcon/index.js +0 -24
- package/components/anchor/components/simpleAnchor/index.d.ts +0 -5
- package/components/anchor/components/simpleAnchor/index.d.ts.map +0 -1
- package/components/anchor/components/simpleAnchor/index.js +0 -11
- package/components/anchor/index.d.ts +0 -3
- package/components/anchor/index.d.ts.map +0 -1
- package/components/anchor/index.js +0 -2
- package/components/anchor/types.d.ts +0 -20
- package/components/anchor/types.d.ts.map +0 -1
- package/components/anchor/types.js +0 -1
- package/components/tooltip/component/index.d.ts +0 -6
- package/components/tooltip/component/index.d.ts.map +0 -1
- package/components/tooltip/component/index.js +0 -80
- package/components/tooltip/index.d.ts +0 -3
- package/components/tooltip/index.d.ts.map +0 -1
- package/components/tooltip/index.js +0 -2
- package/components/tooltip/types.d.ts +0 -31
- package/components/tooltip/types.d.ts.map +0 -1
- package/components/tooltip/types.js +0 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
opacity: 0;
|
|
7
7
|
}
|
|
8
8
|
.switch[type=checkbox].bbr-switch:focus + label::before {
|
|
9
|
-
outline: 1px dotted
|
|
9
|
+
outline: 1px dotted var(--bulma-grey-light, #b5b5b5);
|
|
10
10
|
}
|
|
11
11
|
.switch[type=checkbox].bbr-switch[disabled] {
|
|
12
12
|
cursor: not-allowed;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
cursor: not-allowed;
|
|
25
25
|
}
|
|
26
26
|
.switch[type=checkbox].bbr-switch:checked + label::before {
|
|
27
|
-
background:
|
|
27
|
+
background: var(--bulma-primary, #00d1b2);
|
|
28
28
|
}
|
|
29
29
|
.switch[type=checkbox].bbr-switch + label {
|
|
30
30
|
position: relative;
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
width: 3rem;
|
|
44
44
|
height: 1.5rem;
|
|
45
45
|
border: 0.1rem solid transparent;
|
|
46
|
-
border-radius: 4px;
|
|
47
|
-
background:
|
|
46
|
+
border-radius: var(--bulma-radius, 4px);
|
|
47
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
48
48
|
content: "";
|
|
49
49
|
}
|
|
50
50
|
.switch[type=checkbox].bbr-switch + label::after {
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
width: 1rem;
|
|
56
56
|
height: 1rem;
|
|
57
57
|
transform: translate3d(0, 0, 0);
|
|
58
|
-
border-radius: 4px;
|
|
59
|
-
background:
|
|
58
|
+
border-radius: var(--bulma-radius, 4px);
|
|
59
|
+
background: var(--bulma-white, #fff);
|
|
60
60
|
transition: all 0.25s ease-out;
|
|
61
61
|
content: "";
|
|
62
62
|
}
|
|
@@ -85,17 +85,17 @@
|
|
|
85
85
|
}
|
|
86
86
|
.switch[type=checkbox].bbr-switch.is-outlined + label::before {
|
|
87
87
|
background-color: transparent;
|
|
88
|
-
border-color:
|
|
88
|
+
border-color: var(--bulma-grey-light, #b5b5b5);
|
|
89
89
|
}
|
|
90
90
|
.switch[type=checkbox].bbr-switch.is-outlined + label::after {
|
|
91
|
-
background:
|
|
91
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
92
92
|
}
|
|
93
93
|
.switch[type=checkbox].bbr-switch.is-outlined:checked + label::before {
|
|
94
94
|
background-color: transparent;
|
|
95
|
-
border-color:
|
|
95
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
96
96
|
}
|
|
97
97
|
.switch[type=checkbox].bbr-switch.is-outlined:checked + label::after {
|
|
98
|
-
background:
|
|
98
|
+
background: var(--bulma-primary, #00d1b2);
|
|
99
99
|
}
|
|
100
100
|
.switch[type=checkbox].bbr-switch.is-thin + label::before {
|
|
101
101
|
top: 0.375rem;
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
width: 2.25rem;
|
|
125
125
|
height: 1.125rem;
|
|
126
126
|
border: 0.1rem solid transparent;
|
|
127
|
-
border-radius: 4px;
|
|
128
|
-
background:
|
|
127
|
+
border-radius: var(--bulma-radius, 4px);
|
|
128
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
129
129
|
content: "";
|
|
130
130
|
}
|
|
131
131
|
.switch[type=checkbox].bbr-switch.is-small + label::after {
|
|
@@ -136,8 +136,8 @@
|
|
|
136
136
|
width: 0.625rem;
|
|
137
137
|
height: 0.625rem;
|
|
138
138
|
transform: translate3d(0, 0, 0);
|
|
139
|
-
border-radius: 4px;
|
|
140
|
-
background:
|
|
139
|
+
border-radius: var(--bulma-radius, 4px);
|
|
140
|
+
background: var(--bulma-white, #fff);
|
|
141
141
|
transition: all 0.25s ease-out;
|
|
142
142
|
content: "";
|
|
143
143
|
}
|
|
@@ -166,17 +166,17 @@
|
|
|
166
166
|
}
|
|
167
167
|
.switch[type=checkbox].bbr-switch.is-small.is-outlined + label::before {
|
|
168
168
|
background-color: transparent;
|
|
169
|
-
border-color:
|
|
169
|
+
border-color: var(--bulma-grey-light, #b5b5b5);
|
|
170
170
|
}
|
|
171
171
|
.switch[type=checkbox].bbr-switch.is-small.is-outlined + label::after {
|
|
172
|
-
background:
|
|
172
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
173
173
|
}
|
|
174
174
|
.switch[type=checkbox].bbr-switch.is-small.is-outlined:checked + label::before {
|
|
175
175
|
background-color: transparent;
|
|
176
|
-
border-color:
|
|
176
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
177
177
|
}
|
|
178
178
|
.switch[type=checkbox].bbr-switch.is-small.is-outlined:checked + label::after {
|
|
179
|
-
background:
|
|
179
|
+
background: var(--bulma-primary, #00d1b2);
|
|
180
180
|
}
|
|
181
181
|
.switch[type=checkbox].bbr-switch.is-small.is-thin + label::before {
|
|
182
182
|
top: 0.28125rem;
|
|
@@ -205,8 +205,8 @@
|
|
|
205
205
|
width: 3.75rem;
|
|
206
206
|
height: 1.875rem;
|
|
207
207
|
border: 0.1rem solid transparent;
|
|
208
|
-
border-radius: 4px;
|
|
209
|
-
background:
|
|
208
|
+
border-radius: var(--bulma-radius, 4px);
|
|
209
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
210
210
|
content: "";
|
|
211
211
|
}
|
|
212
212
|
.switch[type=checkbox].bbr-switch.is-medium + label::after {
|
|
@@ -217,8 +217,8 @@
|
|
|
217
217
|
width: 1.375rem;
|
|
218
218
|
height: 1.375rem;
|
|
219
219
|
transform: translate3d(0, 0, 0);
|
|
220
|
-
border-radius: 4px;
|
|
221
|
-
background:
|
|
220
|
+
border-radius: var(--bulma-radius, 4px);
|
|
221
|
+
background: var(--bulma-white, #fff);
|
|
222
222
|
transition: all 0.25s ease-out;
|
|
223
223
|
content: "";
|
|
224
224
|
}
|
|
@@ -247,17 +247,17 @@
|
|
|
247
247
|
}
|
|
248
248
|
.switch[type=checkbox].bbr-switch.is-medium.is-outlined + label::before {
|
|
249
249
|
background-color: transparent;
|
|
250
|
-
border-color:
|
|
250
|
+
border-color: var(--bulma-grey-light, #b5b5b5);
|
|
251
251
|
}
|
|
252
252
|
.switch[type=checkbox].bbr-switch.is-medium.is-outlined + label::after {
|
|
253
|
-
background:
|
|
253
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
254
254
|
}
|
|
255
255
|
.switch[type=checkbox].bbr-switch.is-medium.is-outlined:checked + label::before {
|
|
256
256
|
background-color: transparent;
|
|
257
|
-
border-color:
|
|
257
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
258
258
|
}
|
|
259
259
|
.switch[type=checkbox].bbr-switch.is-medium.is-outlined:checked + label::after {
|
|
260
|
-
background:
|
|
260
|
+
background: var(--bulma-primary, #00d1b2);
|
|
261
261
|
}
|
|
262
262
|
.switch[type=checkbox].bbr-switch.is-medium.is-thin + label::before {
|
|
263
263
|
top: 0.46875rem;
|
|
@@ -286,8 +286,8 @@
|
|
|
286
286
|
width: 4.5rem;
|
|
287
287
|
height: 2.25rem;
|
|
288
288
|
border: 0.1rem solid transparent;
|
|
289
|
-
border-radius: 4px;
|
|
290
|
-
background:
|
|
289
|
+
border-radius: var(--bulma-radius, 4px);
|
|
290
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
291
291
|
content: "";
|
|
292
292
|
}
|
|
293
293
|
.switch[type=checkbox].bbr-switch.is-large + label::after {
|
|
@@ -298,8 +298,8 @@
|
|
|
298
298
|
width: 1.75rem;
|
|
299
299
|
height: 1.75rem;
|
|
300
300
|
transform: translate3d(0, 0, 0);
|
|
301
|
-
border-radius: 4px;
|
|
302
|
-
background:
|
|
301
|
+
border-radius: var(--bulma-radius, 4px);
|
|
302
|
+
background: var(--bulma-white, #fff);
|
|
303
303
|
transition: all 0.25s ease-out;
|
|
304
304
|
content: "";
|
|
305
305
|
}
|
|
@@ -328,17 +328,17 @@
|
|
|
328
328
|
}
|
|
329
329
|
.switch[type=checkbox].bbr-switch.is-large.is-outlined + label::before {
|
|
330
330
|
background-color: transparent;
|
|
331
|
-
border-color:
|
|
331
|
+
border-color: var(--bulma-grey-light, #b5b5b5);
|
|
332
332
|
}
|
|
333
333
|
.switch[type=checkbox].bbr-switch.is-large.is-outlined + label::after {
|
|
334
|
-
background:
|
|
334
|
+
background: var(--bulma-grey-light, #b5b5b5);
|
|
335
335
|
}
|
|
336
336
|
.switch[type=checkbox].bbr-switch.is-large.is-outlined:checked + label::before {
|
|
337
337
|
background-color: transparent;
|
|
338
|
-
border-color:
|
|
338
|
+
border-color: var(--bulma-primary, #00d1b2);
|
|
339
339
|
}
|
|
340
340
|
.switch[type=checkbox].bbr-switch.is-large.is-outlined:checked + label::after {
|
|
341
|
-
background:
|
|
341
|
+
background: var(--bulma-primary, #00d1b2);
|
|
342
342
|
}
|
|
343
343
|
.switch[type=checkbox].bbr-switch.is-large.is-thin + label::before {
|
|
344
344
|
top: 0.5625rem;
|
|
@@ -350,132 +350,80 @@
|
|
|
350
350
|
.switch[type=checkbox].bbr-switch.is-large.is-rounded + label::after {
|
|
351
351
|
border-radius: 50%;
|
|
352
352
|
}
|
|
353
|
-
.switch[type=checkbox].bbr-switch.is-white:checked + label::before {
|
|
354
|
-
background: hsl(0, 0%, 100%);
|
|
355
|
-
}
|
|
356
|
-
.switch[type=checkbox].bbr-switch.is-white.is-outlined:checked + label::before {
|
|
357
|
-
background-color: transparent;
|
|
358
|
-
border-color: hsl(0, 0%, 100%) !important;
|
|
359
|
-
}
|
|
360
|
-
.switch[type=checkbox].bbr-switch.is-white.is-outlined:checked + label::after {
|
|
361
|
-
background: hsl(0, 0%, 100%);
|
|
362
|
-
}
|
|
363
|
-
.switch[type=checkbox].bbr-switch.is-white.is-thin.is-outlined:checked + label::after {
|
|
364
|
-
box-shadow: none;
|
|
365
|
-
}
|
|
366
|
-
.switch[type=checkbox].bbr-switch.is-black:checked + label::before {
|
|
367
|
-
background: hsl(0, 0%, 4%);
|
|
368
|
-
}
|
|
369
|
-
.switch[type=checkbox].bbr-switch.is-black.is-outlined:checked + label::before {
|
|
370
|
-
background-color: transparent;
|
|
371
|
-
border-color: hsl(0, 0%, 4%) !important;
|
|
372
|
-
}
|
|
373
|
-
.switch[type=checkbox].bbr-switch.is-black.is-outlined:checked + label::after {
|
|
374
|
-
background: hsl(0, 0%, 4%);
|
|
375
|
-
}
|
|
376
|
-
.switch[type=checkbox].bbr-switch.is-black.is-thin.is-outlined:checked + label::after {
|
|
377
|
-
box-shadow: none;
|
|
378
|
-
}
|
|
379
|
-
.switch[type=checkbox].bbr-switch.is-light:checked + label::before {
|
|
380
|
-
background: hsl(0, 0%, 96%);
|
|
381
|
-
}
|
|
382
|
-
.switch[type=checkbox].bbr-switch.is-light.is-outlined:checked + label::before {
|
|
383
|
-
background-color: transparent;
|
|
384
|
-
border-color: hsl(0, 0%, 96%) !important;
|
|
385
|
-
}
|
|
386
|
-
.switch[type=checkbox].bbr-switch.is-light.is-outlined:checked + label::after {
|
|
387
|
-
background: hsl(0, 0%, 96%);
|
|
388
|
-
}
|
|
389
|
-
.switch[type=checkbox].bbr-switch.is-light.is-thin.is-outlined:checked + label::after {
|
|
390
|
-
box-shadow: none;
|
|
391
|
-
}
|
|
392
|
-
.switch[type=checkbox].bbr-switch.is-dark:checked + label::before {
|
|
393
|
-
background: hsl(0, 0%, 21%);
|
|
394
|
-
}
|
|
395
|
-
.switch[type=checkbox].bbr-switch.is-dark.is-outlined:checked + label::before {
|
|
396
|
-
background-color: transparent;
|
|
397
|
-
border-color: hsl(0, 0%, 21%) !important;
|
|
398
|
-
}
|
|
399
|
-
.switch[type=checkbox].bbr-switch.is-dark.is-outlined:checked + label::after {
|
|
400
|
-
background: hsl(0, 0%, 21%);
|
|
401
|
-
}
|
|
402
|
-
.switch[type=checkbox].bbr-switch.is-dark.is-thin.is-outlined:checked + label::after {
|
|
403
|
-
box-shadow: none;
|
|
404
|
-
}
|
|
405
353
|
.switch[type=checkbox].bbr-switch.is-primary:checked + label::before {
|
|
406
|
-
background:
|
|
354
|
+
background: var(--bulma-primary, #00d1b2);
|
|
407
355
|
}
|
|
408
356
|
.switch[type=checkbox].bbr-switch.is-primary.is-outlined:checked + label::before {
|
|
409
357
|
background-color: transparent;
|
|
410
|
-
border-color:
|
|
358
|
+
border-color: var(--bulma-primary, #00d1b2) !important;
|
|
411
359
|
}
|
|
412
360
|
.switch[type=checkbox].bbr-switch.is-primary.is-outlined:checked + label::after {
|
|
413
|
-
background:
|
|
361
|
+
background: var(--bulma-primary, #00d1b2);
|
|
414
362
|
}
|
|
415
363
|
.switch[type=checkbox].bbr-switch.is-primary.is-thin.is-outlined:checked + label::after {
|
|
416
364
|
box-shadow: none;
|
|
417
365
|
}
|
|
418
366
|
.switch[type=checkbox].bbr-switch.is-link:checked + label::before {
|
|
419
|
-
background:
|
|
367
|
+
background: var(--bulma-link, #485fc7);
|
|
420
368
|
}
|
|
421
369
|
.switch[type=checkbox].bbr-switch.is-link.is-outlined:checked + label::before {
|
|
422
370
|
background-color: transparent;
|
|
423
|
-
border-color:
|
|
371
|
+
border-color: var(--bulma-link, #485fc7) !important;
|
|
424
372
|
}
|
|
425
373
|
.switch[type=checkbox].bbr-switch.is-link.is-outlined:checked + label::after {
|
|
426
|
-
background:
|
|
374
|
+
background: var(--bulma-link, #485fc7);
|
|
427
375
|
}
|
|
428
376
|
.switch[type=checkbox].bbr-switch.is-link.is-thin.is-outlined:checked + label::after {
|
|
429
377
|
box-shadow: none;
|
|
430
378
|
}
|
|
431
379
|
.switch[type=checkbox].bbr-switch.is-info:checked + label::before {
|
|
432
|
-
background:
|
|
380
|
+
background: var(--bulma-info, #3e8ed0);
|
|
433
381
|
}
|
|
434
382
|
.switch[type=checkbox].bbr-switch.is-info.is-outlined:checked + label::before {
|
|
435
383
|
background-color: transparent;
|
|
436
|
-
border-color:
|
|
384
|
+
border-color: var(--bulma-info, #3e8ed0) !important;
|
|
437
385
|
}
|
|
438
386
|
.switch[type=checkbox].bbr-switch.is-info.is-outlined:checked + label::after {
|
|
439
|
-
background:
|
|
387
|
+
background: var(--bulma-info, #3e8ed0);
|
|
440
388
|
}
|
|
441
389
|
.switch[type=checkbox].bbr-switch.is-info.is-thin.is-outlined:checked + label::after {
|
|
442
390
|
box-shadow: none;
|
|
443
391
|
}
|
|
444
392
|
.switch[type=checkbox].bbr-switch.is-success:checked + label::before {
|
|
445
|
-
background:
|
|
393
|
+
background: var(--bulma-success, #48c78e);
|
|
446
394
|
}
|
|
447
395
|
.switch[type=checkbox].bbr-switch.is-success.is-outlined:checked + label::before {
|
|
448
396
|
background-color: transparent;
|
|
449
|
-
border-color:
|
|
397
|
+
border-color: var(--bulma-success, #48c78e) !important;
|
|
450
398
|
}
|
|
451
399
|
.switch[type=checkbox].bbr-switch.is-success.is-outlined:checked + label::after {
|
|
452
|
-
background:
|
|
400
|
+
background: var(--bulma-success, #48c78e);
|
|
453
401
|
}
|
|
454
402
|
.switch[type=checkbox].bbr-switch.is-success.is-thin.is-outlined:checked + label::after {
|
|
455
403
|
box-shadow: none;
|
|
456
404
|
}
|
|
457
405
|
.switch[type=checkbox].bbr-switch.is-warning:checked + label::before {
|
|
458
|
-
background:
|
|
406
|
+
background: var(--bulma-warning, #ffe08a);
|
|
459
407
|
}
|
|
460
408
|
.switch[type=checkbox].bbr-switch.is-warning.is-outlined:checked + label::before {
|
|
461
409
|
background-color: transparent;
|
|
462
|
-
border-color:
|
|
410
|
+
border-color: var(--bulma-warning, #ffe08a) !important;
|
|
463
411
|
}
|
|
464
412
|
.switch[type=checkbox].bbr-switch.is-warning.is-outlined:checked + label::after {
|
|
465
|
-
background:
|
|
413
|
+
background: var(--bulma-warning, #ffe08a);
|
|
466
414
|
}
|
|
467
415
|
.switch[type=checkbox].bbr-switch.is-warning.is-thin.is-outlined:checked + label::after {
|
|
468
416
|
box-shadow: none;
|
|
469
417
|
}
|
|
470
418
|
.switch[type=checkbox].bbr-switch.is-danger:checked + label::before {
|
|
471
|
-
background:
|
|
419
|
+
background: var(--bulma-danger, #f14668);
|
|
472
420
|
}
|
|
473
421
|
.switch[type=checkbox].bbr-switch.is-danger.is-outlined:checked + label::before {
|
|
474
422
|
background-color: transparent;
|
|
475
|
-
border-color:
|
|
423
|
+
border-color: var(--bulma-danger, #f14668) !important;
|
|
476
424
|
}
|
|
477
425
|
.switch[type=checkbox].bbr-switch.is-danger.is-outlined:checked + label::after {
|
|
478
|
-
background:
|
|
426
|
+
background: var(--bulma-danger, #f14668);
|
|
479
427
|
}
|
|
480
428
|
.switch[type=checkbox].bbr-switch.is-danger.is-thin.is-outlined:checked + label::after {
|
|
481
429
|
box-shadow: none;
|
|
@@ -1,4 +1,33 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
|
|
3
|
+
// Bulma variables - compatible with v0.9.x and v1.x
|
|
4
|
+
// Uses CSS variables with fallbacks matching Bulma 0.9.4 defaults
|
|
5
|
+
// v1.x: CSS variables (--bulma-*) will be used if defined
|
|
6
|
+
// v0.9.x: Fallback values will be used (no CSS variables in 0.9.x)
|
|
7
|
+
|
|
8
|
+
// Colors
|
|
9
|
+
$primary: var(--bulma-primary, #00d1b2);
|
|
10
|
+
$white: var(--bulma-white, #fff);
|
|
11
|
+
$grey-lighter: var(--bulma-grey-lighter, #dbdbdb);
|
|
12
|
+
$grey-light: var(--bulma-grey-light, #b5b5b5);
|
|
13
|
+
$grey: var(--bulma-grey, #7a7a7a);
|
|
14
|
+
$radius: var(--bulma-radius, 4px);
|
|
15
|
+
|
|
16
|
+
// Sizes - Sass variables for calculations
|
|
17
|
+
$size-small: 0.75rem;
|
|
18
|
+
$size-normal: 1rem;
|
|
19
|
+
$size-medium: 1.25rem;
|
|
20
|
+
$size-large: 1.5rem;
|
|
21
|
+
|
|
22
|
+
// Color map for variations
|
|
23
|
+
$colors: (
|
|
24
|
+
"primary": ($primary, $white),
|
|
25
|
+
"link": (var(--bulma-link, #485fc7), $white),
|
|
26
|
+
"info": (var(--bulma-info, #3e8ed0), $white),
|
|
27
|
+
"success": (var(--bulma-success, #48c78e), $white),
|
|
28
|
+
"warning": (var(--bulma-warning, #ffe08a), rgba(0, 0, 0, 0.7)),
|
|
29
|
+
"danger": (var(--bulma-danger, #f14668), $white)
|
|
30
|
+
);
|
|
2
31
|
|
|
3
32
|
$switch-background: $grey-light !default;
|
|
4
33
|
$switch-border: 0.1rem solid transparent !default;
|
|
@@ -181,8 +210,8 @@ $switch-focus: 1px dotted $grey-light !default;
|
|
|
181
210
|
|
|
182
211
|
// Color variations
|
|
183
212
|
@each $name, $pair in $colors {
|
|
184
|
-
$color: nth($pair, 1);
|
|
185
|
-
$color-invert: nth($pair, 2);
|
|
213
|
+
$color: list.nth($pair, 1);
|
|
214
|
+
$color-invert: list.nth($pair, 2);
|
|
186
215
|
|
|
187
216
|
&.is-#{$name} {
|
|
188
217
|
&:checked + label::before {
|
|
@@ -3,58 +3,58 @@
|
|
|
3
3
|
appearance: none;
|
|
4
4
|
height: 1rem;
|
|
5
5
|
border: none;
|
|
6
|
-
border-radius: 4px;
|
|
7
|
-
background-color: #f5f5f5;
|
|
6
|
+
border-radius: var(--bulma-radius, 4px);
|
|
7
|
+
background-color: var(--bulma-background, #f5f5f5);
|
|
8
8
|
overflow: hidden;
|
|
9
9
|
}
|
|
10
10
|
.bbr-progress.bbr-progress--animated {
|
|
11
11
|
position: relative;
|
|
12
|
-
background-color: #f5f5f5;
|
|
12
|
+
background-color: var(--bulma-background, #f5f5f5);
|
|
13
13
|
}
|
|
14
14
|
.bbr-progress.bbr-progress--animated .bbr-progress-fill {
|
|
15
15
|
height: 100%;
|
|
16
|
-
background-color: #
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
transition: width 0.25s;
|
|
16
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
17
|
+
border-radius: var(--bulma-radius, 4px);
|
|
18
|
+
transition: width var(--bulma-speed, 0.25s);
|
|
19
19
|
animation: bbr-progress-animated 1s linear infinite;
|
|
20
20
|
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
|
|
21
21
|
background-size: 1rem 1rem;
|
|
22
22
|
}
|
|
23
23
|
.bbr-progress.bbr-progress--animated.is-primary .bbr-progress-fill {
|
|
24
|
-
background-color: #
|
|
24
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
25
25
|
}
|
|
26
26
|
.bbr-progress.bbr-progress--animated.is-link .bbr-progress-fill {
|
|
27
|
-
background-color: #485fc7;
|
|
27
|
+
background-color: var(--bulma-link, #485fc7);
|
|
28
28
|
}
|
|
29
29
|
.bbr-progress.bbr-progress--animated.is-info .bbr-progress-fill {
|
|
30
|
-
background-color: #3e8ed0;
|
|
30
|
+
background-color: var(--bulma-info, #3e8ed0);
|
|
31
31
|
}
|
|
32
32
|
.bbr-progress.bbr-progress--animated.is-success .bbr-progress-fill {
|
|
33
|
-
background-color: #48c78e;
|
|
33
|
+
background-color: var(--bulma-success, #48c78e);
|
|
34
34
|
}
|
|
35
35
|
.bbr-progress.bbr-progress--animated.is-warning .bbr-progress-fill {
|
|
36
|
-
background-color: #ffe08a;
|
|
36
|
+
background-color: var(--bulma-warning, #ffe08a);
|
|
37
37
|
}
|
|
38
38
|
.bbr-progress.bbr-progress--animated.is-danger .bbr-progress-fill {
|
|
39
|
-
background-color: #f14668;
|
|
39
|
+
background-color: var(--bulma-danger, #f14668);
|
|
40
40
|
}
|
|
41
41
|
.bbr-progress::-webkit-progress-bar {
|
|
42
|
-
background-color: #f5f5f5;
|
|
43
|
-
border-radius: 4px;
|
|
42
|
+
background-color: var(--bulma-background, #f5f5f5);
|
|
43
|
+
border-radius: var(--bulma-radius, 4px);
|
|
44
44
|
}
|
|
45
45
|
.bbr-progress::-webkit-progress-value {
|
|
46
|
-
background-color: #
|
|
47
|
-
border-radius: 4px;
|
|
48
|
-
transition: width 0.25s;
|
|
46
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
47
|
+
border-radius: var(--bulma-radius, 4px);
|
|
48
|
+
transition: width var(--bulma-speed, 0.25s);
|
|
49
49
|
}
|
|
50
50
|
.bbr-progress::-moz-progress-bar {
|
|
51
|
-
background-color: #
|
|
52
|
-
border-radius: 4px;
|
|
51
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
52
|
+
border-radius: var(--bulma-radius, 4px);
|
|
53
53
|
}
|
|
54
54
|
.bbr-progress-value {
|
|
55
55
|
margin-top: 0.25rem;
|
|
56
56
|
font-size: 0.75rem;
|
|
57
|
-
color: #4a4a4a;
|
|
57
|
+
color: var(--bulma-text, #4a4a4a);
|
|
58
58
|
text-align: center;
|
|
59
59
|
}
|
|
60
60
|
.bbr-progress.is-small {
|
|
@@ -70,40 +70,40 @@
|
|
|
70
70
|
height: 1.5rem;
|
|
71
71
|
}
|
|
72
72
|
.bbr-progress.is-primary::-webkit-progress-value {
|
|
73
|
-
background-color: #
|
|
73
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
74
74
|
}
|
|
75
75
|
.bbr-progress.is-primary::-moz-progress-bar {
|
|
76
|
-
background-color: #
|
|
76
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
77
77
|
}
|
|
78
78
|
.bbr-progress.is-link::-webkit-progress-value {
|
|
79
|
-
background-color: #485fc7;
|
|
79
|
+
background-color: var(--bulma-link, #485fc7);
|
|
80
80
|
}
|
|
81
81
|
.bbr-progress.is-link::-moz-progress-bar {
|
|
82
|
-
background-color: #485fc7;
|
|
82
|
+
background-color: var(--bulma-link, #485fc7);
|
|
83
83
|
}
|
|
84
84
|
.bbr-progress.is-info::-webkit-progress-value {
|
|
85
|
-
background-color: #3e8ed0;
|
|
85
|
+
background-color: var(--bulma-info, #3e8ed0);
|
|
86
86
|
}
|
|
87
87
|
.bbr-progress.is-info::-moz-progress-bar {
|
|
88
|
-
background-color: #3e8ed0;
|
|
88
|
+
background-color: var(--bulma-info, #3e8ed0);
|
|
89
89
|
}
|
|
90
90
|
.bbr-progress.is-success::-webkit-progress-value {
|
|
91
|
-
background-color: #48c78e;
|
|
91
|
+
background-color: var(--bulma-success, #48c78e);
|
|
92
92
|
}
|
|
93
93
|
.bbr-progress.is-success::-moz-progress-bar {
|
|
94
|
-
background-color: #48c78e;
|
|
94
|
+
background-color: var(--bulma-success, #48c78e);
|
|
95
95
|
}
|
|
96
96
|
.bbr-progress.is-warning::-webkit-progress-value {
|
|
97
|
-
background-color: #ffe08a;
|
|
97
|
+
background-color: var(--bulma-warning, #ffe08a);
|
|
98
98
|
}
|
|
99
99
|
.bbr-progress.is-warning::-moz-progress-bar {
|
|
100
|
-
background-color: #ffe08a;
|
|
100
|
+
background-color: var(--bulma-warning, #ffe08a);
|
|
101
101
|
}
|
|
102
102
|
.bbr-progress.is-danger::-webkit-progress-value {
|
|
103
|
-
background-color: #f14668;
|
|
103
|
+
background-color: var(--bulma-danger, #f14668);
|
|
104
104
|
}
|
|
105
105
|
.bbr-progress.is-danger::-moz-progress-bar {
|
|
106
|
-
background-color: #f14668;
|
|
106
|
+
background-color: var(--bulma-danger, #f14668);
|
|
107
107
|
}
|
|
108
108
|
.bbr-progress--animated::-webkit-progress-value {
|
|
109
109
|
animation: bbr-progress-animated 2s linear infinite;
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
.bbr-progress--indeterminate {
|
|
119
119
|
position: relative;
|
|
120
|
-
background-color: #f5f5f5;
|
|
120
|
+
background-color: var(--bulma-background, #f5f5f5);
|
|
121
121
|
}
|
|
122
122
|
.bbr-progress--indeterminate::after {
|
|
123
123
|
content: "";
|
|
@@ -126,27 +126,27 @@
|
|
|
126
126
|
left: 0;
|
|
127
127
|
bottom: 0;
|
|
128
128
|
width: 50%;
|
|
129
|
-
background-color: #
|
|
130
|
-
border-radius: 4px;
|
|
129
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
130
|
+
border-radius: var(--bulma-radius, 4px);
|
|
131
131
|
animation: bbr-progress-indeterminate 1.5s ease-in-out infinite;
|
|
132
132
|
}
|
|
133
133
|
.bbr-progress--indeterminate.is-primary::after {
|
|
134
|
-
background-color: #
|
|
134
|
+
background-color: var(--bulma-primary, #00d1b2);
|
|
135
135
|
}
|
|
136
136
|
.bbr-progress--indeterminate.is-link::after {
|
|
137
|
-
background-color: #485fc7;
|
|
137
|
+
background-color: var(--bulma-link, #485fc7);
|
|
138
138
|
}
|
|
139
139
|
.bbr-progress--indeterminate.is-info::after {
|
|
140
|
-
background-color: #3e8ed0;
|
|
140
|
+
background-color: var(--bulma-info, #3e8ed0);
|
|
141
141
|
}
|
|
142
142
|
.bbr-progress--indeterminate.is-success::after {
|
|
143
|
-
background-color: #48c78e;
|
|
143
|
+
background-color: var(--bulma-success, #48c78e);
|
|
144
144
|
}
|
|
145
145
|
.bbr-progress--indeterminate.is-warning::after {
|
|
146
|
-
background-color: #ffe08a;
|
|
146
|
+
background-color: var(--bulma-warning, #ffe08a);
|
|
147
147
|
}
|
|
148
148
|
.bbr-progress--indeterminate.is-danger::after {
|
|
149
|
-
background-color: #f14668;
|
|
149
|
+
background-color: var(--bulma-danger, #f14668);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
@keyframes bbr-progress-animated {
|
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
// Bulma variables
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$
|
|
12
|
-
$
|
|
13
|
-
$
|
|
14
|
-
$
|
|
15
|
-
$
|
|
1
|
+
// Bulma variables - compatible with v0.9.x and v1.x
|
|
2
|
+
// Uses CSS variables with fallbacks matching Bulma 0.9.4 defaults
|
|
3
|
+
// v1.x: CSS variables (--bulma-*) will be used if defined
|
|
4
|
+
// v0.9.x: Fallback values will be used (no CSS variables in 0.9.x)
|
|
5
|
+
|
|
6
|
+
// Colors
|
|
7
|
+
$black: var(--bulma-black, #0a0a0a);
|
|
8
|
+
$white: var(--bulma-white, #fff);
|
|
9
|
+
$light: var(--bulma-light, #f5f5f5);
|
|
10
|
+
$dark: var(--bulma-dark, #363636);
|
|
11
|
+
$primary: var(--bulma-primary, #00d1b2);
|
|
12
|
+
$link: var(--bulma-link, #485fc7);
|
|
13
|
+
$info: var(--bulma-info, #3e8ed0);
|
|
14
|
+
$success: var(--bulma-success, #48c78e);
|
|
15
|
+
$warning: var(--bulma-warning, #ffe08a);
|
|
16
|
+
$danger: var(--bulma-danger, #f14668);
|
|
17
|
+
$text: var(--bulma-text, #4a4a4a);
|
|
18
|
+
$background: var(--bulma-background, #f5f5f5);
|
|
19
|
+
$radius: var(--bulma-radius, 4px);
|
|
20
|
+
$speed: var(--bulma-speed, 0.25s);
|
|
16
21
|
|
|
17
22
|
$size-small: 0.75rem !default;
|
|
18
23
|
$size-normal: 1rem !default;
|