bulma-rails 0.9.4 → 1.0.2

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