@lucca-front/scss 21.1.0-rc.0 → 21.1.0-rc.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/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/base.scss +1 -1
- package/src/commons/config.scss +6 -6
- package/src/commons/vars.scss +2 -1
- package/src/components/appLayout/component.scss +1 -0
- package/src/components/appLayout/index.scss +5 -0
- package/src/components/appLayout/mods.scss +4 -0
- package/src/components/bubbleIcon/component.scss +54 -0
- package/src/components/bubbleIcon/index.scss +48 -0
- package/src/components/bubbleIcon/mods.scss +39 -0
- package/src/components/bubbleIcon/states.scss +13 -0
- package/src/components/bubbleIcon/vars.scss +13 -0
- package/src/components/bubbleIllustration/component.scss +20 -0
- package/src/components/bubbleIllustration/exports.scss +4 -0
- package/src/components/bubbleIllustration/index.scss +34 -0
- package/src/components/bubbleIllustration/mods.scss +11 -0
- package/src/components/bubbleIllustration/states.scss +14 -0
- package/src/components/bubbleIllustration/vars.scss +4 -0
- package/src/components/callout/component.scss +0 -1
- package/src/components/clear/index.scss +1 -2
- package/src/components/color/component.scss +82 -0
- package/src/components/color/exports.scss +4 -0
- package/src/components/color/index.scss +74 -0
- package/src/components/color/mods.scss +48 -0
- package/src/components/color/states.scss +15 -0
- package/src/components/color/vars.scss +13 -0
- package/src/components/container/index.scss +1 -0
- package/src/components/container/mods.scss +2 -1
- package/src/components/dialog/index.scss +4 -0
- package/src/components/dialog/mods.scss +4 -0
- package/src/components/dialog/vars.scss +1 -1
- package/src/components/emptyState/component.scss +1 -6
- package/src/components/emptyState/index.scss +10 -0
- package/src/components/emptyState/mods.scss +9 -0
- package/src/components/emptyState/vars.scss +2 -1
- package/src/components/errorPage/component.scss +42 -58
- package/src/components/errorPage/index.scss +4 -0
- package/src/components/errorPage/mods.scss +38 -0
- package/src/components/fieldset/component.scss +4 -0
- package/src/components/filterPill/component.scss +12 -1
- package/src/components/form/component.scss +1 -1
- package/src/components/form/index.scss +6 -0
- package/src/components/form/mods.scss +9 -0
- package/src/components/highlightData/component.scss +1 -0
- package/src/components/highlightData/mods.scss +3 -2
- package/src/components/highlightData/vars.scss +3 -2
- package/src/components/horizontalNavigation/component.scss +1 -1
- package/src/components/index.scss +4 -1
- package/src/components/inputFramed/component.scss +16 -11
- package/src/components/mainLayout/component.scss +4 -2
- package/src/components/mainLayout/mods.scss +2 -0
- package/src/components/mainLayout/vars.scss +2 -0
- package/src/components/multiSelect/mods.scss +1 -1
- package/src/components/navside/component.scss +4 -0
- package/src/components/presentation/component.scss +20 -0
- package/src/components/presentation/exports.scss +4 -0
- package/src/components/{formPresentation → presentation}/index.scss +1 -1
- package/src/components/presentation/mods.scss +3 -0
- package/src/components/presentation/vars.scss +5 -0
- package/src/components/resourceCard/mods.scss +10 -0
- package/src/components/resourceCard/states.scss +10 -0
- package/src/components/simpleSelect/mods.scss +1 -1
- package/src/components/timepicker/component.scss +8 -6
- package/src/components/timepicker/mods.scss +4 -3
- package/src/components/timepicker/vars.scss +5 -3
- package/src/components/formPresentation/component.scss +0 -18
- package/src/components/formPresentation/mods.scss +0 -3
- package/src/components/formPresentation/vars.scss +0 -5
- /package/src/components/{formPresentation → bubbleIcon}/exports.scss +0 -0
- /package/src/components/{formPresentation → presentation}/states.scss +0 -0
|
@@ -18,12 +18,7 @@
|
|
|
18
18
|
inset-inline-start: var(--components-emptyState-container-left);
|
|
19
19
|
padding: 0;
|
|
20
20
|
inline-size: 100%;
|
|
21
|
-
position:
|
|
22
|
-
|
|
23
|
-
.container & {
|
|
24
|
-
--components-emptyState-container-maxWidth: none;
|
|
25
|
-
--components-emptyState-container-left: auto;
|
|
26
|
-
}
|
|
21
|
+
position: var(--components-emptyState-container-position);
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
.emptyState-content {
|
|
@@ -55,3 +55,12 @@
|
|
|
55
55
|
justify-content: center;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
+
|
|
59
|
+
@mixin insideTable {
|
|
60
|
+
--components-emptyState-container-position: sticky;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin insideContainer {
|
|
64
|
+
--components-emptyState-container-maxWidth: none;
|
|
65
|
+
--components-emptyState-container-left: auto;
|
|
66
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-emptyState-container-maxWidth: calc(100vw - var(--commons-navSide-width) - 7rem);
|
|
3
|
-
--components-emptyState-container-left: calc(var(--commons-navSide-width) +
|
|
3
|
+
--components-emptyState-container-left: calc(var(--commons-navSide-width) + var(--pr-t-spacings-400));
|
|
4
|
+
--components-emptyState-container-position: static;
|
|
4
5
|
|
|
5
6
|
--components-emptyState-background-color: var(--pr-t-elevation-surface-default);
|
|
6
7
|
--components-emptyState-illustration-top-right-offset-left: min(
|
|
@@ -1,66 +1,50 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
2
4
|
background-color: var(--components-errorPage-background);
|
|
3
5
|
block-size: 100vh;
|
|
4
6
|
inline-size: 100vw;
|
|
5
7
|
line-height: 1.2;
|
|
6
8
|
overflow: hidden;
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@mixin compact {
|
|
49
|
-
overflow-y: auto;
|
|
50
|
-
|
|
51
|
-
.errorPage-section {
|
|
52
|
-
flex-direction: column;
|
|
53
|
-
justify-content: center;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.errorPage-section-info {
|
|
57
|
-
margin-block: var(--pr-t-spacings-400);
|
|
58
|
-
order: 1;
|
|
59
|
-
padding: 0;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.errorPage-section-image {
|
|
63
|
-
margin-block-start: var(--pr-t-spacings-400);
|
|
64
|
-
order: 0;
|
|
10
|
+
@at-root ($atRoot) {
|
|
11
|
+
.errorPage-section {
|
|
12
|
+
block-size: 100%;
|
|
13
|
+
max-inline-size: 1200px;
|
|
14
|
+
padding-block: 0;
|
|
15
|
+
padding-inline: var(--pr-t-spacings-400);
|
|
16
|
+
inline-size: 100vw;
|
|
17
|
+
margin-block: 0;
|
|
18
|
+
margin-inline: auto;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.errorPage-section-info {
|
|
25
|
+
margin-block-start: 10vh;
|
|
26
|
+
max-inline-size: 90vw;
|
|
27
|
+
inline-size: 450px;
|
|
28
|
+
padding-inline-end: var(--pr-t-spacings-400);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.errorPage-section-info-title {
|
|
32
|
+
font: var(--pr-t-font-heading-1);
|
|
33
|
+
margin-block-end: var(--pr-t-spacings-50);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.errorPage-section-info-text {
|
|
37
|
+
font-size: var(--pr-t-font-body-1-fontSize);
|
|
38
|
+
line-height: var(--pr-t-font-body-1-lineHeight);
|
|
39
|
+
margin-block-end: var(--pr-t-spacings-150);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.errorPage-section-image {
|
|
43
|
+
margin-block-start: 10vh;
|
|
44
|
+
inline-size: 50%;
|
|
45
|
+
max-inline-size: 580px;
|
|
46
|
+
min-inline-size: 350px;
|
|
47
|
+
block-size: auto;
|
|
48
|
+
}
|
|
65
49
|
}
|
|
66
50
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@mixin compact {
|
|
2
|
+
overflow-y: auto;
|
|
3
|
+
|
|
4
|
+
.errorPage-section {
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.errorPage-section-info {
|
|
10
|
+
margin-block: var(--pr-t-spacings-400);
|
|
11
|
+
order: 1;
|
|
12
|
+
padding: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.errorPage-section-image {
|
|
16
|
+
margin-block-start: var(--pr-t-spacings-400);
|
|
17
|
+
order: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin inAppLayout {
|
|
22
|
+
&,
|
|
23
|
+
.errorPage-section {
|
|
24
|
+
block-size: 100%;
|
|
25
|
+
inline-size: 100%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.errorPage-section {
|
|
29
|
+
gap: var(--pr-t-spacings-400);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.errorPage-section-image,
|
|
33
|
+
.errorPage-section-info {
|
|
34
|
+
margin-block-start: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
max-inline-size: 100%;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -40,7 +40,18 @@
|
|
|
40
40
|
|
|
41
41
|
.filterPill_popover-content-option {
|
|
42
42
|
padding: var(--pr-t-spacings-50) var(--pr-t-spacings-100);
|
|
43
|
-
border-radius: var(--pr-t-border-radius-
|
|
43
|
+
border-radius: var(--pr-t-border-radius-default);
|
|
44
|
+
position: relative;
|
|
45
|
+
|
|
46
|
+
.formLabel {
|
|
47
|
+
position: static;
|
|
48
|
+
|
|
49
|
+
&::before {
|
|
50
|
+
content: '';
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset: 0;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
44
55
|
|
|
45
56
|
&:hover {
|
|
46
57
|
background-color: var(--palettes-neutral-50);
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@use '@lucca-front/scss/src/components/multiSelect/exports' as multiSelect;
|
|
13
13
|
@use '@lucca-front/scss/src/components/timepicker/exports' as timepicker;
|
|
14
14
|
@use '@lucca-front/scss/src/components/box/exports' as box;
|
|
15
|
+
@use '@lucca-front/scss/src/components/color/exports' as color;
|
|
15
16
|
|
|
16
17
|
@mixin maxWidth {
|
|
17
18
|
max-inline-size: var(--components-form-maxWidth);
|
|
@@ -115,6 +116,10 @@
|
|
|
115
116
|
.timePicker {
|
|
116
117
|
@include timepicker.S;
|
|
117
118
|
}
|
|
119
|
+
|
|
120
|
+
.color {
|
|
121
|
+
@include color.M;
|
|
122
|
+
}
|
|
118
123
|
}
|
|
119
124
|
|
|
120
125
|
@mixin XS {
|
|
@@ -369,3 +374,7 @@
|
|
|
369
374
|
content: '*' / '';
|
|
370
375
|
}
|
|
371
376
|
}
|
|
377
|
+
|
|
378
|
+
@mixin hiddenLabel {
|
|
379
|
+
gap: 0;
|
|
380
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@mixin vars {
|
|
2
2
|
--components-highlightData-display: grid;
|
|
3
|
-
--components-highlightData-grid: 'title
|
|
4
|
-
|
|
3
|
+
--components-highlightData-grid: 'title action'
|
|
4
|
+
'value action'
|
|
5
|
+
'subtext action';
|
|
5
6
|
--components-highlightData-alignItem: center;
|
|
6
7
|
--components-highlightData-background: var(--pr-t-elevation-surface-raised);
|
|
7
8
|
--components-highlightData-padding-inline: var(--pr-t-spacings-200);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
.horizontalNavigation-containerOptional,
|
|
33
33
|
.menu-containerOptional {
|
|
34
34
|
max-inline-size: var(--commons-container-maxWidth);
|
|
35
|
-
padding
|
|
35
|
+
padding: var(--commons-container-padding);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
// .menu-list is deprecated
|
|
@@ -110,7 +110,10 @@
|
|
|
110
110
|
@forward 'listboxOption';
|
|
111
111
|
@forward 'suggestion';
|
|
112
112
|
@forward 'resourceCard';
|
|
113
|
-
@forward '
|
|
113
|
+
@forward 'presentation';
|
|
114
|
+
@forward 'color';
|
|
115
|
+
@forward 'bubbleIllustration';
|
|
116
|
+
@forward 'bubbleIcon';
|
|
114
117
|
|
|
115
118
|
@forward 'filterBarDeprecated';
|
|
116
119
|
@forward 'tableFixedDeprecated';
|
|
@@ -13,18 +13,12 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
&::after {
|
|
22
|
-
content: '';
|
|
23
|
-
position: absolute;
|
|
24
|
-
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
16
|
+
.formLabel-info {
|
|
17
|
+
position: relative;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
27
20
|
|
|
21
|
+
@at-root ($atRoot) {
|
|
28
22
|
.inputFramed-header-field {
|
|
29
23
|
flex: 1;
|
|
30
24
|
|
|
@@ -48,6 +42,17 @@
|
|
|
48
42
|
align-content: flex-start;
|
|
49
43
|
gap: var(--pr-t-spacings-100);
|
|
50
44
|
align-items: var(--components-inputFramed-header-alignItems);
|
|
45
|
+
|
|
46
|
+
.inputFramed-header-label.formLabel {
|
|
47
|
+
position: static;
|
|
48
|
+
font-weight: var(--components-inputFramed-header-label-fontWeight);
|
|
49
|
+
|
|
50
|
+
&::after {
|
|
51
|
+
content: '';
|
|
52
|
+
position: absolute;
|
|
53
|
+
inset: calc(var(--pr-t-spacings-50) * -1);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
51
56
|
}
|
|
52
57
|
|
|
53
58
|
.inputFramed-header-illustration {
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
--components-mainLayout-content-inside-block-firstLastOfType-marginBlock: var(--pr-t-spacings-300);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
&:
|
|
78
|
+
&:not(& + &) {
|
|
79
79
|
margin-block-start: var(--components-mainLayout-content-inside-block-firstLastOfType-marginBlock);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
&:
|
|
82
|
+
&:not(:has(+ &)) {
|
|
83
83
|
margin-block-end: var(--components-mainLayout-content-inside-block-firstLastOfType-marginBlock);
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
z-index: 1;
|
|
96
96
|
inset-block-start: var(--components-mainLayout-content-inside-header-insetBlockStart);
|
|
97
97
|
inset-inline-start: 0;
|
|
98
|
+
background-color: var(--components-mainLayout-content-inside-header-backgroundColor);
|
|
98
99
|
|
|
99
100
|
&:empty {
|
|
100
101
|
display: none;
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
inset-block-end: var(--components-mainLayout-content-inside-footer-insetBlockEnd);
|
|
107
108
|
inset-inline-start: 0;
|
|
108
109
|
margin-block-start: auto;
|
|
110
|
+
background-color: var(--components-mainLayout-content-inside-footer-backgroundColor);
|
|
109
111
|
|
|
110
112
|
&:empty {
|
|
111
113
|
display: none;
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
@mixin stickyHeader {
|
|
6
6
|
--components-mainLayout-content-inside-header-position: sticky;
|
|
7
|
+
--components-mainLayout-content-inside-header-backgroundColor: var(--commons-background-base);
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
@mixin stickyFooter {
|
|
10
11
|
--components-mainLayout-content-inside-footer-position: sticky;
|
|
12
|
+
--components-mainLayout-content-inside-footer-backgroundColor: var(--commons-background-base);
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
@mixin stickyBlock {
|
|
@@ -7,4 +7,6 @@
|
|
|
7
7
|
--components-mainLayout-content-inside-header-insetBlockStart: auto;
|
|
8
8
|
--components-mainLayout-content-inside-footer-insetBlockEnd: auto;
|
|
9
9
|
--components-mainLayout-content-inside-block-firstLastOfType-marginBlock: var(--pr-t-spacings-200);
|
|
10
|
+
--components-mainLayout-content-inside-header-backgroundColor: transparent;
|
|
11
|
+
--components-mainLayout-content-inside-footer-backgroundColor: transparent;
|
|
10
12
|
}
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
border-radius: 0;
|
|
62
62
|
background-color: transparent;
|
|
63
63
|
padding: var(--pr-t-spacings-50);
|
|
64
|
-
margin: var(--pr-t-spacings-
|
|
64
|
+
margin: var(--pr-t-spacings-75) calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1);
|
|
65
65
|
|
|
66
66
|
lu-simple-select-default-option.pr-u-ellipsis {
|
|
67
67
|
white-space: normal !important;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use '@lucca-front/scss/src/commons/utils/namespace';
|
|
2
|
+
|
|
3
|
+
@mixin component($atRoot: namespace.$defaultAtRoot) {
|
|
4
|
+
@at-root ($atRoot) {
|
|
5
|
+
.presentation-description {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.presentation-description-term {
|
|
10
|
+
font: var(--pr-t-font-body-S);
|
|
11
|
+
color: var(--pr-t-color-text-subtle);
|
|
12
|
+
display: var(--components-presentation-description-term-display);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.presentation-description-definition {
|
|
16
|
+
display: var(--components-presentation-description-definition-display);
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
@mixin vars {
|
|
2
|
+
--components-presentation-description-child-display: block;
|
|
3
|
+
--components-presentation-description-term-display: var(--components-presentation-description-child-display);
|
|
4
|
+
--components-presentation-description-definition-display: var(--components-presentation-description-child-display);
|
|
5
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
@use '@lucca-front/scss/src/commons/utils/color';
|
|
2
2
|
@use '@lucca-front/scss/src/components/button/exports' as button;
|
|
3
3
|
@use '@lucca-front/scss/src/components/numericBadge/exports' as numericBadge;
|
|
4
|
+
@use '@lucca-front/scss/src/components/bubbleIllustration/exports' as bubbleIllustration;
|
|
5
|
+
@use '@lucca-front/scss/src/components/bubbleIcon/exports' as bubbleIcon;
|
|
4
6
|
|
|
5
7
|
@mixin gridWrapper {
|
|
6
8
|
--components-resourceCardWrapper-display: grid;
|
|
@@ -23,6 +25,14 @@
|
|
|
23
25
|
--components-resourceCard-layout-content-font: var(--pr-t-font-body-S);
|
|
24
26
|
--components-resourceCard-layout-header-title-font: var(--pr-t-font-heading-4);
|
|
25
27
|
--components-resourceCard-layout-before-illustration-minSize: calc(var(--pr-t-spacings-400) + var(--pr-t-spacings-50));
|
|
28
|
+
|
|
29
|
+
.bubbleIllustration {
|
|
30
|
+
@include bubbleIllustration.S;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bubbleIcon {
|
|
34
|
+
@include bubbleIcon.S;
|
|
35
|
+
}
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
@mixin hasIllustrationGridS {
|
|
@@ -20,6 +20,16 @@
|
|
|
20
20
|
--components-resourceCard-color: var(--palettes-neutral-500);
|
|
21
21
|
--components-resourceCard-layout-header-title-action-color: var(--palettes-neutral-500);
|
|
22
22
|
--components-resourceCard-before-boxShadow: 0 0 0 1px var(--palettes-neutral-50);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
.bubbleIllustration {
|
|
26
|
+
--palettes-brand-600: var(--pr-t-color-input-icon-disabled);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.bubbleIcon {
|
|
30
|
+
--components-bubbleIcon-color: var(--pr-t-color-input-icon-disabled);
|
|
31
|
+
--components-bubbleIcon-bubble-path-fill: var(--pr-t-color-input-background-disabled);
|
|
32
|
+
}
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
@mixin active {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
border-radius: 0;
|
|
63
63
|
background-color: transparent;
|
|
64
64
|
padding: var(--pr-t-spacings-50);
|
|
65
|
-
margin: var(--pr-t-spacings-
|
|
65
|
+
margin: var(--pr-t-spacings-75) calc(var(--pr-t-spacings-100) * -1) calc(var(--pr-t-spacings-100) * -1);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -60,13 +60,13 @@
|
|
|
60
60
|
justify-content: center;
|
|
61
61
|
border: 0;
|
|
62
62
|
block-size: var(--components-timepicker-input-height);
|
|
63
|
-
inline-size: var(--components-timepicker-input-
|
|
63
|
+
inline-size: calc(var(--components-timepicker-input-minInlineSize) + var(--components-timepicker-input-digits, 2) * 1ch);
|
|
64
64
|
outline: none;
|
|
65
65
|
color: inherit;
|
|
66
66
|
background-color: transparent;
|
|
67
67
|
text-align: center;
|
|
68
|
-
padding-block: var(--components-timepicker-
|
|
69
|
-
padding-inline: var(--components-timepicker-
|
|
68
|
+
padding-block: var(--components-timepicker-input-padding-block);
|
|
69
|
+
padding-inline: var(--components-timepicker-input-padding-inline);
|
|
70
70
|
box-sizing: content-box;
|
|
71
71
|
opacity: 0.0001;
|
|
72
72
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
|
|
84
84
|
.timePicker-fieldset-group-textfield-display {
|
|
85
85
|
position: absolute;
|
|
86
|
-
inset: var(--components-timepicker-
|
|
86
|
+
inset: var(--components-timepicker-display-padding-inline) var(--components-timepicker-display-padding-block);
|
|
87
87
|
border-radius: var(--pr-t-border-radius-50);
|
|
88
88
|
pointer-events: none;
|
|
89
89
|
display: grid;
|
|
@@ -133,7 +133,9 @@
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
.timePicker-fieldset-meridiem {
|
|
136
|
-
|
|
136
|
+
box-sizing: content-box;
|
|
137
|
+
inline-size: calc(var(--components-timepicker-input-minInlineSize) + 2ch);
|
|
138
|
+
padding-inline: var(--components-timepicker-display-padding-block);
|
|
137
139
|
position: relative;
|
|
138
140
|
align-self: stretch;
|
|
139
141
|
margin-inline-start: calc(var(--pr-t-spacings-50) * -1);
|
|
@@ -141,7 +143,7 @@
|
|
|
141
143
|
&::after {
|
|
142
144
|
content: '';
|
|
143
145
|
position: absolute;
|
|
144
|
-
inset: var(--components-timepicker-
|
|
146
|
+
inset: var(--components-timepicker-display-padding-inline) var(--components-timepicker-display-padding-block);
|
|
145
147
|
border-radius:var(--pr-t-border-radius-50);
|
|
146
148
|
display: grid;
|
|
147
149
|
place-items: center;
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin S {
|
|
4
4
|
--components-timepicker-font: var(--pr-t-font-body-S);
|
|
5
|
-
--components-timepicker-
|
|
6
|
-
--components-timepicker-
|
|
5
|
+
--components-timepicker-display-padding-inline: var(--pr-t-spacings-25);
|
|
6
|
+
--components-timepicker-display-padding-block: var(--pr-t-spacings-75);
|
|
7
|
+
--components-timepicker-input-padding-inline: var(--pr-t-spacings-75);
|
|
8
|
+
--components-timepicker-input-padding-block: var(--pr-t-spacings-25);
|
|
7
9
|
--components-timepicker-input-height: 1.75rem;
|
|
8
|
-
--components-timepicker-input-width: 1.25rem;
|
|
9
10
|
--components-timepicker-separator-left: 1.875rem;
|
|
10
11
|
}
|
|
11
12
|
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
--components-timepicker-color: var(--pr-t-color-input-text);
|
|
5
5
|
--components-timepicker-font: var(--pr-t-font-body-M);
|
|
6
6
|
--components-timepicker-input-height: 2rem;
|
|
7
|
-
--components-timepicker-input-
|
|
7
|
+
--components-timepicker-input-minInlineSize: 0.5rem;
|
|
8
|
+
--components-timepicker-input-padding-inline: var(--pr-t-spacings-100);
|
|
9
|
+
--components-timepicker-input-padding-block: var(--pr-t-spacings-50);
|
|
8
10
|
--components-timepicker-padding: 0;
|
|
9
|
-
--components-timepicker-
|
|
10
|
-
--components-timepicker-
|
|
11
|
+
--components-timepicker-display-padding-inline: var(--pr-t-spacings-50);
|
|
12
|
+
--components-timepicker-display-padding-block: var(--pr-t-spacings-100);
|
|
11
13
|
--components-timepicker-separator-left: 2.375rem;
|
|
12
14
|
}
|