@lucca-front/scss 20.3.0-rc.2 → 20.3.0-rc.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.
- package/dist/lucca-front.min.css +1 -1
- package/package.json +2 -2
- package/src/commons/config.scss +0 -5
- package/src/commons/core.scss +3 -3
- package/src/commons/exports.scss +1 -0
- package/src/commons/index.scss +2 -9
- package/src/commons/utils/index.scss +478 -480
- package/src/commons/utils/reset.scss +1 -1
- package/src/components/_sample/index.scss +6 -14
- package/src/components/appLayout/index.scss +7 -11
- package/src/components/avatar/index.scss +35 -43
- package/src/components/box/index.scss +14 -20
- package/src/components/breadcrumbs/index.scss +10 -16
- package/src/components/button/index.scss +134 -140
- package/src/components/button/mods.scss +0 -17
- package/src/components/buttonGroup/index.scss +8 -20
- package/src/components/calendar/index.scss +44 -56
- package/src/components/callout/index.scss +4 -8
- package/src/components/calloutDisclosure/index.scss +9 -15
- package/src/components/calloutFeedbackList/index.scss +4 -8
- package/src/components/calloutPopover/index.scss +12 -18
- package/src/components/card/component.scss +1 -0
- package/src/components/card/index.scss +23 -25
- package/src/components/card/mods.scss +31 -0
- package/src/components/checkbox/index.scss +30 -36
- package/src/components/checkboxField/index.scss +80 -90
- package/src/components/chip/index.scss +17 -23
- package/src/components/clear/index.scss +17 -23
- package/src/components/code/index.scss +4 -8
- package/src/components/collapse/index.scss +7 -11
- package/src/components/comment/index.scss +20 -30
- package/src/components/container/index.scss +25 -29
- package/src/components/contentSection/index.scss +2 -4
- package/src/components/dataTable/index.scss +52 -68
- package/src/components/dataTableSticked/index.scss +24 -32
- package/src/components/dateField/index.scss +20 -24
- package/src/components/dateRangeField/index.scss +25 -29
- package/src/components/dialog/index.scss +36 -40
- package/src/components/divider/index.scss +7 -11
- package/src/components/dropdown/component.scss +43 -17
- package/src/components/dropdown/index.scss +9 -12
- package/src/components/dropdown/mods.scss +4 -4
- package/src/components/dropdown/states.scss +4 -3
- package/src/components/dropdown/vars.scss +8 -6
- package/src/components/emptyState/index.scss +7 -11
- package/src/components/errorPage/index.scss +4 -8
- package/src/components/fancyBox/index.scss +4 -8
- package/src/components/field/index.scss +76 -96
- package/src/components/fieldset/index.scss +12 -18
- package/src/components/file/index.scss +30 -38
- package/src/components/fileEntry/index.scss +18 -24
- package/src/components/fileToolbar/index.scss +6 -10
- package/src/components/fileUpload/index.scss +31 -37
- package/src/components/filterBar/index.scss +13 -17
- package/src/components/filterBarDeprecated/index.scss +4 -8
- package/src/components/filterPill/index.scss +48 -56
- package/src/components/filters/index.scss +8 -14
- package/src/components/footer/index.scss +34 -38
- package/src/components/form/index.scss +84 -114
- package/src/components/form/mods.scss +5 -7
- package/src/components/formLabel/index.scss +13 -19
- package/src/components/gauge/index.scss +20 -26
- package/src/components/grid/index.scss +21 -25
- package/src/components/header/index.scss +12 -18
- package/src/components/highlightData/index.scss +24 -28
- package/src/components/horizontalNavigation/index.scss +36 -42
- package/src/components/index.scss +55 -57
- package/src/components/indexTable/index.scss +56 -54
- package/src/components/inlineMessage/index.scss +12 -18
- package/src/components/inputFramed/index.scss +24 -30
- package/src/components/label/index.scss +9 -13
- package/src/components/layout/index.scss +45 -51
- package/src/components/link/index.scss +8 -14
- package/src/components/link/mods.scss +1 -1
- package/src/components/list/index.scss +11 -15
- package/src/components/listboxOption/index.scss +115 -131
- package/src/components/listing/index.scss +18 -22
- package/src/components/loading/index.scss +23 -27
- package/src/components/main/index.scss +15 -21
- package/src/components/mainLayout/index.scss +20 -26
- package/src/components/mobileHeader/index.scss +4 -8
- package/src/components/mobileNavigation/index.scss +2 -4
- package/src/components/mobilePush/index.scss +4 -8
- package/src/components/multiSelect/index.scss +36 -46
- package/src/components/navside/index.scss +56 -78
- package/src/components/newBadge/index.scss +4 -8
- package/src/components/notchBox/index.scss +13 -17
- package/src/components/notchBox/mods.scss +125 -137
- package/src/components/numericBadge/index.scss +16 -22
- package/src/components/pageHeader/index.scss +22 -26
- package/src/components/pagination/index.scss +6 -12
- package/src/components/plgPush/index.scss +2 -4
- package/src/components/popover/component.scss +0 -17
- package/src/components/popover/index.scss +2 -4
- package/src/components/progress/index.scss +9 -15
- package/src/components/radio/index.scss +12 -18
- package/src/components/radioButtons/index.scss +9 -15
- package/src/components/radioField/index.scss +40 -46
- package/src/components/readMore/index.scss +15 -21
- package/src/components/richText/index.scss +14 -20
- package/src/components/scrollBox/index.scss +10 -14
- package/src/components/section/index.scss +12 -16
- package/src/components/segmentedControl/index.scss +15 -25
- package/src/components/simpleSelect/index.scss +33 -41
- package/src/components/skeleton/index.scss +37 -43
- package/src/components/skipLinks/index.scss +2 -4
- package/src/components/sortableList/index.scss +6 -12
- package/src/components/statusBadge/index.scss +4 -8
- package/src/components/switch/index.scss +29 -35
- package/src/components/switchField/index.scss +16 -22
- package/src/components/table/index.scss +64 -78
- package/src/components/tableFixed/index.scss +11 -13
- package/src/components/tableFixedDeprecated/index.scss +10 -14
- package/src/components/tableOfContent/index.scss +24 -28
- package/src/components/tableSortable/index.scss +16 -22
- package/src/components/tableSticked/index.scss +24 -28
- package/src/components/tableSticked/mods.scss +6 -6
- package/src/components/tableStickedDeprecated/index.scss +40 -46
- package/src/components/tag/index.scss +23 -29
- package/src/components/textField/index.scss +22 -30
- package/src/components/textField/mods.scss +1 -1
- package/src/components/textFlow/index.scss +2 -4
- package/src/components/textfields/index.scss +258 -279
- package/src/components/timeline/index.scss +66 -72
- package/src/components/timepicker/index.scss +15 -21
- package/src/components/title/index.scss +30 -43
- package/src/components/title/mods.scss +1 -1
- package/src/components/titleSection/index.scss +23 -31
- package/src/components/toast/index.scss +4 -8
- package/src/components/tooltip/index.scss +21 -25
- package/src/components/userPopover/index.scss +2 -4
- package/src/components/userTile/index.scss +22 -26
- package/src/components/verticalNavigation/index.scss +16 -26
|
@@ -1,71 +1,61 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.multiSelect {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@layer mods {
|
|
10
|
-
&.mod-S {
|
|
11
|
-
@include S;
|
|
12
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
&.mod-S {
|
|
8
|
+
@include S;
|
|
17
9
|
}
|
|
18
10
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
11
|
+
&:has(.multipleSelect-displayer-search:focus-visible) {
|
|
12
|
+
@include focused;
|
|
13
|
+
}
|
|
23
14
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
15
|
+
&:has(.multipleSelect-displayer-search[aria-invalid='true']) {
|
|
16
|
+
@include invalid;
|
|
17
|
+
}
|
|
27
18
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
&:has(.multipleSelect-displayer-search:disabled) {
|
|
20
|
+
@include disabled;
|
|
21
|
+
}
|
|
31
22
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
&:has([aria-expanded='true']) {
|
|
24
|
+
@include expanded;
|
|
25
|
+
}
|
|
35
26
|
|
|
27
|
+
&:not(.mod-noClueIcon) {
|
|
28
|
+
&:has(.multipleSelect-displayer-search:focus-visible),
|
|
36
29
|
&:has([aria-expanded='true']) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
&:not(.mod-noClueIcon) {
|
|
41
|
-
&:has(.multipleSelect-displayer-search:focus-visible),
|
|
42
|
-
&:has([aria-expanded='true']) {
|
|
43
|
-
&:not(:has(.multipleSelect-displayer-search:read-only)) {
|
|
44
|
-
@include searchable;
|
|
45
|
-
}
|
|
30
|
+
&:not(:has(.multipleSelect-displayer-search:read-only)) {
|
|
31
|
+
@include searchable;
|
|
46
32
|
}
|
|
47
33
|
}
|
|
48
34
|
}
|
|
35
|
+
|
|
36
|
+
&.is-selected {
|
|
37
|
+
@include selected;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.mod-filterPill {
|
|
41
|
+
@include filterPill;
|
|
42
|
+
}
|
|
49
43
|
}
|
|
50
44
|
|
|
51
45
|
.multipleSelect-displayer-filter {
|
|
52
|
-
|
|
53
|
-
min-inline-size: 0;
|
|
54
|
-
}
|
|
46
|
+
min-inline-size: 0;
|
|
55
47
|
}
|
|
56
48
|
|
|
57
49
|
.multipleSelect-displayer {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
@include displayerFilter;
|
|
50
|
+
&.mod-filter {
|
|
51
|
+
@include displayerFilter;
|
|
61
52
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
53
|
+
&.is-filled {
|
|
54
|
+
@include displayerFilterFilled;
|
|
55
|
+
}
|
|
65
56
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
57
|
+
&:has([aria-expanded='true']):not(:has(:placeholder-shown)) {
|
|
58
|
+
@include displayerFilterExpanded;
|
|
69
59
|
}
|
|
70
60
|
}
|
|
71
61
|
}
|
|
@@ -3,105 +3,87 @@
|
|
|
3
3
|
@use 'exports' as *;
|
|
4
4
|
|
|
5
5
|
.navSide {
|
|
6
|
-
@
|
|
7
|
-
|
|
8
|
-
@include component;
|
|
6
|
+
@include vars;
|
|
7
|
+
@include component;
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
.appLayout-navSide & {
|
|
10
|
+
@include media.min('S') {
|
|
11
|
+
@include inAppLayoutWide;
|
|
12
|
+
}
|
|
14
13
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
14
|
+
@include media.max('S') {
|
|
15
|
+
@include inAppLayoutNarrow;
|
|
18
16
|
}
|
|
19
17
|
}
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
19
|
+
&.mod-withBanner {
|
|
20
|
+
@include banner;
|
|
21
|
+
}
|
|
25
22
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
&.mod-compact {
|
|
24
|
+
@include media.min('S') {
|
|
25
|
+
@include compact;
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
.navSide-item-link {
|
|
28
|
+
&:hover {
|
|
29
|
+
@include compactHover;
|
|
30
|
+
}
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
32
|
+
&:is(.is-active, .active) {
|
|
33
|
+
@include compactActive;
|
|
38
34
|
}
|
|
39
35
|
}
|
|
40
36
|
}
|
|
41
37
|
}
|
|
42
38
|
|
|
43
|
-
@
|
|
44
|
-
@include
|
|
45
|
-
@include mobile;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
39
|
+
@include media.max('S') {
|
|
40
|
+
@include mobile;
|
|
48
41
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
&:not(.mod-mobileToggle) {
|
|
54
|
-
@include mobileHidden;
|
|
55
|
-
}
|
|
42
|
+
&:not(.is-open, .open) {
|
|
43
|
+
.navSide-item {
|
|
44
|
+
&:not(.mod-mobileToggle) {
|
|
45
|
+
@include mobileHidden;
|
|
56
46
|
}
|
|
57
47
|
}
|
|
48
|
+
}
|
|
58
49
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@include mobileOpenBanner;
|
|
50
|
+
&.mod-withBanner {
|
|
51
|
+
.navSide-item {
|
|
52
|
+
&.mod-mobileToggle {
|
|
53
|
+
@include banner;
|
|
64
54
|
}
|
|
65
55
|
}
|
|
66
56
|
}
|
|
67
|
-
}
|
|
68
57
|
|
|
69
|
-
|
|
70
|
-
|
|
58
|
+
&:is(.is-open, .open) {
|
|
59
|
+
@include mobileOpen;
|
|
60
|
+
|
|
71
61
|
&.mod-withBanner {
|
|
72
|
-
|
|
73
|
-
&.mod-mobileToggle {
|
|
74
|
-
@include banner;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
62
|
+
@include mobileOpenBanner;
|
|
77
63
|
}
|
|
78
64
|
}
|
|
79
65
|
}
|
|
80
66
|
}
|
|
81
67
|
|
|
82
68
|
.navSide-item {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
@include mobileToggle;
|
|
86
|
-
}
|
|
69
|
+
&:not(.is-open) {
|
|
70
|
+
@include notOpen;
|
|
87
71
|
}
|
|
88
72
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
73
|
+
&.mod-mobileToggle {
|
|
74
|
+
@include mobileToggle;
|
|
75
|
+
}
|
|
93
76
|
|
|
94
|
-
|
|
95
|
-
|
|
77
|
+
&:is(.is-open, .open) {
|
|
78
|
+
@include expanded;
|
|
96
79
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
80
|
+
.navSide-item-subMenu-link {
|
|
81
|
+
&:is(:hover) {
|
|
82
|
+
@include sublinkHover;
|
|
83
|
+
}
|
|
101
84
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
85
|
+
&:is(.is-active, .active) {
|
|
86
|
+
@include sublinkActive;
|
|
105
87
|
}
|
|
106
88
|
}
|
|
107
89
|
}
|
|
@@ -109,23 +91,19 @@
|
|
|
109
91
|
|
|
110
92
|
.navSide-item-subMenu-link,
|
|
111
93
|
.navSide-item-link {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
94
|
+
&:is(.is-active, .active) {
|
|
95
|
+
@include active;
|
|
96
|
+
}
|
|
116
97
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
}
|
|
98
|
+
&:is([aria-expanded='true']) {
|
|
99
|
+
@include expanded;
|
|
120
100
|
}
|
|
121
101
|
}
|
|
122
102
|
|
|
123
103
|
html {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
@include
|
|
127
|
-
@include overlay;
|
|
128
|
-
}
|
|
104
|
+
&:is(.hasMenu, .withMenu) {
|
|
105
|
+
@include media.max('S') {
|
|
106
|
+
@include overlay;
|
|
129
107
|
}
|
|
130
108
|
}
|
|
131
109
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.newBadge {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@include inverted;
|
|
12
|
-
}
|
|
7
|
+
&.mod-inverted {
|
|
8
|
+
@include inverted;
|
|
13
9
|
}
|
|
14
10
|
}
|
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
@use 'exports' as *;
|
|
2
2
|
|
|
3
3
|
.notchBox {
|
|
4
|
-
@
|
|
5
|
-
|
|
6
|
-
@include component;
|
|
7
|
-
}
|
|
4
|
+
@include vars;
|
|
5
|
+
@include component;
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
7
|
+
&.mod-notchTop {
|
|
8
|
+
@include notchTop;
|
|
9
|
+
}
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
&.mod-notchLeft {
|
|
12
|
+
@include notchLeft;
|
|
13
|
+
}
|
|
17
14
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
&.mod-notchRight {
|
|
16
|
+
@include notchRight;
|
|
17
|
+
}
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
19
|
+
&.mod-notchBottom {
|
|
20
|
+
@include notchBottom;
|
|
25
21
|
}
|
|
26
22
|
}
|
|
@@ -1,149 +1,140 @@
|
|
|
1
1
|
// stylelint-disable custom-property-empty-line-before -- Complex code with visual grouping of declarations.
|
|
2
2
|
|
|
3
3
|
%commons {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
--component-notchbox-badge-
|
|
12
|
-
|
|
13
|
-
);
|
|
14
|
-
}
|
|
4
|
+
--smooth: 1px;
|
|
5
|
+
--component-notchbox-notch-radius-outer: var(--component-notchbox-notch-radius);
|
|
6
|
+
--component-notchbox-notch-padding: calc(var(--component-notchbox-notch-height) + var(--component-notchbox-box-padding));
|
|
7
|
+
--component-notchbox-notch-percent-offset: var(--component-notchbox-notch-percent, 0) * var(--component-notchbox-notch-radius-inner);
|
|
8
|
+
--component-notchbox-notch-percent-offset2: (1 - var(--component-notchbox-notch-percent, 0)) *
|
|
9
|
+
var(--component-notchbox-notch-radius-inner);
|
|
10
|
+
--component-notchbox-badge-anchor: calc(
|
|
11
|
+
var(--component-notchbox-badge-offset) * -1 + (var(--component-notchbox-notch-height) - var(--component-notchbox-badge-height)) / 2
|
|
12
|
+
);
|
|
15
13
|
}
|
|
16
14
|
|
|
17
15
|
%mod-vertical {
|
|
18
|
-
@
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
--component-notchbox-notch-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
--component-notchbox-notch-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
--component-notchbox-badge-actualHeight: var(--component-notchbox-badge-height);
|
|
77
|
-
--component-notchbox-badge-left: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-badge-width) / 2);
|
|
78
|
-
}
|
|
16
|
+
@extend %commons;
|
|
17
|
+
--component-notchbox-box-min-height: calc(var(--component-notchbox-notch-height) + var(--component-notchbox-box-padding) * 2);
|
|
18
|
+
--component-notchbox-notch-gradient1-ref1: 100%;
|
|
19
|
+
--component-notchbox-notch-gradient1-ref2: calc(100% - var(--component-notchbox-notch-height));
|
|
20
|
+
|
|
21
|
+
--component-notchbox-notch-gradient2-anchor: left;
|
|
22
|
+
--component-notchbox-notch-gradient2-ref1: calc(
|
|
23
|
+
var(--component-notchbox-notch-position) - (var(--component-notchbox-notch-width)) /
|
|
24
|
+
2 - var(--component-notchbox-notch-radius-outer) - var(--smooth) * 2
|
|
25
|
+
);
|
|
26
|
+
--component-notchbox-notch-gradient2-ref2: 100%;
|
|
27
|
+
|
|
28
|
+
--component-notchbox-notch-gradient3-anchor: right;
|
|
29
|
+
--component-notchbox-notch-gradient3-ref1: calc(
|
|
30
|
+
100% -
|
|
31
|
+
(
|
|
32
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 +
|
|
33
|
+
var(--component-notchbox-notch-radius-outer) + var(--smooth) * 2
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
--component-notchbox-notch-gradient3-ref2: 100%;
|
|
37
|
+
|
|
38
|
+
--component-notchbox-notch-gradient4-x: calc(
|
|
39
|
+
var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) /
|
|
40
|
+
2 - var(--component-notchbox-notch-radius-outer) - var(--smooth)
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
--component-notchbox-notch-gradient5-x: calc(
|
|
44
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 + var(--component-notchbox-notch-radius-outer) +
|
|
45
|
+
var(--smooth)
|
|
46
|
+
);
|
|
47
|
+
--component-notchbox-notch-gradient5-y: var(--component-notchbox-notch-gradient4-y);
|
|
48
|
+
|
|
49
|
+
--component-notchbox-notch-gradient6-anchor: var(--component-notchbox-notch-gradient2-anchor);
|
|
50
|
+
--component-notchbox-notch-gradient6-ref1: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) / 2);
|
|
51
|
+
--component-notchbox-notch-gradient6-ref2: calc(100% - var(--component-notchbox-notch-radius-outer) * 2);
|
|
52
|
+
|
|
53
|
+
--component-notchbox-notch-gradient7-anchor: var(--component-notchbox-notch-gradient3-anchor);
|
|
54
|
+
--component-notchbox-notch-gradient7-ref1: calc(
|
|
55
|
+
100% - (var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2)
|
|
56
|
+
);
|
|
57
|
+
--component-notchbox-notch-gradient7-ref2: calc(100% - var(--component-notchbox-notch-radius-outer) * 2);
|
|
58
|
+
|
|
59
|
+
--component-notchbox-notch-gradient8-x: calc(
|
|
60
|
+
var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) / 2 +
|
|
61
|
+
var(--component-notchbox-notch-percent-offset) - var(--smooth) * 2
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
--component-notchbox-notch-gradient9-x: calc(
|
|
65
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 - var(--component-notchbox-notch-percent-offset2) +
|
|
66
|
+
var(--smooth) * 2
|
|
67
|
+
);
|
|
68
|
+
--component-notchbox-notch-gradient9-y: var(--component-notchbox-notch-gradient8-y);
|
|
69
|
+
|
|
70
|
+
/** badge */
|
|
71
|
+
--component-notchbox-badge-actualWidth: var(--component-notchbox-badge-width);
|
|
72
|
+
--component-notchbox-badge-actualHeight: var(--component-notchbox-badge-height);
|
|
73
|
+
--component-notchbox-badge-left: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-badge-width) / 2);
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
%mod-horizontal {
|
|
82
|
-
@
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
--component-notchbox-notch-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
--component-notchbox-notch-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
--component-notchbox-notch-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
--component-notchbox-notch-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
--component-notchbox-badge-actualHeight: var(--component-notchbox-badge-width);
|
|
140
|
-
--component-notchbox-badge-top: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-badge-width) / 2);
|
|
141
|
-
}
|
|
77
|
+
@extend %commons;
|
|
78
|
+
--component-notchbox-box-min-height: calc(var(--component-notchbox-notch-width) + var(--component-notchbox-box-padding) * 2);
|
|
79
|
+
--component-notchbox-notch-gradient1-ref1: calc(100% - var(--component-notchbox-notch-height));
|
|
80
|
+
--component-notchbox-notch-gradient1-ref2: 100%;
|
|
81
|
+
|
|
82
|
+
--component-notchbox-notch-gradient2-anchor: top;
|
|
83
|
+
--component-notchbox-notch-gradient2-ref1: 100%;
|
|
84
|
+
--component-notchbox-notch-gradient2-ref2: calc(
|
|
85
|
+
var(--component-notchbox-notch-position) - (var(--component-notchbox-notch-width) / 2 + var(--component-notchbox-notch-radius-outer))
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
--component-notchbox-notch-gradient3-anchor: bottom;
|
|
89
|
+
--component-notchbox-notch-gradient3-ref1: 100%;
|
|
90
|
+
--component-notchbox-notch-gradient3-ref2: calc(
|
|
91
|
+
100% -
|
|
92
|
+
(
|
|
93
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 +
|
|
94
|
+
var(--component-notchbox-notch-radius-outer) + var(--smooth) * 2
|
|
95
|
+
)
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
--component-notchbox-notch-gradient4-y: calc(
|
|
99
|
+
var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) /
|
|
100
|
+
2 - var(--component-notchbox-notch-radius-outer) - var(--smooth)
|
|
101
|
+
);
|
|
102
|
+
|
|
103
|
+
--component-notchbox-notch-gradient5-x: var(--component-notchbox-notch-gradient4-x);
|
|
104
|
+
--component-notchbox-notch-gradient5-y: calc(
|
|
105
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 + var(--component-notchbox-notch-radius-outer) +
|
|
106
|
+
var(--smooth)
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
--component-notchbox-notch-gradient6-anchor: var(--component-notchbox-notch-gradient2-anchor);
|
|
110
|
+
--component-notchbox-notch-gradient6-ref1: calc(100% - var(--component-notchbox-notch-radius-outer) * 2);
|
|
111
|
+
--component-notchbox-notch-gradient6-ref2: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) / 2);
|
|
112
|
+
|
|
113
|
+
--component-notchbox-notch-gradient7-anchor: var(--component-notchbox-notch-gradient3-anchor);
|
|
114
|
+
--component-notchbox-notch-gradient7-ref1: calc(100% - var(--component-notchbox-notch-radius-outer) * 2);
|
|
115
|
+
--component-notchbox-notch-gradient7-ref2: calc(
|
|
116
|
+
100% - (var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2)
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
--component-notchbox-notch-gradient8-y: calc(
|
|
120
|
+
var(--component-notchbox-notch-position) - var(--component-notchbox-notch-width) / 2 +
|
|
121
|
+
var(--component-notchbox-notch-percent-offset) - var(--smooth) * 2
|
|
122
|
+
);
|
|
123
|
+
|
|
124
|
+
--component-notchbox-notch-gradient9-x: var(--component-notchbox-notch-gradient8-x);
|
|
125
|
+
--component-notchbox-notch-gradient9-y: calc(
|
|
126
|
+
var(--component-notchbox-notch-position) + var(--component-notchbox-notch-width) / 2 - var(--component-notchbox-notch-percent-offset2) +
|
|
127
|
+
var(--smooth) * 2
|
|
128
|
+
);
|
|
129
|
+
|
|
130
|
+
/** badge */
|
|
131
|
+
--component-notchbox-badge-actualWidth: var(--component-notchbox-badge-height);
|
|
132
|
+
--component-notchbox-badge-actualHeight: var(--component-notchbox-badge-width);
|
|
133
|
+
--component-notchbox-badge-top: calc(var(--component-notchbox-notch-position) - var(--component-notchbox-badge-width) / 2);
|
|
142
134
|
}
|
|
143
135
|
|
|
144
136
|
@mixin top {
|
|
145
137
|
@extend %mod-vertical;
|
|
146
|
-
|
|
147
138
|
--component-notchbox-notch-gradient1-anchor: bottom;
|
|
148
139
|
--component-notchbox-notch-gradient4-y: calc(var(--component-notchbox-notch-radius-outer) + var(--smooth));
|
|
149
140
|
|
|
@@ -158,7 +149,6 @@
|
|
|
158
149
|
|
|
159
150
|
@mixin bottom {
|
|
160
151
|
@extend %mod-vertical;
|
|
161
|
-
|
|
162
152
|
--component-notchbox-notch-gradient1-anchor: top;
|
|
163
153
|
--component-notchbox-notch-gradient4-y: calc(100% - (var(--component-notchbox-notch-radius-outer) + var(--smooth)));
|
|
164
154
|
|
|
@@ -173,7 +163,6 @@
|
|
|
173
163
|
|
|
174
164
|
@mixin left {
|
|
175
165
|
@extend %mod-horizontal;
|
|
176
|
-
|
|
177
166
|
--component-notchbox-notch-gradient1-anchor: right;
|
|
178
167
|
--component-notchbox-notch-gradient4-x: calc(var(--component-notchbox-notch-radius-outer) + var(--smooth));
|
|
179
168
|
--component-notchbox-notch-gradient8-anchor: 0 100%;
|
|
@@ -187,7 +176,6 @@
|
|
|
187
176
|
|
|
188
177
|
@mixin right {
|
|
189
178
|
@extend %mod-horizontal;
|
|
190
|
-
|
|
191
179
|
--component-notchbox-notch-gradient1-anchor: left;
|
|
192
180
|
--component-notchbox-notch-gradient4-x: calc(100% - (var(--component-notchbox-notch-radius-outer) + var(--smooth)));
|
|
193
181
|
--component-notchbox-notch-gradient8-anchor: 100% 100%;
|
|
@@ -200,7 +188,7 @@
|
|
|
200
188
|
--component-notchbox-box-padding-right: var(--component-notchbox-notch-padding);
|
|
201
189
|
}
|
|
202
190
|
|
|
203
|
-
|
|
191
|
+
/** pre configured with DS parameters **/
|
|
204
192
|
@mixin notchTop {
|
|
205
193
|
@include top;
|
|
206
194
|
}
|