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.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -3
  3. data/app/assets/stylesheets/bulma.scss +2 -2
  4. data/app/assets/stylesheets/{sass → bulma_sass}/base/generic.scss +2 -1
  5. data/app/assets/stylesheets/{sass → bulma_sass}/base/skeleton.scss +1 -1
  6. data/app/assets/stylesheets/{sass → bulma_sass}/components/navbar.scss +1 -1
  7. data/app/assets/stylesheets/{sass → bulma_sass}/elements/button.scss +12 -0
  8. data/app/assets/stylesheets/{sass → bulma_sass}/elements/image.scss +4 -2
  9. data/app/assets/stylesheets/{sass → bulma_sass}/elements/title.scss +4 -2
  10. data/app/assets/stylesheets/{sass → bulma_sass}/form/input-textarea.scss +3 -1
  11. data/app/assets/stylesheets/{sass → bulma_sass}/form/shared.scss +7 -5
  12. data/app/assets/stylesheets/{sass → bulma_sass}/form/tools.scss +1 -1
  13. data/app/assets/stylesheets/{sass → bulma_sass}/grid/columns.scss +1 -1
  14. data/app/assets/stylesheets/bulma_sass/helpers/aspect-ratio.scss +12 -0
  15. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/border.scss +1 -1
  16. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/color.scss +40 -40
  17. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/flexbox.scss +7 -7
  18. data/app/assets/stylesheets/bulma_sass/helpers/float.scss +28 -0
  19. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/gap.scss +3 -3
  20. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/other.scss +4 -4
  21. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/overflow.scss +4 -4
  22. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/position.scss +4 -4
  23. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/spacing.scss +6 -6
  24. data/app/assets/stylesheets/{sass → bulma_sass}/helpers/typography.scss +33 -27
  25. data/app/assets/stylesheets/bulma_sass/helpers/visibility.scss +221 -0
  26. data/app/assets/stylesheets/{sass → bulma_sass}/layout/hero.scss +12 -9
  27. data/app/assets/stylesheets/{sass → bulma_sass}/themes/_index.scss +2 -1
  28. data/app/assets/stylesheets/{sass → bulma_sass}/themes/dark.scss +2 -1
  29. data/app/assets/stylesheets/{sass → bulma_sass}/themes/light.scss +7 -6
  30. data/app/assets/stylesheets/{sass → bulma_sass}/utilities/controls.scss +1 -1
  31. data/app/assets/stylesheets/{sass → bulma_sass}/utilities/css-variables.scss +99 -23
  32. data/app/assets/stylesheets/{sass → bulma_sass}/utilities/functions.scss +100 -48
  33. data/app/assets/stylesheets/{sass → bulma_sass}/utilities/initial-variables.scss +2 -0
  34. data/app/assets/stylesheets/{sass → bulma_sass}/utilities/mixins.scss +5 -3
  35. data/bulma-rails.gemspec +1 -1
  36. metadata +75 -75
  37. data/app/assets/stylesheets/sass/helpers/aspect-ratio.scss +0 -10
  38. data/app/assets/stylesheets/sass/helpers/float.scss +0 -28
  39. data/app/assets/stylesheets/sass/helpers/visibility.scss +0 -221
  40. /data/app/assets/stylesheets/{sass → bulma_sass}/_index.scss +0 -0
  41. /data/app/assets/stylesheets/{sass → bulma_sass}/base/_index.scss +0 -0
  42. /data/app/assets/stylesheets/{sass → bulma_sass}/base/animations.scss +0 -0
  43. /data/app/assets/stylesheets/{sass → bulma_sass}/base/minireset.scss +0 -0
  44. /data/app/assets/stylesheets/{sass → bulma_sass}/components/_index.scss +0 -0
  45. /data/app/assets/stylesheets/{sass → bulma_sass}/components/breadcrumb.scss +0 -0
  46. /data/app/assets/stylesheets/{sass → bulma_sass}/components/card.scss +0 -0
  47. /data/app/assets/stylesheets/{sass → bulma_sass}/components/dropdown.scss +0 -0
  48. /data/app/assets/stylesheets/{sass → bulma_sass}/components/menu.scss +0 -0
  49. /data/app/assets/stylesheets/{sass → bulma_sass}/components/message.scss +0 -0
  50. /data/app/assets/stylesheets/{sass → bulma_sass}/components/modal.scss +0 -0
  51. /data/app/assets/stylesheets/{sass → bulma_sass}/components/pagination.scss +0 -0
  52. /data/app/assets/stylesheets/{sass → bulma_sass}/components/panel.scss +0 -0
  53. /data/app/assets/stylesheets/{sass → bulma_sass}/components/tabs.scss +0 -0
  54. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/_index.scss +0 -0
  55. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/block.scss +0 -0
  56. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/box.scss +0 -0
  57. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/content.scss +0 -0
  58. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/delete.scss +0 -0
  59. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/icon.scss +0 -0
  60. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/loader.scss +0 -0
  61. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/notification.scss +0 -0
  62. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/progress.scss +0 -0
  63. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/table.scss +0 -0
  64. /data/app/assets/stylesheets/{sass → bulma_sass}/elements/tag.scss +0 -0
  65. /data/app/assets/stylesheets/{sass → bulma_sass}/form/_index.scss +0 -0
  66. /data/app/assets/stylesheets/{sass → bulma_sass}/form/checkbox-radio.scss +0 -0
  67. /data/app/assets/stylesheets/{sass → bulma_sass}/form/file.scss +0 -0
  68. /data/app/assets/stylesheets/{sass → bulma_sass}/form/select.scss +0 -0
  69. /data/app/assets/stylesheets/{sass → bulma_sass}/grid/_index.scss +0 -0
  70. /data/app/assets/stylesheets/{sass → bulma_sass}/grid/grid.scss +0 -0
  71. /data/app/assets/stylesheets/{sass → bulma_sass}/helpers/_index.scss +0 -0
  72. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/_index.scss +0 -0
  73. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/container.scss +0 -0
  74. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/footer.scss +0 -0
  75. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/level.scss +0 -0
  76. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/media.scss +0 -0
  77. /data/app/assets/stylesheets/{sass → bulma_sass}/layout/section.scss +0 -0
  78. /data/app/assets/stylesheets/{sass → bulma_sass}/themes/setup.scss +0 -0
  79. /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/_index.scss +0 -0
  80. /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/derived-variables.scss +0 -0
  81. /data/app/assets/stylesheets/{sass → bulma_sass}/utilities/extends.scss +0 -0
