ecabs-components 0.0.63 → 0.0.64
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/package.json +1 -1
- package/styles/material/_theme.scss +99 -0
- package/styles/material/overrides/_autocomplete.scss +12 -0
- package/styles/material/overrides/_button.scss +81 -0
- package/styles/material/overrides/_card.scss +17 -0
- package/styles/material/overrides/_chip.scss +108 -0
- package/styles/material/overrides/_datepicker.scss +169 -0
- package/styles/material/overrides/_dialog.scss +8 -0
- package/styles/material/overrides/_divider.scss +3 -0
- package/styles/material/overrides/_expansion.scss +31 -0
- package/styles/material/overrides/_form.scss +52 -0
- package/styles/material/overrides/_icon.scss +3 -0
- package/styles/material/overrides/_menu.scss +3 -0
- package/styles/material/overrides/_paginator.scss +0 -0
- package/styles/material/overrides/_phone.scss +24 -0
- package/styles/material/overrides/_select.scss +70 -0
- package/styles/material/overrides/_tab.scss +23 -0
- package/styles/material/overrides/_table.scss +12 -0
- package/styles/material/overrides/_toaster.scss +38 -0
- package/styles/material/overrides/_toggle.scss +10 -0
- package/styles/material/overrides/_tooltip.scss +3 -0
- package/styles/material/overrides/index.scss +19 -0
- package/styles/scss/base/_heading.scss +17 -0
- package/styles/scss/base/_normalize.scss +78 -0
- package/styles/scss/base/index.scss +2 -0
- package/styles/scss/modules/_autocomplete.scss +29 -0
- package/styles/scss/modules/_button.scss +281 -0
- package/styles/scss/modules/_card.scss +23 -0
- package/styles/scss/modules/_chip.scss +56 -0
- package/styles/scss/modules/_datepicker.scss +422 -0
- package/styles/scss/modules/_dialog.scss +14 -0
- package/styles/scss/modules/_divider.scss +3 -0
- package/styles/scss/modules/_form.scss +226 -0
- package/styles/scss/modules/_icon.scss +30 -0
- package/styles/scss/modules/_img.scss +32 -0
- package/styles/scss/modules/_legend.scss +64 -0
- package/styles/scss/modules/_list.scss +17 -0
- package/styles/scss/modules/_map.scss +112 -0
- package/styles/scss/modules/_percentage.scss +33 -0
- package/styles/scss/modules/_phone.scss +24 -0
- package/styles/scss/modules/_select.scss +56 -0
- package/styles/scss/modules/_statuses.scss +31 -0
- package/styles/scss/modules/_tab.scss +16 -0
- package/styles/scss/modules/_table.scss +107 -0
- package/styles/scss/modules/_timepicker.scss +96 -0
- package/styles/scss/modules/_toaster.scss +53 -0
- package/styles/scss/modules/_tooltip.scss +7 -0
- package/styles/scss/modules/drag-drop.scss +31 -0
- package/styles/scss/modules/index.scss +23 -0
- package/styles/scss/utilities/_colors.scss +52 -0
- package/styles/scss/utilities/_fonts.scss +26 -0
- package/styles/scss/utilities/_functions.scss +27 -0
- package/styles/scss/utilities/_helpers.scss +14 -0
- package/styles/scss/utilities/_mixins.scss +65 -0
- package/styles/scss/utilities/_variables.scss +19 -0
- package/styles/scss/utilities/index.scss +6 -0
- package/styles/styles.scss +6 -0
- package/styles/tailwind/index.scss +756 -0
package/package.json
CHANGED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Custom Theming for Angular Material
|
|
2
|
+
// For more information: https://material.angular.io/guide/theming
|
|
3
|
+
@import '@angular/material/theming';
|
|
4
|
+
|
|
5
|
+
// Plus imports for other components in your app.
|
|
6
|
+
@import '../scss/utilities/index';
|
|
7
|
+
@import './overrides/index';
|
|
8
|
+
|
|
9
|
+
// Include the common styles for Angular Material. We include this here so that you only
|
|
10
|
+
// have to load a single css file for Angular Material in your app.
|
|
11
|
+
// Be sure that you only ever include this mixin once!
|
|
12
|
+
@include mat-core();
|
|
13
|
+
|
|
14
|
+
$mat-primary: (
|
|
15
|
+
100: var(--color-brand-dark),
|
|
16
|
+
700: var(--color-brand-dark),
|
|
17
|
+
A700: var(--color-brand-dark),
|
|
18
|
+
contrast: (
|
|
19
|
+
A700: $light-primary-text,
|
|
20
|
+
),
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
$mat-accent: (
|
|
24
|
+
A700: var(--color-brand-light),
|
|
25
|
+
contrast: (
|
|
26
|
+
A700: $light-primary-text,
|
|
27
|
+
),
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
$mat-secondary: (
|
|
31
|
+
100: var(--color-brand-dark),
|
|
32
|
+
700: var(--color-brand-dark),
|
|
33
|
+
A700: var(--color-brand-dark),
|
|
34
|
+
contrast: (
|
|
35
|
+
A700: $light-primary-text,
|
|
36
|
+
),
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
$mat-warning: (
|
|
40
|
+
100: var(--color-error),
|
|
41
|
+
500: var(--color-error),
|
|
42
|
+
700: var(--color-error),
|
|
43
|
+
A700: var(--color-error),
|
|
44
|
+
contrast: (
|
|
45
|
+
A700: $light-primary-text,
|
|
46
|
+
),
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
|
50
|
+
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
51
|
+
// hue. Available color palettes: https://material.io/design/color/
|
|
52
|
+
$cuorium-primary: mat-palette($mat-primary, A700);
|
|
53
|
+
$cuorium-accent: mat-palette($mat-secondary, A700);
|
|
54
|
+
|
|
55
|
+
// The warn palette is optional (defaults to red).
|
|
56
|
+
$cuorium-warn: mat-palette($mat-warning);
|
|
57
|
+
|
|
58
|
+
// Create the theme object. A theme consists of configurations for individual
|
|
59
|
+
// theming systems such as "color" or "typography".
|
|
60
|
+
$cuorium-theme: mat-light-theme(
|
|
61
|
+
(
|
|
62
|
+
color: (
|
|
63
|
+
primary: $cuorium-primary,
|
|
64
|
+
accent: $cuorium-accent,
|
|
65
|
+
warn: $cuorium-warn,
|
|
66
|
+
),
|
|
67
|
+
)
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
// Include theme styles for core and each component used in your app.
|
|
71
|
+
// Alternatively, you can import and @include the theme mixins for each component
|
|
72
|
+
// that you are using.
|
|
73
|
+
@include angular-material-theme($cuorium-theme);
|
|
74
|
+
|
|
75
|
+
// Define a custom typography config that overrides the font-family as well as the
|
|
76
|
+
// `headlines` and `body-1` levels.
|
|
77
|
+
$custom-typography: mat-typography-config(
|
|
78
|
+
$font-family: $font-family-primary,
|
|
79
|
+
$body-1: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
|
|
80
|
+
$input: mat-typography-level($font-size-base, $base-line-height, $font-weight-regular),
|
|
81
|
+
$headline: mat-typography-level($font-heading-lg, $base-line-height, $font-weight-medium),
|
|
82
|
+
$title: mat-typography-level($font-heading-base, $base-line-height, $font-weight-medium),
|
|
83
|
+
$subheading-2: mat-typography-level($font-heading-md, $base-line-height, $font-weight-medium),
|
|
84
|
+
$subheading-1: mat-typography-level($font-heading-sm, $base-line-height, $font-weight-medium),
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
@include angular-material-typography($custom-typography);
|
|
88
|
+
|
|
89
|
+
.mat-body p,
|
|
90
|
+
.mat-body-1 p,
|
|
91
|
+
.mat-typography p {
|
|
92
|
+
margin: inherit;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
mat-progress-bar {
|
|
96
|
+
.mat-progress-bar-buffer {
|
|
97
|
+
background-color: var(--color-brand-300) !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
button,
|
|
2
|
+
a {
|
|
3
|
+
&.mat-button,
|
|
4
|
+
&.mat-stroked-button,
|
|
5
|
+
&.mat-raised-button,
|
|
6
|
+
&.mat-flat-button {
|
|
7
|
+
@extend .btn;
|
|
8
|
+
|
|
9
|
+
&.btn__group--item,
|
|
10
|
+
&.btn {
|
|
11
|
+
@extend .btn__group--item;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-icon {
|
|
15
|
+
color: inherit;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.mat-button.mat-primary,
|
|
20
|
+
&.mat-flat-button.mat-primary {
|
|
21
|
+
@extend .btn__primary;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.mat-stroked-button.mat-primary {
|
|
25
|
+
@extend .btn__primary--outline;
|
|
26
|
+
|
|
27
|
+
border: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.mat-button.mat-accent,
|
|
31
|
+
&.mat-flat-button.mat-accent {
|
|
32
|
+
@extend .btn__secondary;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.mat-stroked-button.mat-accent {
|
|
36
|
+
@extend .btn__secondary--outline;
|
|
37
|
+
|
|
38
|
+
border: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.mat-button.mat-warn {
|
|
42
|
+
@extend .btn__warn;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.mat-button.mat-success {
|
|
46
|
+
@extend .btn__success;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.mat-stroked-button.mat-warn {
|
|
50
|
+
@extend .btn__warn--outline;
|
|
51
|
+
|
|
52
|
+
border: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.mat-stroked-button.mat-success {
|
|
56
|
+
@extend .btn__success--outline;
|
|
57
|
+
|
|
58
|
+
border: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.mat-button.mat-button-disabled {
|
|
62
|
+
@extend .btn__disabled;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&.mat-stroked-button.mat-button-disabled {
|
|
66
|
+
@extend .btn__disabled--outline;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.mat-button-wrapper {
|
|
70
|
+
@extend .btn__with-icon--wrapper;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.mat-icon-button .mat-button-wrapper .mat-icon {
|
|
74
|
+
margin-right: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.mat-button.mat-icon-button {
|
|
78
|
+
min-width: auto;
|
|
79
|
+
padding: calc-rem(8);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.mat-card {
|
|
2
|
+
&.mat-card:not([class*=mat-elevation-z]) {
|
|
3
|
+
@extend .card;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.mat-card-subtitle {
|
|
7
|
+
@extend .card--subtitle;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-card-title {
|
|
11
|
+
@extend .card--title;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-card-content {
|
|
15
|
+
@extend .card__content;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.mat-chip {
|
|
2
|
+
&,
|
|
3
|
+
&.mat-standard-chip {
|
|
4
|
+
@extend .chip;
|
|
5
|
+
|
|
6
|
+
&.chip--info {
|
|
7
|
+
@extend .chip--info;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&.chip--success {
|
|
11
|
+
@extend .chip--success;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&.chip--warn {
|
|
15
|
+
@extend .chip--warn;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.chip--danger {
|
|
19
|
+
@extend .chip--danger;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.chip--selected {
|
|
23
|
+
@extend .chip--selected;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.chip--not-selected {
|
|
27
|
+
@extend .chip--not-selected;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.accepted {
|
|
31
|
+
@extend .accepted;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.cab_arrived_at_dropoff, &.cashed_in {
|
|
35
|
+
@extend .cab_arrived_at_dropoff;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.cab_arrived_at_intermediary_waypoint {
|
|
39
|
+
@extend .cab_arrived_at_intermediary_waypoint;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.cab_arrived_at_pickup {
|
|
43
|
+
@extend .cab_arrived_at_pickup;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.cancelled {
|
|
47
|
+
@extend .cancelled;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.completed {
|
|
51
|
+
@extend .completed;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.dispatched {
|
|
55
|
+
@extend .dispatched;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&.dropped_off {
|
|
59
|
+
@extend .dropped_off;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.no_show {
|
|
63
|
+
@extend .no_show;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.pending {
|
|
67
|
+
@extend .pending;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.rejected, &.suspended,
|
|
71
|
+
&.cancelled, &.sick, &.no_show, &.unable_to_complete, &.unavailable, {
|
|
72
|
+
@extend .rejected;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&.reserved, &.scheduled, &.ended {
|
|
76
|
+
@extend .reserved;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.trip_ended {
|
|
80
|
+
@extend .trip_ended;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.trip_ongoing {
|
|
84
|
+
@extend .trip_ongoing;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.trip_started, &.started {
|
|
88
|
+
@extend .trip_started;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&[ng-reflect-disable-ripple] {
|
|
92
|
+
&::after {
|
|
93
|
+
background: transparent;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mat-icon {
|
|
99
|
+
&,
|
|
100
|
+
&:hover {
|
|
101
|
+
color: inherit;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.mat-chip.mat-standard-chip[ng-reflect-disable-ripple]:not(.mat-chip-disabled):active {
|
|
107
|
+
box-shadow: none;
|
|
108
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
@import "../../scss/utilities/index.scss";
|
|
2
|
+
|
|
3
|
+
.header {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: 0.5em;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.header-label {
|
|
10
|
+
flex: 1;
|
|
11
|
+
height: 1em;
|
|
12
|
+
font-weight: 500;
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.select-date-label {
|
|
17
|
+
color: var(--color-brand-dark);
|
|
18
|
+
padding-top: 1.6rem;
|
|
19
|
+
padding-left: 1.6rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.text-xl {
|
|
23
|
+
font-size: 1.25rem;
|
|
24
|
+
line-height: 1.75rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.font-semibold {
|
|
28
|
+
font-weight: 600;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.grid-picker-actions {
|
|
32
|
+
display: grid;
|
|
33
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
34
|
+
gap: 1rem;
|
|
35
|
+
margin-right: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ml-0 {
|
|
39
|
+
margin-left: 0rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.w-full {
|
|
43
|
+
width: 100% !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mat-calendar-table {
|
|
47
|
+
.mat-calendar-body {
|
|
48
|
+
tr:first-child[aria-hidden='true'] {
|
|
49
|
+
display: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.mat-datepicker-toggle {
|
|
55
|
+
padding-top: 0.75rem;
|
|
56
|
+
margin-left: -2.25rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mat-calendar-body-label {
|
|
60
|
+
visibility: hidden;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.mat-calendar-body-cell-content {
|
|
64
|
+
border-radius: 0.25rem !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.mat-calendar-body-active {
|
|
68
|
+
.mat-calendar-body-today {
|
|
69
|
+
color: var(--color-brand-light) !important;
|
|
70
|
+
background-color: var(--color-brand-light2) !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mat-calendar {
|
|
75
|
+
.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover {
|
|
76
|
+
> .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
77
|
+
background-color: var(--color-brand-light2);
|
|
78
|
+
color: var(--color-black);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mat-calendar-body-cell.mat-calendar-body-active {
|
|
83
|
+
&, &:hover {
|
|
84
|
+
.mat-calendar-body-cell-content.mat-calendar-body-selected {
|
|
85
|
+
background-color: var(--color-brand-light) !important;
|
|
86
|
+
color: var(--color-white) !important;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.mat-calendar-body-selected {
|
|
92
|
+
background-color: var(--color-brand-light);
|
|
93
|
+
color: var(--color-white) !important;
|
|
94
|
+
|
|
95
|
+
.mat-calendar-body-today {
|
|
96
|
+
color: var(--color-white) !important;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.mat-calendar-table-header,
|
|
101
|
+
.mat-calendar-body-label {
|
|
102
|
+
color: var(--color-gray-500);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.mat-calendar-body-cell > .mat-calendar-body-today {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.mat-calendar-body-cell-container:hover .mat-calendar-body-cell.mat-calendar-body-disabled {
|
|
110
|
+
.mat-calendar-body-cell-content {
|
|
111
|
+
background-color: transparent !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.mat-calendar-body-cell-content,
|
|
116
|
+
.mat-date-range-input-separator {
|
|
117
|
+
color: var(--color-black);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.mat-calendar-content {
|
|
121
|
+
padding: 0 1.6rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.mat-calendar-table-header th {
|
|
125
|
+
@include fontSize(16px);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.mat-calendar-table-header-divider::after {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.mat-calendar-body {
|
|
133
|
+
@include fontSize(16px);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.mat-calendar-body-in-range {
|
|
137
|
+
&::before {
|
|
138
|
+
background-color: var(--color-brand-light2);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.mat-calendar-body-cell-content {
|
|
142
|
+
color: var(--color-black) !important;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.mat-calendar-body-range-start, .mat-calendar-body-range-end {
|
|
147
|
+
.mat-calendar-body-cell-content {
|
|
148
|
+
color: var(--color-white) !important;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.mat-datepicker-popup {
|
|
154
|
+
.mat-datepicker-content {
|
|
155
|
+
color: var(--color-black);
|
|
156
|
+
box-shadow: $box-shadow-large;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.mat-datepicker-actions {
|
|
160
|
+
margin-top: 1rem;
|
|
161
|
+
padding: 0 1.6rem 1.6rem 1.6rem;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.mat-calendar-body-disabled {
|
|
165
|
+
> .mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
|
|
166
|
+
color: var(--color-gray-300);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.example-headers-align .mat-expansion-panel-header-title {
|
|
2
|
+
@include fontSize($font-heading-xs);
|
|
3
|
+
|
|
4
|
+
color: var(--color-brand-dark);
|
|
5
|
+
font-weight: $font-weight-semibold;
|
|
6
|
+
line-height: 32px;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.mat-accordion {
|
|
11
|
+
.mat-expansion-panel {
|
|
12
|
+
padding: calc-rem(24 24 0 24);
|
|
13
|
+
|
|
14
|
+
.mat-expansion-panel-header {
|
|
15
|
+
padding: calc-rem(0 0 24 0);
|
|
16
|
+
|
|
17
|
+
&:hover {
|
|
18
|
+
background: unset !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.mat-expansion-panel-body {
|
|
23
|
+
padding: calc-rem(0 0 16 0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.mat-expansion-panel:not([class*=mat-elevation-z]) {
|
|
28
|
+
box-shadow: $box-shadow-default;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.mat-form-field {
|
|
2
|
+
display: block !important;
|
|
3
|
+
.mat-form-field-wrapper {
|
|
4
|
+
padding: 0;
|
|
5
|
+
.mat-form-field-flex {
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
.mat-form-field-infix {
|
|
9
|
+
padding: 0;
|
|
10
|
+
border: 0;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&-underline {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-disabled {
|
|
18
|
+
.mat-input-element {
|
|
19
|
+
@extend .form-field__input--disabled;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-label {
|
|
24
|
+
@extend .form-field__label;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-invalid {
|
|
28
|
+
.mat-input-element,
|
|
29
|
+
mat-error,
|
|
30
|
+
mat-date-range-input {
|
|
31
|
+
@extend .form-field__input--invalid;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-suffix,
|
|
36
|
+
[matsuffix] {
|
|
37
|
+
@extend .form-field__input--suffix;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.mat-input-element {
|
|
41
|
+
@extend .form-field__input;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mat-form-field-subscript-wrapper {
|
|
45
|
+
margin-top: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
label {
|
|
51
|
+
@extend .form-field__label;
|
|
52
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
ecabs-phone {
|
|
2
|
+
@extend .ecabs-phone;
|
|
3
|
+
.ngx-mat-tel-input-container {
|
|
4
|
+
.mat-input-element {
|
|
5
|
+
@extend .ngx-mat-tel-input-input;
|
|
6
|
+
}
|
|
7
|
+
.country-selector {
|
|
8
|
+
@extend .country-selector;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.form-field.error {
|
|
12
|
+
.ngx-mat-tel-input-container {
|
|
13
|
+
@extend .error;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.disabled {
|
|
17
|
+
input {
|
|
18
|
+
@extend .disabled-field;
|
|
19
|
+
}
|
|
20
|
+
button {
|
|
21
|
+
background-color: unset !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.mat-select {
|
|
2
|
+
@extend .select;
|
|
3
|
+
|
|
4
|
+
.mat-select-arrow {
|
|
5
|
+
border-left: 0;
|
|
6
|
+
border-right: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.mat-select-arrow-wrapper {
|
|
10
|
+
width: calc-rem(16px);
|
|
11
|
+
display: unset;
|
|
12
|
+
vertical-align: auto;
|
|
13
|
+
transform: none;
|
|
14
|
+
padding-top: 0.375rem;
|
|
15
|
+
|
|
16
|
+
opacity: 1;
|
|
17
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02IDcuNDEwMTZMMCAxLjQxMDE2TDEuNDEgMC4wMDAxNTY0MDNMNiA0LjU4MDE2TDEwLjU5IDAuMDAwMTU2NDAzTDEyIDEuNDEwMTZMNiA3LjQxMDE2WiIgZmlsbD0iIzZCNkQ3MyIvPgo8L3N2Zz4K);
|
|
18
|
+
background-size: calc-rem(12px 7.41px);
|
|
19
|
+
background-position: right center;
|
|
20
|
+
background-repeat: no-repeat;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-panel-wrap {
|
|
24
|
+
.mat-select-panel,
|
|
25
|
+
.mat-select-panel:not([class*='mat-elevation-z']) {
|
|
26
|
+
box-shadow: 0 0 15px rgba(#6b6d73, 0.24);
|
|
27
|
+
|
|
28
|
+
min-width: calc(100% + 32px) !important;
|
|
29
|
+
|
|
30
|
+
&[aria-multiselectable='true'] {
|
|
31
|
+
transform: translate(1.5rem, 0rem) !important;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
ecabs-select .mat-select .mat-select-value {
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
ecabs-select .mat-select {
|
|
42
|
+
&, .mat-option {
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.mat-form-field-underline {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
.form-field.error {
|
|
51
|
+
.mat-select {
|
|
52
|
+
border-color: var(--color-error);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.cdk-overlay-backdrop.cdk-overlay-backdrop-showing.cdk-overlay-transparent-backdrop {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.wide-select {
|
|
61
|
+
min-width: calc-rem(240px);
|
|
62
|
+
|
|
63
|
+
.mat-list-item {
|
|
64
|
+
@include fontSize(12px);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.no-title {
|
|
69
|
+
transform: translateX(calc-rem(-196px)) !important;
|
|
70
|
+
}
|