@massimo-cassandro/minimo 1.20.16 → 1.21.1
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/design-tokens/tokens-config-sample.mjs +5 -0
- package/design-tokens/utilities/build-tokens-src/config.mjs +5 -0
- package/design-tokens/utilities/build-tokens-src/formats/css.mjs +7 -1
- package/design-tokens/utilities/build-tokens-src/platforms.mjs +3 -0
- package/design-tokens/utilities/build-tokens.mjs +2 -0
- package/package.json +3 -3
- package/src/components/autocomplete/autocomplete.css +113 -109
- package/src/components/inner-nav/inner-nav.css +13 -9
- package/src/components/modal-alert/modal-alert.module.css +157 -153
- package/src/components/modal-popup/modal-popup.module.css +89 -85
- package/src/components/overlay/overlay.css +14 -10
- package/src/components/sf-macro/sf-macro.css +60 -56
- package/src/components/slide-up-down-toggle/slide-up-down-toggle.module.css +33 -29
- package/src/components/snackbar/snackbar.module.css +93 -89
- package/src/components/spinner/spinner-circle-basic.css +18 -14
- package/src/components/spinner/spinner.module.css +8 -4
- package/src/components/unsplash-page/unsplash-page.module.css +260 -256
- package/src/css/alerts.css +55 -53
- package/src/css/badge.css +16 -12
- package/src/css/buttons/btn-close.css +57 -53
- package/src/css/buttons/buttons-primary.css +38 -34
- package/src/css/buttons/buttons-secondary.css +38 -34
- package/src/css/buttons/buttons.css +84 -80
- package/src/css/buttons/status-buttons.css +66 -63
- package/src/css/container.css +9 -5
- package/src/css/data-formats.css +28 -24
- package/src/css/details.css +17 -13
- package/src/css/dimensions.css +13 -9
- package/src/css/display.css +27 -23
- package/src/css/flex.css +39 -35
- package/src/css/forms/fieldset.css +47 -43
- package/src/css/forms/form-collections.css +16 -12
- package/src/css/forms/form-disabled-readonly.css +31 -27
- package/src/css/forms/form-group.css +15 -11
- package/src/css/forms/form-utilities.css +32 -28
- package/src/css/forms/forms.css +136 -134
- package/src/css/forms/input-group.css +47 -43
- package/src/css/forms/switch.css +50 -46
- package/src/css/forms/validation.css +26 -22
- package/src/css/grid.css +66 -62
- package/src/css/headings.css +32 -28
- package/src/css/icons.css +41 -37
- package/src/css/layout-base.css +16 -12
- package/src/css/links.css +40 -36
- package/src/css/margin-padding-bootstrap-media.css +1836 -1832
- package/src/css/margin-padding-bootstrap.css +445 -441
- package/src/css/margin-padding-media.css +1836 -1832
- package/src/css/margin-padding.css +445 -441
- package/src/css/overflow.css +7 -3
- package/src/css/position.css +5 -1
- package/src/css/reset.css +47 -44
- package/src/css/svg.css +6 -2
- package/src/css/table.css +59 -55
- package/src/css/text.css +96 -92
- package/src/css/visibility.css +23 -19
- package/src/custom-properties.css +442 -439
- package/src/minimo.css +2 -0
- package/src/web-components/s-datatable-component/s-datatable-component.module.css +175 -171
|
@@ -1,94 +1,95 @@
|
|
|
1
|
-
|
|
1
|
+
@layer base {
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/* TODO rivedere tutto */
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
.btn {
|
|
6
|
+
|
|
7
|
+
/*
|
|
6
8
|
--_button-bg-color, --_button-fg-color e --_button-border-color sono definiti in buttons.css
|
|
7
9
|
*/
|
|
8
10
|
|
|
9
11
|
|
|
12
|
+
&.btn-success {
|
|
13
|
+
--_status-bg-color: var(--status-success-color);
|
|
14
|
+
--_status-fg-color: var(--status-success-fg);
|
|
15
|
+
--_status-border-color: var(--status-success-border-color);
|
|
16
|
+
}
|
|
17
|
+
&.btn-info {
|
|
18
|
+
--_status-bg-color: var(--status-info-color);
|
|
19
|
+
--_status-fg-color: var(--status-info-fg);
|
|
20
|
+
--_status-border-color: var(--status-info-border-color);
|
|
21
|
+
}
|
|
22
|
+
&.btn-danger {
|
|
23
|
+
--_status-bg-color: var(--status-danger-color);
|
|
24
|
+
--_status-fg-color: var(--status-danger-fg);
|
|
25
|
+
--_status-border-color: var(--status-danger-border-color);
|
|
26
|
+
}
|
|
10
27
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
&.btn-info {
|
|
17
|
-
--_status-bg-color: var(--status-info-color);
|
|
18
|
-
--_status-fg-color: var(--status-info-fg);
|
|
19
|
-
--_status-border-color: var(--status-info-border-color);
|
|
20
|
-
}
|
|
21
|
-
&.btn-danger {
|
|
22
|
-
--_status-bg-color: var(--status-danger-color);
|
|
23
|
-
--_status-fg-color: var(--status-danger-fg);
|
|
24
|
-
--_status-border-color: var(--status-danger-border-color);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.btn-success, &.btn-info, &.btn-danger {
|
|
28
|
-
--_status-hover-bg-color: color-mix(in srgb, var(--_status-bg-color) 30%, transparent);
|
|
29
|
-
--_status-hover-fg-color: var(--_status-bg-color);
|
|
30
|
-
--_status-hover-border-color: var(--_status-bg-color);
|
|
28
|
+
&.btn-success, &.btn-info, &.btn-danger {
|
|
29
|
+
--_status-hover-bg-color: color-mix(in srgb, var(--_status-bg-color) 30%, transparent);
|
|
30
|
+
--_status-hover-fg-color: var(--_status-bg-color);
|
|
31
|
+
--_status-hover-border-color: var(--_status-bg-color);
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
--_status-focus-outline: var(--btn-focus-outline-width) solid color-mix(in srgb, var(--_button-bg-color) 40%, transparent);
|
|
34
|
+
--_status-active-bg: color-mix(in srgb, var(--_button-bg-color) 10%, transparent);
|
|
34
35
|
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
--_hollow-fg: var(--_status-bg-color);
|
|
37
|
+
}
|
|
37
38
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
&.btn-warning {
|
|
40
|
+
--_status-bg-color: var(--status-warning-color);
|
|
41
|
+
--_status-fg-color: var(--status-warning-fg);
|
|
42
|
+
--_status-border-color: var(--status-warning-border-color);
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
--_status-hover-bg-color: color-mix(in srgb, var(--_status-bg-color) 60%, transparent);
|
|
45
|
+
--_status-hover-fg-color: var(--_status-fg-color);
|
|
46
|
+
--_status-hover-border-color: var(--_status-fg-color);
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
--_status-focus-outline: var(--btn-focus-outline-width) solid color-mix(in srgb, var(--_status-bg-color) 60%, transparent);
|
|
49
|
+
--_status-active-bg: color-mix(in srgb, var(--_button-bg-color) 30%, transparent);
|
|
49
50
|
|
|
50
|
-
|
|
51
|
+
--_hollow-fg: var(--_status-fg-color);
|
|
51
52
|
|
|
52
|
-
|
|
53
|
+
}
|
|
53
54
|
|
|
54
|
-
|
|
55
|
+
&.btn-success, &.btn-info, &.btn-danger, &.btn-warning {
|
|
55
56
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
--_button-bg-color: var(--_status-bg-color);
|
|
58
|
+
--_button-fg-color: var(--_status-fg-color);
|
|
59
|
+
--_button-border-color: var(--_status-border-color);
|
|
59
60
|
|
|
60
61
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
&.btn-hollow {
|
|
63
|
+
--_button-bg-color: color-mix(in srgb, var(--_status-bg-color) 10%, transparent);
|
|
64
|
+
--_button-fg-color: var(--_hollow-fg);
|
|
65
|
+
--_button-border-color: var(--_hollow-fg);
|
|
65
66
|
|
|
66
|
-
|
|
67
|
+
}
|
|
67
68
|
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
@media (hover: hover) {
|
|
71
|
+
&:hover {
|
|
72
|
+
--_button-bg-color: var(--_status-hover-bg-color);
|
|
73
|
+
--_button-fg-color: var(--_status-hover-fg-color);
|
|
74
|
+
--_button-border-color: var(--_status-hover-border-color);
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
|
-
}
|
|
76
77
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
&:focus {
|
|
79
|
+
outline: none;
|
|
80
|
+
}
|
|
80
81
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
&:focus-visible, &:active {
|
|
83
|
+
outline: var(--_status-focus-outline);
|
|
84
|
+
}
|
|
84
85
|
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
&:active {
|
|
87
|
+
--_button-bg-color: var(--_status-active-bg);
|
|
88
|
+
}
|
|
87
89
|
}
|
|
88
|
-
}
|
|
89
90
|
|
|
90
91
|
|
|
91
|
-
|
|
92
|
+
/*
|
|
92
93
|
@media (prefers-color-scheme: dark) {
|
|
93
94
|
|
|
94
95
|
|
|
@@ -126,4 +127,6 @@
|
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
} */
|
|
130
|
+
}
|
|
131
|
+
|
|
129
132
|
}
|
package/src/css/container.css
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
@layer base {
|
|
2
|
+
|
|
3
|
+
.container {
|
|
4
|
+
width: 100%;
|
|
5
|
+
max-width: var(--layout-container-max-width);
|
|
6
|
+
padding-inline: var(--size-lg);
|
|
7
|
+
margin-inline: auto;
|
|
8
|
+
}
|
|
9
|
+
|
|
6
10
|
}
|
package/src/css/data-formats.css
CHANGED
|
@@ -1,30 +1,34 @@
|
|
|
1
|
+
@layer base {
|
|
1
2
|
|
|
2
|
-
.data-lining-nums {
|
|
3
|
-
font-feature-settings: 'lnum', 'pnum';
|
|
4
|
-
font-variant-numeric: lining-nums proportional-nums;
|
|
5
|
-
}
|
|
6
3
|
|
|
7
|
-
.data-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
4
|
+
.data-lining-nums {
|
|
5
|
+
font-feature-settings: 'lnum', 'pnum';
|
|
6
|
+
font-variant-numeric: lining-nums proportional-nums;
|
|
7
|
+
}
|
|
11
8
|
|
|
12
|
-
.data-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
font-size: 70%;
|
|
16
|
-
color: currentColor;
|
|
17
|
-
content: '\20AC';
|
|
9
|
+
.data-tabular-nums {
|
|
10
|
+
font-feature-settings: 'lnum', 'pnum';
|
|
11
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
18
12
|
}
|
|
19
|
-
|
|
20
|
-
.data-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
|
|
14
|
+
.data-euro {
|
|
15
|
+
&::before {
|
|
16
|
+
margin-right: .2rem;
|
|
17
|
+
font-size: 70%;
|
|
18
|
+
color: currentColor;
|
|
19
|
+
content: '\20AC';
|
|
20
|
+
}
|
|
26
21
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
.data-perc {
|
|
23
|
+
&::after {
|
|
24
|
+
margin-left: .1rem;
|
|
25
|
+
font-size: 70%;
|
|
26
|
+
color: currentColor;
|
|
27
|
+
content: '%';
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.data-dec {
|
|
31
|
+
font-size: 85%;
|
|
32
|
+
}
|
|
33
|
+
|
|
30
34
|
}
|
package/src/css/details.css
CHANGED
|
@@ -1,19 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
@layer base {
|
|
2
|
+
|
|
3
|
+
details {
|
|
4
|
+
::marker {
|
|
5
|
+
font-size: .9em;
|
|
6
|
+
color: var(--text-color);
|
|
7
|
+
}
|
|
5
8
|
}
|
|
6
|
-
}
|
|
7
9
|
|
|
8
|
-
summary {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
summary {
|
|
11
|
+
font-size: var(--font-size-sm);
|
|
12
|
+
font-weight: var(--font-weight-bold);
|
|
11
13
|
|
|
12
|
-
}
|
|
14
|
+
}
|
|
13
15
|
|
|
14
|
-
.details-content {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
.details-content {
|
|
17
|
+
ul {
|
|
18
|
+
padding: 0;
|
|
19
|
+
margin: 0;
|
|
20
|
+
}
|
|
18
21
|
}
|
|
22
|
+
|
|
19
23
|
}
|
package/src/css/dimensions.css
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
@layer base {
|
|
2
|
+
|
|
3
|
+
/* stylelint-disable declaration-no-important */
|
|
4
|
+
.w-100 {
|
|
5
|
+
width: 100% !important;
|
|
6
|
+
}
|
|
7
|
+
.w-50 {
|
|
8
|
+
width: 50% !important;
|
|
9
|
+
}
|
|
10
|
+
.w-auto {
|
|
11
|
+
width: auto !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
10
14
|
}
|
package/src/css/display.css
CHANGED
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
@layer base {
|
|
2
2
|
|
|
3
|
+
/* stylelint-disable declaration-no-important */
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
@media print {
|
|
7
|
+
.d-print-none {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
7
10
|
}
|
|
8
|
-
}
|
|
9
11
|
|
|
10
|
-
.d-none {
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
.d-inline {
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
.d-block {
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
.d-inline-block {
|
|
20
|
-
|
|
21
|
-
}
|
|
12
|
+
.d-none {
|
|
13
|
+
display: none !important;
|
|
14
|
+
}
|
|
15
|
+
.d-inline {
|
|
16
|
+
display: inline !important;
|
|
17
|
+
}
|
|
18
|
+
.d-block {
|
|
19
|
+
display: block !important;
|
|
20
|
+
}
|
|
21
|
+
.d-inline-block {
|
|
22
|
+
display: inline-block !important;
|
|
23
|
+
}
|
|
22
24
|
|
|
23
25
|
|
|
24
|
-
@media (--media-medium-viewport-down) {
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
@media (--media-medium-viewport-down) {
|
|
27
|
+
.d-md-down-none {
|
|
28
|
+
display: none !important;
|
|
29
|
+
}
|
|
27
30
|
}
|
|
28
|
-
|
|
29
|
-
/*
|
|
31
|
+
/*
|
|
30
32
|
.d-md-up-block {
|
|
31
33
|
display: none;
|
|
32
34
|
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
}
|
|
43
45
|
} */
|
|
44
46
|
|
|
45
|
-
/* .mobile-hidden {
|
|
47
|
+
/* .mobile-hidden {
|
|
46
48
|
@media (--media-large-viewport-down) {
|
|
47
49
|
display: none;
|
|
48
50
|
}
|
|
@@ -54,3 +56,5 @@
|
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
58
|
*/
|
|
59
|
+
|
|
60
|
+
}
|
package/src/css/flex.css
CHANGED
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-flow: row wrap;
|
|
4
|
-
gap: var(--flex-grid-gap);
|
|
5
|
-
align-content: flex-start;
|
|
6
|
-
align-items: flex-start;
|
|
7
|
-
justify-content: flex-start;
|
|
8
|
-
|
|
9
|
-
&.align-items-center {
|
|
10
|
-
align-items: center;
|
|
11
|
-
}
|
|
1
|
+
@layer base {
|
|
12
2
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
3
|
+
.flex {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-flow: row wrap;
|
|
6
|
+
gap: var(--flex-grid-gap);
|
|
7
|
+
align-content: flex-start;
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
justify-content: flex-start;
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
11
|
+
&.align-items-center {
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.gap-0 {
|
|
16
|
+
gap: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.gap-2 {
|
|
20
|
+
gap: calc(var(--flex-grid-gap) * 2);
|
|
21
|
+
}
|
|
22
|
+
&.column-gap-2 {
|
|
23
|
+
column-gap: calc(var(--flex-grid-gap) * 2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.justify-content-space-between {
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
}
|
|
29
|
+
&.justify-content-flex-end {
|
|
30
|
+
justify-content: flex-end;
|
|
31
|
+
}
|
|
32
|
+
&.justify-content-center {
|
|
33
|
+
justify-content: center;
|
|
34
|
+
}
|
|
23
35
|
|
|
24
|
-
&.justify-content-space-between {
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
}
|
|
27
|
-
&.justify-content-flex-end {
|
|
28
|
-
justify-content: flex-end;
|
|
29
|
-
}
|
|
30
|
-
&.justify-content-center {
|
|
31
|
-
justify-content: center;
|
|
32
36
|
}
|
|
33
37
|
|
|
34
|
-
|
|
38
|
+
/* utilizzata anche da grid */
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
.align-self-center {
|
|
41
|
+
align-self: center;
|
|
42
|
+
}
|
|
43
|
+
.align-self-end {
|
|
44
|
+
align-self: end;
|
|
45
|
+
}
|
|
37
46
|
|
|
38
|
-
.align-self-center {
|
|
39
|
-
align-self: center;
|
|
40
|
-
}
|
|
41
|
-
.align-self-end {
|
|
42
|
-
align-self: end;
|
|
43
47
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
@layer base {
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
|
|
4
|
+
/* TODO da verificare
|
|
3
5
|
fieldset.form-group, fieldset.form-collection-fset {
|
|
4
6
|
|
|
5
7
|
&, legend {
|
|
@@ -23,57 +25,59 @@ fieldset.form-group, fieldset.form-collection-fset {
|
|
|
23
25
|
*/
|
|
24
26
|
|
|
25
27
|
|
|
26
|
-
.fset {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
border: var(--form-fieldset-border-width) solid var(--form-control-border-color);
|
|
32
|
-
border-radius: var(--btn-border-radius);
|
|
33
|
-
|
|
34
|
-
&, > legend {
|
|
28
|
+
.fset {
|
|
29
|
+
position: relative;
|
|
30
|
+
padding: 3rem 1rem 1rem;
|
|
31
|
+
margin: 1rem 0 2rem;
|
|
32
|
+
background: transparent;
|
|
35
33
|
border: var(--form-fieldset-border-width) solid var(--form-control-border-color);
|
|
36
|
-
|
|
34
|
+
border-radius: var(--btn-border-radius);
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
left: calc(-1 * var(--form-fieldset-border-width));
|
|
42
|
-
z-index: 1;
|
|
43
|
-
padding: .4rem .8rem;
|
|
44
|
-
font-size: .9rem;
|
|
45
|
-
font-weight: var(--font-weight-semibold);
|
|
46
|
-
line-height: 1.2;
|
|
47
|
-
color: var(--form-legend-color);
|
|
48
|
-
background-color: var(--form-legend-background-color);
|
|
49
|
-
border-radius: var(--btn-border-radius) var(--btn-border-radius) var(--btn-border-radius) 0;
|
|
50
|
-
}
|
|
36
|
+
&, > legend {
|
|
37
|
+
border: var(--form-fieldset-border-width) solid var(--form-control-border-color);
|
|
38
|
+
}
|
|
51
39
|
|
|
40
|
+
> legend {
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: -.5rem;
|
|
43
|
+
left: calc(-1 * var(--form-fieldset-border-width));
|
|
44
|
+
z-index: 1;
|
|
45
|
+
padding: .4rem .8rem;
|
|
46
|
+
font-size: .9rem;
|
|
47
|
+
font-weight: var(--font-weight-semibold);
|
|
48
|
+
line-height: 1.2;
|
|
49
|
+
color: var(--form-legend-color);
|
|
50
|
+
background-color: var(--form-legend-background-color);
|
|
51
|
+
border-radius: var(--btn-border-radius) var(--btn-border-radius) var(--btn-border-radius) 0;
|
|
52
|
+
}
|
|
52
53
|
|
|
53
|
-
.fset { /* :not(.fupl-wrapper):not(.form-group) { */
|
|
54
|
-
padding-top: 2rem;
|
|
55
|
-
margin-bottom: .5rem;
|
|
56
|
-
border: none;
|
|
57
54
|
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
.fset { /* :not(.fupl-wrapper):not(.form-group) { */
|
|
56
|
+
padding-top: 2rem;
|
|
57
|
+
margin-bottom: .5rem;
|
|
58
|
+
border: none;
|
|
59
|
+
|
|
60
|
+
&:first-of-type {
|
|
61
|
+
margin-top: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
> legend {
|
|
65
|
+
padding-right: 0;
|
|
66
|
+
padding-left: 0;
|
|
67
|
+
font-size: .9rem;
|
|
68
|
+
background: transparent;
|
|
69
|
+
border-bottom: 1px solid var(--form-control-border-color);
|
|
70
|
+
}
|
|
60
71
|
}
|
|
61
72
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
font-size: .9rem;
|
|
66
|
-
background: transparent;
|
|
67
|
-
border-bottom: 1px solid var(--form-control-border-color);
|
|
73
|
+
&[disabled] {
|
|
74
|
+
font-style: italic;
|
|
75
|
+
opacity: .6;
|
|
68
76
|
}
|
|
69
|
-
}
|
|
70
77
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
78
|
+
&:has(.table-responsive) {
|
|
79
|
+
min-width: 0;
|
|
80
|
+
}
|
|
74
81
|
}
|
|
75
82
|
|
|
76
|
-
&:has(.table-responsive) {
|
|
77
|
-
min-width: 0;
|
|
78
|
-
}
|
|
79
83
|
}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
padding: 0;
|
|
3
|
-
border: none;
|
|
1
|
+
@layer base {
|
|
4
2
|
|
|
5
|
-
.form-collection {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
gap: var(--size-xs);
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
justify-content: flex-start;
|
|
3
|
+
.form-collection-fset { /* fieldset */
|
|
4
|
+
padding: 0;
|
|
5
|
+
border: none;
|
|
11
6
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
.form-collection {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-flow: column nowrap;
|
|
10
|
+
gap: var(--size-xs);
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
|
|
14
|
+
&.form-collection-inline {
|
|
15
|
+
flex-flow: row wrap;
|
|
16
|
+
gap: var(--size-md);
|
|
17
|
+
}
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
|
|
17
21
|
}
|
|
@@ -1,40 +1,44 @@
|
|
|
1
|
+
@layer base {
|
|
1
2
|
|
|
2
|
-
.form-control {
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
color: var(--form-control-disabled-color);
|
|
6
|
-
cursor: not-allowed;
|
|
7
|
-
background-color: var(--form-control-disabled-background-color);
|
|
4
|
+
.form-control {
|
|
8
5
|
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
&[disabled] {
|
|
7
|
+
color: var(--form-control-disabled-color);
|
|
8
|
+
cursor: not-allowed;
|
|
9
|
+
background-color: var(--form-control-disabled-background-color);
|
|
10
|
+
|
|
11
|
+
&, &::placeholder {
|
|
12
|
+
font-style: var(--form-control-disabled-font-style);
|
|
13
|
+
}
|
|
11
14
|
}
|
|
12
|
-
}
|
|
13
15
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
&[readonly] {
|
|
17
|
+
color: var(--form-control-readonly-color);
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
user-select: none;
|
|
20
|
+
background-color: var(--form-control-readonly-background-color);
|
|
21
|
+
}
|
|
20
22
|
|
|
21
|
-
}
|
|
23
|
+
}
|
|
22
24
|
|
|
23
|
-
.form-group {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
.form-group {
|
|
26
|
+
&:has([disabled]) {
|
|
27
|
+
opacity: var(--form-control-disabled-opacity);
|
|
28
|
+
.form-label {
|
|
29
|
+
font-style: var(--form-control-disabled-font-style);
|
|
30
|
+
color: var(--form-control-disabled-color);
|
|
31
|
+
}
|
|
29
32
|
}
|
|
30
|
-
}
|
|
31
33
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
&:has([readonly]) {
|
|
35
|
+
opacity: var(--form-control-readonly-opacity);
|
|
36
|
+
.form-label {
|
|
37
|
+
font-style: var(--form-control-readonly-font-style);
|
|
38
|
+
color: var(--form-control-readonly-color);
|
|
39
|
+
}
|
|
37
40
|
}
|
|
41
|
+
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
}
|