@@ -1,19 +1,19 @@
1
1
  @use "../utilities/extends";
2
2
  @use "../utilities/initial-variables" as iv;
3
3
 
4
- .#{iv.$helpers-prefix}radiusless {
4
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}radiusless {
5
5
  border-radius: 0 !important;
6
6
  }
7
7
 
8
- .#{iv.$helpers-prefix}shadowless {
8
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}shadowless {
9
9
  box-shadow: none !important;
10
10
  }
11
11
 
12
- .#{iv.$helpers-prefix}clickable {
12
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}clickable {
13
13
  cursor: pointer !important;
14
14
  pointer-events: all !important;
15
15
  }
16
16
 
17
- .#{iv.$helpers-prefix}unselectable {
17
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}unselectable {
18
18
  @extend %unselectable;
19
19
  }
@@ -1,21 +1,21 @@
1
1
  @use "../utilities/initial-variables" as iv;
2
2
 
3
- .#{iv.$helpers-prefix}clipped {
3
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}clipped {
4
4
  overflow: hidden !important;
5
5
  }
6
6
 
7
7
  $overflows: auto clip hidden scroll visible;
8
8
 
9
9
  @each $overflow in $overflows {
10
- .#{iv.$helpers-prefix}overflow-#{$overflow} {
10
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}overflow-#{$overflow} {
11
11
  overflow: $overflow !important;
12
12
  }
13
13
 
14
- .#{iv.$helpers-prefix}overflow-x-#{$overflow} {
14
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}overflow-x-#{$overflow} {
15
15
  overflow-x: $overflow !important;
16
16
  }
17
17
 
18
- .#{iv.$helpers-prefix}overflow-y-#{$overflow} {
18
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}overflow-y-#{$overflow} {
19
19
  overflow-y: $overflow !important;
