@energycap/components 0.28.14 → 0.28.15-css-variables-conversion.20220718-1132

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.
Files changed (62) hide show
  1. package/bundles/energycap-components.umd.js +30 -30
  2. package/bundles/energycap-components.umd.min.js +2 -2
  3. package/bundles/energycap-components.umd.min.js.map +1 -1
  4. package/energycap-components.metadata.json +1 -1
  5. package/energycap-components.min.css +4 -4
  6. package/energycap-email.min.css +1 -1
  7. package/esm2015/lib/controls/banner/banner.component.js +1 -1
  8. package/esm2015/lib/controls/button/button.component.js +1 -1
  9. package/esm2015/lib/controls/checkbox/checkbox.component.js +1 -1
  10. package/esm2015/lib/controls/combobox/combobox.component.js +1 -1
  11. package/esm2015/lib/controls/dropdown/dropdown.component.js +1 -1
  12. package/esm2015/lib/controls/form-control/form-control.component.js +1 -1
  13. package/esm2015/lib/controls/form-control-label/form-control-label.component.js +1 -1
  14. package/esm2015/lib/controls/form-group/form-group.component.js +1 -1
  15. package/esm2015/lib/controls/help-popover/help-popover.component.js +1 -1
  16. package/esm2015/lib/controls/item-picker/item-picker.component.js +1 -1
  17. package/esm2015/lib/controls/menu/menu.component.js +1 -1
  18. package/esm2015/lib/controls/numericbox/numericbox.component.js +1 -1
  19. package/esm2015/lib/controls/radio-button/radio-button.component.js +1 -1
  20. package/esm2015/lib/controls/select/select.component.js +1 -1
  21. package/esm2015/lib/controls/tabs/tabs.component.js +1 -1
  22. package/esm2015/lib/controls/textbox/textbox.component.js +1 -1
  23. package/esm2015/lib/display/app-bar/app-bar.component.js +1 -1
  24. package/esm2015/lib/display/avatar/avatar.component.js +1 -1
  25. package/esm2015/lib/display/dialog/dialog.component.js +1 -1
  26. package/esm2015/lib/display/hierarchy/hierarchy-tree/hierarchy-tree.component.js +1 -1
  27. package/esm2015/lib/display/json-display/json-display.component.js +1 -1
  28. package/esm2015/lib/display/resizable/resizable.component.js +1 -1
  29. package/esm2015/lib/display/spinner/spinner.component.js +1 -1
  30. package/esm2015/lib/display/table/searchable-table.component.js +1 -1
  31. package/esm2015/lib/display/table/table-detail-row.component.js +1 -1
  32. package/esm2015/lib/display/table/table-locked-column.component.js +1 -1
  33. package/esm2015/lib/display/table/table.component.js +1 -1
  34. package/esm2015/lib/display/toast/toast/toast.component.js +1 -1
  35. package/esm2015/lib/display/view-overlay/view-overlay.component.js +1 -1
  36. package/esm2015/lib/shared/page/page-view/page-view.component.js +1 -1
  37. package/fesm2015/energycap-components.js +30 -30
  38. package/package.json +1 -1
  39. package/src/styles/_base.scss +6 -8
  40. package/src/styles/_core.scss +1 -1
  41. package/src/styles/_global-variables.scss +77 -5
  42. package/src/styles/components/_splash.scss +1 -2
  43. package/src/styles/components/_unsupported-browsers.scss +4 -4
  44. package/src/styles/email/_email-base.scss +24 -13
  45. package/src/styles/email/email.scss +1 -1
  46. package/src/styles/mixins/_button-base.scss +12 -13
  47. package/src/styles/mixins/_card-base.scss +3 -5
  48. package/src/styles/mixins/_common.scss +2 -2
  49. package/src/styles/mixins/_control-base.scss +20 -20
  50. package/src/styles/mixins/_dialog-base.scss +3 -3
  51. package/src/styles/mixins/_form-control-base.scss +22 -22
  52. package/src/styles/mixins/_login.scss +3 -3
  53. package/src/styles/mixins/_nav-control-base.scss +3 -3
  54. package/src/styles/mixins/_overlay-base.scss +3 -5
  55. package/src/styles/mixins/_resizable-base.scss +2 -2
  56. package/src/styles/mixins/_spinner-base.scss +1 -3
  57. package/src/styles/mixins/_table-base.scss +17 -17
  58. package/src/styles/mixins/_tabs-base.scss +5 -5
  59. package/src/styles/utilities/_borders.scss +4 -6
  60. package/src/styles/utilities/_layout.scss +4 -0
  61. package/src/styles/utilities/_text.scss +46 -43
  62. package/src/styles/_variables.scss +0 -82
