blue-web 1.21.1 → 1.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +164 -164
- package/README.md +74 -74
- package/dist/js/actions.d.ts +6 -6
- package/dist/js/color-mode.d.ts +4 -4
- package/dist/js/dialog.d.ts +18 -18
- package/dist/js/edit-view.d.ts +14 -14
- package/dist/js/edit-view.js +2 -2
- package/dist/js/input-splitted.d.ts +19 -19
- package/dist/js/odometer.d.ts +30 -30
- package/dist/js/odometer.js +8 -8
- package/dist/js/progress.d.ts +2 -2
- package/dist/js/read-view.d.ts +35 -35
- package/dist/js/read-view.js +18 -18
- package/dist/js/select-list.d.ts +46 -46
- package/dist/js/select-list.js +17 -17
- package/dist/js/shared.d.ts +14 -14
- package/dist/js/side-layout.d.ts +7 -7
- package/dist/js/utils.d.ts +18 -18
- package/dist/js/utils.js +6 -6
- package/dist/merged.scss +2170 -2170
- package/dist/neu.scss +92 -92
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/dist/style.scss +62 -62
- package/dist/styles/_action-menu.scss +57 -57
- package/dist/styles/_actions.scss +37 -37
- package/dist/styles/_anchor.scss +42 -42
- package/dist/styles/_bootstrap-mixins_overwritten.scss +106 -106
- package/dist/styles/_bootstrap-variables.scss +46 -46
- package/dist/styles/_bootstrap.scss +64 -64
- package/dist/styles/_button-icon-wrapper.scss +28 -28
- package/dist/styles/_buttons.scss +120 -120
- package/dist/styles/_collapse.scss +72 -72
- package/dist/styles/_container-grid.scss +52 -52
- package/dist/styles/_devexpress.scss +104 -104
- package/dist/styles/_general.scss +55 -55
- package/dist/styles/_hover.scss +37 -37
- package/dist/styles/_input-group.scss +29 -29
- package/dist/styles/_inter.scss +19 -19
- package/dist/styles/_intro.scss +22 -22
- package/dist/styles/_keyframes.scss +73 -73
- package/dist/styles/_layout.scss +175 -175
- package/dist/styles/_menu-item.scss +86 -86
- package/dist/styles/_mixins.scss +6 -6
- package/dist/styles/_modal.scss +118 -118
- package/dist/styles/_page-header.scss +14 -14
- package/dist/styles/_scrollspy.scss +78 -78
- package/dist/styles/_status.scss +131 -131
- package/dist/styles/_text-icons.scss +15 -15
- package/dist/styles/_tooltips.scss +150 -150
- package/dist/styles/_utils.scss +20 -20
- package/dist/styles/_variables.scss +128 -128
- package/dist/styles/mixins/_action-menu.scss +64 -64
- package/dist/styles/mixins/_custom-property.scss +10 -10
- package/dist/styles/mixins/_menu-item.scss +136 -136
- package/dist/styles/mixins/_misc.scss +7 -7
- package/dist/styles/mixins/_scroll-shadow.scss +9 -9
- package/dist/styles/mixins/_switch.scss +91 -91
- package/package.json +88 -88
- package/dist/container-grid.css +0 -196
- package/dist/js/auto-theme.bundle.js +0 -1
- package/dist/js/auto-theme.d.ts +0 -26
- package/dist/js/auto-theme.js +0 -169
- package/dist/js/button.bundle.js +0 -1
- package/dist/js/button.d.ts +0 -6
- package/dist/js/button.js +0 -16
- package/dist/js/dialog.bundle.js.LICENSE.txt +0 -5
- package/dist/js/dxf-viewer.js +0 -129
- package/dist/js/searchbox.bundle.js +0 -2
- package/dist/js/searchbox.bundle.js.LICENSE.txt +0 -11
- package/dist/js/searchbox.d.ts +0 -16
- package/dist/js/searchbox.js +0 -158
- package/dist/tailwind-main.css +0 -737
|
@@ -1,120 +1,120 @@
|
|
|
1
|
-
// Inspired by Bootstrap's button system but extended with more variants
|
|
2
|
-
|
|
3
|
-
// Soft buttons
|
|
4
|
-
|
|
5
|
-
// scss-docs-start btn-variant-loops
|
|
6
|
-
@each $color, $value in $theme-colors {
|
|
7
|
-
$bg: tint-color($value, 80%);
|
|
8
|
-
$text-color: shade-color($value, 60%);
|
|
9
|
-
|
|
10
|
-
.blue-btn-soft-#{$color} {
|
|
11
|
-
@if $color == "light" {
|
|
12
|
-
$text-color: color-contrast($value);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include button-variant(
|
|
16
|
-
$bg,
|
|
17
|
-
$bg,
|
|
18
|
-
$text-color,
|
|
19
|
-
$hover-background: shade-color($bg, $btn-hover-bg-shade-amount),
|
|
20
|
-
$hover-border: shade-color($bg, $btn-hover-border-shade-amount),
|
|
21
|
-
$active-background: shade-color($bg, $btn-active-bg-shade-amount),
|
|
22
|
-
$active-border: shade-color($bg, $btn-active-border-shade-amount)
|
|
23
|
-
);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@include color-mode(dark) {
|
|
28
|
-
@each $color, $value in $theme-colors {
|
|
29
|
-
$bg: shade-color($value, 80%);
|
|
30
|
-
$text-color: tint-color($value, 60%);
|
|
31
|
-
|
|
32
|
-
.blue-btn-soft-#{$color} {
|
|
33
|
-
@if $color == "dark" {
|
|
34
|
-
$text-color: color-contrast($value);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@include button-variant(
|
|
38
|
-
$bg,
|
|
39
|
-
$bg,
|
|
40
|
-
$text-color,
|
|
41
|
-
$hover-background: tint-color($bg, $btn-hover-bg-tint-amount),
|
|
42
|
-
$hover-border: tint-color($bg, $btn-hover-border-tint-amount),
|
|
43
|
-
$active-background: tint-color($bg, $btn-active-bg-tint-amount),
|
|
44
|
-
$active-border: tint-color($bg, $btn-active-border-tint-amount)
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// Plain buttons
|
|
51
|
-
|
|
52
|
-
// scss-docs-start btn-variant-loops
|
|
53
|
-
@each $color, $value in $theme-colors {
|
|
54
|
-
$bg: tint-color($value, 80%);
|
|
55
|
-
$text-color: $value;
|
|
56
|
-
|
|
57
|
-
$active-background: if(
|
|
58
|
-
$color == $color-contrast-light,
|
|
59
|
-
shade-color($value, $btn-active-bg-shade-amount),
|
|
60
|
-
tint-color($value, $btn-active-bg-tint-amount)
|
|
61
|
-
);
|
|
62
|
-
|
|
63
|
-
.blue-btn-plain-#{$color} {
|
|
64
|
-
&:not(:hover) {
|
|
65
|
-
box-shadow: none;
|
|
66
|
-
background-image: none;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@if $color == "light" {
|
|
70
|
-
$text-color: color-contrast($value);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// More contrast for secondary plain button
|
|
74
|
-
@if $color == "secondary" {
|
|
75
|
-
$text-color: shade-color($value, 60%);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@include button-variant(
|
|
79
|
-
transparent,
|
|
80
|
-
transparent,
|
|
81
|
-
$text-color,
|
|
82
|
-
$hover-background: tint-color($value, 80%),
|
|
83
|
-
$hover-border: tint-color($value, 80%),
|
|
84
|
-
$hover-color: if($color == "light", color-contrast($value), shade-color($value, 60%)),
|
|
85
|
-
$active-background: shade-color($bg, $btn-hover-bg-shade-amount),
|
|
86
|
-
$active-border: shade-color($bg, $btn-hover-border-shade-amount),
|
|
87
|
-
$disabled-background: transparent,
|
|
88
|
-
$disabled-border: transparent,
|
|
89
|
-
$disabled-color: $text-color
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@include color-mode(dark) {
|
|
95
|
-
@each $color, $value in $theme-colors {
|
|
96
|
-
$bg: shade-color($value, 80%);
|
|
97
|
-
$text-color: tint-color($value, 40%);
|
|
98
|
-
|
|
99
|
-
.blue-btn-plain-#{$color} {
|
|
100
|
-
@if $color == "dark" {
|
|
101
|
-
$text-color: color-contrast($value);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// More contrast for secondary plain button
|
|
105
|
-
@if $color == "secondary" {
|
|
106
|
-
$text-color: tint-color($value, 60%);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@include button-variant(
|
|
110
|
-
transparent,
|
|
111
|
-
transparent,
|
|
112
|
-
$text-color,
|
|
113
|
-
$hover-background: tint-color($bg, $btn-hover-bg-tint-amount),
|
|
114
|
-
$hover-border: tint-color($bg, $btn-hover-border-tint-amount),
|
|
115
|
-
$active-background: tint-color($bg, $btn-active-bg-tint-amount),
|
|
116
|
-
$active-border: tint-color($bg, $btn-active-border-tint-amount)
|
|
117
|
-
);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
1
|
+
// Inspired by Bootstrap's button system but extended with more variants
|
|
2
|
+
|
|
3
|
+
// Soft buttons
|
|
4
|
+
|
|
5
|
+
// scss-docs-start btn-variant-loops
|
|
6
|
+
@each $color, $value in $theme-colors {
|
|
7
|
+
$bg: tint-color($value, 80%);
|
|
8
|
+
$text-color: shade-color($value, 60%);
|
|
9
|
+
|
|
10
|
+
.blue-btn-soft-#{$color} {
|
|
11
|
+
@if $color == "light" {
|
|
12
|
+
$text-color: color-contrast($value);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include button-variant(
|
|
16
|
+
$bg,
|
|
17
|
+
$bg,
|
|
18
|
+
$text-color,
|
|
19
|
+
$hover-background: shade-color($bg, $btn-hover-bg-shade-amount),
|
|
20
|
+
$hover-border: shade-color($bg, $btn-hover-border-shade-amount),
|
|
21
|
+
$active-background: shade-color($bg, $btn-active-bg-shade-amount),
|
|
22
|
+
$active-border: shade-color($bg, $btn-active-border-shade-amount)
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@include color-mode(dark) {
|
|
28
|
+
@each $color, $value in $theme-colors {
|
|
29
|
+
$bg: shade-color($value, 80%);
|
|
30
|
+
$text-color: tint-color($value, 60%);
|
|
31
|
+
|
|
32
|
+
.blue-btn-soft-#{$color} {
|
|
33
|
+
@if $color == "dark" {
|
|
34
|
+
$text-color: color-contrast($value);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@include button-variant(
|
|
38
|
+
$bg,
|
|
39
|
+
$bg,
|
|
40
|
+
$text-color,
|
|
41
|
+
$hover-background: tint-color($bg, $btn-hover-bg-tint-amount),
|
|
42
|
+
$hover-border: tint-color($bg, $btn-hover-border-tint-amount),
|
|
43
|
+
$active-background: tint-color($bg, $btn-active-bg-tint-amount),
|
|
44
|
+
$active-border: tint-color($bg, $btn-active-border-tint-amount)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Plain buttons
|
|
51
|
+
|
|
52
|
+
// scss-docs-start btn-variant-loops
|
|
53
|
+
@each $color, $value in $theme-colors {
|
|
54
|
+
$bg: tint-color($value, 80%);
|
|
55
|
+
$text-color: $value;
|
|
56
|
+
|
|
57
|
+
$active-background: if(
|
|
58
|
+
$color == $color-contrast-light,
|
|
59
|
+
shade-color($value, $btn-active-bg-shade-amount),
|
|
60
|
+
tint-color($value, $btn-active-bg-tint-amount)
|
|
61
|
+
);
|
|
62
|
+
|
|
63
|
+
.blue-btn-plain-#{$color} {
|
|
64
|
+
&:not(:hover) {
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
background-image: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@if $color == "light" {
|
|
70
|
+
$text-color: color-contrast($value);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// More contrast for secondary plain button
|
|
74
|
+
@if $color == "secondary" {
|
|
75
|
+
$text-color: shade-color($value, 60%);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@include button-variant(
|
|
79
|
+
transparent,
|
|
80
|
+
transparent,
|
|
81
|
+
$text-color,
|
|
82
|
+
$hover-background: tint-color($value, 80%),
|
|
83
|
+
$hover-border: tint-color($value, 80%),
|
|
84
|
+
$hover-color: if($color == "light", color-contrast($value), shade-color($value, 60%)),
|
|
85
|
+
$active-background: shade-color($bg, $btn-hover-bg-shade-amount),
|
|
86
|
+
$active-border: shade-color($bg, $btn-hover-border-shade-amount),
|
|
87
|
+
$disabled-background: transparent,
|
|
88
|
+
$disabled-border: transparent,
|
|
89
|
+
$disabled-color: $text-color
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@include color-mode(dark) {
|
|
95
|
+
@each $color, $value in $theme-colors {
|
|
96
|
+
$bg: shade-color($value, 80%);
|
|
97
|
+
$text-color: tint-color($value, 40%);
|
|
98
|
+
|
|
99
|
+
.blue-btn-plain-#{$color} {
|
|
100
|
+
@if $color == "dark" {
|
|
101
|
+
$text-color: color-contrast($value);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// More contrast for secondary plain button
|
|
105
|
+
@if $color == "secondary" {
|
|
106
|
+
$text-color: tint-color($value, 60%);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@include button-variant(
|
|
110
|
+
transparent,
|
|
111
|
+
transparent,
|
|
112
|
+
$text-color,
|
|
113
|
+
$hover-background: tint-color($bg, $btn-hover-bg-tint-amount),
|
|
114
|
+
$hover-border: tint-color($bg, $btn-hover-border-tint-amount),
|
|
115
|
+
$active-background: tint-color($bg, $btn-active-bg-tint-amount),
|
|
116
|
+
$active-border: tint-color($bg, $btn-active-border-tint-amount)
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
// Collapse with details and animated
|
|
2
|
-
.blue-collapse {
|
|
3
|
-
interpolate-size: allow-keywords;
|
|
4
|
-
|
|
5
|
-
summary {
|
|
6
|
-
list-style: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
summary::-webkit-details-marker {
|
|
10
|
-
display: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.blue-collapse-chevron {
|
|
14
|
-
transition: transform 0.2s;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&[open] > summary .blue-collapse-chevron {
|
|
18
|
-
--blue-collapse-chevron-rotate: 90deg;
|
|
19
|
-
transform: rotate(var(--blue-collapse-chevron-rotate));
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&::details-content {
|
|
23
|
-
block-size: 0;
|
|
24
|
-
opacity: 0;
|
|
25
|
-
translate: 0 -4rem;
|
|
26
|
-
transition:
|
|
27
|
-
block-size 0.2s,
|
|
28
|
-
content-visibility 0.2s,
|
|
29
|
-
opacity 0.2s,
|
|
30
|
-
translate 0.2s;
|
|
31
|
-
transition-behavior: allow-discrete;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&[open]::details-content {
|
|
35
|
-
block-size: auto;
|
|
36
|
-
opacity: 1;
|
|
37
|
-
translate: 0;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@media (prefers-reduced-motion) {
|
|
42
|
-
.blue-collapse .blue-collapse-chevron,
|
|
43
|
-
.blue-collapse::details-content {
|
|
44
|
-
transition: none;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.blue-collapse-indent {
|
|
49
|
-
// 0.5em is half of icon width
|
|
50
|
-
--margin-inline-start: calc(#{$input-btn-padding-x} + 0.5em + #{$input-btn-border-width});
|
|
51
|
-
margin-inline-start: var(--margin-inline-start);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Let's you group a collapse together with another UI element like a button that should come before the collapse summary.
|
|
55
|
-
.blue-collapse-group {
|
|
56
|
-
display: grid;
|
|
57
|
-
grid-template-rows: auto;
|
|
58
|
-
grid-template-columns: minmax(0, 1fr);
|
|
59
|
-
max-width: 100%;
|
|
60
|
-
|
|
61
|
-
& > details {
|
|
62
|
-
display: contents;
|
|
63
|
-
|
|
64
|
-
& > summary {
|
|
65
|
-
grid-column: 2;
|
|
66
|
-
|
|
67
|
-
& + * {
|
|
68
|
-
width: calc(100% + var(--margin-inline-start) - 3px);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
1
|
+
// Collapse with details and animated
|
|
2
|
+
.blue-collapse {
|
|
3
|
+
interpolate-size: allow-keywords;
|
|
4
|
+
|
|
5
|
+
summary {
|
|
6
|
+
list-style: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
summary::-webkit-details-marker {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.blue-collapse-chevron {
|
|
14
|
+
transition: transform 0.2s;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&[open] > summary .blue-collapse-chevron {
|
|
18
|
+
--blue-collapse-chevron-rotate: 90deg;
|
|
19
|
+
transform: rotate(var(--blue-collapse-chevron-rotate));
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&::details-content {
|
|
23
|
+
block-size: 0;
|
|
24
|
+
opacity: 0;
|
|
25
|
+
translate: 0 -4rem;
|
|
26
|
+
transition:
|
|
27
|
+
block-size 0.2s,
|
|
28
|
+
content-visibility 0.2s,
|
|
29
|
+
opacity 0.2s,
|
|
30
|
+
translate 0.2s;
|
|
31
|
+
transition-behavior: allow-discrete;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&[open]::details-content {
|
|
35
|
+
block-size: auto;
|
|
36
|
+
opacity: 1;
|
|
37
|
+
translate: 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@media (prefers-reduced-motion) {
|
|
42
|
+
.blue-collapse .blue-collapse-chevron,
|
|
43
|
+
.blue-collapse::details-content {
|
|
44
|
+
transition: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.blue-collapse-indent {
|
|
49
|
+
// 0.5em is half of icon width
|
|
50
|
+
--margin-inline-start: calc(#{$input-btn-padding-x} + 0.5em + #{$input-btn-border-width});
|
|
51
|
+
margin-inline-start: var(--margin-inline-start);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Let's you group a collapse together with another UI element like a button that should come before the collapse summary.
|
|
55
|
+
.blue-collapse-group {
|
|
56
|
+
display: grid;
|
|
57
|
+
grid-template-rows: auto;
|
|
58
|
+
grid-template-columns: minmax(0, 1fr);
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
|
|
61
|
+
& > details {
|
|
62
|
+
display: contents;
|
|
63
|
+
|
|
64
|
+
& > summary {
|
|
65
|
+
grid-column: 2;
|
|
66
|
+
|
|
67
|
+
& + * {
|
|
68
|
+
width: calc(100% + var(--margin-inline-start) - 3px);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
@import "node_modules/bootstrap/scss/functions";
|
|
2
|
-
|
|
3
|
-
@import "node_modules/bootstrap/scss/variables";
|
|
4
|
-
@import "node_modules/bootstrap/scss/variables-dark";
|
|
5
|
-
|
|
6
|
-
@import "node_modules/bootstrap/scss/maps";
|
|
7
|
-
@import "node_modules/bootstrap/scss/mixins";
|
|
8
|
-
|
|
9
|
-
@mixin make-grid-columns-cq($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
|
|
10
|
-
.col {
|
|
11
|
-
flex: initial;
|
|
12
|
-
max-width: initial;
|
|
13
|
-
width: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@each $breakpoint in map-keys($breakpoints) {
|
|
17
|
-
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
18
|
-
|
|
19
|
-
@for $i from 1 through $columns {
|
|
20
|
-
.col#{$infix}-#{$i} {
|
|
21
|
-
@extend .col;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@each $breakpoint in map-keys($breakpoints) {
|
|
27
|
-
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
28
|
-
|
|
29
|
-
// @for $i from 1 through $columns {
|
|
30
|
-
// .col#{$infix}-#{$i} {
|
|
31
|
-
// flex: initial;
|
|
32
|
-
// max-width: initial;
|
|
33
|
-
// width: 100%;
|
|
34
|
-
// }
|
|
35
|
-
// }
|
|
36
|
-
|
|
37
|
-
@if breakpoint-min($breakpoint, $breakpoints) {
|
|
38
|
-
@container (min-width: #{breakpoint-min($breakpoint, $breakpoints)}) {
|
|
39
|
-
@for $i from 1 through $columns {
|
|
40
|
-
.col#{$infix}-#{$i} {
|
|
41
|
-
@include make-col($i, $columns);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.blue-container-grid {
|
|
50
|
-
container-type: inline-size;
|
|
51
|
-
@include make-grid-columns-cq();
|
|
52
|
-
}
|
|
1
|
+
@import "node_modules/bootstrap/scss/functions";
|
|
2
|
+
|
|
3
|
+
@import "node_modules/bootstrap/scss/variables";
|
|
4
|
+
@import "node_modules/bootstrap/scss/variables-dark";
|
|
5
|
+
|
|
6
|
+
@import "node_modules/bootstrap/scss/maps";
|
|
7
|
+
@import "node_modules/bootstrap/scss/mixins";
|
|
8
|
+
|
|
9
|
+
@mixin make-grid-columns-cq($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
|
|
10
|
+
.col {
|
|
11
|
+
flex: initial;
|
|
12
|
+
max-width: initial;
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
17
|
+
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
18
|
+
|
|
19
|
+
@for $i from 1 through $columns {
|
|
20
|
+
.col#{$infix}-#{$i} {
|
|
21
|
+
@extend .col;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@each $breakpoint in map-keys($breakpoints) {
|
|
27
|
+
$infix: breakpoint-infix($breakpoint, $breakpoints);
|
|
28
|
+
|
|
29
|
+
// @for $i from 1 through $columns {
|
|
30
|
+
// .col#{$infix}-#{$i} {
|
|
31
|
+
// flex: initial;
|
|
32
|
+
// max-width: initial;
|
|
33
|
+
// width: 100%;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
36
|
+
|
|
37
|
+
@if breakpoint-min($breakpoint, $breakpoints) {
|
|
38
|
+
@container (min-width: #{breakpoint-min($breakpoint, $breakpoints)}) {
|
|
39
|
+
@for $i from 1 through $columns {
|
|
40
|
+
.col#{$infix}-#{$i} {
|
|
41
|
+
@include make-col($i, $columns);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.blue-container-grid {
|
|
50
|
+
container-type: inline-size;
|
|
51
|
+
@include make-grid-columns-cq();
|
|
52
|
+
}
|