20
20
  }
21
21
  }
@@ -1,19 +1,19 @@
1
1
  @use "../utilities/extends";
2
2
  @use "../utilities/initial-variables" as iv;
3
3
 
4
- .#{iv.$helpers-prefix}overlay,
5
- .#{iv.$helpers-prefix}overlay {
4
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}overlay,
5
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}overlay {
6
6
  @extend %overlay;
7
7
  }
8
8
 
9
- .#{iv.$helpers-prefix}relative {
9
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}relative {
10
10
  position: relative !important;
11
11
  }
12
12
 
13
13
  $positions: absolute fixed relative static sticky;
14
14
 
15
15
  @each $position in $positions {
16
- .#{iv.$helpers-prefix}position-#{$position} {
16
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}position-#{$position} {
17
17
  position: $position !important;
18
18
  }
19
19
  }
@@ -1,10 +1,10 @@
1
1
  @use "../utilities/initial-variables" as iv;
2
2
 
3
- .marginless {
3
+ .#{iv.$class-prefix}marginless {
4
4
  margin: 0 !important;
5
5
  }
6
6
 
7
- .paddingless {
7
+ .#{iv.$class-prefix}paddingless {
8
8
  padding: 0 !important;
9
9
  }
10
10
 
@@ -34,20 +34,20 @@ $spacing-values: (
34
34
  @each $property, $shortcut in $spacing-shortcuts {
35
35
  @each $name, $value in $spacing-values {
36
36
  // All directions
37
- .#{$shortcut}-#{$name} {
37
+ .#{iv.$class-prefix}#{$shortcut}-#{$name} {
38
38
  #{$property}: $value !important;
39
39
  }
40
40
 
41
41
  // Cardinal directions
42
42
  @each $direction, $suffix in $spacing-directions {
43
- .#{$shortcut}#{$suffix}-#{$name} {
43
+ .#{iv.$class-prefix}#{$shortcut}#{$suffix}-#{$name} {
44
44
  #{$property}-#{$direction}: $value !important;
45
45
  }
46
46
  }
47
47
 
48
48
  // Horizontal axis
49
49
  @if $spacing-horizontal != null {
50
- .#{$shortcut}#{$spacing-horizontal}-#{$name} {
50
+ .#{iv.$class-prefix}#{$shortcut}#{$spacing-horizontal}-#{$name} {
51
51
  #{$property}-left: $value !important;
52
52
  #{$property}-right: $value !important;
53
53
  }
@@ -55,7 +55,7 @@ $spacing-values: (
55
55
 
56
56
  // Vertical axis
57
57
  @if $spacing-vertical != null {
58
- .#{$shortcut}#{$spacing-vertical}-#{$name} {
58
+ .#{iv.$class-prefix}#{$shortcut}#{$spacing-vertical}-#{$name} {
59
59
  #{$property}-top: $value !important;
60
60
  #{$property}-bottom: $value !important;
61
61
  }
@@ -1,12 +1,14 @@
1
+ @use "sass:list";
2
+
1
3
  @use "../utilities/derived-variables" as dv;
2
4
  @use "../utilities/initial-variables" as iv;
3
5
  @use "../utilities/mixins" as mx;
4
6
 
5
7
  @mixin typography-size($target: "") {
6
8
  @each $size in dv.$sizes {
7
- $i: index(dv.$sizes, $size);
9
+ $i: list.index(dv.$sizes, $size);
8
10
 
9
- .#{iv.$helpers-prefix}size-#{$i}#{if($target == "", "", "-" + $target)} {
11
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}size-#{$i}#{if($target == "", "", "-" + $target)} {
10
12
  font-size: $size !important;
11
13
  }
12
14
  }
@@ -46,123 +48,127 @@ $alignments: (
46
48
  );
47
49
 
48
50
  @each $alignment, $text-align in $alignments {
49
- .#{iv.$helpers-has-prefix}text-#{$alignment} {
51
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment} {
50
52
  text-align: #{$text-align} !important;
51
53
  }
52
54
  }
53
55
 
