ecabs-components 1.1.95 → 1.1.97
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/README.md +10 -0
- package/esm2022/lib/base/consts/badge.consts.mjs +1 -1
- package/esm2022/lib/base/consts/buttons.consts.mjs +1 -1
- package/esm2022/lib/base/consts/icon.consts.mjs +1 -1
- package/esm2022/lib/base/consts/status-badge.consts.mjs +1 -1
- package/esm2022/lib/base/directives/attach-embedded-view.directive.mjs +1 -1
- package/esm2022/lib/base/directives/check-permissions.directive.mjs +1 -1
- package/esm2022/lib/base/directives/date-mask.directive.mjs +1 -1
- package/esm2022/lib/base/directives/dom-observer.directive.mjs +1 -1
- package/esm2022/lib/base/directives/dynamic-bg-color.directive.mjs +1 -1
- package/esm2022/lib/base/directives/element-multiplier.directive.mjs +1 -1
- package/esm2022/lib/base/directives/file-drop.directive.mjs +1 -1
- package/esm2022/lib/base/directives/min-max.directive.mjs +1 -1
- package/esm2022/lib/base/directives/number-border.directive.mjs +1 -1
- package/esm2022/lib/base/directives/paginator.directive.mjs +1 -1
- package/esm2022/lib/base/directives/show-on-truncated.directive.mjs +1 -1
- package/esm2022/lib/base/directives/time-mask.directive.mjs +1 -1
- package/esm2022/lib/base/directives/time-range.directive.mjs +1 -1
- package/esm2022/lib/base/directives/tooltip-if-truncated.directive.mjs +1 -1
- package/esm2022/lib/base/directives/tooltip-if-truncated.directive.module.mjs +1 -1
- package/esm2022/lib/base/directives/uppercase-mask.directive.mjs +1 -1
- package/esm2022/lib/base/element-wrapper/element-wrapper.component.mjs +1 -1
- package/esm2022/lib/base/models/select.models.mjs +1 -1
- package/esm2022/lib/base/pipes/status-badge-variant.pipe.mjs +1 -1
- package/esm2022/lib/base/pipes/truncate.pipe.mjs +1 -1
- package/esm2022/lib/base/utils/icon.utils.mjs +1 -1
- package/esm2022/lib/base/utils/select.utils.mjs +1 -1
- package/esm2022/lib/ecabs-action-menu/ecabs-action-menu.component.mjs +1 -1
- package/esm2022/lib/ecabs-active-status-filter/ecabs-active-status-filter.component.mjs +3 -3
- package/esm2022/lib/ecabs-badge/ecabs-badge.module.mjs +1 -1
- package/esm2022/lib/ecabs-base-phone-input/ecabs-base-phone.component.mjs +1 -1
- package/esm2022/lib/ecabs-breadcrumb/ecabs-breadcrumb.component.mjs +3 -3
- package/esm2022/lib/ecabs-button-toggle/ecabs-button-toggle.component.mjs +1 -1
- package/esm2022/lib/ecabs-buttons/ecabs-buttons.component.mjs +3 -3
- package/esm2022/lib/ecabs-checkbox-toggle/ecabs-checkbox-toggle.component.mjs +1 -1
- package/esm2022/lib/ecabs-checkbox-v2/ecabs-checkbox-v2.component.mjs +1 -1
- package/esm2022/lib/ecabs-chip-autocomplete/ecabs-chip-autocomplete.component.mjs +1 -1
- package/esm2022/lib/ecabs-chip-group/ecabs-chip-group.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-picker/components/ecabs-date-picker-header/ecabs-date-picker-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-picker/ecabs-date-picker.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-picker-actions/ecabs-date-picker-actions.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-range-picker/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-range-picker/ecabs-date-range-picker.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-range-picker-v2/components/ecabs-date-range-picker-header/ecabs-date-range-picker-header-v2.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-range-picker-v2/ecabs-date-range-picker-v2.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-time-picker/components/ecabs-date-time-picker-header/ecabs-date-time-picker-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-time-picker/ecabs-date-time-picker.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-time-range-picker/components/ecabs-date-time-range-picker-header/ecabs-date-time-range-picker-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-date-time-range-picker/ecabs-date-time-range-picker.component.mjs +1 -1
- package/esm2022/lib/ecabs-dialog-confirm/ecabs-dialog-confirm.component.mjs +1 -1
- package/esm2022/lib/ecabs-dialog-confirm-deletion/ecabs-dialog-confirm-deletion.component.mjs +1 -1
- package/esm2022/lib/ecabs-dialog-message/ecabs-dialog-message.component.mjs +1 -1
- package/esm2022/lib/ecabs-empty-placeholder/ecabs-empty-placeholder.component.mjs +1 -1
- package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.component.mjs +3 -3
- package/esm2022/lib/ecabs-expansion-panel/ecabs-expansion-panel.module.mjs +1 -1
- package/esm2022/lib/ecabs-header/ecabs-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-hint/ecabs-hint.component.mjs +1 -1
- package/esm2022/lib/ecabs-increment/ecabs-increment.component.mjs +1 -1
- package/esm2022/lib/ecabs-input-range/ecabs-input-range.component.mjs +1 -1
- package/esm2022/lib/ecabs-language-selector/ecabs-language-selector.component.mjs +1 -1
- package/esm2022/lib/ecabs-loading/ecabs-loading.component.mjs +1 -1
- package/esm2022/lib/ecabs-loading/spinner/spinner.component.mjs +1 -1
- package/esm2022/lib/ecabs-logo/ecabs-logo.component.mjs +1 -1
- package/esm2022/lib/ecabs-menu-items/ecabs-menu-items.component.mjs +1 -1
- package/esm2022/lib/ecabs-multiple-dates-picker/ecabs-multiple-dates-picker.component.mjs +1 -1
- package/esm2022/lib/ecabs-note/ecabs-note.component.mjs +1 -1
- package/esm2022/lib/ecabs-picker-header/ecabs-picker-header.component.mjs +1 -1
- package/esm2022/lib/ecabs-profile/ecabs-profile.component.mjs +1 -1
- package/esm2022/lib/ecabs-radio-button-list/ecabs-radio-button-list.component.mjs +1 -1
- package/esm2022/lib/ecabs-segment/ecabs-segment.component.mjs +8 -4
- package/esm2022/lib/ecabs-sidebar/ecabs-sidebar.component.mjs +1 -1
- package/esm2022/lib/ecabs-slider/ecabs-slider.component.mjs +1 -1
- package/esm2022/lib/ecabs-table/ecabs-table-filter-wrapper/ecabs-table-filter-wrapper.component.mjs +1 -1
- package/esm2022/lib/ecabs-table/ecabs-table.component.mjs +1 -1
- package/esm2022/lib/ecabs-textarea/ecabs-textarea.component.mjs +1 -1
- package/esm2022/lib/ecabs-time-range-input-v2/ecabs-time-range-input-v2.component.mjs +1 -1
- package/esm2022/lib/ecabs-timepicker/componets/ecabs-time-list-panel/ecabs-time-list-panel.component.mjs +1 -1
- package/esm2022/lib/ecabs-timepicker/ecabs-timepicker.component.mjs +1 -1
- package/esm2022/lib/ecabs-validation/ecabs-validation.component.mjs +1 -1
- package/fesm2022/ecabs-components.mjs +15 -11
- package/fesm2022/ecabs-components.mjs.map +1 -1
- package/lib/ecabs-segment/ecabs-segment.component.d.ts +3 -1
- package/package.json +1 -1
- package/src/assets/styles/material/_theme.scss +100 -100
- package/src/assets/styles/material/overrides/_autocomplete.scss +34 -34
- package/src/assets/styles/material/overrides/_card.scss +76 -55
- package/src/assets/styles/material/overrides/_chip.scss +240 -240
- package/src/assets/styles/material/overrides/_datepicker.scss +178 -178
- package/src/assets/styles/material/overrides/_dialog.scss +25 -25
- package/src/assets/styles/material/overrides/_divider.scss +5 -5
- package/src/assets/styles/material/overrides/_expansion.scss +74 -74
- package/src/assets/styles/material/overrides/_form.scss +95 -95
- package/src/assets/styles/material/overrides/_icon.scss +8 -8
- package/src/assets/styles/material/overrides/_paginator.scss +107 -75
- package/src/assets/styles/material/overrides/_progress.scss +7 -7
- package/src/assets/styles/material/overrides/_sidebar.scss +6 -6
- package/src/assets/styles/material/overrides/_tab.scss +41 -41
- package/src/assets/styles/material/overrides/_table.scss +27 -27
- package/src/assets/styles/material/overrides/_toaster.scss +36 -36
- package/src/assets/styles/material/overrides/_toggle.scss +54 -54
- package/src/assets/styles/material/overrides/_tooltip.scss +7 -7
- package/src/assets/styles/material/overrides/index.scss +23 -23
- package/src/assets/styles/scss/base/_heading.scss +17 -17
- package/src/assets/styles/scss/base/_normalize.scss +99 -99
- package/src/assets/styles/scss/base/index.scss +2 -2
- package/src/assets/styles/scss/modules/_autocomplete.scss +42 -42
- package/src/assets/styles/scss/modules/_card.scss +62 -46
- package/src/assets/styles/scss/modules/_chip.scss +64 -64
- package/src/assets/styles/scss/modules/_datepicker.scss +435 -435
- package/src/assets/styles/scss/modules/_dialog.scss +15 -15
- package/src/assets/styles/scss/modules/_form.scss +383 -383
- package/src/assets/styles/scss/modules/_icon.scss +30 -30
- package/src/assets/styles/scss/modules/_legend.scss +64 -64
- package/src/assets/styles/scss/modules/_list.scss +17 -17
- package/src/assets/styles/scss/modules/_map.scss +221 -221
- package/src/assets/styles/scss/modules/_select.scss +17 -17
- package/src/assets/styles/scss/modules/_tab.scss +16 -16
- package/src/assets/styles/scss/modules/_table.scss +137 -132
- package/src/assets/styles/scss/modules/_timepicker.scss +91 -91
- package/src/assets/styles/scss/modules/_tooltip.scss +10 -10
- package/src/assets/styles/scss/modules/drag-drop.scss +31 -31
- package/src/assets/styles/scss/utilities/_functions.scss +27 -27
- package/src/assets/styles/scss/utilities/_mixins.scss +104 -104
- package/src/assets/styles/scss/utilities/_variables.scss +32 -32
- package/src/assets/styles/scss/utilities/index.scss +6 -6
- package/src/assets/styles/styles.scss +5 -5
- package/src/assets/styles/tailwind/index.scss +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@import '../utilities/index';
|
|
2
|
-
|
|
3
|
-
$border-radius: 0.25rem;
|
|
4
|
-
|
|
5
|
-
.select {
|
|
6
|
-
@include fontSize($font-size-base);
|
|
7
|
-
|
|
8
|
-
border-radius: $border-radius;
|
|
9
|
-
border: 1px solid var(--color-gray-300);
|
|
10
|
-
padding: calc-rem(8) calc-rem(16) calc-rem(8) calc-rem(16);
|
|
11
|
-
color: var(--color-black);
|
|
12
|
-
line-height: $base-line-height;
|
|
13
|
-
|
|
14
|
-
&:focus {
|
|
15
|
-
border-color: var(--color-brand-dark);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@import '../utilities/index';
|
|
2
|
+
|
|
3
|
+
$border-radius: 0.25rem;
|
|
4
|
+
|
|
5
|
+
.select {
|
|
6
|
+
@include fontSize($font-size-base);
|
|
7
|
+
|
|
8
|
+
border-radius: $border-radius;
|
|
9
|
+
border: 1px solid var(--color-gray-300);
|
|
10
|
+
padding: calc-rem(8) calc-rem(16) calc-rem(8) calc-rem(16);
|
|
11
|
+
color: var(--color-black);
|
|
12
|
+
line-height: $base-line-height;
|
|
13
|
+
|
|
14
|
+
&:focus {
|
|
15
|
+
border-color: var(--color-brand-dark);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.tab-group {
|
|
2
|
-
.tab-labels {
|
|
3
|
-
.tab-label {
|
|
4
|
-
color: var(--color-gray-500);
|
|
5
|
-
font-size: 1rem;
|
|
6
|
-
border-bottom-width: 2px;
|
|
7
|
-
opacity: 1;
|
|
8
|
-
font-weight: $font-weight-regular;
|
|
9
|
-
|
|
10
|
-
&.tab-label-active {
|
|
11
|
-
color: var(--color-brand-dark);
|
|
12
|
-
border-color: var(--color-brand-light);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
1
|
+
.tab-group {
|
|
2
|
+
.tab-labels {
|
|
3
|
+
.tab-label {
|
|
4
|
+
color: var(--color-gray-500);
|
|
5
|
+
font-size: 1rem;
|
|
6
|
+
border-bottom-width: 2px;
|
|
7
|
+
opacity: 1;
|
|
8
|
+
font-weight: $font-weight-regular;
|
|
9
|
+
|
|
10
|
+
&.tab-label-active {
|
|
11
|
+
color: var(--color-brand-dark);
|
|
12
|
+
border-color: var(--color-brand-light);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,132 +1,137 @@
|
|
|
1
|
-
.table-ui {
|
|
2
|
-
text-align: left;
|
|
3
|
-
|
|
4
|
-
/* #Wrapper */
|
|
5
|
-
@include m(wrapper) {
|
|
6
|
-
position: relative;
|
|
7
|
-
box-shadow: $box-shadow-default;
|
|
8
|
-
border-radius: $border-radius-base * 2;
|
|
9
|
-
width: 100%;
|
|
10
|
-
padding: calc-rem(
|
|
11
|
-
background-color: var(--color-white);
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
padding-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
-
@include e(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
1
|
+
.table-ui {
|
|
2
|
+
text-align: left;
|
|
3
|
+
|
|
4
|
+
/* #Wrapper */
|
|
5
|
+
@include m(wrapper) {
|
|
6
|
+
position: relative;
|
|
7
|
+
box-shadow: $box-shadow-default;
|
|
8
|
+
border-radius: $border-radius-base * 2;
|
|
9
|
+
width: 100%;
|
|
10
|
+
padding: calc-rem(24px);
|
|
11
|
+
background-color: var(--color-white);
|
|
12
|
+
|
|
13
|
+
// A listing on a phone needs its width more than desktop's breathing room.
|
|
14
|
+
@include media-q(small) {
|
|
15
|
+
padding: calc-rem(12px);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.loading:after {
|
|
19
|
+
@extend %pseudos;
|
|
20
|
+
|
|
21
|
+
top: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
|
|
26
|
+
background-color: var(--color-gray-50);
|
|
27
|
+
opacity: 0.5;
|
|
28
|
+
z-index: 999;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.table-ui .table-ui__nested {
|
|
32
|
+
&, th, td {
|
|
33
|
+
color: var(--color-gray-400);
|
|
34
|
+
border-bottom: 0;
|
|
35
|
+
padding-top: .36rem;
|
|
36
|
+
padding-bottom: .36rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
th {
|
|
40
|
+
padding-left: 1.8rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* #Nested */
|
|
46
|
+
@include e(nested) {
|
|
47
|
+
@include m(header) {
|
|
48
|
+
tr {
|
|
49
|
+
th, td {
|
|
50
|
+
border-bottom: 0;
|
|
51
|
+
padding-bottom: .36rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
table {
|
|
58
|
+
width: 100%;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
thead {
|
|
62
|
+
@include fontSize($font-size-xs);
|
|
63
|
+
|
|
64
|
+
color: var(--color-gray-500);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
thead th,
|
|
68
|
+
th {
|
|
69
|
+
border-bottom: 1px solid var(--color-gray-400);
|
|
70
|
+
color: var(--color-gray-500);
|
|
71
|
+
padding: calc-rem(14) calc-rem(14) calc-rem(14) 0;
|
|
72
|
+
font-weight: $font-weight-regular;
|
|
73
|
+
|
|
74
|
+
&:first-of-type {
|
|
75
|
+
padding-left: calc-rem(14);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&:last-of-type {
|
|
79
|
+
padding-right: calc-rem(14);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
td {
|
|
84
|
+
padding: calc-rem(14);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
a {
|
|
88
|
+
color: var(--color-brand-light);
|
|
89
|
+
line-height: 1;
|
|
90
|
+
|
|
91
|
+
&:hover {
|
|
92
|
+
color: var(--color-brand-dark);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* #Bordered */
|
|
97
|
+
@include e(bordered) {
|
|
98
|
+
td,
|
|
99
|
+
th {
|
|
100
|
+
border-bottom: 1px solid var(--color-gray-200);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* #Paginator */
|
|
105
|
+
@include e(paginator) {
|
|
106
|
+
margin-top: 1.2rem;
|
|
107
|
+
|
|
108
|
+
@include m(wrapper) {
|
|
109
|
+
.table-ui__bordered & {
|
|
110
|
+
border-bottom: 0;
|
|
111
|
+
padding-bottom: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
> * {
|
|
115
|
+
display: inline-block;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@include m(sizer) {
|
|
120
|
+
float: right;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* #Header */
|
|
125
|
+
@include e(header) {
|
|
126
|
+
margin-bottom: 1.2rem;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* #Progress */
|
|
130
|
+
@include e(progress) {
|
|
131
|
+
border-radius: $border-radius-base;
|
|
132
|
+
position: absolute;
|
|
133
|
+
top: 0;
|
|
134
|
+
left: 0.12rem;
|
|
135
|
+
right: 0.12rem;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
ecabs-timepicker {
|
|
2
|
-
.timeInputWrapper {
|
|
3
|
-
z-index: 1;
|
|
4
|
-
|
|
5
|
-
input {
|
|
6
|
-
min-height: 42px;
|
|
7
|
-
width: 100%;
|
|
8
|
-
display: block;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
padding: calc-rem(8) calc-rem(16);
|
|
11
|
-
border-radius: $border-radius-base;
|
|
12
|
-
border: 1px solid var(--color-gray-500);
|
|
13
|
-
color: var(--color-black);
|
|
14
|
-
outline: none;
|
|
15
|
-
transition: all 300ms ease-in-out;
|
|
16
|
-
|
|
17
|
-
&::placeholder {
|
|
18
|
-
color: rgba(22, 42, 76, 0.5);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:disabled {
|
|
22
|
-
border-bottom-width: 1px;
|
|
23
|
-
background-color: var(--color-white-opacity-05);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
input[type='number']::-webkit-inner-spin-button,
|
|
28
|
-
input[type='number']::-webkit-outer-spin-button {
|
|
29
|
-
-webkit-appearance: none;
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.disabled {
|
|
34
|
-
.descriptions {
|
|
35
|
-
background: transparent;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.form-time-list {
|
|
42
|
-
z-index: 98;
|
|
43
|
-
|
|
44
|
-
.list {
|
|
45
|
-
background-color: white;
|
|
46
|
-
position: absolute;
|
|
47
|
-
width: 100%;
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
box-shadow: $box-shadow-default;
|
|
50
|
-
border-radius: 0 0 4px 4px;
|
|
51
|
-
height: calc-rem(224px);
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
|
|
54
|
-
.inner-scroll {
|
|
55
|
-
width: 100%;
|
|
56
|
-
height: 100%;
|
|
57
|
-
overflow: auto;
|
|
58
|
-
|
|
59
|
-
.inner {
|
|
60
|
-
ul {
|
|
61
|
-
list-style: none;
|
|
62
|
-
padding: 0;
|
|
63
|
-
margin: 0;
|
|
64
|
-
display: block;
|
|
65
|
-
|
|
66
|
-
li {
|
|
67
|
-
display: block;
|
|
68
|
-
padding: 8px 12px;
|
|
69
|
-
font-size: $font-size-md;
|
|
70
|
-
line-height: $base-line-height;
|
|
71
|
-
font-weight: normal;
|
|
72
|
-
color: var(--color-black);
|
|
73
|
-
cursor: pointer;
|
|
74
|
-
|
|
75
|
-
&:last-child {
|
|
76
|
-
border-color: transparent;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.active {
|
|
80
|
-
color: var(--color-brand-light);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.hovered {
|
|
84
|
-
background: var(--color-gray-50);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
ecabs-timepicker {
|
|
2
|
+
.timeInputWrapper {
|
|
3
|
+
z-index: 1;
|
|
4
|
+
|
|
5
|
+
input {
|
|
6
|
+
min-height: 42px;
|
|
7
|
+
width: 100%;
|
|
8
|
+
display: block;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
padding: calc-rem(8) calc-rem(16);
|
|
11
|
+
border-radius: $border-radius-base;
|
|
12
|
+
border: 1px solid var(--color-gray-500);
|
|
13
|
+
color: var(--color-black);
|
|
14
|
+
outline: none;
|
|
15
|
+
transition: all 300ms ease-in-out;
|
|
16
|
+
|
|
17
|
+
&::placeholder {
|
|
18
|
+
color: rgba(22, 42, 76, 0.5);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:disabled {
|
|
22
|
+
border-bottom-width: 1px;
|
|
23
|
+
background-color: var(--color-white-opacity-05);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
input[type='number']::-webkit-inner-spin-button,
|
|
28
|
+
input[type='number']::-webkit-outer-spin-button {
|
|
29
|
+
-webkit-appearance: none;
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.disabled {
|
|
34
|
+
.descriptions {
|
|
35
|
+
background: transparent;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.form-time-list {
|
|
42
|
+
z-index: 98;
|
|
43
|
+
|
|
44
|
+
.list {
|
|
45
|
+
background-color: white;
|
|
46
|
+
position: absolute;
|
|
47
|
+
width: 100%;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
box-shadow: $box-shadow-default;
|
|
50
|
+
border-radius: 0 0 4px 4px;
|
|
51
|
+
height: calc-rem(224px);
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
|
|
54
|
+
.inner-scroll {
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
overflow: auto;
|
|
58
|
+
|
|
59
|
+
.inner {
|
|
60
|
+
ul {
|
|
61
|
+
list-style: none;
|
|
62
|
+
padding: 0;
|
|
63
|
+
margin: 0;
|
|
64
|
+
display: block;
|
|
65
|
+
|
|
66
|
+
li {
|
|
67
|
+
display: block;
|
|
68
|
+
padding: 8px 12px;
|
|
69
|
+
font-size: $font-size-md;
|
|
70
|
+
line-height: $base-line-height;
|
|
71
|
+
font-weight: normal;
|
|
72
|
+
color: var(--color-black);
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
|
|
75
|
+
&:last-child {
|
|
76
|
+
border-color: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.active {
|
|
80
|
+
color: var(--color-brand-light);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.hovered {
|
|
84
|
+
background: var(--color-gray-50);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.tooltip {
|
|
2
|
-
@include fontSize($font-size-xs);
|
|
3
|
-
|
|
4
|
-
padding: calc-rem(3px 8px);
|
|
5
|
-
color: var(--color-white);
|
|
6
|
-
|
|
7
|
-
@include m(surface) {
|
|
8
|
-
background-color: var(--color-gray-500);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
1
|
+
.tooltip {
|
|
2
|
+
@include fontSize($font-size-xs);
|
|
3
|
+
|
|
4
|
+
padding: calc-rem(3px 8px);
|
|
5
|
+
color: var(--color-white);
|
|
6
|
+
|
|
7
|
+
@include m(surface) {
|
|
8
|
+
background-color: var(--color-gray-500);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
.drag-drop {
|
|
2
|
-
@include m(container) {
|
|
3
|
-
background-color: var(--color-white);
|
|
4
|
-
|
|
5
|
-
&.cdk-drop-list-dragging .drag-drop--item:not(.cdk-drag-placeholder) {
|
|
6
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
7
|
-
}
|
|
8
|
-
.cdk-drag-animating {
|
|
9
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@include m(item) {
|
|
14
|
-
background-color: var(--color-white);
|
|
15
|
-
cursor: move;
|
|
16
|
-
|
|
17
|
-
&.cdk-drag-preview {
|
|
18
|
-
border-radius: $border-radius-base;
|
|
19
|
-
box-shadow: $box-shadow-default;
|
|
20
|
-
padding-left: calc-rem(32);
|
|
21
|
-
padding-right: calc-rem(32);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include m(placeholder) {
|
|
26
|
-
background: var(--color-gray-50);
|
|
27
|
-
border: dashed 2px var(--color-gray-400) !important;
|
|
28
|
-
min-height: calc-rem(120);
|
|
29
|
-
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
.drag-drop {
|
|
2
|
+
@include m(container) {
|
|
3
|
+
background-color: var(--color-white);
|
|
4
|
+
|
|
5
|
+
&.cdk-drop-list-dragging .drag-drop--item:not(.cdk-drag-placeholder) {
|
|
6
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
7
|
+
}
|
|
8
|
+
.cdk-drag-animating {
|
|
9
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@include m(item) {
|
|
14
|
+
background-color: var(--color-white);
|
|
15
|
+
cursor: move;
|
|
16
|
+
|
|
17
|
+
&.cdk-drag-preview {
|
|
18
|
+
border-radius: $border-radius-base;
|
|
19
|
+
box-shadow: $box-shadow-default;
|
|
20
|
+
padding-left: calc-rem(32);
|
|
21
|
+
padding-right: calc-rem(32);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include m(placeholder) {
|
|
26
|
+
background: var(--color-gray-50);
|
|
27
|
+
border: dashed 2px var(--color-gray-400) !important;
|
|
28
|
+
min-height: calc-rem(120);
|
|
29
|
+
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
// Converting pixel-based font-sizes to scalable REMs.
|
|
3
|
-
$base-rem: 16px;
|
|
4
|
-
|
|
5
|
-
@function strip-unit($num) {
|
|
6
|
-
@return math.div($num, ($num * 0 + 1));
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@function cast-rem($value, $base-value: $base-rem) {
|
|
10
|
-
$value: math.div(strip-unit($value), strip-unit($base-value)) * 1rem;
|
|
11
|
-
@if ($value == 0rem) {
|
|
12
|
-
$value: 0;
|
|
13
|
-
} // Turn 0rem into 0
|
|
14
|
-
@return $value;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@function calc-rem($values, $base-value: $base-rem) {
|
|
18
|
-
$max: length($values);
|
|
19
|
-
@if $max == 1 {
|
|
20
|
-
@return cast-rem(nth($values, 1), $base-value);
|
|
21
|
-
}
|
|
22
|
-
$remValues: ();
|
|
23
|
-
@for $i from 1 through $max {
|
|
24
|
-
$remValues: append($remValues, cast-rem(nth($values, $i), $base-value));
|
|
25
|
-
}
|
|
26
|
-
@return $remValues;
|
|
27
|
-
}
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
// Converting pixel-based font-sizes to scalable REMs.
|
|
3
|
+
$base-rem: 16px;
|
|
4
|
+
|
|
5
|
+
@function strip-unit($num) {
|
|
6
|
+
@return math.div($num, ($num * 0 + 1));
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@function cast-rem($value, $base-value: $base-rem) {
|
|
10
|
+
$value: math.div(strip-unit($value), strip-unit($base-value)) * 1rem;
|
|
11
|
+
@if ($value == 0rem) {
|
|
12
|
+
$value: 0;
|
|
13
|
+
} // Turn 0rem into 0
|
|
14
|
+
@return $value;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@function calc-rem($values, $base-value: $base-rem) {
|
|
18
|
+
$max: length($values);
|
|
19
|
+
@if $max == 1 {
|
|
20
|
+
@return cast-rem(nth($values, 1), $base-value);
|
|
21
|
+
}
|
|
22
|
+
$remValues: ();
|
|
23
|
+
@for $i from 1 through $max {
|
|
24
|
+
$remValues: append($remValues, cast-rem(nth($values, $i), $base-value));
|
|
25
|
+
}
|
|
26
|
+
@return $remValues;
|
|
27
|
+
}
|