@@ -14,7 +14,7 @@
14
14
  $form-submit-button-selector: '.ec-login-submit'
15
15
  ) {
16
16
  #{$container-selector} {
17
- background-image: radial-gradient(circle,$gray-6,$gray-8);
17
+ background-image: var(--ec-background-color-splash);
18
18
  display: flex;
19
19
  align-items: center;
20
20
  flex: 1 1;
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  #{$card-selector} {
30
- background-color: $ec-color-bg-body;
30
+ background-color: var(--ec-background-color-body);
31
31
  border-radius: var(--ec-border-radius-dialog);
32
32
  box-shadow: 0 0 12px rgba($black, .66);
33
33
  }
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  #{$card-footer-selector} {
68
- border-top: 1px solid $ec-border-color-default;
68
+ border-top: 1px solid var(--ec-border-color);
69
69
  padding: 1rem;
70
70
  display: flex;
71
71
  align-items: center;
@@ -1,12 +1,12 @@
1
1
  @import 'control-base';
2
2
 
3
- $nav-font-size: $ec-font-size-action;
4
- $nav-item-bg: $ec-color-bg-content;
3
+ $nav-font-size: var(--ec-font-size-action);
4
+ $nav-item-bg: var(--ec-background-color);
5
5
  $nav-item-height: rem-calc(28px);
6
6
  $nav-item-line-height: rem-calc(18px);
7
7
  $nav-item-bg-hover: #BFE0E9;
8
8
  $nav-item-bg-selected: #D9EDF2;
9
- $nav-icon-height: $ec-font-size-icon;
9
+ $nav-icon-height: var(--ec-font-size-icon);
10
10
  $nav-item-transition-duration: .2s;
11
11
 