54
56
  @each $alignment, $text-align in $alignments {
55
57
  @include mx.mobile {
56
- .#{iv.$helpers-has-prefix}text-#{$alignment}-mobile {
58
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-mobile {
57
59
  text-align: #{$text-align} !important;
58
60
  }
59
61
  }
60
62
 
61
63
  @include mx.tablet {
62
- .#{iv.$helpers-has-prefix}text-#{$alignment}-tablet {
64
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet {
63
65
  text-align: #{$text-align} !important;
64
66
  }
65
67
  }
66
68
 
67
69
  @include mx.tablet-only {
68
- .#{iv.$helpers-has-prefix}text-#{$alignment}-tablet-only {
70
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet-only {
69
71
  text-align: #{$text-align} !important;
70
72
  }
71
73
  }
72
74
 
73
75
  @include mx.touch {
74
- .#{iv.$helpers-has-prefix}text-#{$alignment}-touch {
76
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-touch {
75
77
  text-align: #{$text-align} !important;
76
78
  }
77
79
  }
78
80
 
79
81
  @include mx.desktop {
80
- .#{iv.$helpers-has-prefix}text-#{$alignment}-desktop {
82
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop {
81
83
  text-align: #{$text-align} !important;
82
84
  }
83
85
  }
84
86
 
85
87
  @include mx.desktop-only {
86
- .#{iv.$helpers-has-prefix}text-#{$alignment}-desktop-only {
88
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop-only {
87
89
  text-align: #{$text-align} !important;
88
90
  }
89
91
  }
90
92
 
91
93
  @include mx.widescreen {
92
- .#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen {
94
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen {
93
95
  text-align: #{$text-align} !important;
94
96
  }
95
97
  }
96
98
 
97
99
  @include mx.widescreen-only {
98
- .#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen-only {
100
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen-only {
99
101
  text-align: #{$text-align} !important;
100
102
  }
101
103
  }
102
104
 
103
105
  @include mx.fullhd {
104
- .#{iv.$helpers-has-prefix}text-#{$alignment}-fullhd {
106
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-fullhd {
105
107
  text-align: #{$text-align} !important;
106
108
  }
107
109
  }
108
110
  }
109
111
 
110
- .#{iv.$helpers-prefix}capitalized {
112
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}capitalized {
111
113
  text-transform: capitalize !important;
112
114
  }
113
115
 
114
- .#{iv.$helpers-prefix}lowercase {
116
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}lowercase {
115
117
  text-transform: lowercase !important;
116
118
  }
117
119
 
118
- .#{iv.$helpers-prefix}uppercase {
120
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}uppercase {
119
121
  text-transform: uppercase !important;
120
122
  }
121
123
 
122
- .#{iv.$helpers-prefix}italic {
124
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}italic {
123
125
  font-style: italic !important;
124
126
  }
125
127
 
126
- .#{iv.$helpers-prefix}underlined {
128
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}underlined {
127
129
  text-decoration: underline !important;
128
130
  }
129
131
 
130
- .#{iv.$helpers-has-prefix}text-weight-light {
132
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-light {
131
133
  font-weight: iv.$weight-light !important;
132
134
  }
133
135
 
134
- .#{iv.$helpers-has-prefix}text-weight-normal {
136
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-normal {
135
137
  font-weight: iv.$weight-normal !important;
136
138
  }
137
139
 
138
- .#{iv.$helpers-has-prefix}text-weight-medium {
140
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-medium {
139
141
  font-weight: iv.$weight-medium !important;
140
142
  }
141
143
 
142
- .#{iv.$helpers-has-prefix}text-weight-semibold {
144
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-semibold {
143
145
  font-weight: iv.$weight-semibold !important;
144
146
  }
145
147
 
146
- .#{iv.$helpers-has-prefix}text-weight-bold {
148
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-bold {
147
149
  font-weight: iv.$weight-bold !important;
148
150
  }
149
151
 
150
- .#{iv.$helpers-prefix}family-primary {
152
+ .#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-extrabold {
153
+ font-weight: iv.$weight-extrabold !important;
154
+ }
155
+
156
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-primary {
151
157
  font-family: dv.$family-primary !important;
152
158
  }
153
159
 
