bulma-rails 1.0.2 → 1.0.4
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.
- checksums.yaml +4 -4
- data/README.md +15 -3
- data/app/assets/stylesheets/bulma.scss +2 -2
- data/app/assets/stylesheets/{sass → bulma_sass}/base/generic.scss +2 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/base/skeleton.scss +1 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/components/navbar.scss +1 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/elements/button.scss +12 -0
- data/app/assets/stylesheets/{sass → bulma_sass}/elements/image.scss +4 -2
- data/app/assets/stylesheets/{sass → bulma_sass}/elements/title.scss +4 -2
- data/app/assets/stylesheets/{sass → bulma_sass}/form/input-textarea.scss +3 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/form/shared.scss +7 -5
- data/app/assets/stylesheets/{sass → bulma_sass}/form/tools.scss +1 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/grid/columns.scss +1 -1
- data/app/assets/stylesheets/bulma_sass/helpers/aspect-ratio.scss +12 -0
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/border.scss +1 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/color.scss +40 -40
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/flexbox.scss +7 -7
- data/app/assets/stylesheets/bulma_sass/helpers/float.scss +28 -0
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/gap.scss +3 -3
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/other.scss +4 -4
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/overflow.scss +4 -4
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/position.scss +4 -4
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/spacing.scss +6 -6
- data/app/assets/stylesheets/{sass → bulma_sass}/helpers/typography.scss +33 -27
- data/app/assets/stylesheets/bulma_sass/helpers/visibility.scss +221 -0
- data/app/assets/stylesheets/{sass → bulma_sass}/layout/hero.scss +12 -9
- data/app/assets/stylesheets/{sass → bulma_sass}/themes/_index.scss +2 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/themes/dark.scss +2 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/themes/light.scss +7 -6
- data/app/assets/stylesheets/{sass → bulma_sass}/utilities/controls.scss +1 -1
- data/app/assets/stylesheets/{sass → bulma_sass}/utilities/css-variables.scss +99 -23
- data/app/assets/stylesheets/{sass → bulma_sass}/utilities/functions.scss +100 -48
- data/app/assets/stylesheets/{sass → bulma_sass}/utilities/initial-variables.scss +2 -0
- data/app/assets/stylesheets/{sass → bulma_sass}/utilities/mixins.scss +5 -3
- data/bulma-rails.gemspec +1 -1
- metadata +75 -75
- data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +0 -10
- data/app/assets/stylesheets/sass/helpers/float.scss +0 -28
- data/app/assets/stylesheets/sass/helpers/visibility.scss +0 -221
- /data/app/assets/stylesheets/{sass → bulma_sass}/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/base/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/base/animations.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/base/minireset.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/breadcrumb.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/card.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/dropdown.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/menu.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/message.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/modal.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/pagination.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/panel.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/components/tabs.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/block.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/box.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/content.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/delete.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/icon.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/loader.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/notification.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/progress.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/table.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/elements/tag.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/form/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/form/checkbox-radio.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/form/file.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/form/select.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/grid/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/grid/grid.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/helpers/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/container.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/footer.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/level.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/media.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/layout/section.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/themes/setup.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/_index.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/derived-variables.scss +0 -0
- /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/extends.scss +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8effdb1290e304821a7fadc0c77a3e8ce3591488599f9d69c250e440f31dd2a0
|
4
|
+
data.tar.gz: 5f421df85c9fa6ab1fda1658cdef8392b6e1452e69aee0f7b2eacff596ff7566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ebf085f272b07e55bac320f254ccdfae286b922c988dee44d9a3b969b6292558ed49b94b315dc914a6b99783cdcda7c52b54d8cf2e0a6feba1865c4b3f44b9
|
7
|
+
data.tar.gz: c13cad06640162d8c788c5677c600fe3127930272f74545596a7e6ebd305c8f09084518b45718be8b01c50e2ba1fdde5f8257e5dad396bf164f330c49945a326
|
data/README.md
CHANGED
@@ -41,7 +41,7 @@ run `rails tmp:clear` and restarting the server.
|
|
41
41
|
Modularity in Bulma helps to import only what you need.
|
42
42
|
As an example, Layout features like Bulma's columns can be loaded directly without requiring any additional files. Simply load the `columns.scss` file with the `@use` keyword into your `application.scss`:
|
43
43
|
|
44
|
-
@use "
|
44
|
+
@use "bulma_sass/grid/columns";
|
45
45
|
|
46
46
|
For more information about Modularity see [Modularity in bulma](https://bulma.io/documentation/start/modular/)
|
47
47
|
|
@@ -49,10 +49,22 @@ For more information about Modularity see [Modularity in bulma](https://bulma.io
|
|
49
49
|
|
50
50
|
For using mixins add the following line to your `application.scss`:
|
51
51
|
|
52
|
-
@use "
|
52
|
+
@use "bulma_sass/utilities/mixins";
|
53
53
|
|
54
54
|
For more information about Mixins see [Bulma Sass Mixins](https://bulma.io/documentation/sass/mixins/)
|
55
55
|
|
56
|
+
## Prefix
|
57
|
+
|
58
|
+
Prefix all generated classes with `bulma-`:
|
59
|
+
```
|
60
|
+
// application.scss
|
61
|
+
// Load all styles with `bulma-` prefix
|
62
|
+
|
63
|
+
@use "bulma_sass" with (
|
64
|
+
$class-prefix: "bulma-"
|
65
|
+
);
|
66
|
+
```
|
67
|
+
|
56
68
|
## Customization
|
57
69
|
|
58
70
|
To overwrite Bulma’s Sass variables with your own value, write `@use` and the `with` keyword for example to your `application.scss`:
|
@@ -65,7 +77,7 @@ $beige-light: #d0d1cd;
|
|
65
77
|
$beige-lighter: #eff0eb;
|
66
78
|
|
67
79
|
// Override global Sass variables from the /utilities folder
|
68
|
-
@use "
|
80
|
+
@use "bulma_sass/utilities" with (
|
69
81
|
$family-primary: '"Nunito", sans-serif',
|
70
82
|
$grey-dark: $brown,
|
71
83
|
$grey-light: $beige-light,
|
@@ -1,3 +1,4 @@
|
|
1
|
+
@use "../utilities/initial-variables" as iv;
|
1
2
|
@use "../utilities/css-variables.scss" as cv;
|
2
3
|
@use "../utilities/mixins" as mx;
|
3
4
|
|
@@ -32,7 +33,7 @@ $pre-font-size: 0.875em !default;
|
|
32
33
|
$pre-padding: 1.25rem 1.5rem !default;
|
33
34
|
$pre-code-font-size: 1em !default;
|
34
35
|
|
35
|
-
|
36
|
+
#{iv.$variables-host} {
|
36
37
|
@include cv.register-vars(
|
37
38
|
(
|
38
39
|
"body-background-color": #{$body-background-color},
|
@@ -383,6 +383,12 @@ $no-palette: ("white", "black", "light", "dark");
|
|
383
383
|
@include cv.register-vars(
|
384
384
|
(
|
385
385
|
"button-border-width": max(1px, 0.0625em),
|
386
|
+
"loading-color":
|
387
|
+
hsl(
|
388
|
+
#{cv.getVar("button-h")},
|
389
|
+
#{cv.getVar("button-s")},
|
390
|
+
#{cv.getVar("button-l")}
|
391
|
+
),
|
386
392
|
)
|
387
393
|
);
|
388
394
|
|
@@ -410,6 +416,12 @@ $no-palette: ("white", "black", "light", "dark");
|
|
410
416
|
&:active {
|
411
417
|
@include cv.register-vars(());
|
412
418
|
}
|
419
|
+
|
420
|
+
&[disabled],
|
421
|
+
fieldset[disabled] & {
|
422
|
+
background-color: transparent;
|
423
|
+
box-shadow: none;
|
424
|
+
}
|
413
425
|
}
|
414
426
|
|
415
427
|
&.#{iv.$class-prefix}is-inverted {
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:list";
|
2
|
+
|
1
3
|
@use "../utilities/initial-variables" as iv;
|
2
4
|
@use "../utilities/css-variables" as cv;
|
3
5
|
@use "../utilities/mixins" as mx;
|
@@ -37,8 +39,8 @@ $dimensions: 16 24 32 48 64 96 128 !default;
|
|
37
39
|
}
|
38
40
|
|
39
41
|
@each $pair in iv.$aspect-ratios {
|
40
|
-
$w: nth($pair, 1);
|
41
|
-
$h: nth($pair, 2);
|
42
|
+
$w: list.nth($pair, 1);
|
43
|
+
$h: list.nth($pair, 2);
|
42
44
|
|
43
45
|
&.#{iv.$class-prefix}is-#{$w}by#{$h} {
|
44
46
|
aspect-ratio: #{$w} / #{$h};
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:list";
|
2
|
+
|
1
3
|
@use "../utilities/css-variables" as cv;
|
2
4
|
@use "../utilities/derived-variables" as dv;
|
3
5
|
@use "../utilities/initial-variables" as iv;
|
@@ -90,7 +92,7 @@ $subtitle-strong-weight: cv.getVar("weight-semibold") !default;
|
|
90
92
|
|
91
93
|
// Sizes
|
92
94
|
@each $size in dv.$sizes {
|
93
|
-
$i: index(dv.$sizes, $size);
|
95
|
+
$i: list.index(dv.$sizes, $size);
|
94
96
|
|
95
97
|
&.#{iv.$class-prefix}is-#{$i} {
|
96
98
|
font-size: $size;
|
@@ -119,7 +121,7 @@ $subtitle-strong-weight: cv.getVar("weight-semibold") !default;
|
|
119
121
|
|
120
122
|
// Sizes
|
121
123
|
@each $size in dv.$sizes {
|
122
|
-
$i: index(dv.$sizes, $size);
|
124
|
+
$i: list.index(dv.$sizes, $size);
|
123
125
|
|
124
126
|
&.#{iv.$class-prefix}is-#{$i} {
|
125
127
|
font-size: $size;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "sass:list";
|
2
|
+
|
1
3
|
@use "shared";
|
2
4
|
@use "../utilities/css-variables" as cv;
|
3
5
|
@use "../utilities/initial-variables" as iv;
|
@@ -22,7 +24,7 @@ $textarea-colors: shared.$form-colors !default;
|
|
22
24
|
|
23
25
|
// Colors
|
24
26
|
@each $name, $pair in $textarea-colors {
|
25
|
-
$color: nth($pair, 1);
|
27
|
+
$color: list.nth($pair, 1);
|
26
28
|
|
27
29
|
&.#{iv.$class-prefix}is-#{$name} {
|
28
30
|
@include cv.register-vars(
|
@@ -13,6 +13,11 @@ $input-border-style: solid !default;
|
|
13
13
|
$input-border-width: cv.getVar("control-border-width") !default;
|
14
14
|
$input-border-l: cv.getVar("border-l") !default;
|
15
15
|
$input-border-l-delta: 0% !default;
|
16
|
+
$input-border-color: hsl(
|
17
|
+
cv.getVar("input-h"),
|
18
|
+
cv.getVar("input-s"),
|
19
|
+
calc(#{cv.getVar("input-border-l")} + #{cv.getVar("input-border-l-delta")})
|
20
|
+
) !default;
|
16
21
|
$input-hover-border-l-delta: #{cv.getVar("hover-border-l-delta")} !default;
|
17
22
|
$input-active-border-l-delta: #{cv.getVar("active-border-l-delta")} !default;
|
18
23
|
$input-color-l: cv.getVar("text-strong-l") !default;
|
@@ -70,6 +75,7 @@ $input-radius: cv.getVar("radius") !default;
|
|
70
75
|
"input-border-width": #{$input-border-width},
|
71
76
|
"input-border-l": #{$input-border-l},
|
72
77
|
"input-border-l-delta": #{$input-border-l-delta},
|
78
|
+
"input-border-color": #{$input-border-color},
|
73
79
|
"input-hover-border-l-delta": #{$input-hover-border-l-delta},
|
74
80
|
"input-active-border-l-delta": #{$input-active-border-l-delta},
|
75
81
|
"input-focus-h": #{$input-focus-h},
|
@@ -107,11 +113,7 @@ $input-radius: cv.getVar("radius") !default;
|
|
107
113
|
)}
|
108
114
|
)
|
109
115
|
);
|
110
|
-
border-color:
|
111
|
-
cv.getVar("input-h"),
|
112
|
-
cv.getVar("input-s"),
|
113
|
-
calc(#{cv.getVar("input-border-l")} + #{cv.getVar("input-border-l-delta")})
|
114
|
-
);
|
116
|
+
border-color: cv.getVar("input-border-color");
|
115
117
|
border-radius: cv.getVar("input-radius");
|
116
118
|
color: hsl(
|
117
119
|
#{cv.getVar("input-h")},
|
@@ -0,0 +1,12 @@
|
|
1
|
+
@use "sass:list";
|
2
|
+
|
3
|
+
@use "../utilities/initial-variables" as iv;
|
4
|
+
|
5
|
+
@each $pair in iv.$aspect-ratios {
|
6
|
+
$w: list.nth($pair, 1);
|
7
|
+
$h: list.nth($pair, 2);
|
8
|
+
|
9
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}aspect-ratio-#{$w}by#{$h} {
|
10
|
+
aspect-ratio: #{$w} / #{$h};
|
11
|
+
}
|
12
|
+
}
|
@@ -26,7 +26,7 @@ $digits: (
|
|
26
26
|
"100"
|
27
27
|
);
|
28
28
|
|
29
|
-
.#{iv.$helpers-has-prefix}background {
|
29
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background {
|
30
30
|
background-color: cv.getVar("background");
|
31
31
|
}
|
32
32
|
|
@@ -43,16 +43,16 @@ $digits: (
|
|
43
43
|
#{cv.getVar($name, "", "-l")}
|
44
44
|
);
|
45
45
|
|
46
|
-
.#{iv.$helpers-has-prefix}text-#{$name} {
|
46
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name} {
|
47
47
|
color: $color !important;
|
48
48
|
}
|
49
49
|
|
50
|
-
.#{iv.$helpers-has-prefix}background-#{$name} {
|
50
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name} {
|
51
51
|
background-color: $background !important;
|
52
52
|
}
|
53
53
|
|
54
54
|
// Invert
|
55
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-invert {
|
55
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-invert {
|
56
56
|
color: hsl(
|
57
57
|
#{cv.getVar($name, "", "-h")},
|
58
58
|
#{cv.getVar($name, "", "-s")},
|
@@ -60,7 +60,7 @@ $digits: (
|
|
60
60
|
) !important;
|
61
61
|
}
|
62
62
|
|
63
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-invert {
|
63
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-invert {
|
64
64
|
background-color: hsl(
|
65
65
|
#{cv.getVar($name, "", "-h")},
|
66
66
|
#{cv.getVar($name, "", "-s")},
|
@@ -69,7 +69,7 @@ $digits: (
|
|
69
69
|
}
|
70
70
|
|
71
71
|
// On Scheme
|
72
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-on-scheme {
|
72
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-on-scheme {
|
73
73
|
color: hsl(
|
74
74
|
#{cv.getVar($name, "", "-h")},
|
75
75
|
#{cv.getVar($name, "", "-s")},
|
@@ -77,7 +77,7 @@ $digits: (
|
|
77
77
|
) !important;
|
78
78
|
}
|
79
79
|
|
80
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-on-scheme {
|
80
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-on-scheme {
|
81
81
|
background-color: hsl(
|
82
82
|
#{cv.getVar($name, "", "-h")},
|
83
83
|
#{cv.getVar($name, "", "-s")},
|
@@ -86,7 +86,7 @@ $digits: (
|
|
86
86
|
}
|
87
87
|
|
88
88
|
// Light
|
89
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-light {
|
89
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-light {
|
90
90
|
color: hsl(
|
91
91
|
#{cv.getVar($name, "", "-h")},
|
92
92
|
#{cv.getVar($name, "", "-s")},
|
@@ -94,7 +94,7 @@ $digits: (
|
|
94
94
|
) !important;
|
95
95
|
}
|
96
96
|
|
97
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-light {
|
97
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-light {
|
98
98
|
background-color: hsl(
|
99
99
|
#{cv.getVar($name, "", "-h")},
|
100
100
|
#{cv.getVar($name, "", "-s")},
|
@@ -102,7 +102,7 @@ $digits: (
|
|
102
102
|
) !important;
|
103
103
|
}
|
104
104
|
|
105
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-light-invert {
|
105
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-light-invert {
|
106
106
|
color: hsl(
|
107
107
|
#{cv.getVar($name, "", "-h")},
|
108
108
|
#{cv.getVar($name, "", "-s")},
|
@@ -110,7 +110,7 @@ $digits: (
|
|
110
110
|
) !important;
|
111
111
|
}
|
112
112
|
|
113
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-light-invert {
|
113
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-light-invert {
|
114
114
|
background-color: hsl(
|
115
115
|
#{cv.getVar($name, "", "-h")},
|
116
116
|
#{cv.getVar($name, "", "-s")},
|
@@ -119,7 +119,7 @@ $digits: (
|
|
119
119
|
}
|
120
120
|
|
121
121
|
// Dark
|
122
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-dark {
|
122
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-dark {
|
123
123
|
color: hsl(
|
124
124
|
#{cv.getVar($name, "", "-h")},
|
125
125
|
#{cv.getVar($name, "", "-s")},
|
@@ -127,7 +127,7 @@ $digits: (
|
|
127
127
|
) !important;
|
128
128
|
}
|
129
129
|
|
130
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-dark {
|
130
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-dark {
|
131
131
|
background-color: hsl(
|
132
132
|
#{cv.getVar($name, "", "-h")},
|
133
133
|
#{cv.getVar($name, "", "-s")},
|
@@ -135,7 +135,7 @@ $digits: (
|
|
135
135
|
) !important;
|
136
136
|
}
|
137
137
|
|
138
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-dark-invert {
|
138
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-dark-invert {
|
139
139
|
color: hsl(
|
140
140
|
#{cv.getVar($name, "", "-h")},
|
141
141
|
#{cv.getVar($name, "", "-s")},
|
@@ -143,7 +143,7 @@ $digits: (
|
|
143
143
|
) !important;
|
144
144
|
}
|
145
145
|
|
146
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-dark-invert {
|
146
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-dark-invert {
|
147
147
|
background-color: hsl(
|
148
148
|
#{cv.getVar($name, "", "-h")},
|
149
149
|
#{cv.getVar($name, "", "-s")},
|
@@ -152,7 +152,7 @@ $digits: (
|
|
152
152
|
}
|
153
153
|
|
154
154
|
// Soft/Bold
|
155
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-soft {
|
155
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-soft {
|
156
156
|
color: hsl(
|
157
157
|
#{cv.getVar($name, "", "-h")},
|
158
158
|
#{cv.getVar($name, "", "-s")},
|
@@ -160,7 +160,7 @@ $digits: (
|
|
160
160
|
) !important;
|
161
161
|
}
|
162
162
|
|
163
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-soft {
|
163
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-soft {
|
164
164
|
background-color: hsl(
|
165
165
|
#{cv.getVar($name, "", "-h")},
|
166
166
|
#{cv.getVar($name, "", "-s")},
|
@@ -168,7 +168,7 @@ $digits: (
|
|
168
168
|
) !important;
|
169
169
|
}
|
170
170
|
|
171
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-bold {
|
171
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-bold {
|
172
172
|
color: hsl(
|
173
173
|
#{cv.getVar($name, "", "-h")},
|
174
174
|
#{cv.getVar($name, "", "-s")},
|
@@ -176,7 +176,7 @@ $digits: (
|
|
176
176
|
) !important;
|
177
177
|
}
|
178
178
|
|
179
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-bold {
|
179
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-bold {
|
180
180
|
background-color: hsl(
|
181
181
|
#{cv.getVar($name, "", "-h")},
|
182
182
|
#{cv.getVar($name, "", "-s")},
|
@@ -184,7 +184,7 @@ $digits: (
|
|
184
184
|
) !important;
|
185
185
|
}
|
186
186
|
|
187
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-soft-invert {
|
187
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-soft-invert {
|
188
188
|
color: hsl(
|
189
189
|
#{cv.getVar($name, "", "-h")},
|
190
190
|
#{cv.getVar($name, "", "-s")},
|
@@ -192,7 +192,7 @@ $digits: (
|
|
192
192
|
) !important;
|
193
193
|
}
|
194
194
|
|
195
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-soft-invert {
|
195
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-soft-invert {
|
196
196
|
background-color: hsl(
|
197
197
|
#{cv.getVar($name, "", "-h")},
|
198
198
|
#{cv.getVar($name, "", "-s")},
|
@@ -200,7 +200,7 @@ $digits: (
|
|
200
200
|
) !important;
|
201
201
|
}
|
202
202
|
|
203
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-bold-invert {
|
203
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-bold-invert {
|
204
204
|
color: hsl(
|
205
205
|
#{cv.getVar($name, "", "-h")},
|
206
206
|
#{cv.getVar($name, "", "-s")},
|
@@ -208,7 +208,7 @@ $digits: (
|
|
208
208
|
) !important;
|
209
209
|
}
|
210
210
|
|
211
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-bold-invert {
|
211
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-bold-invert {
|
212
212
|
background-color: hsl(
|
213
213
|
#{cv.getVar($name, "", "-h")},
|
214
214
|
#{cv.getVar($name, "", "-s")},
|
@@ -217,7 +217,7 @@ $digits: (
|
|
217
217
|
}
|
218
218
|
|
219
219
|
@each $digit in $digits {
|
220
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-#{$digit} {
|
220
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-#{$digit} {
|
221
221
|
color: hsl(
|
222
222
|
#{cv.getVar($name, "", "-h")},
|
223
223
|
#{cv.getVar($name, "", "-s")},
|
@@ -225,7 +225,7 @@ $digits: (
|
|
225
225
|
) !important;
|
226
226
|
}
|
227
227
|
|
228
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-#{$digit} {
|
228
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-#{$digit} {
|
229
229
|
background-color: hsl(
|
230
230
|
#{cv.getVar($name, "", "-h")},
|
231
231
|
#{cv.getVar($name, "", "-s")},
|
@@ -233,7 +233,7 @@ $digits: (
|
|
233
233
|
) !important;
|
234
234
|
}
|
235
235
|
|
236
|
-
.#{iv.$helpers-has-prefix}text-#{$name}-#{$digit}-invert {
|
236
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}-#{$digit}-invert {
|
237
237
|
color: hsl(
|
238
238
|
#{cv.getVar($name, "", "-h")},
|
239
239
|
#{cv.getVar($name, "", "-s")},
|
@@ -241,7 +241,7 @@ $digits: (
|
|
241
241
|
) !important;
|
242
242
|
}
|
243
243
|
|
244
|
-
.#{iv.$helpers-has-prefix}background-#{$name}-#{$digit}-invert {
|
244
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}-#{$digit}-invert {
|
245
245
|
background-color: hsl(
|
246
246
|
#{cv.getVar($name, "", "-h")},
|
247
247
|
#{cv.getVar($name, "", "-s")},
|
@@ -251,9 +251,9 @@ $digits: (
|
|
251
251
|
}
|
252
252
|
|
253
253
|
// Hover
|
254
|
-
a.#{iv.$helpers-has-prefix}text-#{$name},
|
255
|
-
button.#{iv.$helpers-has-prefix}text-#{$name},
|
256
|
-
#{iv.$helpers-has-prefix}text-#{$name}.is-hoverable {
|
254
|
+
a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name},
|
255
|
+
button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name},
|
256
|
+
#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name}.is-hoverable {
|
257
257
|
&:hover,
|
258
258
|
&:focus-visible {
|
259
259
|
color: hsl(
|
@@ -276,9 +276,9 @@ $digits: (
|
|
276
276
|
}
|
277
277
|
}
|
278
278
|
|
279
|
-
a.#{iv.$helpers-has-prefix}background-#{$name},
|
280
|
-
button.#{iv.$helpers-has-prefix}background-#{$name},
|
281
|
-
#{iv.$helpers-has-prefix}background-#{$name}.is-hoverable {
|
279
|
+
a.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name},
|
280
|
+
button.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name},
|
281
|
+
#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name}.is-hoverable {
|
282
282
|
&:hover,
|
283
283
|
&:focus-visible {
|
284
284
|
background-color: hsl(
|
@@ -304,7 +304,7 @@ $digits: (
|
|
304
304
|
}
|
305
305
|
|
306
306
|
// Palettes
|
307
|
-
.#{iv.$helpers-prefix}palette-#{$name} {
|
307
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}palette-#{$name} {
|
308
308
|
--h: #{cv.getVar($name, "", "-h")};
|
309
309
|
--s: #{cv.getVar($name, "", "-s")};
|
310
310
|
--l: #{cv.getVar($name, "", "-l")};
|
@@ -318,27 +318,27 @@ $digits: (
|
|
318
318
|
}
|
319
319
|
|
320
320
|
@each $name, $shade in dv.$shades {
|
321
|
-
.#{iv.$helpers-has-prefix}text-#{$name} {
|
321
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$name} {
|
322
322
|
color: $shade !important;
|
323
323
|
}
|
324
324
|
|
325
|
-
.#{iv.$helpers-has-prefix}background-#{$name} {
|
325
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-#{$name} {
|
326
326
|
background-color: $shade !important;
|
327
327
|
}
|
328
328
|
}
|
329
329
|
|
330
|
-
.#{iv.$helpers-has-prefix}text-current {
|
330
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-current {
|
331
331
|
color: currentColor !important;
|
332
332
|
}
|
333
333
|
|
334
|
-
.#{iv.$helpers-has-prefix}text-inherit {
|
334
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-inherit {
|
335
335
|
color: inherit !important;
|
336
336
|
}
|
337
337
|
|
338
|
-
.#{iv.$helpers-has-prefix}background-current {
|
338
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-current {
|
339
339
|
background-color: currentColor !important;
|
340
340
|
}
|
341
341
|
|
342
|
-
.#{iv.$helpers-has-prefix}background-inherit {
|
342
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}background-inherit {
|
343
343
|
background-color: inherit !important;
|
344
344
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
$flex-direction-values: row, row-reverse, column, column-reverse;
|
4
4
|
|
5
5
|
@each $value in $flex-direction-values {
|
6
|
-
.#{iv.$helpers-prefix}flex-direction-#{$value} {
|
6
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}flex-direction-#{$value} {
|
7
7
|
flex-direction: $value !important;
|
8
8
|
}
|
9
9
|
}
|
@@ -11,7 +11,7 @@ $flex-direction-values: row, row-reverse, column, column-reverse;
|
|
11
11
|
$flex-wrap-values: nowrap, wrap, wrap-reverse;
|
12
12
|
|
13
13
|
@each $value in $flex-wrap-values {
|
14
|
-
.#{iv.$helpers-prefix}flex-wrap-#{$value} {
|
14
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}flex-wrap-#{$value} {
|
15
15
|
flex-wrap: $value !important;
|
16
16
|
}
|
17
17
|
}
|
@@ -20,7 +20,7 @@ $justify-content-values: flex-start, flex-end, center, space-between,
|
|
20
20
|
space-around, space-evenly, start, end, left, right;
|
21
21
|
|
22
22
|
@each $value in $justify-content-values {
|
23
|
-
.#{iv.$helpers-prefix}justify-content-#{$value} {
|
23
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}justify-content-#{$value} {
|
24
24
|
justify-content: $value !important;
|
25
25
|
}
|
26
26
|
}
|
@@ -29,7 +29,7 @@ $align-content-values: flex-start, flex-end, center, space-between, space-around
|
|
29
29
|
space-evenly, stretch, start, end, baseline;
|
30
30
|
|
31
31
|
@each $value in $align-content-values {
|
32
|
-
.#{iv.$helpers-prefix}align-content-#{$value} {
|
32
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}align-content-#{$value} {
|
33
33
|
align-content: $value !important;
|
34
34
|
}
|
35
35
|
}
|
@@ -38,7 +38,7 @@ $align-items-values: stretch, flex-start, flex-end, center, baseline, start, end
|
|
38
38
|
self-start, self-end;
|
39
39
|
|
40
40
|
@each $value in $align-items-values {
|
41
|
-
.#{iv.$helpers-prefix}align-items-#{$value} {
|
41
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}align-items-#{$value} {
|
42
42
|
align-items: $value !important;
|
43
43
|
}
|
44
44
|
}
|
@@ -46,7 +46,7 @@ $align-items-values: stretch, flex-start, flex-end, center, baseline, start, end
|
|
46
46
|
$align-self-values: auto, flex-start, flex-end, center, baseline, stretch;
|
47
47
|
|
48
48
|
@each $value in $align-self-values {
|
49
|
-
.#{iv.$helpers-prefix}align-self-#{$value} {
|
49
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}align-self-#{$value} {
|
50
50
|
align-self: $value !important;
|
51
51
|
}
|
52
52
|
}
|
@@ -55,7 +55,7 @@ $flex-operators: grow, shrink;
|
|
55
55
|
|
56
56
|
@each $operator in $flex-operators {
|
57
57
|
@for $i from 0 through 5 {
|
58
|
-
.#{iv.$helpers-prefix}flex-#{$operator}-#{$i} {
|
58
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}flex-#{$operator}-#{$i} {
|
59
59
|
flex-#{$operator}: $i !important;
|
60
60
|
}
|
61
61
|
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
@use "../utilities/initial-variables" as iv;
|
2
|
+
@use "../utilities/mixins" as mx;
|
3
|
+
|
4
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}clearfix {
|
5
|
+
@include mx.clearfix;
|
6
|
+
}
|
7
|
+
|
8
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}float-left,
|
9
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}pulled-left {
|
10
|
+
float: left !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}float-right,
|
14
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}pulled-right {
|
15
|
+
float: right !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}float-none {
|
19
|
+
float: none !important;
|
20
|
+
}
|
21
|
+
|
22
|
+
$clears: both left none right;
|
23
|
+
|
24
|
+
@each $clear in $clears {
|
25
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}clear-#{$clear} {
|
26
|
+
clear: $clear !important;
|
27
|
+
}
|
28
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
@use "sass:string";
|
3
3
|
@use "../utilities/initial-variables" as iv;
|
4
4
|
|
5
|
-
.#{iv.$helpers-prefix}gapless {
|
5
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}gapless {
|
6
6
|
gap: 0 !important;
|
7
7
|
}
|
8
8
|
|
@@ -11,12 +11,12 @@ $gap-base: 0.5rem;
|
|
11
11
|
|
12
12
|
@each $gap in $gaps {
|
13
13
|
@for $i from 0 through 8 {
|
14
|
-
.#{iv.$helpers-prefix}#{$gap}-#{$i} {
|
14
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i} {
|
15
15
|
#{$gap}: ($gap-base * $i) !important;
|
16
16
|
}
|
17
17
|
|
18
18
|
@if $i < 8 {
|
19
|
-
.#{iv.$helpers-prefix}#{$gap}-#{$i}\.5 {
|
19
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i}\.5 {
|
20
20
|
#{$gap}: ($gap-base * $i + math.div($gap-base, 2)) !important;
|
21
21
|
}
|
22
22
|
}
|