12
12
  @mixin nav-hover($selector) {
@@ -1,16 +1,14 @@
1
- @import '../variables';
2
-
3
1
  $overlay-padding-x: 4rem;
4
2
  $overlay-padding-y: 3rem;
5
3
 
6
- @mixin overlay($bg: $ec-color-bg-content, $padding-x: $overlay-padding-x, $padding-y: $overlay-padding-y) {
4
+ @mixin overlay($bg: var(--ec-background-color), $padding-x: $overlay-padding-x, $padding-y: $overlay-padding-y) {
7
5
  align-items: center;
8
6
  background-color: $bg;
9
7
  display: flex;
10
8
  flex-direction: column;
11
9
  justify-content: center;
12
10
  padding: $padding-y $padding-x;
13
- z-index: map-get($ec-z-indexes, overlay);
11
+ z-index: var(--ec-z-index-overlay);
14
12
 
15
13
  // @deprecated when the ng1 overlay goes away
16
14
  right: 0;
@@ -24,7 +22,7 @@ $overlay-padding-y: 3rem;
24
22
  position: relative;
25
23
  }
26
24
 
27
- @mixin overlay-message($color: $ec-color-text-secondary-dark, $font-size: $ec-font-size-title) {
25
+ @mixin overlay-message($color: var(--ec-color-secondary-dark), $font-size: var(--ec-font-size-title)) {
28
26
  color: $color;
29
27
  font-size: $font-size;
30
28
  }
@@ -7,7 +7,7 @@
7
7
 
8
8
  @mixin resizable-handle-hover {
9
9
  &::after {
10
- background-color: $ec-color-link;
10
+ background-color: var(--ec-color-interactive);
11
11
  }
12
12
  }
13
13
 
@@ -19,7 +19,7 @@
19
19
  height: 100%;
20
20
  top: 0;
21
21
  padding: 0 5px;
22
- z-index: map-get($map: $ec-z-indexes, $key: splitter);
22
+ z-index: var(--ec-z-index-splitter);
23
23
 
24
24
  &::after {
25
25
  content: '';
@@ -1,5 +1,3 @@
1
- @import '../variables';
2
-
3
1
  // Animation
4
2
  @keyframes sk-bouncedelay {
5
3
  0%, 80%, 100% {
@@ -12,7 +10,7 @@
12
10
  @mixin spinner-dot($dot-size: .75rem) {
13
11
  width: $dot-size;
14
12
  height: $dot-size;
15
- background-color: $ec-color-active;
13
+ background-color: var(--ec-color-interactive);
16
14
  animation: sk-bouncedelay 1.7s infinite ease-in-out both;
17
15
  margin-right: $dot-size / 3;
18
16
 
@@ -1,7 +1,7 @@
1
1
  @import '../core';
2
2
 
3
- $table-row-bg-selected: $ec-color-bg-info;
4
- $table-row-bg-hover: $ec-color-bg-hover;
3
+ $table-row-bg-selected: var(--ec-background-color-selected);
4
+ $table-row-bg-hover: var(--ec-background-color-hover);
5
5
  $table-row-bg-heading: #EBEDEE;
6
6
  $table-cell-padding-x: .5rem;
7
7
  $table-cell-padding-y: .5rem;
@@ -19,14 +19,14 @@ $table-z-indexes: (
19
19
  @include truncate;
20
20
 
21
21
  @if $type == th {
22
- border-bottom: 1px solid $ec-border-color-dark;
23
- color: $ec-color-text-secondary-dark;
22
+ border-bottom: 1px solid var(--ec-border-color-dark);
23
+ color: var(--ec-color-secondary-dark);
24
24
  font-weight: normal;
25
25
  vertical-align: middle;
26
26
  }
27
27
 
28
28
  @if $type == td {
29
- border-top: 1px solid $ec-border-color-default;
29
+ border-top: 1px solid var(--ec-border-color);
30
30
  vertical-align: top;
31
31
  }
32
32
 
@@ -43,7 +43,7 @@ $table-z-indexes: (
43
43
  border-collapse: separate;
44
44
  border-spacing: 0;
45
45
  width: 100%;
46
- font-size: $ec-font-size-label;
46
+ font-size: var(--ec-font-size-label);
47
47
 
48
48
  th {
49
49
  @include table-cell(th);
@@ -105,9 +105,9 @@ $table-z-indexes: (
105
105
  }
106
106
 
107
107
  @mixin table-row-heading {
108
- color: $ec-color-text-secondary-dark;
109
- font-size: $ec-font-size-label;
110
- font-weight: $ec-font-weight-bold;
108
+ color: var(--ec-color-secondary-dark);
109
+ font-size: var(--ec-font-size-label);
110
+ font-weight: var(--ec-font-weight-bold);
111
111
  line-height: 1.333333333;
112
112
  text-transform: uppercase;
113
113
  padding-bottom: 0;
@@ -123,14 +123,14 @@ $table-z-indexes: (
123
123
  position: relative;
124
124
 
125
125
  > thead th {
126
- background-color: $ec-color-bg-content;
126
+ background-color: var(--ec-background-color);
127
127
  position: sticky !important;
128
128
  top: 0;
129
129
  z-index: 1;
130
130
  }
131
131
 
132
132
  > tfoot td {
133
- background-color: $ec-color-bg-content;
133
+ background-color: var(--ec-background-color);
134
134
  position: sticky !important;
135
135
  bottom: 0;
136
136
  z-index: 1;
@@ -245,12 +245,12 @@ $table-z-indexes: (
245
245
  }
246
246
 
247
247
  @mixin table-detail-row() {
248
- background-color: $ec-color-bg-content-secondary;
248
+ background-color: var(--ec-background-color-detail);
249
249
  }
250
250
 
251
251
  @mixin table-detail-content() {
252
252
  background-color: transparent;
253
- border-top: 1px solid $ec-border-color;
253
+ border-top: 1px solid var(--ec-border-color-legacy);
254
254
  padding: 1rem 2rem 1rem 0 !important;
255
255
  }
256
256
 
@@ -261,7 +261,7 @@ $table-z-indexes: (
261
261
  height: 2.5rem;
262
262
  line-height: 2rem;
263
263
  border-top: 0;
264
- font-size: $ec-font-size-body;
264
+ font-size: var(--ec-font-size-body);
265
265
  }
266
266
 
267
267
  tr:first-child {
@@ -280,12 +280,12 @@ $table-z-indexes: (
280
280
  }
281
281
 
282
282
  @mixin table-row-status($status) {
283
- $bg-color: $ec-color-bg-caution;
283
+ $bg-color: var(--ec-background-color-caution);
284
284
 
285
285
  @if $status == error {
286
- $bg-color: $ec-color-bg-error;
286
+ $bg-color: var(--ec-background-color-danger);
287
287
  } @else if $status == success {
288
- $bg-color: $ec-color-bg-success;
288
+ $bg-color: var(--ec-background-color-success);
289
289
  }
290
290
 
291
291
  td {
@@ -1,11 +1,11 @@
1
1
  @import 'nav-control-base';
2
2
 
3
3
  $tab-border-width: 1px;
4
- $tab-border-color: $ec-border-color;
5
- $tab-color: $ec-color-text-secondary-dark;
4
+ $tab-border-color: var(--ec-border-color-legacy);
5
+ $tab-color: var(--ec-color-secondary-dark);
6
6
  $tab-color-active: $gray-7;
7
7
  $tab-color-hover: $gray-7;
8
- $tab-bg-active: $ec-color-bg-body;
8
+ $tab-bg-active: var(--ec-background-color-body);
9
9
 
10
10
  $tab-pill-bg-active: #d2d7d9;
11
11
 
@@ -34,7 +34,7 @@ $tab-pill-bg-active: #d2d7d9;
34
34
  border: $tab-border-width solid transparent;
35
35
  color: $tab-color;
36
36
  cursor: pointer;
37
- font-size: $ec-font-size-label;
37
+ font-size: var(--ec-font-size-label);
38
38
  display: flex;
39
39
  height: $height;
40
40
  min-width: $height;
@@ -71,7 +71,7 @@ $tab-pill-bg-active: #d2d7d9;
71
71
  }
72
72
 
73
73
  &.is-disabled {
74
- color: $ec-color-text-hint-dark;
74
+ color: var(--ec-color-hint-dark);
75
75
  cursor: default;
76
76
  }
77
77
  }
@@ -1,15 +1,13 @@
1
- @import '../variables';
2
-
3
1
  .border-0 {
4
2
  border: 0 !important;
5
3
  }
6
4
 
7
5
  .border-all {
8
- border: $ec-border-width solid $ec-border-color-default !important;
6
+ border: 1px solid var(--ec-border-color) !important;
9
7
  }
10
8
 
11
9
  .border-all-dark {
12
- border: $ec-border-width solid $ec-border-color-dark !important;
10
+ border: 1px solid var(--ec-border-color-dark) !important;
13
11
  }
14
12
 
15
13
  $sides: (top, bottom, right, left);
@@ -19,11 +17,11 @@ $sides: (top, bottom, right, left);
19
17
  }
20
18
 
21
19
  .border-#{$side} {
22
- border-#{$side}: $ec-border-width solid $ec-border-color-default !important;
20
+ border-#{$side}: 1px solid var(--ec-border-color) !important;
23
21
  }
24
22
 
25
23
  .border-#{$side}-dark {
26
- border-#{$side}: $ec-border-width solid $ec-border-color-dark !important;
24
+ border-#{$side}: 1px solid var(--ec-border-color-dark) !important;
27
25
  }
28
26
  }
29
27
 
@@ -109,4 +109,8 @@
109
109
 
110
110
  .position-fixed {
111
111
  position: fixed !important;
112
+ }
113
+
114
+ .v-align-middle {
115
+ vertical-align: middle !important;
112
116
  }
@@ -1,84 +1,83 @@
1
- @import "../variables";
2
1
  @import "../mixins/overlay-base";
3
2
 
4
3
  // Text styles
5
4
  .text-title-1,
6
5
  .text-title-2 {
7
- color: $ec-color-text-primary-dark;
8
- font-size: $ec-font-size-title;
9
- font-weight: $ec-font-weight-bold;
6
+ color: var(--ec-color-primary-dark);
7
+ font-size: var(--ec-font-size-title);
8
+ font-weight: var(--ec-font-weight-bold);
10
9
  line-height: 1.2;
11
10
  margin: 0;
12
11
  }
13
12
 
14
13
  .text-title-2 {
15
- font-weight: $ec-font-weight-normal;
14
+ font-weight: var(--ec-font-weight-normal);
16
15
  }
17
16
 
18
17
  .text-heading-1,
19
18
  .text-heading-2 {
20
- color: $ec-color-text-primary-dark;
21
- font-size: $ec-font-size-body;
22
- font-weight: $ec-font-weight-bold;
19
+ color: var(--ec-color-primary-dark);
20
+ font-size: var(--ec-font-size-body);
21
+ font-weight: var(--ec-font-weight-bold);
23
22
  line-height: 1.5;
24
23
  margin: 0;
25
24
  }
26
25
 
27
26
  .text-heading-2 {
28
- font-weight: $ec-font-weight-normal;
27
+ font-weight: var(--ec-font-weight-normal);
29
28
  }
30
29
 
31
30
  .text-heading-3 {
32
- color: $ec-color-text-secondary-dark;
33
- font-size: $ec-font-size-label;
34
- font-weight: $ec-font-weight-bold;
31
+ color: var(--ec-color-secondary-dark);
32
+ font-size: var(--ec-font-size-label);
33
+ font-weight: var(--ec-font-weight-bold);
35
34
  line-height: 1.333333333;
36
35
  margin: 0;
37
36
  text-transform: uppercase;
38
37
  }
39
38
 
40
39
  .text-body-1 {
41
- color: $ec-color-text-primary-dark;
42
- font-size: $ec-font-size-action;
43
- font-weight: $ec-font-weight-normal;
40
+ color: var(--ec-color-primary-dark);
41
+ font-size: var(--ec-font-size);
42
+ font-weight: var(--ec-font-weight-normal);
44
43
  line-height: 1.285714286;
45
44
  margin: 0;
46
45
  }
47
46
 
48
47
  .text-body-2 {
49
- color: $ec-color-text-primary-dark;
50
- font-size: $ec-font-size-label;
51
- font-weight: $ec-font-weight-normal;
48
+ color: var(--ec-color-primary-dark);
49
+ font-size: var(--ec-font-size-label);
50
+ font-weight: var(--ec-font-weight-normal);
52
51
  line-height: 1.333333333;
53
52
  margin: 0;
54
53
  }
55
54
 
56
55
  .text-caption-1 {
57
- color: $ec-color-text-secondary-dark;
58
- font-size: $ec-font-size-label;
59
- font-weight: $ec-font-weight-normal;
56
+ color: var(--ec-color-secondary-dark);
57
+ font-size: var(--ec-font-size-label);
58
+ font-weight: var(--ec-font-weight-normal);
60
59
  line-height: 1.333333333;
61
60
  margin: 0;
62
61
  }
63
62
 
64
63
  .text-caption-2 {
65
- color: $ec-color-text-secondary-dark;
66
- font-size: $ec-font-size-tiny;
67
- font-weight: $ec-font-weight-bold;
64
+ color: var(--ec-color-secondary-dark);
65
+ font-size: var(--ec-font-size-tiny);
66
+ font-weight: var(--ec-font-weight-bold);
68
67
  line-height: 1.6;
69
68
  margin: 0;
70
69
  }
71
70
 
72
71
  .text-display-1 {
73
- color: $ec-color-text-primary-dark;
74
- font-size: $ec-font-size-body;
75
- font-weight: $ec-font-weight-normal;
72
+ color: var(--ec-color-primary-dark);
73
+ font-size: var(--ec-font-size-body);
74
+ font-weight: var(--ec-font-weight-normal);
76
75
  line-height: 1.25;
77
76
  margin: 0;
78
77
  }
79
78
 
80
79
  .text-link {
81
- color: $ec-color-link !important;
80
+ color: var(--ec-color-interactive) !important;
82
81
  cursor: pointer;
83
82
 
84
83
  &:hover {
@@ -99,62 +98,62 @@
99
98
 
100
99
  // Font property utilities
101
100
  .font-weight-bold {
102
- font-weight: $ec-font-weight-bold !important;
101
+ font-weight: var(--ec-font-weight-bold) !important;
103
102
  }
104
103
 
105
104
  .font-weight-normal {
106
- font-weight: $ec-font-weight-normal !important;
105
+ font-weight: var(--ec-font-weight-normal) !important;
107
106
  }
108
107
 
109
108
  .font-size-small {
110
- font-size: $ec-font-size-label !important;
109
+ font-size: var(--ec-font-size-label) !important;
111
110
  }
112
111
 
113
112
  .font-size-medium {
114
- font-size: $ec-font-size-body !important;
113
+ font-size: var(--ec-font-size-body) !important;
115
114
  }
116
115
 
117
116
  .font-size-base {
118
- font-size: $ec-font-size-action !important;
117
+ font-size: var(--ec-font-size) !important;
119
118
  }
120
119
 
121
120
  .font-size-large {
122
- font-size: $ec-font-size-title !important;
121
+ font-size: var(--ec-font-size-title) !important;
123
122
  }
124
123
 
125
124
  .font-color-primary {
126
- color: $ec-color-text-primary-dark !important;
125
+ color: var(--ec-color-primary-dark) !important;
127
126
  }
128
127
 
129
128
  .font-color-primary-light {
130
- color: $ec-color-text-primary-light !important;
129
+ color: var(--ec-color-primary-light) !important;
131
130
  }
132
131
 
133
132
  .font-color-secondary {
134
- color: $ec-color-text-secondary-dark !important;
133
+ color: var(--ec-color-secondary-dark) !important;
135
134
  }
136
135
 
137
136
  .font-color-secondary-light {
138
- color: $ec-color-text-secondary-light !important;
137
+ color: var(--ec-color-secondary-light) !important;
139
138
  }
140
139
 
141
140
  // font-color-muted is deprecated, use .font-color-hint instead
142
141
  .font-color-muted,
143
142
  .font-color-hint {
144
- color: $ec-color-text-hint-dark !important;
143
+ color: var(--ec-color-hint-dark) !important;
145
144
  }
146
145
 
147
146
  // @deprecated, use .text-link instead.
148
147
  .font-color-link {
149
- color: $ec-color-link !important;
148
+ color: var(--ec-color-interactive) !important;
150
149
  }
151
150
 
152
151
  .font-color-error {
153
- color: $ec-color-error !important;
152
+ color: var(--ec-color-danger) !important;
154
153
  }
155
154
 
156
155
  .font-color-success {
157
- color: $ec-color-success !important;
156
+ color: var(--ec-color-success) !important;
158
157
  }
159
158
 
160
159
  // @deprecated use .text-display-1 instead
@@ -164,7 +163,7 @@
164
163
 
165
164
  // @deprecated use .text-display-1 instead
166
165
  .font-message-medium {
167
- @include overlay-message($font-size: $ec-font-size-body);
166
+ @include overlay-message($font-size: var(--ec-font-size-body));
168
167
  }
169
168
 
170
169
  .text-truncate {
@@ -173,4 +172,8 @@
173
172
 
174
173
  .text-break-all {
175
174
  word-break: break-all;
175
+ }
176
+
177
+ .text-wrap {
178
+ white-space: normal;
176
179
  }
@@ -1,82 +0,0 @@
1
- @import 'colors';
2
-
3
-
4
- // Background Colors
5
- // TODO: convert to CSS Custom Properties
6
- $ec-color-bg-content: $white;
7
- $ec-color-bg-dark: $black;
8
- $ec-color-bg-body: #f1f3f4;
9
- $ec-color-bg-modal: rgba($black, .5);
10
- $ec-color-bg-mask: radial-gradient(circle, $gray-6 0%, $gray-8 100%);
11
- $ec-color-bg-content-secondary: rgba($black, .03);
12
-
13
- // TODO: remove heading background
14
- $ec-color-bg-heading: #DEE2E4;
15
-
16
-
17
- // Text Colors
18
- // TODO: convert to CSS Custom Properties
19
- $ec-color-text-primary-dark: $black;
20
- $ec-color-text-primary-light: $white;
21
- $ec-color-text-secondary-dark: rgba($black, .66);
22
- $ec-color-text-secondary-light: rgba($white, .6);
23
- $ec-color-text-hint-dark: rgba($black, .38);
24
- $ec-color-text-hint-light: rgba($white, .38);
25
- $ec-color-text-disabled-dark: $ec-color-text-hint-dark;
26
- $ec-color-text-danger: $red-4;
27
-
28
- $ec-color-link: $blue-4;
29
-
30
- // Status Colors
31
- $ec-color-active: $blue-4;
32
- $ec-color-accent: #6F1C8A;
33
-
34
- $ec-color-info: rgba($blue-4, .5);
35
- $ec-color-bg-info: #DAE4E9;
36
-
37
- $ec-color-good: #619910;
38
- $ec-color-success: #3C763D;
39
- $ec-color-bg-success: #DFF0D8;
40
-
41
- $ec-color-bad: $orange-4;
42
- $ec-color-caution: $yellow-4;
43
- $ec-color-bg-caution: #FFF8cc;
44
-
45
- $ec-color-error: $red-5;
46
- $ec-color-bg-error: #ecc4c5;
47
- $ec-color-bg-danger: $red-3;
48
-
49
- $ec-color-bg-hover: #BFE0E9;
50
-
51
- $ec-color-bg-disabled: rgba($black, .1);
52
-
53
- $ec-font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
54
- $ec-monospace-font-family: "Consolas", "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Monaco", "Courier New", Courier, monospace;
55
-
56
- $ec-font-size-body: 1rem;
57
- $ec-font-size-label: .75rem;
58
- $ec-font-size-action: .875rem;
59
- $ec-font-size-title: 1.25rem;
60
- $ec-font-size-icon: 1rem;
61
- $ec-font-size-tiny: .625rem;
62
-
63
- $ec-font-weight-bold: bold;
64
- $ec-font-weight-normal: normal;
65
-
66
- $ec-border-color: #d2d7d9;
67
- $ec-border-color-default: rgba($black, .18);
68
- $ec-border-color-dark: rgba($black, .87);
69
- $ec-border-width: 1px;
70
-
71
- $ec-focus-ring-width: .125rem;
72
- $ec-focus-ring-color: $blue-4;
73
-
74
- $ec-z-indexes: (
75
- tooltip: 10,
76
- overlay: 20,
77
- splitter: 30,
78
- navbar: 40,
79
- popup: 50,
80
- dialog: 60,
81
- toast: 70
82
- );