154
- .#{iv.$helpers-prefix}family-secondary {
160
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-secondary {
155
161
  font-family: dv.$family-secondary !important;
156
162
  }
157
163
 
158
- .#{iv.$helpers-prefix}family-sans-serif {
164
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-sans-serif {
159
165
  font-family: iv.$family-sans-serif !important;
160
166
  }
161
167
 
162
- .#{iv.$helpers-prefix}family-monospace {
168
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-monospace {
163
169
  font-family: iv.$family-monospace !important;
164
170
  }
165
171
 
166
- .#{iv.$helpers-prefix}family-code {
172
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}family-code {
167
173
  font-family: dv.$family-code !important;
168
174
  }
@@ -0,0 +1,221 @@
1
+ @use "../utilities/initial-variables" as iv;
2
+ @use "../utilities/mixins" as mx;
3
+
4
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none,
5
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden {
6
+ display: none !important;
7
+ }
8
+
9
+ $displays: block flex inline inline-block inline-flex grid;
10
+
11
+ @each $display in $displays {
12
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display},
13
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display} {
14
+ display: $display !important;
15
+ }
16
+
17
+ @include mx.mobile {
18
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-mobile,
19
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-mobile {
20
+ display: $display !important;
21
+ }
22
+ }
23
+
24
+ @include mx.tablet {
25
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-tablet,
26
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-tablet {
27
+ display: $display !important;
28
+ }
29
+ }
30
+
31
+ @include mx.tablet-only {
32
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-tablet-only,
33
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-tablet-only {
34
+ display: $display !important;
35
+ }
36
+ }
37
+
38
+ @include mx.touch {
39
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-touch,
40
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-touch {
41
+ display: $display !important;
42
+ }
43
+ }
44
+
45
+ @include mx.desktop {
46
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-desktop,
47
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-desktop {
48
+ display: $display !important;
49
+ }
50
+ }
51
+
52
+ @include mx.desktop-only {
53
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-desktop-only,
54
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-desktop-only {
55
+ display: $display !important;
56
+ }
57
+ }
58
+
59
+ @include mx.widescreen {
60
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-widescreen,
61
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-widescreen {
62
+ display: $display !important;
63
+ }
64
+ }
65
+
66
+ @include mx.widescreen-only {
67
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-widescreen-only,
68
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-widescreen-only {
69
+ display: $display !important;
70
+ }
71
+ }
72
+
73
+ @include mx.fullhd {
74
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-#{$display}-fullhd,
75
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}#{$display}-fullhd {
76
+ display: $display !important;
77
+ }
78
+ }
79
+ }
80
+
81
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}sr-only {
82
+ border: none !important;
83
+ clip: rect(0, 0, 0, 0) !important;
84
+ height: 0.01em !important;
85
+ overflow: hidden !important;
86
+ padding: 0 !important;
87
+ position: absolute !important;
88
+ white-space: nowrap !important;
89
+ width: 0.01em !important;
90
+ }
91
+
92
+ @include mx.mobile {
93
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-mobile,
94
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-mobile {
95
+ display: none !important;
96
+ }
97
+ }
98
+
99
+ @include mx.tablet {
100
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-tablet,
101
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-tablet {
102
+ display: none !important;
103
+ }
104
+ }
105
+
106
+ @include mx.tablet-only {
107
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-tablet-only,
108
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-tablet-only {
109
+ display: none !important;
110
+ }
111
+ }
112
+
113
+ @include mx.touch {
114
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-touch,
115
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-touch {
116
+ display: none !important;
117
+ }
118
+ }
119
+
120
+ @include mx.desktop {
121
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-desktop,
122
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-desktop {
123
+ display: none !important;
124
+ }
125
+ }
126
+
127
+ @include mx.desktop-only {
128
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-desktop-only,
129
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-desktop-only {
130
+ display: none !important;
131
+ }
132
+ }
133
+
134
+ @include mx.widescreen {
135
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-widescreen,
136
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-widescreen {
137
+ display: none !important;
138
+ }
139
+ }
140
+
141
+ @include mx.widescreen-only {
142
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-widescreen-only,
143
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-widescreen-only {
144
+ display: none !important;
145
+ }
146
+ }
147
+
148
+ @include mx.fullhd {
149
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}display-none-fullhd,
150
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}hidden-fullhd {
151
+ display: none !important;
152
+ }
153
+ }
154
+
155
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden,
156
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible {
157
+ visibility: hidden !important;
158
+ }
159
+
160
+ @include mx.mobile {
161
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-mobile,
162
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-mobile {
163
+ visibility: hidden !important;
164
+ }
165
+ }
166
+
167
+ @include mx.tablet {
168
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-tablet,
169
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-tablet {
170
+ visibility: hidden !important;
171
+ }
172
+ }
173
+
174
+ @include mx.tablet-only {
175
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-tablet-only,
176
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-tablet-only {
177
+ visibility: hidden !important;
178
+ }
179
+ }
180
+
181
+ @include mx.touch {
182
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-touch,
183
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-touch {
184
+ visibility: hidden !important;
185
+ }
186
+ }
187
+
188
+ @include mx.desktop {
189
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-desktop,
190
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-desktop {
191
+ visibility: hidden !important;
192
+ }
193
+ }
194
+
195
+ @include mx.desktop-only {
196
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-desktop-only,
197
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-desktop-only {
198
+ visibility: hidden !important;
199
+ }
200
+ }
201
+
202
+ @include mx.widescreen {
203
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-widescreen,
204
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-widescreen {
205
+ visibility: hidden !important;
206
+ }
207
+ }
208
+
209
+ @include mx.widescreen-only {
210
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-widescreen-only,
211
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-widescreen-only {
212
+ visibility: hidden !important;
213
+ }
214
+ }
215
+
216
+ @include mx.fullhd {
217
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}visibility-hidden-fullhd,
218
+ .#{iv.$class-prefix}#{iv.$helpers-prefix}invisible-fullhd {
219
+ visibility: hidden !important;
220
+ }
221
+ }
@@ -10,9 +10,9 @@ $hero-body-padding-small: 1.5rem !default;
10
10
  $hero-body-padding-medium: 9rem 4.5rem !default;
