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