bulma-rails 0.9.4 → 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 +86 -13
- data/app/assets/stylesheets/bulma.scss +4 -0
- data/app/assets/stylesheets/bulma_sass/_index.scss +10 -0
- data/app/assets/stylesheets/bulma_sass/base/_index.scss +6 -0
- data/app/assets/stylesheets/bulma_sass/base/animations.scss +15 -0
- data/app/assets/stylesheets/bulma_sass/base/generic.scss +240 -0
- data/app/assets/stylesheets/bulma_sass/base/minireset.scss +92 -0
- data/app/assets/stylesheets/bulma_sass/base/skeleton.scss +114 -0
- data/app/assets/stylesheets/bulma_sass/components/_index.scss +13 -0
- data/app/assets/stylesheets/bulma_sass/components/breadcrumb.scss +139 -0
- data/app/assets/stylesheets/bulma_sass/components/card.scss +162 -0
- data/app/assets/stylesheets/bulma_sass/components/dropdown.scss +188 -0
- data/app/assets/stylesheets/bulma_sass/components/menu.scss +165 -0
- data/app/assets/stylesheets/bulma_sass/components/message.scss +183 -0
- data/app/assets/stylesheets/bulma_sass/components/modal.scss +164 -0
- data/app/assets/stylesheets/bulma_sass/components/navbar.scss +799 -0
- data/app/assets/stylesheets/bulma_sass/components/pagination.scss +379 -0
- data/app/assets/stylesheets/bulma_sass/components/panel.scss +218 -0
- data/app/assets/stylesheets/bulma_sass/components/tabs.scss +273 -0
- data/app/assets/stylesheets/bulma_sass/elements/_index.scss +16 -0
- data/app/assets/stylesheets/bulma_sass/elements/block.scss +6 -0
- data/app/assets/stylesheets/bulma_sass/elements/box.scss +59 -0
- data/app/assets/stylesheets/bulma_sass/elements/button.scss +659 -0
- data/app/assets/stylesheets/bulma_sass/elements/content.scss +289 -0
- data/app/assets/stylesheets/bulma_sass/elements/delete.scss +6 -0
- data/app/assets/stylesheets/bulma_sass/elements/icon.scss +67 -0
- data/app/assets/stylesheets/bulma_sass/elements/image.scss +64 -0
- data/app/assets/stylesheets/bulma_sass/elements/loader.scss +15 -0
- data/app/assets/stylesheets/bulma_sass/elements/notification.scss +105 -0
- data/app/assets/stylesheets/bulma_sass/elements/progress.scss +115 -0
- data/app/assets/stylesheets/bulma_sass/elements/table.scss +261 -0
- data/app/assets/stylesheets/bulma_sass/elements/tag.scss +219 -0
- data/app/assets/stylesheets/bulma_sass/elements/title.scss +130 -0
- data/app/assets/stylesheets/bulma_sass/form/_index.scss +9 -0
- data/app/assets/stylesheets/bulma_sass/form/checkbox-radio.scss +36 -0
- data/app/assets/stylesheets/bulma_sass/form/file.scss +330 -0
- data/app/assets/stylesheets/bulma_sass/form/input-textarea.scss +115 -0
- data/app/assets/stylesheets/bulma_sass/form/select.scss +144 -0
- data/app/assets/stylesheets/bulma_sass/form/shared.scss +178 -0
- data/app/assets/stylesheets/bulma_sass/form/tools.scss +352 -0
- data/app/assets/stylesheets/bulma_sass/grid/_index.scss +5 -0
- data/app/assets/stylesheets/bulma_sass/grid/columns.scss +961 -0
- data/app/assets/stylesheets/bulma_sass/grid/grid.scss +209 -0
- data/app/assets/stylesheets/bulma_sass/helpers/_index.scss +15 -0
- data/app/assets/stylesheets/bulma_sass/helpers/aspect-ratio.scss +12 -0
- data/app/assets/stylesheets/bulma_sass/helpers/border.scss +15 -0
- data/app/assets/stylesheets/bulma_sass/helpers/color.scss +344 -0
- data/app/assets/stylesheets/bulma_sass/helpers/flexbox.scss +62 -0
- data/app/assets/stylesheets/bulma_sass/helpers/float.scss +28 -0
- data/app/assets/stylesheets/bulma_sass/helpers/gap.scss +24 -0
- data/app/assets/stylesheets/bulma_sass/helpers/other.scss +19 -0
- data/app/assets/stylesheets/bulma_sass/helpers/overflow.scss +21 -0
- data/app/assets/stylesheets/bulma_sass/helpers/position.scss +19 -0
- data/app/assets/stylesheets/bulma_sass/helpers/spacing.scss +64 -0
- data/app/assets/stylesheets/bulma_sass/helpers/typography.scss +174 -0
- data/app/assets/stylesheets/bulma_sass/helpers/visibility.scss +221 -0
- data/app/assets/stylesheets/bulma_sass/layout/_index.scss +9 -0
- data/app/assets/stylesheets/bulma_sass/layout/container.scss +59 -0
- data/app/assets/stylesheets/bulma_sass/layout/footer.scss +23 -0
- data/app/assets/stylesheets/bulma_sass/layout/hero.scss +273 -0
- data/app/assets/stylesheets/bulma_sass/layout/level.scss +107 -0
- data/app/assets/stylesheets/bulma_sass/layout/media.scss +106 -0
- data/app/assets/stylesheets/bulma_sass/layout/section.scss +38 -0
- data/app/assets/stylesheets/bulma_sass/themes/_index.scss +36 -0
- data/app/assets/stylesheets/bulma_sass/themes/dark.scss +57 -0
- data/app/assets/stylesheets/bulma_sass/themes/light.scss +147 -0
- data/app/assets/stylesheets/bulma_sass/themes/setup.scss +174 -0
- data/app/assets/stylesheets/bulma_sass/utilities/_index.scss +7 -0
- data/app/assets/stylesheets/bulma_sass/utilities/controls.scss +85 -0
- data/app/assets/stylesheets/bulma_sass/utilities/css-variables.scss +502 -0
- data/app/assets/stylesheets/bulma_sass/utilities/derived-variables.scss +112 -0
- data/app/assets/stylesheets/bulma_sass/utilities/extends.scss +34 -0
- data/app/assets/stylesheets/bulma_sass/utilities/functions.scss +310 -0
- data/app/assets/stylesheets/bulma_sass/utilities/initial-variables.scss +157 -0
- data/app/assets/stylesheets/bulma_sass/utilities/mixins.scss +462 -0
- data/bulma-rails.gemspec +4 -6
- metadata +83 -74
- data/app/assets/stylesheets/bulma.sass +0 -10
- data/app/assets/stylesheets/sass/base/_all.sass +0 -6
- data/app/assets/stylesheets/sass/base/animations.sass +0 -5
- data/app/assets/stylesheets/sass/base/generic.sass +0 -145
- data/app/assets/stylesheets/sass/base/helpers.sass +0 -1
- data/app/assets/stylesheets/sass/base/minireset.sass +0 -79
- data/app/assets/stylesheets/sass/components/_all.sass +0 -15
- data/app/assets/stylesheets/sass/components/breadcrumb.sass +0 -77
- data/app/assets/stylesheets/sass/components/card.sass +0 -103
- data/app/assets/stylesheets/sass/components/dropdown.sass +0 -83
- data/app/assets/stylesheets/sass/components/level.sass +0 -79
- data/app/assets/stylesheets/sass/components/media.sass +0 -59
- data/app/assets/stylesheets/sass/components/menu.sass +0 -59
- data/app/assets/stylesheets/sass/components/message.sass +0 -101
- data/app/assets/stylesheets/sass/components/modal.sass +0 -117
- data/app/assets/stylesheets/sass/components/navbar.sass +0 -446
- data/app/assets/stylesheets/sass/components/pagination.sass +0 -167
- data/app/assets/stylesheets/sass/components/panel.sass +0 -121
- data/app/assets/stylesheets/sass/components/tabs.sass +0 -176
- data/app/assets/stylesheets/sass/elements/_all.sass +0 -16
- data/app/assets/stylesheets/sass/elements/box.sass +0 -26
- data/app/assets/stylesheets/sass/elements/button.sass +0 -357
- data/app/assets/stylesheets/sass/elements/container.sass +0 -29
- data/app/assets/stylesheets/sass/elements/content.sass +0 -162
- data/app/assets/stylesheets/sass/elements/form.sass +0 -1
- data/app/assets/stylesheets/sass/elements/icon.sass +0 -46
- data/app/assets/stylesheets/sass/elements/image.sass +0 -73
- data/app/assets/stylesheets/sass/elements/notification.sass +0 -52
- data/app/assets/stylesheets/sass/elements/other.sass +0 -31
- data/app/assets/stylesheets/sass/elements/progress.sass +0 -73
- data/app/assets/stylesheets/sass/elements/table.sass +0 -134
- data/app/assets/stylesheets/sass/elements/tag.sass +0 -140
- data/app/assets/stylesheets/sass/elements/title.sass +0 -70
- data/app/assets/stylesheets/sass/form/_all.sass +0 -9
- data/app/assets/stylesheets/sass/form/checkbox-radio.sass +0 -22
- data/app/assets/stylesheets/sass/form/file.sass +0 -184
- data/app/assets/stylesheets/sass/form/input-textarea.sass +0 -66
- data/app/assets/stylesheets/sass/form/select.sass +0 -88
- data/app/assets/stylesheets/sass/form/shared.sass +0 -60
- data/app/assets/stylesheets/sass/form/tools.sass +0 -215
- data/app/assets/stylesheets/sass/grid/_all.sass +0 -5
- data/app/assets/stylesheets/sass/grid/columns.sass +0 -513
- data/app/assets/stylesheets/sass/grid/tiles.sass +0 -36
- data/app/assets/stylesheets/sass/helpers/_all.sass +0 -12
- data/app/assets/stylesheets/sass/helpers/color.sass +0 -39
- data/app/assets/stylesheets/sass/helpers/flexbox.sass +0 -35
- data/app/assets/stylesheets/sass/helpers/float.sass +0 -10
- data/app/assets/stylesheets/sass/helpers/other.sass +0 -14
- data/app/assets/stylesheets/sass/helpers/overflow.sass +0 -2
- data/app/assets/stylesheets/sass/helpers/position.sass +0 -7
- data/app/assets/stylesheets/sass/helpers/spacing.sass +0 -31
- data/app/assets/stylesheets/sass/helpers/typography.sass +0 -103
- data/app/assets/stylesheets/sass/helpers/visibility.sass +0 -122
- data/app/assets/stylesheets/sass/layout/_all.sass +0 -6
- data/app/assets/stylesheets/sass/layout/footer.sass +0 -11
- data/app/assets/stylesheets/sass/layout/hero.sass +0 -153
- data/app/assets/stylesheets/sass/layout/section.sass +0 -17
- data/app/assets/stylesheets/sass/utilities/_all.sass +0 -9
- data/app/assets/stylesheets/sass/utilities/animations.sass +0 -1
- data/app/assets/stylesheets/sass/utilities/controls.sass +0 -49
- data/app/assets/stylesheets/sass/utilities/derived-variables.sass +0 -114
- data/app/assets/stylesheets/sass/utilities/extends.sass +0 -25
- data/app/assets/stylesheets/sass/utilities/functions.sass +0 -135
- data/app/assets/stylesheets/sass/utilities/initial-variables.sass +0 -79
- data/app/assets/stylesheets/sass/utilities/mixins.sass +0 -303
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
@use "sass:string";
|
|
3
|
+
@use "../utilities/initial-variables" as iv;
|
|
4
|
+
|
|
5
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}gapless {
|
|
6
|
+
gap: 0 !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
$gaps: "gap", "column-gap", "row-gap";
|
|
10
|
+
$gap-base: 0.5rem;
|
|
11
|
+
|
|
12
|
+
@each $gap in $gaps {
|
|
13
|
+
@for $i from 0 through 8 {
|
|
14
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i} {
|
|
15
|
+
#{$gap}: ($gap-base * $i) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@if $i < 8 {
|
|
19
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}#{$gap}-#{$i}\.5 {
|
|
20
|
+
#{$gap}: ($gap-base * $i + math.div($gap-base, 2)) !important;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "../utilities/extends";
|
|
2
|
+
@use "../utilities/initial-variables" as iv;
|
|
3
|
+
|
|
4
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}radiusless {
|
|
5
|
+
border-radius: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}shadowless {
|
|
9
|
+
box-shadow: none !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}clickable {
|
|
13
|
+
cursor: pointer !important;
|
|
14
|
+
pointer-events: all !important;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}unselectable {
|
|
18
|
+
@extend %unselectable;
|
|
19
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@use "../utilities/initial-variables" as iv;
|
|
2
|
+
|
|
3
|
+
.#{iv.$class-prefix}#{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.$class-prefix}#{iv.$helpers-prefix}overflow-#{$overflow} {
|
|
11
|
+
overflow: $overflow !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}overflow-x-#{$overflow} {
|
|
15
|
+
overflow-x: $overflow !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.#{iv.$class-prefix}#{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.$class-prefix}#{iv.$helpers-prefix}overlay,
|
|
5
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}overlay {
|
|
6
|
+
@extend %overlay;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.#{iv.$class-prefix}#{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.$class-prefix}#{iv.$helpers-prefix}position-#{$position} {
|
|
17
|
+
position: $position !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
@use "../utilities/initial-variables" as iv;
|
|
2
|
+
|
|
3
|
+
.#{iv.$class-prefix}marginless {
|
|
4
|
+
margin: 0 !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.#{iv.$class-prefix}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
|
+
.#{iv.$class-prefix}#{$shortcut}-#{$name} {
|
|
38
|
+
#{$property}: $value !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Cardinal directions
|
|
42
|
+
@each $direction, $suffix in $spacing-directions {
|
|
43
|
+
.#{iv.$class-prefix}#{$shortcut}#{$suffix}-#{$name} {
|
|
44
|
+
#{$property}-#{$direction}: $value !important;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Horizontal axis
|
|
49
|
+
@if $spacing-horizontal != null {
|
|
50
|
+
.#{iv.$class-prefix}#{$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
|
+
.#{iv.$class-prefix}#{$shortcut}#{$spacing-vertical}-#{$name} {
|
|
59
|
+
#{$property}-top: $value !important;
|
|
60
|
+
#{$property}-bottom: $value !important;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
|
|
3
|
+
@use "../utilities/derived-variables" as dv;
|
|
4
|
+
@use "../utilities/initial-variables" as iv;
|
|
5
|
+
@use "../utilities/mixins" as mx;
|
|
6
|
+
|
|
7
|
+
@mixin typography-size($target: "") {
|
|
8
|
+
@each $size in dv.$sizes {
|
|
9
|
+
$i: list.index(dv.$sizes, $size);
|
|
10
|
+
|
|
11
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}size-#{$i}#{if($target == "", "", "-" + $target)} {
|
|
12
|
+
font-size: $size !important;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@include typography-size;
|
|
18
|
+
|
|
19
|
+
@include mx.mobile {
|
|
20
|
+
@include typography-size("mobile");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@include mx.tablet {
|
|
24
|
+
@include typography-size("tablet");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include mx.touch {
|
|
28
|
+
@include typography-size("touch");
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@include mx.desktop {
|
|
32
|
+
@include typography-size("desktop");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@include mx.widescreen {
|
|
36
|
+
@include typography-size("widescreen");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@include mx.fullhd {
|
|
40
|
+
@include typography-size("fullhd");
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
$alignments: (
|
|
44
|
+
"centered": "center",
|
|
45
|
+
"justified": "justify",
|
|
46
|
+
"left": "left",
|
|
47
|
+
"right": "right",
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
@each $alignment, $text-align in $alignments {
|
|
51
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment} {
|
|
52
|
+
text-align: #{$text-align} !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@each $alignment, $text-align in $alignments {
|
|
57
|
+
@include mx.mobile {
|
|
58
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-mobile {
|
|
59
|
+
text-align: #{$text-align} !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@include mx.tablet {
|
|
64
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet {
|
|
65
|
+
text-align: #{$text-align} !important;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@include mx.tablet-only {
|
|
70
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-tablet-only {
|
|
71
|
+
text-align: #{$text-align} !important;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@include mx.touch {
|
|
76
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-touch {
|
|
77
|
+
text-align: #{$text-align} !important;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@include mx.desktop {
|
|
82
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop {
|
|
83
|
+
text-align: #{$text-align} !important;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include mx.desktop-only {
|
|
88
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-desktop-only {
|
|
89
|
+
text-align: #{$text-align} !important;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@include mx.widescreen {
|
|
94
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen {
|
|
95
|
+
text-align: #{$text-align} !important;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@include mx.widescreen-only {
|
|
100
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-widescreen-only {
|
|
101
|
+
text-align: #{$text-align} !important;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@include mx.fullhd {
|
|
106
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-#{$alignment}-fullhd {
|
|
107
|
+
text-align: #{$text-align} !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}capitalized {
|
|
113
|
+
text-transform: capitalize !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}lowercase {
|
|
117
|
+
text-transform: lowercase !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}uppercase {
|
|
121
|
+
text-transform: uppercase !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}italic {
|
|
125
|
+
font-style: italic !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}underlined {
|
|
129
|
+
text-decoration: underline !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-light {
|
|
133
|
+
font-weight: iv.$weight-light !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-normal {
|
|
137
|
+
font-weight: iv.$weight-normal !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-medium {
|
|
141
|
+
font-weight: iv.$weight-medium !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-semibold {
|
|
145
|
+
font-weight: iv.$weight-semibold !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.#{iv.$class-prefix}#{iv.$helpers-has-prefix}text-weight-bold {
|
|
149
|
+
font-weight: iv.$weight-bold !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
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 {
|
|
157
|
+
font-family: dv.$family-primary !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}family-secondary {
|
|
161
|
+
font-family: dv.$family-secondary !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}family-sans-serif {
|
|
165
|
+
font-family: iv.$family-sans-serif !important;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}family-monospace {
|
|
169
|
+
font-family: iv.$family-monospace !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.#{iv.$class-prefix}#{iv.$helpers-prefix}family-code {
|
|
173
|
+
font-family: dv.$family-code !important;
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|