11
11
  $hero-body-padding-large: 18rem 6rem !default;
12
12
 
13
- $hero-gradient-h-offset: 5deg;
14
- $hero-gradient-s-offset: 10%;
15
- $hero-gradient-l-offset: 5%;
13
+ $hero-gradient-h-offset: 5deg !default;
14
+ $hero-gradient-s-offset: 10% !default;
15
+ $hero-gradient-l-offset: 5% !default;
16
16
 
17
17
  $hero-colors: dv.$colors !default;
18
18
 
@@ -25,6 +25,9 @@ $hero-colors: dv.$colors !default;
25
25
  "hero-body-padding-small": #{$hero-body-padding-small},
26
26
  "hero-body-padding-medium": #{$hero-body-padding-medium},
27
27
  "hero-body-padding-large": #{$hero-body-padding-large},
28
+ "hero-gradient-h-offset": #{$hero-gradient-h-offset},
29
+ "hero-gradient-s-offset": #{$hero-gradient-s-offset},
30
+ "hero-gradient-l-offset": #{$hero-gradient-l-offset},
28
31
  )
29
32
  );
30
33
  }
@@ -119,9 +122,9 @@ $hero-colors: dv.$colors !default;
119
122
  // Modifiers
120
123
  &.#{iv.$class-prefix}is-bold {
