@elliemae/ds-basic 2.1.0-rc.4 → 2.2.0-alpha.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/css/dimsum.css +646 -1096
- package/css/dimsum.min.css +1 -1
- package/css/dimsum.min.css.map +1 -1
- package/package.json +44 -44
- package/styles/base/fonts/font-base.scss +1 -7
- package/styles/components/index.scss +0 -1
- package/styles/components/packages/ds-basic/index.scss +0 -1
- package/styles/components/packages/ds-basic/styles/base/fonts/font-base.scss +1 -7
- package/styles/components/packages/ds-basic/styles/dist-index.scss +0 -1
- package/styles/components/packages/ds-basic/styles/themes/theme-default.scss +28 -30
- package/styles/components/packages/ds-button/DSButton.scss +7 -7
- package/styles/components/packages/ds-date-picker/components/DatePickerPicker/DatePickerPicker.scss +1 -1
- package/styles/dist-index.scss +0 -1
- package/styles/themes/theme-default.scss +28 -30
- package/styles/components/packages/ds-accordion/DSAccordion.scss +0 -185
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-basic",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "EllieMae UI Design System Library",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -296,49 +296,49 @@
|
|
|
296
296
|
"dev": "node ../../scripts/build/build.js -w"
|
|
297
297
|
},
|
|
298
298
|
"dependencies": {
|
|
299
|
-
"@elliemae/ds-accordion": "2.
|
|
300
|
-
"@elliemae/ds-app-picker": "2.
|
|
301
|
-
"@elliemae/ds-backdrop": "2.
|
|
302
|
-
"@elliemae/ds-breadcrumb": "2.
|
|
303
|
-
"@elliemae/ds-button": "2.
|
|
304
|
-
"@elliemae/ds-button-group": "2.
|
|
305
|
-
"@elliemae/ds-card": "2.
|
|
306
|
-
"@elliemae/ds-circular-progress-indicator": "2.
|
|
307
|
-
"@elliemae/ds-form": "2.
|
|
308
|
-
"@elliemae/ds-grid": "2.
|
|
309
|
-
"@elliemae/ds-group-box": "2.
|
|
310
|
-
"@elliemae/ds-header": "2.
|
|
311
|
-
"@elliemae/ds-hidden": "2.
|
|
312
|
-
"@elliemae/ds-icon": "2.
|
|
313
|
-
"@elliemae/ds-indeterminate-progress-indicator": "2.
|
|
314
|
-
"@elliemae/ds-label-value": "2.
|
|
315
|
-
"@elliemae/ds-list-section-header": "2.
|
|
316
|
-
"@elliemae/ds-loading-indicator": "2.
|
|
317
|
-
"@elliemae/ds-menu": "2.
|
|
318
|
-
"@elliemae/ds-overlay": "2.
|
|
319
|
-
"@elliemae/ds-page-header": "2.
|
|
320
|
-
"@elliemae/ds-page-number": "2.
|
|
321
|
-
"@elliemae/ds-pills": "2.
|
|
322
|
-
"@elliemae/ds-popover": "2.
|
|
323
|
-
"@elliemae/ds-popper": "2.
|
|
324
|
-
"@elliemae/ds-portal": "2.
|
|
325
|
-
"@elliemae/ds-progress-indicator": "2.
|
|
326
|
-
"@elliemae/ds-read-more": "2.
|
|
327
|
-
"@elliemae/ds-resizeable-container": "2.
|
|
328
|
-
"@elliemae/ds-separator": "2.
|
|
329
|
-
"@elliemae/ds-side-panel": "2.
|
|
330
|
-
"@elliemae/ds-slider": "2.
|
|
331
|
-
"@elliemae/ds-spinner": "2.
|
|
332
|
-
"@elliemae/ds-tabs": "2.
|
|
333
|
-
"@elliemae/ds-text-wrapper": "2.
|
|
334
|
-
"@elliemae/ds-time-picker": "2.
|
|
335
|
-
"@elliemae/ds-toast": "2.
|
|
336
|
-
"@elliemae/ds-toolbar": "2.
|
|
337
|
-
"@elliemae/ds-tooltip": "2.
|
|
338
|
-
"@elliemae/ds-truncated-expandable-text": "2.
|
|
339
|
-
"@elliemae/ds-truncated-tooltip-text": "2.
|
|
340
|
-
"@elliemae/ds-zipcode-search": "2.
|
|
341
|
-
"@elliemae/ds-zoom": "2.
|
|
299
|
+
"@elliemae/ds-accordion": "2.2.0-alpha.1",
|
|
300
|
+
"@elliemae/ds-app-picker": "2.2.0-alpha.1",
|
|
301
|
+
"@elliemae/ds-backdrop": "2.2.0-alpha.1",
|
|
302
|
+
"@elliemae/ds-breadcrumb": "2.2.0-alpha.1",
|
|
303
|
+
"@elliemae/ds-button": "2.2.0-alpha.1",
|
|
304
|
+
"@elliemae/ds-button-group": "2.2.0-alpha.1",
|
|
305
|
+
"@elliemae/ds-card": "2.2.0-alpha.1",
|
|
306
|
+
"@elliemae/ds-circular-progress-indicator": "2.2.0-alpha.1",
|
|
307
|
+
"@elliemae/ds-form": "2.2.0-alpha.1",
|
|
308
|
+
"@elliemae/ds-grid": "2.2.0-alpha.1",
|
|
309
|
+
"@elliemae/ds-group-box": "2.2.0-alpha.1",
|
|
310
|
+
"@elliemae/ds-header": "2.2.0-alpha.1",
|
|
311
|
+
"@elliemae/ds-hidden": "2.2.0-alpha.1",
|
|
312
|
+
"@elliemae/ds-icon": "2.2.0-alpha.1",
|
|
313
|
+
"@elliemae/ds-indeterminate-progress-indicator": "2.2.0-alpha.1",
|
|
314
|
+
"@elliemae/ds-label-value": "2.2.0-alpha.1",
|
|
315
|
+
"@elliemae/ds-list-section-header": "2.2.0-alpha.1",
|
|
316
|
+
"@elliemae/ds-loading-indicator": "2.2.0-alpha.1",
|
|
317
|
+
"@elliemae/ds-menu": "2.2.0-alpha.1",
|
|
318
|
+
"@elliemae/ds-overlay": "2.2.0-alpha.1",
|
|
319
|
+
"@elliemae/ds-page-header": "2.2.0-alpha.1",
|
|
320
|
+
"@elliemae/ds-page-number": "2.2.0-alpha.1",
|
|
321
|
+
"@elliemae/ds-pills": "2.2.0-alpha.1",
|
|
322
|
+
"@elliemae/ds-popover": "2.2.0-alpha.1",
|
|
323
|
+
"@elliemae/ds-popper": "2.2.0-alpha.1",
|
|
324
|
+
"@elliemae/ds-portal": "2.2.0-alpha.1",
|
|
325
|
+
"@elliemae/ds-progress-indicator": "2.2.0-alpha.1",
|
|
326
|
+
"@elliemae/ds-read-more": "2.2.0-alpha.1",
|
|
327
|
+
"@elliemae/ds-resizeable-container": "2.2.0-alpha.1",
|
|
328
|
+
"@elliemae/ds-separator": "2.2.0-alpha.1",
|
|
329
|
+
"@elliemae/ds-side-panel": "2.2.0-alpha.1",
|
|
330
|
+
"@elliemae/ds-slider": "2.2.0-alpha.1",
|
|
331
|
+
"@elliemae/ds-spinner": "2.2.0-alpha.1",
|
|
332
|
+
"@elliemae/ds-tabs": "2.2.0-alpha.1",
|
|
333
|
+
"@elliemae/ds-text-wrapper": "2.2.0-alpha.1",
|
|
334
|
+
"@elliemae/ds-time-picker": "2.2.0-alpha.1",
|
|
335
|
+
"@elliemae/ds-toast": "2.2.0-alpha.1",
|
|
336
|
+
"@elliemae/ds-toolbar": "2.2.0-alpha.1",
|
|
337
|
+
"@elliemae/ds-tooltip": "2.2.0-alpha.1",
|
|
338
|
+
"@elliemae/ds-truncated-expandable-text": "2.2.0-alpha.1",
|
|
339
|
+
"@elliemae/ds-truncated-tooltip-text": "2.2.0-alpha.1",
|
|
340
|
+
"@elliemae/ds-zipcode-search": "2.2.0-alpha.1",
|
|
341
|
+
"@elliemae/ds-zoom": "2.2.0-alpha.1"
|
|
342
342
|
},
|
|
343
343
|
"devDependencies": {
|
|
344
344
|
"gulp": "~4.0.2",
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
// Note: The URLs here don't match with filesystem due to a defect in node-sass and webpack sass loader.
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
font-family: 'proxima-nova';
|
|
5
|
-
src: url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff2') format('woff2'),
|
|
6
|
-
url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff') format('woff');
|
|
7
|
-
font-weight: normal;
|
|
8
|
-
font-style: normal;
|
|
9
|
-
}
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
33
33
|
@import 'packages/ds-portal/DSPortal';
|
|
34
34
|
@import 'packages/ds-icon/DSIcon';
|
|
35
|
-
@import 'packages/ds-accordion/DSAccordion';
|
|
36
35
|
@import 'packages/ds-card/DSCard';
|
|
37
36
|
@import 'packages/ds-form/ComboBox/DSComboBox';
|
|
38
37
|
@import 'packages/ds-button-group/DSButtonGroup';
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
@import '../../ds-label-value/src/DSLabelValue';
|
|
40
40
|
@import '../../ds-group-box/src/DSGroupBox';
|
|
41
41
|
@import '../../ds-text-wrapper/src/DSTextWrapper';
|
|
42
|
-
@import '../../ds-accordion/src/DSAccordion';
|
|
43
42
|
@import '../../ds-card/src/DSCard';
|
|
44
43
|
@import '../../ds-button-group/src//DSButtonGroup';
|
|
45
44
|
@import '../../ds-menu/src/Menu';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
// Note: The URLs here don't match with filesystem due to a defect in node-sass and webpack sass loader.
|
|
2
2
|
|
|
3
|
-
@
|
|
4
|
-
font-family: 'proxima-nova';
|
|
5
|
-
src: url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff2') format('woff2'),
|
|
6
|
-
url('~@elliemae/ds-basic/styles/base/fonts/ProximaNovaRegular.woff') format('woff');
|
|
7
|
-
font-weight: normal;
|
|
8
|
-
font-style: normal;
|
|
9
|
-
}
|
|
3
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
33
33
|
@import 'packages/ds-portal/DSPortal';
|
|
34
34
|
@import 'packages/ds-icon/DSIcon';
|
|
35
|
-
@import 'packages/ds-accordion/DSAccordion';
|
|
36
35
|
@import 'packages/ds-card/DSCard';
|
|
37
36
|
@import 'packages/ds-form/ComboBox/DSComboBox';
|
|
38
37
|
@import 'packages/ds-button-group/DSButtonGroup';
|
|
@@ -18,15 +18,15 @@ Change these color values below to your brand colors.
|
|
|
18
18
|
// Brand - Primary
|
|
19
19
|
$theme-color-brand-primary-900: null;
|
|
20
20
|
$theme-color-brand-primary-800: #005181;
|
|
21
|
-
$theme-color-brand-primary-700: #
|
|
21
|
+
$theme-color-brand-primary-700: #006aa9;
|
|
22
22
|
$theme-color-brand-primary-600: #1e79c2;
|
|
23
|
-
$theme-color-brand-primary-500: #
|
|
24
|
-
$theme-color-brand-primary-400: #
|
|
25
|
-
$theme-color-brand-primary-300: #
|
|
26
|
-
$theme-color-brand-primary-200: #
|
|
27
|
-
$theme-color-brand-primary-100: #
|
|
23
|
+
$theme-color-brand-primary-500: #1394e5;
|
|
24
|
+
$theme-color-brand-primary-400: #52a6ec;
|
|
25
|
+
$theme-color-brand-primary-300: #a3d6ff;
|
|
26
|
+
$theme-color-brand-primary-200: #ebf6ff;
|
|
27
|
+
$theme-color-brand-primary-100: #f6fbff;
|
|
28
28
|
|
|
29
|
-
// Brand - Secondary
|
|
29
|
+
// Brand - Secondary
|
|
30
30
|
$theme-color-brand-secondary-900: null;
|
|
31
31
|
$theme-color-brand-secondary-800: null;
|
|
32
32
|
$theme-color-brand-secondary-700: null;
|
|
@@ -40,60 +40,58 @@ $theme-color-brand-secondary-100: null;
|
|
|
40
40
|
//Neutral - Used for text, borders, shadows, background, etc
|
|
41
41
|
$theme-color-neutral-1000: #000000;
|
|
42
42
|
$theme-color-neutral-900: #333333;
|
|
43
|
-
$theme-color-neutral-800: #
|
|
44
|
-
$theme-color-neutral-700: #
|
|
45
|
-
$theme-color-neutral-600: #
|
|
43
|
+
$theme-color-neutral-800: #25292f;
|
|
44
|
+
$theme-color-neutral-700: #353c46;
|
|
45
|
+
$theme-color-neutral-600: #464f5c;
|
|
46
46
|
$theme-color-neutral-500: #697489;
|
|
47
|
-
$theme-color-neutral-400: #
|
|
48
|
-
$theme-color-neutral-300: #
|
|
49
|
-
$theme-color-neutral-200: #
|
|
50
|
-
$theme-color-neutral-100: #
|
|
51
|
-
$theme-color-neutral-080: #
|
|
52
|
-
$theme-color-neutral-050: #
|
|
53
|
-
$theme-color-neutral-000: #
|
|
47
|
+
$theme-color-neutral-400: #8c93a6;
|
|
48
|
+
$theme-color-neutral-300: #b0b9c8;
|
|
49
|
+
$theme-color-neutral-200: #cbcfd7;
|
|
50
|
+
$theme-color-neutral-100: #e0e3e8;
|
|
51
|
+
$theme-color-neutral-080: #ebedf0;
|
|
52
|
+
$theme-color-neutral-050: #f6f7f9;
|
|
53
|
+
$theme-color-neutral-000: #ffffff;
|
|
54
54
|
|
|
55
|
-
// Success - Used to communicate status or feedback to the user
|
|
56
|
-
$theme-color-success-900: #
|
|
55
|
+
// Success - Used to communicate status or feedback to the user
|
|
56
|
+
$theme-color-success-900: #207e56;
|
|
57
57
|
$theme-color-success-800: null;
|
|
58
58
|
$theme-color-success-700: null;
|
|
59
59
|
$theme-color-success-600: null;
|
|
60
60
|
$theme-color-success-500: null;
|
|
61
61
|
$theme-color-success-400: null;
|
|
62
|
-
$theme-color-success-300: #
|
|
62
|
+
$theme-color-success-300: #d4f0e5;
|
|
63
63
|
$theme-color-success-200: null;
|
|
64
64
|
$theme-color-success-100: null;
|
|
65
65
|
// Danger - Used to communicate status or feedback to the user
|
|
66
|
-
$theme-color-danger-900: #
|
|
66
|
+
$theme-color-danger-900: #c64252;
|
|
67
67
|
$theme-color-danger-800: null;
|
|
68
68
|
$theme-color-danger-700: null;
|
|
69
69
|
$theme-color-danger-600: null;
|
|
70
70
|
$theme-color-danger-500: null;
|
|
71
71
|
$theme-color-danger-400: null;
|
|
72
72
|
$theme-color-danger-300: null;
|
|
73
|
-
$theme-color-danger-200: #
|
|
73
|
+
$theme-color-danger-200: #f7cdd2;
|
|
74
74
|
$theme-color-danger-100: null;
|
|
75
75
|
// Warning - Used to communicate status or feedback to the user
|
|
76
|
-
$theme-color-warning-900: #
|
|
76
|
+
$theme-color-warning-900: #d17a00;
|
|
77
77
|
$theme-color-warning-800: null;
|
|
78
|
-
$theme-color-warning-700: #
|
|
79
|
-
$theme-color-warning-600: #
|
|
80
|
-
$theme-color-warning-500: #
|
|
81
|
-
$theme-color-warning-400: #
|
|
78
|
+
$theme-color-warning-700: #ff9400;
|
|
79
|
+
$theme-color-warning-600: #fbb431;
|
|
80
|
+
$theme-color-warning-500: #fbb431;
|
|
81
|
+
$theme-color-warning-400: #fbde31;
|
|
82
82
|
$theme-color-warning-300: null;
|
|
83
83
|
$theme-color-warning-200: null;
|
|
84
84
|
$theme-color-warning-100: null;
|
|
85
85
|
|
|
86
|
-
|
|
87
86
|
// **TYPOGRAPHY**
|
|
88
87
|
// Typeface
|
|
89
88
|
// Change the typeface.
|
|
90
|
-
$theme-font-family:
|
|
89
|
+
$theme-font-family: Roboto !default;
|
|
91
90
|
|
|
92
91
|
// Type Scale
|
|
93
92
|
// Change the font-sizes of HTML typed tags below.
|
|
94
93
|
$theme-base-font-size: 13px;
|
|
95
94
|
|
|
96
|
-
|
|
97
95
|
// **BORDER RADIUS**
|
|
98
96
|
// How round would you like your containers to be?
|
|
99
97
|
$theme-base-border-radius: 2px;
|
|
@@ -52,7 +52,7 @@ $text-disabled: #5c6574;
|
|
|
52
52
|
position: relative;
|
|
53
53
|
|
|
54
54
|
&:after {
|
|
55
|
-
content:
|
|
55
|
+
content: '';
|
|
56
56
|
position: absolute;
|
|
57
57
|
top: 0;
|
|
58
58
|
left: 0;
|
|
@@ -288,7 +288,7 @@ div.#{$btn-el} {
|
|
|
288
288
|
|
|
289
289
|
// ********************************************
|
|
290
290
|
// Secondary
|
|
291
|
-
.#{$btn-el-secondary}{
|
|
291
|
+
.#{$btn-el-secondary} {
|
|
292
292
|
color: color(brand-primary, 600);
|
|
293
293
|
background-color: color(neutral, 000);
|
|
294
294
|
border: $border-type color(neutral, 400);
|
|
@@ -393,10 +393,10 @@ div.#{$btn-el} {
|
|
|
393
393
|
}
|
|
394
394
|
|
|
395
395
|
$intent-colors: (
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
'success': color('success', 900),
|
|
397
|
+
'danger': color('danger', 900),
|
|
398
|
+
'warning': color('warning', 900),
|
|
399
|
+
'info': color('brand-primary', 600),
|
|
400
400
|
);
|
|
401
401
|
|
|
402
402
|
@each $intent, $color in $intent-colors {
|
|
@@ -425,7 +425,7 @@ $intent-colors: (
|
|
|
425
425
|
&:hover:not([disabled]),
|
|
426
426
|
&.#{$btn-el-vhover} {
|
|
427
427
|
color: $color;
|
|
428
|
-
|
|
428
|
+
|
|
429
429
|
span.label-wrapper.no-icon {
|
|
430
430
|
&:before {
|
|
431
431
|
background-color: transparent;
|
package/styles/dist-index.scss
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
@import 'packages/ds-overlay/DSOverlay';
|
|
33
33
|
@import 'packages/ds-portal/DSPortal';
|
|
34
34
|
@import 'packages/ds-icon/DSIcon';
|
|
35
|
-
@import 'packages/ds-accordion/DSAccordion';
|
|
36
35
|
@import 'packages/ds-card/DSCard';
|
|
37
36
|
@import 'packages/ds-form/ComboBox/DSComboBox';
|
|
38
37
|
@import 'packages/ds-button-group/DSButtonGroup';
|
|
@@ -18,15 +18,15 @@ Change these color values below to your brand colors.
|
|
|
18
18
|
// Brand - Primary
|
|
19
19
|
$theme-color-brand-primary-900: null;
|
|
20
20
|
$theme-color-brand-primary-800: #005181;
|
|
21
|
-
$theme-color-brand-primary-700: #
|
|
21
|
+
$theme-color-brand-primary-700: #006aa9;
|
|
22
22
|
$theme-color-brand-primary-600: #1e79c2;
|
|
23
|
-
$theme-color-brand-primary-500: #
|
|
24
|
-
$theme-color-brand-primary-400: #
|
|
25
|
-
$theme-color-brand-primary-300: #
|
|
26
|
-
$theme-color-brand-primary-200: #
|
|
27
|
-
$theme-color-brand-primary-100: #
|
|
23
|
+
$theme-color-brand-primary-500: #1394e5;
|
|
24
|
+
$theme-color-brand-primary-400: #52a6ec;
|
|
25
|
+
$theme-color-brand-primary-300: #a3d6ff;
|
|
26
|
+
$theme-color-brand-primary-200: #ebf6ff;
|
|
27
|
+
$theme-color-brand-primary-100: #f6fbff;
|
|
28
28
|
|
|
29
|
-
// Brand - Secondary
|
|
29
|
+
// Brand - Secondary
|
|
30
30
|
$theme-color-brand-secondary-900: null;
|
|
31
31
|
$theme-color-brand-secondary-800: null;
|
|
32
32
|
$theme-color-brand-secondary-700: null;
|
|
@@ -40,60 +40,58 @@ $theme-color-brand-secondary-100: null;
|
|
|
40
40
|
//Neutral - Used for text, borders, shadows, background, etc
|
|
41
41
|
$theme-color-neutral-1000: #000000;
|
|
42
42
|
$theme-color-neutral-900: #333333;
|
|
43
|
-
$theme-color-neutral-800: #
|
|
44
|
-
$theme-color-neutral-700: #
|
|
45
|
-
$theme-color-neutral-600: #
|
|
43
|
+
$theme-color-neutral-800: #25292f;
|
|
44
|
+
$theme-color-neutral-700: #353c46;
|
|
45
|
+
$theme-color-neutral-600: #464f5c;
|
|
46
46
|
$theme-color-neutral-500: #697489;
|
|
47
|
-
$theme-color-neutral-400: #
|
|
48
|
-
$theme-color-neutral-300: #
|
|
49
|
-
$theme-color-neutral-200: #
|
|
50
|
-
$theme-color-neutral-100: #
|
|
51
|
-
$theme-color-neutral-080: #
|
|
52
|
-
$theme-color-neutral-050: #
|
|
53
|
-
$theme-color-neutral-000: #
|
|
47
|
+
$theme-color-neutral-400: #8c93a6;
|
|
48
|
+
$theme-color-neutral-300: #b0b9c8;
|
|
49
|
+
$theme-color-neutral-200: #cbcfd7;
|
|
50
|
+
$theme-color-neutral-100: #e0e3e8;
|
|
51
|
+
$theme-color-neutral-080: #ebedf0;
|
|
52
|
+
$theme-color-neutral-050: #f6f7f9;
|
|
53
|
+
$theme-color-neutral-000: #ffffff;
|
|
54
54
|
|
|
55
|
-
// Success - Used to communicate status or feedback to the user
|
|
56
|
-
$theme-color-success-900: #
|
|
55
|
+
// Success - Used to communicate status or feedback to the user
|
|
56
|
+
$theme-color-success-900: #207e56;
|
|
57
57
|
$theme-color-success-800: null;
|
|
58
58
|
$theme-color-success-700: null;
|
|
59
59
|
$theme-color-success-600: null;
|
|
60
60
|
$theme-color-success-500: null;
|
|
61
61
|
$theme-color-success-400: null;
|
|
62
|
-
$theme-color-success-300: #
|
|
62
|
+
$theme-color-success-300: #d4f0e5;
|
|
63
63
|
$theme-color-success-200: null;
|
|
64
64
|
$theme-color-success-100: null;
|
|
65
65
|
// Danger - Used to communicate status or feedback to the user
|
|
66
|
-
$theme-color-danger-900: #
|
|
66
|
+
$theme-color-danger-900: #c64252;
|
|
67
67
|
$theme-color-danger-800: null;
|
|
68
68
|
$theme-color-danger-700: null;
|
|
69
69
|
$theme-color-danger-600: null;
|
|
70
70
|
$theme-color-danger-500: null;
|
|
71
71
|
$theme-color-danger-400: null;
|
|
72
72
|
$theme-color-danger-300: null;
|
|
73
|
-
$theme-color-danger-200: #
|
|
73
|
+
$theme-color-danger-200: #f7cdd2;
|
|
74
74
|
$theme-color-danger-100: null;
|
|
75
75
|
// Warning - Used to communicate status or feedback to the user
|
|
76
|
-
$theme-color-warning-900: #
|
|
76
|
+
$theme-color-warning-900: #d17a00;
|
|
77
77
|
$theme-color-warning-800: null;
|
|
78
|
-
$theme-color-warning-700: #
|
|
79
|
-
$theme-color-warning-600: #
|
|
80
|
-
$theme-color-warning-500: #
|
|
81
|
-
$theme-color-warning-400: #
|
|
78
|
+
$theme-color-warning-700: #ff9400;
|
|
79
|
+
$theme-color-warning-600: #fbb431;
|
|
80
|
+
$theme-color-warning-500: #fbb431;
|
|
81
|
+
$theme-color-warning-400: #fbde31;
|
|
82
82
|
$theme-color-warning-300: null;
|
|
83
83
|
$theme-color-warning-200: null;
|
|
84
84
|
$theme-color-warning-100: null;
|
|
85
85
|
|
|
86
|
-
|
|
87
86
|
// **TYPOGRAPHY**
|
|
88
87
|
// Typeface
|
|
89
88
|
// Change the typeface.
|
|
90
|
-
$theme-font-family:
|
|
89
|
+
$theme-font-family: Roboto !default;
|
|
91
90
|
|
|
92
91
|
// Type Scale
|
|
93
92
|
// Change the font-sizes of HTML typed tags below.
|
|
94
93
|
$theme-base-font-size: 13px;
|
|
95
94
|
|
|
96
|
-
|
|
97
95
|
// **BORDER RADIUS**
|
|
98
96
|
// How round would you like your containers to be?
|
|
99
97
|
$theme-base-border-radius: 2px;
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
$accordion: #{$prefix}-accordion-item;
|
|
2
|
-
$h2: #{$accordion}__h2-title;
|
|
3
|
-
|
|
4
|
-
@function separator-border($color: 200, $size: 1px) {
|
|
5
|
-
@return $size solid color(neutral, $color);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
$basic-height: space(l);
|
|
9
|
-
$secondary-height: space(xl);
|
|
10
|
-
$title-with-secondary-line-height: calc(#{space(xl)} * 1.16 * 0.4);
|
|
11
|
-
$secondary-line-height: calc(#{space(xl)} * 1.16 * 0.3);
|
|
12
|
-
$padding-lines: calc(#{space(s)} * 0.5);
|
|
13
|
-
|
|
14
|
-
.#{$accordion} {
|
|
15
|
-
&__accordion-button {
|
|
16
|
-
border: solid 1px transparent;
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: $basic-height;
|
|
19
|
-
|
|
20
|
-
justify-content: left;
|
|
21
|
-
text-transform: initial;
|
|
22
|
-
& > span[role='presentation'] {
|
|
23
|
-
padding: 0;
|
|
24
|
-
width: 100%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.em-ds-button .label-wrapper {
|
|
28
|
-
// hack for the negative margin align of chevron
|
|
29
|
-
overflow: visible;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.#{$prefix}-accordion-item__title {
|
|
33
|
-
@include h4-text-style;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: row;
|
|
37
|
-
height: $basic-height;
|
|
38
|
-
|
|
39
|
-
.#{$prefix}-icon {
|
|
40
|
-
margin-top: auto;
|
|
41
|
-
margin-bottom: auto;
|
|
42
|
-
fill: color(brand-primary, 600);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&:focus {
|
|
46
|
-
outline: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
h2 {
|
|
50
|
-
@include h2-text-style;
|
|
51
|
-
font-size: font-size(600);
|
|
52
|
-
width: 100%;
|
|
53
|
-
margin: 0 0 0 space(xxs);
|
|
54
|
-
color: color(neutral, 700);
|
|
55
|
-
text-decoration: none;
|
|
56
|
-
height: $basic-height;
|
|
57
|
-
margin-top: 7px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&.with-secondary-title {
|
|
62
|
-
height: $secondary-height;
|
|
63
|
-
.#{$prefix}-accordion-item__title {
|
|
64
|
-
height: $secondary-height;
|
|
65
|
-
h2 {
|
|
66
|
-
height: $title-with-secondary-line-height;
|
|
67
|
-
padding-top: $padding-lines;
|
|
68
|
-
margin-bottom: space(xxs);
|
|
69
|
-
line-height: calc(#{space(xl)} * 1.16 * 0.3);
|
|
70
|
-
font-size: font-size(600);
|
|
71
|
-
margin-top: 0px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
&__title-wrapper {
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: column;
|
|
79
|
-
text-align: left;
|
|
80
|
-
align-items: center;
|
|
81
|
-
&.with-secondary-title {
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
margin-right: space(s);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
&__accordion-actions {
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: row;
|
|
89
|
-
flex: 1;
|
|
90
|
-
justify-content: flex-end;
|
|
91
|
-
align-items: center;
|
|
92
|
-
.#{$prefix}-button {
|
|
93
|
-
margin-left: space(xs);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
&__title {
|
|
97
|
-
width: 100%;
|
|
98
|
-
}
|
|
99
|
-
&__secondary-title {
|
|
100
|
-
@include h2-text-style;
|
|
101
|
-
font-size: font-size(200);
|
|
102
|
-
line-height: $secondary-line-height;
|
|
103
|
-
width: 100%;
|
|
104
|
-
margin: 0 0 0 space(xxs);
|
|
105
|
-
color: color(neutral, 500);
|
|
106
|
-
text-decoration: none;
|
|
107
|
-
padding-bottom: $padding-lines;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
@include md {
|
|
111
|
-
$m-basic-height: #{toMobile(space(xl) * 0.91667)};
|
|
112
|
-
.#{$prefix}-button {
|
|
113
|
-
width: 100%;
|
|
114
|
-
max-width: 100%;
|
|
115
|
-
overflow: hidden;
|
|
116
|
-
}
|
|
117
|
-
.#{$prefix}-button .#{$prefix}-icon:last-child {
|
|
118
|
-
margin-left: 0;
|
|
119
|
-
margin-right: 0;
|
|
120
|
-
}
|
|
121
|
-
&__accordion-button {
|
|
122
|
-
height: $m-basic-height;
|
|
123
|
-
max-width: 100%;
|
|
124
|
-
width: 100%;
|
|
125
|
-
overflow: hidden;
|
|
126
|
-
padding: 0;
|
|
127
|
-
.#{$prefix}-accordion-item__title {
|
|
128
|
-
font-size: font-size(600);
|
|
129
|
-
font-weight: font-weight(600);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
.#{$prefix}-accordion-item__title {
|
|
133
|
-
height: $m-basic-height;
|
|
134
|
-
justify-content: space-between;
|
|
135
|
-
.#{$prefix}-icon {
|
|
136
|
-
margin-left: 0;
|
|
137
|
-
margin-right: 0;
|
|
138
|
-
width: #{toMobile(space(m))};
|
|
139
|
-
}
|
|
140
|
-
h2 {
|
|
141
|
-
line-height: $m-basic-height;
|
|
142
|
-
font-size: font-size(700);
|
|
143
|
-
margin-top: 0px;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
&__title-wrapper {
|
|
147
|
-
width: calc(100% - #{space(m)});
|
|
148
|
-
text-overflow: ellipsis;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.#{$prefix}-accordion {
|
|
155
|
-
.#{$prefix}-accordion-item {
|
|
156
|
-
border-bottom: separator-border();
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@include md {
|
|
160
|
-
overflow: hidden;
|
|
161
|
-
|
|
162
|
-
.#{$prefix}-accordion-item {
|
|
163
|
-
border-top: separator-border();
|
|
164
|
-
border-bottom: none;
|
|
165
|
-
&:last-child {
|
|
166
|
-
border-bottom: separator-border();
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.#{$prefix}-accordion-item__container {
|
|
172
|
-
overflow: hidden;
|
|
173
|
-
transition: height easing(base) duration(base);
|
|
174
|
-
|
|
175
|
-
.#{$prefix}-accordion-item__expand-zone {
|
|
176
|
-
overflow: hidden;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
.#{$prefix}-accordion-item__expand-zone-space {
|
|
180
|
-
padding: space(s) 0 space(m) space(m);
|
|
181
|
-
@include md {
|
|
182
|
-
padding: toMobile(space(s)) 0 toMobile(space(m)) 0;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|