@progressiveui/styles 10.30.0
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/CHANGELOG.md +621 -0
- package/README.md +85 -0
- package/index-with-tokens.scss +26 -0
- package/index.scss +12 -0
- package/package.json +42 -0
- package/scss/_breakpoint.scss +2 -0
- package/scss/_config.scss +30 -0
- package/scss/_feature-flags.scss +1 -0
- package/scss/_font-face.scss +13 -0
- package/scss/_global-defaults.scss +14 -0
- package/scss/_grid.scss +32 -0
- package/scss/_motion.scss +67 -0
- package/scss/_reset.scss +172 -0
- package/scss/_spacing.scss +4 -0
- package/scss/_theme.scss +102 -0
- package/scss/_themes.scss +14 -0
- package/scss/_type.scss +143 -0
- package/scss/_zone.scss +26 -0
- package/scss/components/_index.scss +82 -0
- package/scss/components/accordion/_accordion.legacy.scss +348 -0
- package/scss/components/accordion/_accordion.scss +118 -0
- package/scss/components/accordion/_index.scss +4 -0
- package/scss/components/anchor-navigation/_anchor-navigation.scss +37 -0
- package/scss/components/anchor-navigation/_index.scss +4 -0
- package/scss/components/auth-layout/_auth-layout.scss +55 -0
- package/scss/components/auth-layout/_index.scss +11 -0
- package/scss/components/avatar/_avatar.scss +61 -0
- package/scss/components/avatar/_index.scss +4 -0
- package/scss/components/banner-navigation/_banner-navigation.scss +80 -0
- package/scss/components/banner-navigation/_index.scss +4 -0
- package/scss/components/blockquote/_blockquote.scss +156 -0
- package/scss/components/blockquote/_index.scss +4 -0
- package/scss/components/breadcrumb/_breadcrumb.scss +89 -0
- package/scss/components/breadcrumb/_index.scss +4 -0
- package/scss/components/button/_button.scss +520 -0
- package/scss/components/button/_index.scss +5 -0
- package/scss/components/button/_mixins.scss +92 -0
- package/scss/components/button/_vars.scss +69 -0
- package/scss/components/card/_card-external.scss +149 -0
- package/scss/components/card/_card.scss +138 -0
- package/scss/components/card/_index.scss +7 -0
- package/scss/components/checkbox/_checkbox.scss +195 -0
- package/scss/components/checkbox/_index.scss +11 -0
- package/scss/components/code-snippet/_code-snippet.scss +581 -0
- package/scss/components/code-snippet/_index.scss +11 -0
- package/scss/components/code-snippet/_mixins.scss +21 -0
- package/scss/components/col/_col.scss +54 -0
- package/scss/components/col/_index.scss +4 -0
- package/scss/components/combo-box/_combo-box.scss +45 -0
- package/scss/components/combo-box/_index.scss +11 -0
- package/scss/components/content-switcher/_content-switcher.scss +132 -0
- package/scss/components/content-switcher/_index.scss +11 -0
- package/scss/components/context-menu/_context-menu.scss +26 -0
- package/scss/components/context-menu/_index.scss +11 -0
- package/scss/components/credits/_credits.scss +30 -0
- package/scss/components/credits/_index.scss +11 -0
- package/scss/components/data-table/_data-table.scss +1005 -0
- package/scss/components/data-table/_index.scss +12 -0
- package/scss/components/data-table/_mixins.scss +38 -0
- package/scss/components/data-table/_vars.scss +13 -0
- package/scss/components/data-table/action/_data-table-action.scss +587 -0
- package/scss/components/data-table/action/_index.scss +11 -0
- package/scss/components/data-table/expandable/_data-table-expandable.scss +411 -0
- package/scss/components/data-table/expandable/_index.scss +11 -0
- package/scss/components/data-table/skeleton/_data-table-skeleton.scss +72 -0
- package/scss/components/data-table/skeleton/_index.scss +11 -0
- package/scss/components/data-table/sort/_data-table-sort.scss +245 -0
- package/scss/components/data-table/sort/_index.scss +11 -0
- package/scss/components/date-picker/_date-picker.scss +896 -0
- package/scss/components/date-picker/_flatpickr.scss +538 -0
- package/scss/components/date-picker/_index.scss +11 -0
- package/scss/components/date-picker-new/_date-picker-new.scss +100 -0
- package/scss/components/date-picker-new/_index.scss +4 -0
- package/scss/components/date-picker-new/react-datepicker/datepicker.scss +692 -0
- package/scss/components/date-picker-new/react-datepicker/mixins.scss +88 -0
- package/scss/components/date-picker-new/react-datepicker/variables.scss +20 -0
- package/scss/components/dropdown/_dropdown.scss +493 -0
- package/scss/components/dropdown/_index.scss +11 -0
- package/scss/components/empty/_empty.scss +105 -0
- package/scss/components/empty/_index.scss +11 -0
- package/scss/components/file-uploader/_file-uploader.scss +321 -0
- package/scss/components/file-uploader/_index.scss +11 -0
- package/scss/components/footer/_footer.scss +258 -0
- package/scss/components/footer/_footer_external.scss +153 -0
- package/scss/components/footer/_index.scss +14 -0
- package/scss/components/form/_form.scss +146 -0
- package/scss/components/form/_index.scss +4 -0
- package/scss/components/form-controls/_form-controls.scss +53 -0
- package/scss/components/form-controls/_index.scss +11 -0
- package/scss/components/form-error/_form-error.scss +25 -0
- package/scss/components/form-error/_index.scss +11 -0
- package/scss/components/form-group/_form-group.scss +109 -0
- package/scss/components/form-group/_index.scss +11 -0
- package/scss/components/form-hint/_form-hint.scss +28 -0
- package/scss/components/form-hint/_index.scss +11 -0
- package/scss/components/form-wizard/_form-wizard.scss +48 -0
- package/scss/components/form-wizard/_index.scss +11 -0
- package/scss/components/grid/_grid.scss +80 -0
- package/scss/components/grid/_index.scss +4 -0
- package/scss/components/hero/_hero-external.scss +84 -0
- package/scss/components/hero/_hero.scss +321 -0
- package/scss/components/hero/_index.scss +14 -0
- package/scss/components/icon/_icon.scss +19 -0
- package/scss/components/icon/_index.scss +11 -0
- package/scss/components/info-bar/_index.scss +11 -0
- package/scss/components/info-bar/_info-bar.scss +21 -0
- package/scss/components/inline-loading/_index.scss +11 -0
- package/scss/components/inline-loading/_inline-loading.scss +159 -0
- package/scss/components/inline-loading/_keyframes.scss +12 -0
- package/scss/components/input/_index.scss +11 -0
- package/scss/components/input/_input.scss +87 -0
- package/scss/components/input/_vars.scss +31 -0
- package/scss/components/item/_index.scss +11 -0
- package/scss/components/item/_item.scss +227 -0
- package/scss/components/link/_index.scss +11 -0
- package/scss/components/link/_link.scss +109 -0
- package/scss/components/list/_index.scss +4 -0
- package/scss/components/list/_list.scss +144 -0
- package/scss/components/list-box/_index.scss +11 -0
- package/scss/components/list-box/_list-box.scss +813 -0
- package/scss/components/loading/_animation.scss +39 -0
- package/scss/components/loading/_functions.scss +10 -0
- package/scss/components/loading/_index.scss +11 -0
- package/scss/components/loading/_keyframes.scss +48 -0
- package/scss/components/loading/_loading.scss +72 -0
- package/scss/components/loading/_mixins.scss +42 -0
- package/scss/components/loading/_vars.scss +26 -0
- package/scss/components/main-navigation/_index.scss +14 -0
- package/scss/components/main-navigation/_main-navigation.scss +360 -0
- package/scss/components/main-navigation/_main-navigation_external.scss +527 -0
- package/scss/components/menu/_index.scss +11 -0
- package/scss/components/menu/_menu.scss +143 -0
- package/scss/components/modal/_index.scss +11 -0
- package/scss/components/modal/_mixins.scss +10 -0
- package/scss/components/modal/_modal.scss +224 -0
- package/scss/components/module/_index.scss +4 -0
- package/scss/components/module/_module.scss +199 -0
- package/scss/components/multiselect/_index.scss +11 -0
- package/scss/components/multiselect/_multiselect.scss +103 -0
- package/scss/components/notification/_index.scss +21 -0
- package/scss/components/notification/_inline-notification.scss +321 -0
- package/scss/components/notification/_mixins.scss +41 -0
- package/scss/components/notification/_notification.scss +480 -0
- package/scss/components/notification/_toast-notification.scss +249 -0
- package/scss/components/notification/_tokens.scss +126 -0
- package/scss/components/number-input/_index.scss +11 -0
- package/scss/components/number-input/_number-input.scss +195 -0
- package/scss/components/overflow-menu/_index.scss +11 -0
- package/scss/components/overflow-menu/_overflow-menu.scss +351 -0
- package/scss/components/pagination/_index.scss +11 -0
- package/scss/components/pagination/_pagination.scss +214 -0
- package/scss/components/pagination-nav/_index.scss +11 -0
- package/scss/components/pagination-nav/_mixins.scss +38 -0
- package/scss/components/pagination-nav/_pagination-nav.scss +171 -0
- package/scss/components/popover/_index.scss +11 -0
- package/scss/components/popover/_popover.scss +323 -0
- package/scss/components/progress-bar/_index.scss +11 -0
- package/scss/components/progress-bar/_progress-bar.scss +82 -0
- package/scss/components/progress-indicator/_index.scss +11 -0
- package/scss/components/progress-indicator/_progress-indicator.scss +328 -0
- package/scss/components/radio-button/_index.scss +4 -0
- package/scss/components/radio-button/_radio-button.scss +239 -0
- package/scss/components/react-dropzone/_index.scss +11 -0
- package/scss/components/react-dropzone/_react-dropzone.scss +58 -0
- package/scss/components/react-select/_index.scss +11 -0
- package/scss/components/react-select/_react-select.scss +90 -0
- package/scss/components/read-more/_index.scss +11 -0
- package/scss/components/read-more/_read-more.scss +102 -0
- package/scss/components/search/_index.scss +4 -0
- package/scss/components/search/_search.scss +436 -0
- package/scss/components/secondary-navigation/_index.scss +4 -0
- package/scss/components/secondary-navigation/_secondary-navigation.scss +61 -0
- package/scss/components/select/_index.scss +11 -0
- package/scss/components/select/_select.scss +224 -0
- package/scss/components/sidebar/_index.scss +11 -0
- package/scss/components/sidebar/_sidebar.scss +118 -0
- package/scss/components/skeleton-text/_index.scss +4 -0
- package/scss/components/skeleton-text/_skeleton-text.scss +22 -0
- package/scss/components/slider/_index.scss +4 -0
- package/scss/components/slider/_slider.scss +274 -0
- package/scss/components/step-navigation/_index.scss +4 -0
- package/scss/components/step-navigation/_step-navigation.scss +136 -0
- package/scss/components/step-navigation-item/_index.scss +4 -0
- package/scss/components/step-navigation-item/_step-navigation-item.scss +377 -0
- package/scss/components/story/_index.scss +11 -0
- package/scss/components/story/_story.scss +519 -0
- package/scss/components/structured-list/_index.scss +11 -0
- package/scss/components/structured-list/_mixins.scss +59 -0
- package/scss/components/structured-list/_structured-list.scss +235 -0
- package/scss/components/sub-navigation/_index.scss +4 -0
- package/scss/components/sub-navigation/_sub-navigation.scss +113 -0
- package/scss/components/table/_index.scss +11 -0
- package/scss/components/table/table.scss +88 -0
- package/scss/components/tabs/_index.scss +4 -0
- package/scss/components/tabs/_tabs.scss +185 -0
- package/scss/components/tabs/_vars.scss +23 -0
- package/scss/components/tag/_index.scss +12 -0
- package/scss/components/tag/_mixins.scss +19 -0
- package/scss/components/tag/_tag.scss +137 -0
- package/scss/components/tag/_tokens.scss +702 -0
- package/scss/components/text-area/_index.scss +11 -0
- package/scss/components/text-area/_text-area.scss +120 -0
- package/scss/components/text-input/_index.scss +11 -0
- package/scss/components/text-input/_text-input.scss +19 -0
- package/scss/components/tile/_index.scss +11 -0
- package/scss/components/tile/_tile.scss +269 -0
- package/scss/components/time-picker/_index.scss +11 -0
- package/scss/components/time-picker/_time-picker.scss +94 -0
- package/scss/components/toggle/_index.scss +11 -0
- package/scss/components/toggle/_toggle.scss +192 -0
- package/scss/components/tooltip/_index.scss +11 -0
- package/scss/components/tooltip/_mixins.scss +107 -0
- package/scss/components/tooltip/_tooltip.scss +128 -0
- package/scss/components/tooltip/_vars.scss +6 -0
- package/scss/components/tooltip/animations/fade.scss +10 -0
- package/scss/components/tooltip/themes/light-border.scss +158 -0
- package/scss/components/tooltip/themes/light.scss +28 -0
- package/scss/components/treeview/_index.scss +11 -0
- package/scss/components/treeview/_treeview.scss +177 -0
- package/scss/components/ui-shell/_functions.scss +19 -0
- package/scss/components/ui-shell/_index.scss +11 -0
- package/scss/components/ui-shell/_mixins.scss +56 -0
- package/scss/components/ui-shell/_ui-shell.scss +23 -0
- package/scss/components/ui-shell/content/_content.scss +34 -0
- package/scss/components/ui-shell/content/_index.scss +11 -0
- package/scss/components/ui-shell/header/_header.scss +382 -0
- package/scss/components/ui-shell/header/_index.scss +11 -0
- package/scss/components/ui-shell/header-panel/_header-panel.scss +41 -0
- package/scss/components/ui-shell/header-panel/_index.scss +11 -0
- package/scss/components/ui-shell/side-nav/_index.scss +11 -0
- package/scss/components/ui-shell/side-nav/_side-nav.scss +526 -0
- package/scss/components/ui-shell/switcher/_index.scss +11 -0
- package/scss/components/ui-shell/switcher/_switcher.scss +78 -0
- package/scss/components/unit/_index.scss +11 -0
- package/scss/components/unit/_unit.scss +277 -0
- package/scss/components/user/_index.scss +11 -0
- package/scss/components/user/_user.scss +104 -0
- package/scss/components/value/_index.scss +11 -0
- package/scss/components/value/_value.scss +41 -0
- package/scss/components/wrapper/_index.scss +11 -0
- package/scss/components/wrapper/_wrapper.scss +71 -0
- package/scss/utilities/_box-shadow.scss +14 -0
- package/scss/utilities/_button-reset.scss +31 -0
- package/scss/utilities/_component-reset.scss +25 -0
- package/scss/utilities/_component-tokens.scss +27 -0
- package/scss/utilities/_convert.scss +41 -0
- package/scss/utilities/_custom-property.scss +56 -0
- package/scss/utilities/_focus-outline.scss +68 -0
- package/scss/utilities/_high-contrast-mode.scss +37 -0
- package/scss/utilities/_index.scss +24 -0
- package/scss/utilities/_input-base.scss +63 -0
- package/scss/utilities/_keyframes.scss +76 -0
- package/scss/utilities/_layer-set.scss +31 -0
- package/scss/utilities/_layer.scss +52 -0
- package/scss/utilities/_placeholder-colors.scss +10 -0
- package/scss/utilities/_read-only.scss +19 -0
- package/scss/utilities/_rotate.scss +19 -0
- package/scss/utilities/_rtl.scss +21 -0
- package/scss/utilities/_skeleton.scss +44 -0
- package/scss/utilities/_text-gradient.scss +20 -0
- package/scss/utilities/_text-overflow.scss +23 -0
- package/scss/utilities/_text-truncate.scss +29 -0
- package/scss/utilities/_visually-hidden.scss +38 -0
- package/scss/utilities/_z-index.scss +38 -0
- package/styles.css +1 -0
package/scss/_type.scss
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
@use "@progressiveui/themes-core/dist/scss/tokensMapDeep" as *;
|
|
2
|
+
@use "@progressiveui/themes-core/dist/scss/tokens" as tokens;
|
|
3
|
+
@use "./breakpoint" as *;
|
|
4
|
+
|
|
5
|
+
@mixin reset() {
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@function map-deep-get($map, $keys...) {
|
|
9
|
+
@each $key in $keys {
|
|
10
|
+
$map: map-get($map, $key);
|
|
11
|
+
}
|
|
12
|
+
@return $map;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
$code-font-family: var(--code-font-family);
|
|
16
|
+
//$font-family-primary: var(--font-family-primary);
|
|
17
|
+
|
|
18
|
+
@mixin font-family($family) {
|
|
19
|
+
@if $family == "code" {
|
|
20
|
+
/* font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
|
|
21
|
+
'Courier New', monospace;*/
|
|
22
|
+
font-family: tokens.$font-family-monospace;
|
|
23
|
+
} @else {
|
|
24
|
+
font-family: tokens.$font-family-primary;
|
|
25
|
+
//font-family: 'Open Sans', Arial, sans-serif;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@mixin type-style($style) {
|
|
30
|
+
$maped: map-deep-get($tokens, "typography", $style);
|
|
31
|
+
|
|
32
|
+
//@warn 'This is a step of the WFP Type Scale!', $maped;
|
|
33
|
+
@if map-deep-get($tokens, "typography", $style) {
|
|
34
|
+
$typographyMap: map-get($tokens, "typography", $style);
|
|
35
|
+
font-size: map-get($typographyMap, "fontSize");
|
|
36
|
+
font-weight: map-get($typographyMap, "fontWeight");
|
|
37
|
+
letter-spacing: map-get($typographyMap, "letterSpacing");
|
|
38
|
+
text-transform: map-get($typographyMap, "textTransform");
|
|
39
|
+
|
|
40
|
+
@if map-deep-get($tokens, "typography", $style, "md") {
|
|
41
|
+
@include breakpoint-up("md") {
|
|
42
|
+
$typographyMapMd: map-get($tokens, "typography", $style, "md");
|
|
43
|
+
font-weight: map-get($typographyMapMd, "fontWeight");
|
|
44
|
+
letter-spacing: map-get($typographyMapMd, "letterSpacing");
|
|
45
|
+
text-transform: map-get($typographyMapMd, "textTransform");
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
/*@if map-has-key($typographyMap, 'body-short-02',$style) {
|
|
50
|
+
@warn 'This is a step of the WFP Type Scale!';
|
|
51
|
+
$elements: map-get($tokens, $style);
|
|
52
|
+
font-family: map-get($elements, 'fontFamily');
|
|
53
|
+
font-size: map-get($elements, 'fontSize');
|
|
54
|
+
} @else {
|
|
55
|
+
//@warn 'This is a step of the WFP Type Scale!';
|
|
56
|
+
//@warn 'This is not a step of the WFP Type Scale!' + $style;
|
|
57
|
+
}
|
|
58
|
+
} @else {
|
|
59
|
+
@warn 'No typography step found!';
|
|
60
|
+
}*/
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// TODO: Temporary type scale
|
|
64
|
+
$typescale-map: (
|
|
65
|
+
"giga": 4.625rem,
|
|
66
|
+
"mega": 3.625rem,
|
|
67
|
+
"alpha": 2.25rem,
|
|
68
|
+
"beta": 1.75rem,
|
|
69
|
+
"omicron": 1.5625rem,
|
|
70
|
+
"sigma": 1.375rem,
|
|
71
|
+
"gamma": 1.25rem,
|
|
72
|
+
"delta": 1.125rem,
|
|
73
|
+
"epsilon": 1rem,
|
|
74
|
+
"zeta": 0.875rem,
|
|
75
|
+
"omega": 0.75rem,
|
|
76
|
+
"theta": 0.6875rem,
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
@mixin typescale($size) {
|
|
80
|
+
@if map-has-key($typescale-map, $size) {
|
|
81
|
+
font-size: map-get($typescale-map, $size);
|
|
82
|
+
} @else {
|
|
83
|
+
@warn 'This is not a step of the WFP Type Scale!';
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
/*
|
|
87
|
+
<Text fontSize="6xl">In love with React & Next</Text>
|
|
88
|
+
<Text fontSize="5xl">In love with React & Next</Text>
|
|
89
|
+
<Text fontSize="4xl">In love with React & Next</Text>
|
|
90
|
+
<Text fontSize="3xl">In love with React & Next</Text>
|
|
91
|
+
<Text fontSize="2xl">In love with React & Next</Text>
|
|
92
|
+
<Text fontSize="xl">In love with React & Next</Text>
|
|
93
|
+
<Text fontSize="lg">In love with React & Next</Text>
|
|
94
|
+
<Text fontSize="md">In love with React & Next</Text>
|
|
95
|
+
<Text fontSize="sm">In love with React & Next</Text>
|
|
96
|
+
<Text fontSize="xs">In love with React & Next</Text>
|
|
97
|
+
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
/*
|
|
101
|
+
@use 'config';
|
|
102
|
+
@forward '@un/type' show
|
|
103
|
+
// Mixins
|
|
104
|
+
reset,
|
|
105
|
+
type-style,
|
|
106
|
+
font-family,
|
|
107
|
+
|
|
108
|
+
// Variables
|
|
109
|
+
$caption-01,
|
|
110
|
+
$caption-02,
|
|
111
|
+
$label,
|
|
112
|
+
$label-02,
|
|
113
|
+
$helper-text-01,
|
|
114
|
+
$body-short,
|
|
115
|
+
$body-short-02,
|
|
116
|
+
$body-long-01,
|
|
117
|
+
$body-long-02,
|
|
118
|
+
$code-01,
|
|
119
|
+
$code-02,
|
|
120
|
+
$heading-01,
|
|
121
|
+
$heading-02,
|
|
122
|
+
$productive-heading-01,
|
|
123
|
+
$productive-heading-02,
|
|
124
|
+
$productive-heading-03,
|
|
125
|
+
$productive-heading-04,
|
|
126
|
+
$productive-heading-05,
|
|
127
|
+
$productive-heading-06,
|
|
128
|
+
$productive-heading-07,
|
|
129
|
+
$expressive-paragraph-01,
|
|
130
|
+
$expressive-heading-01,
|
|
131
|
+
$expressive-heading-02,
|
|
132
|
+
$expressive-heading-03,
|
|
133
|
+
$expressive-heading-04,
|
|
134
|
+
$expressive-heading-05,
|
|
135
|
+
$expressive-heading-06,
|
|
136
|
+
$quotation-01,
|
|
137
|
+
$quotation-02,
|
|
138
|
+
$display-01,
|
|
139
|
+
$display-02,
|
|
140
|
+
$display-03,
|
|
141
|
+
$display-04,
|
|
142
|
+
$tokens;
|
|
143
|
+
*/
|
package/scss/_zone.scss
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'sass:meta';
|
|
3
|
+
@use './config';
|
|
4
|
+
@use './themes';
|
|
5
|
+
@use './theme';
|
|
6
|
+
@use './utilities/custom-property';
|
|
7
|
+
|
|
8
|
+
/// Specify a Map of zones where the key will be used as part of the selector
|
|
9
|
+
/// and the value will be a map used to emit CSS Custom Properties for all color
|
|
10
|
+
/// values
|
|
11
|
+
$zones: (
|
|
12
|
+
wfp: themes.$wfp,
|
|
13
|
+
/*g10: themes.$g10,
|
|
14
|
+
g90: themes.$g90,
|
|
15
|
+
g100: themes.$g100,*/
|
|
16
|
+
) !default;
|
|
17
|
+
|
|
18
|
+
@each $name, $theme in $zones {
|
|
19
|
+
.#{config.$prefix}--#{'' + $name} {
|
|
20
|
+
@each $key, $value in $theme {
|
|
21
|
+
@if type-of($value) == color {
|
|
22
|
+
@include custom-property.declaration($key, $value);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
@use "accordion";
|
|
2
|
+
@use "anchor-navigation";
|
|
3
|
+
@use "auth-layout";
|
|
4
|
+
@use "avatar";
|
|
5
|
+
@use "button";
|
|
6
|
+
@use "banner-navigation";
|
|
7
|
+
@use "blockquote";
|
|
8
|
+
@use "breadcrumb";
|
|
9
|
+
@use "checkbox";
|
|
10
|
+
@use "card";
|
|
11
|
+
@use "content-switcher";
|
|
12
|
+
@use "context-menu";
|
|
13
|
+
@use "credits";
|
|
14
|
+
@use "date-picker";
|
|
15
|
+
@use "date-picker-new";
|
|
16
|
+
@use "empty";
|
|
17
|
+
@use "file-uploader";
|
|
18
|
+
@use "form";
|
|
19
|
+
@use "form-controls";
|
|
20
|
+
@use "form-error";
|
|
21
|
+
@use "form-group";
|
|
22
|
+
@use "form-hint";
|
|
23
|
+
@use "form-wizard";
|
|
24
|
+
@use "hero";
|
|
25
|
+
@use "inline-loading";
|
|
26
|
+
@use "link";
|
|
27
|
+
@use "list";
|
|
28
|
+
@use "loading"; // TODO look into it more
|
|
29
|
+
@use "input";
|
|
30
|
+
@use "notification";
|
|
31
|
+
@use "text-input";
|
|
32
|
+
@use "text-area";
|
|
33
|
+
@use "modal";
|
|
34
|
+
@use "module";
|
|
35
|
+
|
|
36
|
+
/*
|
|
37
|
+
@use 'list-box';
|
|
38
|
+
@use 'menu';
|
|
39
|
+
@use 'multiselect';
|
|
40
|
+
@use 'overflow-menu';
|
|
41
|
+
@use 'pagination-nav';
|
|
42
|
+
@use 'popover';
|
|
43
|
+
@use 'progress-bar';
|
|
44
|
+
@use 'progress-indicator';
|
|
45
|
+
@use 'structured-list';
|
|
46
|
+
@use 'tile';
|
|
47
|
+
@use 'time-picker';
|
|
48
|
+
@use 'treeview';
|
|
49
|
+
@use 'ui-shell';
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
@use "pagination";
|
|
53
|
+
@use "select";
|
|
54
|
+
@use "secondary-navigation";
|
|
55
|
+
@use "story";
|
|
56
|
+
@use "slider";
|
|
57
|
+
@use "sidebar";
|
|
58
|
+
@use "step-navigation";
|
|
59
|
+
@use "step-navigation-item";
|
|
60
|
+
@use "sub-navigation";
|
|
61
|
+
@use "table";
|
|
62
|
+
@use "tabs";
|
|
63
|
+
@use "tag";
|
|
64
|
+
@use "tooltip";
|
|
65
|
+
@use "toggle";
|
|
66
|
+
@use "number-input";
|
|
67
|
+
@use "radio-button";
|
|
68
|
+
@use "main-navigation";
|
|
69
|
+
@use "wrapper";
|
|
70
|
+
@use "footer";
|
|
71
|
+
@use "read-more";
|
|
72
|
+
@use "react-select";
|
|
73
|
+
@use "react-dropzone";
|
|
74
|
+
@use "search";
|
|
75
|
+
@use "info-bar";
|
|
76
|
+
@use "item";
|
|
77
|
+
@use "unit";
|
|
78
|
+
@use "user";
|
|
79
|
+
@use "value";
|
|
80
|
+
@use "col";
|
|
81
|
+
@use "grid";
|
|
82
|
+
@use "skeleton-text";
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2018, 2018
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use "../../breakpoint" as *;
|
|
9
|
+
@use "../../config" as *;
|
|
10
|
+
@use "../../motion" as *;
|
|
11
|
+
@use "../../theme" as *;
|
|
12
|
+
@use "../../spacing" as *;
|
|
13
|
+
@use "../../type" as *;
|
|
14
|
+
@use "../../utilities/button-reset";
|
|
15
|
+
@use "../../utilities/component-reset";
|
|
16
|
+
@use "../../utilities/convert";
|
|
17
|
+
@use "../../utilities/focus-outline" as *;
|
|
18
|
+
@use "../../utilities/high-contrast-mode" as *;
|
|
19
|
+
|
|
20
|
+
/// @type Value
|
|
21
|
+
/// @access public
|
|
22
|
+
/// @group accordion
|
|
23
|
+
$flex-direction: row-reverse !default;
|
|
24
|
+
|
|
25
|
+
/// @type Value
|
|
26
|
+
/// @access public
|
|
27
|
+
/// @group accordion
|
|
28
|
+
$justify-content: flex-start !default;
|
|
29
|
+
|
|
30
|
+
/// @type Value
|
|
31
|
+
/// @access public
|
|
32
|
+
/// @group accordion
|
|
33
|
+
$arrow-margin: 2px $spacing-05 0 0 !default;
|
|
34
|
+
|
|
35
|
+
/// @type Value
|
|
36
|
+
/// @access public
|
|
37
|
+
/// @group accordion
|
|
38
|
+
$title-margin: 0 0 0 $spacing-05 !default;
|
|
39
|
+
|
|
40
|
+
/// @type Value
|
|
41
|
+
/// @access public
|
|
42
|
+
/// @group accordion
|
|
43
|
+
$content-padding: 0 0 0 $spacing-05 !default;
|
|
44
|
+
|
|
45
|
+
@mixin accordion {
|
|
46
|
+
.chevron-down {
|
|
47
|
+
margin-left: auto;
|
|
48
|
+
transition: transform 0.2s ease-in-out;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.szh-accordion {
|
|
52
|
+
border-bottom: 1px solid #ccc;
|
|
53
|
+
&__item {
|
|
54
|
+
border-top: 1px solid #ccc;
|
|
55
|
+
|
|
56
|
+
&-btn {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
width: 100%;
|
|
61
|
+
margin: 0;
|
|
62
|
+
padding: 1rem;
|
|
63
|
+
font-size: 1rem;
|
|
64
|
+
font-weight: 400;
|
|
65
|
+
text-align: left;
|
|
66
|
+
color: #007bff;
|
|
67
|
+
background-color: transparent;
|
|
68
|
+
border: none;
|
|
69
|
+
&:hover {
|
|
70
|
+
background-color: #f3f3f3;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&-content {
|
|
75
|
+
transition: height 0.2s ease-in-out;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-panel {
|
|
79
|
+
padding: 1rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&--expanded {
|
|
83
|
+
.szh-accordion__item-btn {
|
|
84
|
+
background-color: #e7e7e7;
|
|
85
|
+
}
|
|
86
|
+
.chevron-down {
|
|
87
|
+
transform: rotate(180deg);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.#{$prefix}--accordion {
|
|
94
|
+
@include component-reset.reset;
|
|
95
|
+
|
|
96
|
+
width: 100%;
|
|
97
|
+
list-style: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.#{$prefix}--accordion__item {
|
|
101
|
+
overflow: visible;
|
|
102
|
+
border-top: 1px solid $border-subtle;
|
|
103
|
+
transition: all $duration-fast-02 motion(standard, productive);
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
border-bottom: 1px solid $border-subtle;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.#{$prefix}--accordion__heading {
|
|
111
|
+
@include button-reset.reset;
|
|
112
|
+
|
|
113
|
+
position: relative;
|
|
114
|
+
display: flex;
|
|
115
|
+
width: 100%;
|
|
116
|
+
min-height: convert.rem(40px);
|
|
117
|
+
flex-direction: $flex-direction;
|
|
118
|
+
align-items: flex-start;
|
|
119
|
+
justify-content: $justify-content;
|
|
120
|
+
padding: convert.rem(10px) 0;
|
|
121
|
+
margin: 0;
|
|
122
|
+
color: $text-body-default;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
transition: background-color motion(standard, productive) $duration-fast-02;
|
|
125
|
+
|
|
126
|
+
&:hover::before,
|
|
127
|
+
&:focus::before {
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: -1px;
|
|
130
|
+
left: 0;
|
|
131
|
+
width: 100%;
|
|
132
|
+
height: calc(100% + 2px);
|
|
133
|
+
content: "";
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:hover::before {
|
|
137
|
+
background-color: $background-hover;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:focus {
|
|
141
|
+
outline: none;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&:focus::before {
|
|
145
|
+
@include focus-outline("outline-compat");
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// Size styles
|
|
150
|
+
.#{$prefix}--accordion--lg .#{$prefix}--accordion__heading {
|
|
151
|
+
min-height: convert.rem(48px);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.#{$prefix}--accordion--sm .#{$prefix}--accordion__heading {
|
|
155
|
+
min-height: convert.rem(32px);
|
|
156
|
+
padding: convert.rem(5px) 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// Disabled styles
|
|
160
|
+
.#{$prefix}--accordion__heading[disabled] {
|
|
161
|
+
color: $text-disabled;
|
|
162
|
+
cursor: not-allowed;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.#{$prefix}--accordion__heading[disabled] .#{$prefix}--accordion__arrow {
|
|
166
|
+
fill: $icon-disabled;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.#{$prefix}--accordion__heading[disabled]:hover::before {
|
|
170
|
+
background-color: transparent;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.#{$prefix}--accordion__item--disabled,
|
|
174
|
+
.#{$prefix}--accordion__item--disabled + .#{$prefix}--accordion__item {
|
|
175
|
+
border-top: 1px solid $border-disabled;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
li.#{$prefix}--accordion__item--disabled:last-of-type {
|
|
179
|
+
border-bottom: 1px solid $border-disabled;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.#{$prefix}--accordion__arrow {
|
|
183
|
+
@include focus-outline("reset");
|
|
184
|
+
|
|
185
|
+
width: 1rem;
|
|
186
|
+
height: 1rem;
|
|
187
|
+
// Without flex basis and flex shrink being set here, our icon width can go
|
|
188
|
+
// <16px and cause the icon to render in the incorrect artboard size
|
|
189
|
+
flex: 0 0 1rem;
|
|
190
|
+
margin: $arrow-margin;
|
|
191
|
+
fill: $icon-primary;
|
|
192
|
+
transform: rotate(-270deg) #{"/*rtl:ignore*/"};
|
|
193
|
+
transition: all $duration-fast-02 motion(standard, productive);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.#{$prefix}--accordion__title {
|
|
197
|
+
@include type-style("body-long-01");
|
|
198
|
+
|
|
199
|
+
z-index: 1;
|
|
200
|
+
width: 100%;
|
|
201
|
+
margin: $title-margin;
|
|
202
|
+
text-align: left;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.#{$prefix}--accordion__content {
|
|
206
|
+
display: none;
|
|
207
|
+
padding-right: $spacing-05;
|
|
208
|
+
padding-left: $spacing-05;
|
|
209
|
+
// Transition property for when the accordion closes
|
|
210
|
+
transition: padding motion(standard, productive) $duration-fast-02;
|
|
211
|
+
|
|
212
|
+
// Custom breakpoints based on issue #4993
|
|
213
|
+
@include breakpoint-up(480px) {
|
|
214
|
+
padding-right: $spacing-09;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@include breakpoint-up(640px) {
|
|
218
|
+
padding-right: 25%;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
> p {
|
|
222
|
+
@include type-style("body-long-01");
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.#{$prefix}--accordion--start .#{$prefix}--accordion__heading {
|
|
227
|
+
// Reverse `$flex-direction` token:
|
|
228
|
+
flex-direction: row;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.#{$prefix}--accordion--start .#{$prefix}--accordion__arrow {
|
|
232
|
+
// Alters `$arrow-margin` token:
|
|
233
|
+
margin: 2px 0 0 $spacing-03;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.#{$prefix}--accordion--start .#{$prefix}--accordion__content {
|
|
237
|
+
margin-left: $spacing-06;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.#{$prefix}--accordion__item--collapsing .#{$prefix}--accordion__content,
|
|
241
|
+
.#{$prefix}--accordion__item--expanding .#{$prefix}--accordion__content {
|
|
242
|
+
display: block;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
@keyframes collapse-accordion {
|
|
246
|
+
0% {
|
|
247
|
+
@include -content-visible;
|
|
248
|
+
}
|
|
249
|
+
100% {
|
|
250
|
+
@include -content-hidden;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
@keyframes expand-accordion {
|
|
255
|
+
0% {
|
|
256
|
+
@include -content-hidden;
|
|
257
|
+
}
|
|
258
|
+
100% {
|
|
259
|
+
@include -content-visible;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.#{$prefix}--accordion__item--collapsing .#{$prefix}--accordion__content {
|
|
264
|
+
animation: $duration-fast-02 motion(standard, productive) collapse-accordion;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.#{$prefix}--accordion__item--expanding .#{$prefix}--accordion__content {
|
|
268
|
+
animation: $duration-fast-02 motion(standard, productive) expand-accordion;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.#{$prefix}--accordion__item--active {
|
|
272
|
+
overflow: visible;
|
|
273
|
+
|
|
274
|
+
.#{$prefix}--accordion__content {
|
|
275
|
+
display: block;
|
|
276
|
+
padding-top: $spacing-03;
|
|
277
|
+
padding-bottom: $spacing-06;
|
|
278
|
+
// Transition property for when the accordion opens
|
|
279
|
+
transition: padding-top motion(entrance, productive) $duration-fast-02,
|
|
280
|
+
padding-bottom motion(entrance, productive) $duration-fast-02;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.#{$prefix}--accordion__arrow {
|
|
284
|
+
fill: $icon-primary;
|
|
285
|
+
transform: rotate(-90deg) #{"/*rtl:ignore*/"};
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
// Skeleton state
|
|
290
|
+
.#{$prefix}--accordion.#{$prefix}--skeleton .#{$prefix}--accordion__heading,
|
|
291
|
+
.#{$prefix}--accordion.#{$prefix}--skeleton .#{$prefix}--accordion__button {
|
|
292
|
+
cursor: default;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.#{$prefix}--accordion.#{$prefix}--skeleton .#{$prefix}--accordion__arrow {
|
|
296
|
+
cursor: default;
|
|
297
|
+
fill: $icon-primary;
|
|
298
|
+
pointer-events: none;
|
|
299
|
+
|
|
300
|
+
&:hover,
|
|
301
|
+
&:focus,
|
|
302
|
+
&:active {
|
|
303
|
+
border: none;
|
|
304
|
+
cursor: default;
|
|
305
|
+
outline: none;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.#{$prefix}--accordion.#{$prefix}--skeleton
|
|
310
|
+
.#{$prefix}--accordion__heading:hover::before {
|
|
311
|
+
background-color: transparent;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.#{$prefix}--accordion--end.#{$prefix}--skeleton
|
|
315
|
+
.#{$prefix}--accordion__arrow {
|
|
316
|
+
margin-left: $spacing-05;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.#{$prefix}--skeleton
|
|
320
|
+
.#{$prefix}--accordion__heading:focus
|
|
321
|
+
.#{$prefix}--accordion__arrow {
|
|
322
|
+
border: none;
|
|
323
|
+
cursor: default;
|
|
324
|
+
outline: none;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.#{$prefix}--accordion__title.#{$prefix}--skeleton__text {
|
|
328
|
+
margin-bottom: 0;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// Windows HCM fix
|
|
332
|
+
.#{$prefix}--accordion__arrow,
|
|
333
|
+
.#{$prefix}--accordion__item--active .#{$prefix}--accordion__arrow {
|
|
334
|
+
@include high-contrast-mode("icon-fill");
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@mixin -content-visible {
|
|
339
|
+
height: 100%;
|
|
340
|
+
opacity: 1;
|
|
341
|
+
visibility: inherit;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
@mixin -content-hidden {
|
|
345
|
+
height: 0;
|
|
346
|
+
opacity: 0;
|
|
347
|
+
visibility: hidden;
|
|
348
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright IBM Corp. 2018, 2018
|
|
3
|
+
//
|
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
@use "../../breakpoint" as *;
|
|
9
|
+
@use "../../config" as *;
|
|
10
|
+
@use "../../motion" as *;
|
|
11
|
+
@use "../../theme" as *;
|
|
12
|
+
@use "../../spacing" as *;
|
|
13
|
+
@use "../../type" as *;
|
|
14
|
+
@use "../../utilities/button-reset";
|
|
15
|
+
@use "../../utilities/component-reset";
|
|
16
|
+
@use "../../utilities/convert";
|
|
17
|
+
@use "../../utilities/focus-outline" as *;
|
|
18
|
+
@use "../../utilities/high-contrast-mode" as *;
|
|
19
|
+
|
|
20
|
+
/// @type Value
|
|
21
|
+
/// @access public
|
|
22
|
+
/// @group accordion
|
|
23
|
+
$flex-direction: row-reverse !default;
|
|
24
|
+
|
|
25
|
+
/// @type Value
|
|
26
|
+
/// @access public
|
|
27
|
+
/// @group accordion
|
|
28
|
+
$justify-content: flex-start !default;
|
|
29
|
+
|
|
30
|
+
/// @type Value
|
|
31
|
+
/// @access public
|
|
32
|
+
/// @group accordion
|
|
33
|
+
$arrow-margin: 2px $spacing-05 0 0 !default;
|
|
34
|
+
|
|
35
|
+
/// @type Value
|
|
36
|
+
/// @access public
|
|
37
|
+
/// @group accordion
|
|
38
|
+
$title-margin: 0 0 0 $spacing-05 !default;
|
|
39
|
+
|
|
40
|
+
/// @type Value
|
|
41
|
+
/// @access public
|
|
42
|
+
/// @group accordion
|
|
43
|
+
$content-padding: 0 0 0 $spacing-05 !default;
|
|
44
|
+
|
|
45
|
+
@mixin accordion {
|
|
46
|
+
.#{$prefix}--accordion--button {
|
|
47
|
+
margin-left: -0.2em;
|
|
48
|
+
margin-right: 0.5em;
|
|
49
|
+
transform: rotate(-90deg);
|
|
50
|
+
|
|
51
|
+
transition: transform 0.1s ease-in-out;
|
|
52
|
+
&__expanded {
|
|
53
|
+
transform: rotate(0deg);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.szh-accordion {
|
|
58
|
+
@include reset;
|
|
59
|
+
@include font-family("sans");
|
|
60
|
+
width: 100%;
|
|
61
|
+
border-bottom: 1px solid $border-strong;
|
|
62
|
+
&__item {
|
|
63
|
+
border-top: 1px solid $border-strong;
|
|
64
|
+
|
|
65
|
+
&-btn {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
width: 100%;
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 1rem;
|
|
72
|
+
font-size: 1rem;
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
text-align: left;
|
|
75
|
+
color: $action-default-fill-primary-default;
|
|
76
|
+
background-color: transparent;
|
|
77
|
+
border: none;
|
|
78
|
+
&:hover {
|
|
79
|
+
background-color: $layer-primary;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&-content {
|
|
84
|
+
transition: height 0.2s ease-in-out;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-panel {
|
|
88
|
+
padding: 1rem;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--expanded {
|
|
92
|
+
.szh-accordion__item-btn {
|
|
93
|
+
background-color: #e7e7e7;
|
|
94
|
+
}
|
|
95
|
+
.chevron-down {
|
|
96
|
+
transform: rotate(180deg);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.#{$prefix}--accordion {
|
|
103
|
+
@include component-reset.reset;
|
|
104
|
+
|
|
105
|
+
width: 100%;
|
|
106
|
+
list-style: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.#{$prefix}--accordion__item {
|
|
110
|
+
overflow: visible;
|
|
111
|
+
border-top: 1px solid $border-subtle;
|
|
112
|
+
transition: all $duration-fast-02 motion(standard, productive);
|
|
113
|
+
|
|
114
|
+
&:last-child {
|
|
115
|
+
border-bottom: 1px solid $border-subtle;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|