121
124
  $gradient-top-left: hsl(
122
- calc(#{cv.getVar("hero-h")} - $hero-gradient-h-offset),
123
- calc(#{cv.getVar("hero-s")} + $hero-gradient-s-offset),
124
- calc(#{cv.getVar("hero-background-l")} + $hero-gradient-l-offset)
125
+ calc(#{cv.getVar("hero-h")} - #{$hero-gradient-h-offset}),
126
+ calc(#{cv.getVar("hero-s")} + #{$hero-gradient-s-offset}),
127
+ calc(#{cv.getVar("hero-background-l")} + #{$hero-gradient-l-offset})
125
128
  );
126
129
  $gradient-middle: hsl(
127
130
  #{cv.getVar("hero-h")},
@@ -129,9 +132,9 @@ $hero-colors: dv.$colors !default;
129
132
  #{cv.getVar("hero-background-l")}
130
133
  );
131
134
  $gradient-bottom-right: hsl(
132
- calc(#{cv.getVar("hero-h")} + $hero-gradient-h-offset),
133
- calc(#{cv.getVar("hero-s")} - $hero-gradient-s-offset),
134
- calc(#{cv.getVar("hero-background-l")} - $hero-gradient-l-offset)
135
+ calc(#{cv.getVar("hero-h")} + #{$hero-gradient-h-offset}),
136
+ calc(#{cv.getVar("hero-s")} - #{$hero-gradient-s-offset}),
137
+ calc(#{cv.getVar("hero-background-l")} - #{$hero-gradient-l-offset})
135
138
  );
136
139
 
137
140
  background-image: linear-gradient(
@@ -1,13 +1,14 @@
1
1
  /* Bulma Themes */
2
2
  @charset "utf-8";
3
3
 
4
+ @use "../utilities/initial-variables" as iv;
4
5
  @use "../utilities/css-variables" as cv;
5
6
 
6
7
  @use "light";
7
8
  @use "dark";
8
9
  @use "setup";
9
10
 
10
- :root {
11
+ #{iv.$variables-host} {
11
12
  @include light.light-theme;
12
13
  @include setup.setup-theme;
13
14
  }
@@ -1,4 +1,5 @@
1
1
  @use "sass:list";
2
+ @use "sass:meta";
2
3
 
3
4
  @use "../utilities/initial-variables" as iv;
4
5
  @use "../utilities/css-variables" as cv;
@@ -19,7 +20,7 @@ $text: hsl(iv.$scheme-h, iv.$scheme-s, $text-l);
19
20
  @each $name, $color in dv.$colors {
20
21
  $base: $color;
21
22
 
22
- @if type-of($color == "list") {
23
+ @if meta.type-of($color == "list") {
23
24
  $base: list.nth($color, 1);
24
25
  }
25
26
 
@@ -1,4 +1,5 @@
1
1
  @use "sass:list";
2
+ @use "sass:meta";
2
3
 
3
4
  @use "../utilities/css-variables" as cv;
4
5
  @use "../utilities/derived-variables" as dv;
@@ -72,14 +73,14 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
72
73
 
73
74
  // Other
74
75
  "block-spacing": iv.$block-spacing,
75
- "duration": 294ms,
76
- "easing": ease-out,
76
+ "duration": iv.$duration,
77
+ "easing": iv.$easing,
77
78
  "radius-small": iv.$radius-small,
78
79
  "radius": iv.$radius,
79
80
  "radius-medium": iv.$radius-medium,
80
81
  "radius-large": iv.$radius-large,
81
- "radius-rounded": 9999px,
82
- "speed": 86ms,
82
+ "radius-rounded": iv.$radius-rounded,
83
+ "speed": iv.$speed,
83
84
 
84
85
  "arrow-color": #{cv.getVar("link")},
85
86
  "loading-color": #{cv.getVar("border")},
@@ -103,7 +104,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
103
104
  $light: null;
104
105
  $dark: null;
105
106
 
106
- @if type-of($color == "list") {
107
+ @if meta.type-of($color == "list") {
107
108
  $base: list.nth($color, 1);
108
109
 
109
110
  @if list.length($color) > 3 {
@@ -139,7 +140,7 @@ $scheme-main: hsl(iv.$scheme-h, iv.$scheme-s, $scheme-main-l);
139
140
  @include cv.register-hsl("shadow", dv.$shadow-color);
140
141
 
141
142
  @each $size in dv.$sizes {
142
- $i: index(dv.$sizes, $size);
143
+ $i: list.index(dv.$sizes, $size);
143
144
  $name: "size-#{$i}";
144
145
  @include cv.register-var($name, $size);
145
146
  }
@@ -16,7 +16,7 @@ $control-padding-horizontal: calc(0.75em - #{$control-border-width}) !default;
16
16
 
17
17
  $control-focus-shadow-l: 50% !default;
18
18
 
19
- :root {
19
+ #{iv.$variables-host} {
20
20
  @include cv.register-vars(
21
21
  (
22
22
  "control-radius": #{$control-radius},