@annalib/anna-core 24.0.19 → 24.0.21
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 +28 -28
- package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +3 -3
- package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +11 -1
- package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +6 -6
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +14 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -3
- package/fesm2022/annalib-anna-core.mjs +47 -26
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +15 -1
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_animate.scss +27 -27
- package/src/lib/anna-common-scss/_application-spacing.scss +7 -7
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +27 -27
- package/src/lib/anna-common-scss/_button.scss +18 -18
- package/src/lib/anna-common-scss/_colors.scss +107 -107
- package/src/lib/anna-common-scss/_common-order-listing-table.scss +176 -176
- package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
- package/src/lib/anna-common-scss/_customDropdown.scss +123 -123
- package/src/lib/anna-common-scss/_dashboard-partials.scss +106 -106
- package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
- package/src/lib/anna-common-scss/_easy-filter.scss +138 -138
- package/src/lib/anna-common-scss/_edit-filter-popup.scss +70 -70
- package/src/lib/anna-common-scss/_font.scss +9 -9
- package/src/lib/anna-common-scss/_fonts.scss +86 -86
- package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
- package/src/lib/anna-common-scss/_generic-table-common.scss +198 -198
- package/src/lib/anna-common-scss/_gt-table.scss +425 -425
- package/src/lib/anna-common-scss/_icons.scss +3 -3
- package/src/lib/anna-common-scss/_legend.scss +11 -11
- package/src/lib/anna-common-scss/_mat-button-toggle.scss +38 -38
- package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
- package/src/lib/anna-common-scss/_mixins.scss +187 -187
- package/src/lib/anna-common-scss/_modal.scss +37 -37
- package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +36 -36
- package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
- package/src/lib/anna-common-scss/_sort.scss +30 -30
- package/src/lib/anna-common-scss/_toggle.scss +86 -86
- package/src/lib/anna-common-scss/style.scss +1 -1
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +25 -25
- package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +34 -34
- package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
.dashboard-heading {
|
|
2
|
-
color: #268bff;
|
|
3
|
-
font-size: 1rem;
|
|
4
|
-
font-weight: 500;
|
|
5
|
-
letter-spacing: 2.5px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin user-card($bgColor) {
|
|
9
|
-
background-color: $bgColor;
|
|
10
|
-
box-shadow:
|
|
11
|
-
0 2px 2px 0 rgba(0, 0, 0, 0.24),
|
|
12
|
-
0 0 2px 0 rgba(0, 0, 0, 0.12);
|
|
13
|
-
cursor: default;
|
|
14
|
-
transition: 150ms;
|
|
15
|
-
position: relative;
|
|
16
|
-
border-radius: 0.25rem;
|
|
17
|
-
padding: 1.5rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
//orderCard issue 2
|
|
21
|
-
// .user-card:hover {
|
|
22
|
-
// box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
23
|
-
// top: -2px;
|
|
24
|
-
// }
|
|
25
|
-
|
|
26
|
-
@mixin view_link {
|
|
27
|
-
float: right;
|
|
28
|
-
color: #268bff;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@mixin info-box {
|
|
33
|
-
background-color: #c7e1ff;
|
|
34
|
-
border-radius: $fs-4;
|
|
35
|
-
padding: 0.1875rem 0.5rem 0 0.5rem;
|
|
36
|
-
@include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.noData {
|
|
40
|
-
background-color: lightgrey;
|
|
41
|
-
padding: 0.5em;
|
|
42
|
-
width: 40%;
|
|
43
|
-
text-align: center;
|
|
44
|
-
margin: 12.5em auto;
|
|
45
|
-
border-radius: 0.2em;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@mixin svg-parent-card($cardHeight, $cardBgColor) {
|
|
49
|
-
max-width: 100%;
|
|
50
|
-
height: $cardHeight;
|
|
51
|
-
width: 100%;
|
|
52
|
-
background-color: $cardBgColor;
|
|
53
|
-
border: none;
|
|
54
|
-
outline: none;
|
|
55
|
-
padding-bottom: 0;
|
|
56
|
-
margin-bottom: 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@mixin svg-content-placeholder($backgroundGradient, $clipPath) {
|
|
60
|
-
animation: linear 1s placeHolderShimmer infinite;
|
|
61
|
-
background: $backgroundGradient;
|
|
62
|
-
background-size: 800px 104px;
|
|
63
|
-
|
|
64
|
-
width: 100%;
|
|
65
|
-
height: 100%;
|
|
66
|
-
-webkit-clip-path: url($clipPath);
|
|
67
|
-
clip-path: url($clipPath);
|
|
68
|
-
// Safari render fix
|
|
69
|
-
transform: translateZ(0);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
@keyframes placeHolderShimmer {
|
|
73
|
-
0% {
|
|
74
|
-
background-position: -468px 0;
|
|
75
|
-
}
|
|
76
|
-
100% {
|
|
77
|
-
background-position: 468px 0;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
:host::ng-deep.btn-secondary {
|
|
82
|
-
box-shadow: none;
|
|
83
|
-
border: 1px solid lightgray;
|
|
84
|
-
}
|
|
85
|
-
:host ::ng-deep .ui-select-match-text {
|
|
86
|
-
padding-top: 0;
|
|
87
|
-
display: inline-block;
|
|
88
|
-
width: 100%;
|
|
89
|
-
white-space: nowrap;
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
text-overflow: ellipsis;
|
|
92
|
-
}
|
|
93
|
-
@mixin material-icons-and-expand-icon {
|
|
94
|
-
color: #268bff;
|
|
95
|
-
position: absolute;
|
|
96
|
-
float: right;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
pointer-events: none;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@mixin dropdownContainer {
|
|
102
|
-
position: relative;
|
|
103
|
-
margin: 0 0.5625rem 0 0;
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
}
|
|
1
|
+
.dashboard-heading {
|
|
2
|
+
color: #268bff;
|
|
3
|
+
font-size: 1rem;
|
|
4
|
+
font-weight: 500;
|
|
5
|
+
letter-spacing: 2.5px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin user-card($bgColor) {
|
|
9
|
+
background-color: $bgColor;
|
|
10
|
+
box-shadow:
|
|
11
|
+
0 2px 2px 0 rgba(0, 0, 0, 0.24),
|
|
12
|
+
0 0 2px 0 rgba(0, 0, 0, 0.12);
|
|
13
|
+
cursor: default;
|
|
14
|
+
transition: 150ms;
|
|
15
|
+
position: relative;
|
|
16
|
+
border-radius: 0.25rem;
|
|
17
|
+
padding: 1.5rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
//orderCard issue 2
|
|
21
|
+
// .user-card:hover {
|
|
22
|
+
// box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
23
|
+
// top: -2px;
|
|
24
|
+
// }
|
|
25
|
+
|
|
26
|
+
@mixin view_link {
|
|
27
|
+
float: right;
|
|
28
|
+
color: #268bff;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@mixin info-box {
|
|
33
|
+
background-color: #c7e1ff;
|
|
34
|
+
border-radius: $fs-4;
|
|
35
|
+
padding: 0.1875rem 0.5rem 0 0.5rem;
|
|
36
|
+
@include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.noData {
|
|
40
|
+
background-color: lightgrey;
|
|
41
|
+
padding: 0.5em;
|
|
42
|
+
width: 40%;
|
|
43
|
+
text-align: center;
|
|
44
|
+
margin: 12.5em auto;
|
|
45
|
+
border-radius: 0.2em;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin svg-parent-card($cardHeight, $cardBgColor) {
|
|
49
|
+
max-width: 100%;
|
|
50
|
+
height: $cardHeight;
|
|
51
|
+
width: 100%;
|
|
52
|
+
background-color: $cardBgColor;
|
|
53
|
+
border: none;
|
|
54
|
+
outline: none;
|
|
55
|
+
padding-bottom: 0;
|
|
56
|
+
margin-bottom: 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin svg-content-placeholder($backgroundGradient, $clipPath) {
|
|
60
|
+
animation: linear 1s placeHolderShimmer infinite;
|
|
61
|
+
background: $backgroundGradient;
|
|
62
|
+
background-size: 800px 104px;
|
|
63
|
+
|
|
64
|
+
width: 100%;
|
|
65
|
+
height: 100%;
|
|
66
|
+
-webkit-clip-path: url($clipPath);
|
|
67
|
+
clip-path: url($clipPath);
|
|
68
|
+
// Safari render fix
|
|
69
|
+
transform: translateZ(0);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes placeHolderShimmer {
|
|
73
|
+
0% {
|
|
74
|
+
background-position: -468px 0;
|
|
75
|
+
}
|
|
76
|
+
100% {
|
|
77
|
+
background-position: 468px 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host::ng-deep.btn-secondary {
|
|
82
|
+
box-shadow: none;
|
|
83
|
+
border: 1px solid lightgray;
|
|
84
|
+
}
|
|
85
|
+
:host ::ng-deep .ui-select-match-text {
|
|
86
|
+
padding-top: 0;
|
|
87
|
+
display: inline-block;
|
|
88
|
+
width: 100%;
|
|
89
|
+
white-space: nowrap;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
text-overflow: ellipsis;
|
|
92
|
+
}
|
|
93
|
+
@mixin material-icons-and-expand-icon {
|
|
94
|
+
color: #268bff;
|
|
95
|
+
position: absolute;
|
|
96
|
+
float: right;
|
|
97
|
+
cursor: pointer;
|
|
98
|
+
pointer-events: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@mixin dropdownContainer {
|
|
102
|
+
position: relative;
|
|
103
|
+
margin: 0 0.5625rem 0 0;
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
@import "./fonts", "./colors";
|
|
2
|
-
|
|
3
|
-
.input-group-append {
|
|
4
|
-
margin: auto;
|
|
5
|
-
width: 25px;
|
|
6
|
-
background-color: #d8d8d8;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.input-group {
|
|
10
|
-
background-color: #fff;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.input-group > .form-control {
|
|
14
|
-
width: 150px;
|
|
15
|
-
font-size: 12px;
|
|
16
|
-
border: none;
|
|
17
|
-
background-color: white;
|
|
18
|
-
border-right: 1px solid #d4d4d4;
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.datepicker-form-group {
|
|
23
|
-
border-radius: 2px;
|
|
24
|
-
border: 1px solid #d6d6d6;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host ::ng-deep.ngb-dp-arrow.right {
|
|
28
|
-
width: unset !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
::ng-deep .ngb-dp-day.disabled {
|
|
32
|
-
opacity: 0.5;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.form-control {
|
|
36
|
-
padding: 7px;
|
|
37
|
-
color: #000;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
:host ::ng-deep .bg-primary {
|
|
41
|
-
background-color: #8bac2a !important;
|
|
42
|
-
&:focus {
|
|
43
|
-
outline: none;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.form-control {
|
|
48
|
-
&:focus {
|
|
49
|
-
outline: none;
|
|
50
|
-
box-shadow: none;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
textarea:focus,
|
|
55
|
-
input:focus {
|
|
56
|
-
outline: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
::ng-deep .custom-select {
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
&:focus {
|
|
62
|
-
border-color: unset;
|
|
63
|
-
outline: 0;
|
|
64
|
-
box-shadow: unset;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.icon-width {
|
|
69
|
-
font-size: 16px;
|
|
70
|
-
cursor: pointer;
|
|
71
|
-
width: 25px;
|
|
72
|
-
display: flex;
|
|
73
|
-
justify-content: center;
|
|
74
|
-
background-color: #fff;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
input.form-control:disabled {
|
|
78
|
-
background-color: #fff !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
::ng-deep app-single-select-dropdown {
|
|
82
|
-
width: 19.5rem !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.form-control {
|
|
86
|
-
background-color: transparent !important;
|
|
87
|
-
}
|
|
1
|
+
@import "./fonts", "./colors";
|
|
2
|
+
|
|
3
|
+
.input-group-append {
|
|
4
|
+
margin: auto;
|
|
5
|
+
width: 25px;
|
|
6
|
+
background-color: #d8d8d8;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.input-group {
|
|
10
|
+
background-color: #fff;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.input-group > .form-control {
|
|
14
|
+
width: 150px;
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
border: none;
|
|
17
|
+
background-color: white;
|
|
18
|
+
border-right: 1px solid #d4d4d4;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.datepicker-form-group {
|
|
23
|
+
border-radius: 2px;
|
|
24
|
+
border: 1px solid #d6d6d6;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:host ::ng-deep.ngb-dp-arrow.right {
|
|
28
|
+
width: unset !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::ng-deep .ngb-dp-day.disabled {
|
|
32
|
+
opacity: 0.5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.form-control {
|
|
36
|
+
padding: 7px;
|
|
37
|
+
color: #000;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host ::ng-deep .bg-primary {
|
|
41
|
+
background-color: #8bac2a !important;
|
|
42
|
+
&:focus {
|
|
43
|
+
outline: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.form-control {
|
|
48
|
+
&:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
box-shadow: none;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
textarea:focus,
|
|
55
|
+
input:focus {
|
|
56
|
+
outline: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
::ng-deep .custom-select {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
&:focus {
|
|
62
|
+
border-color: unset;
|
|
63
|
+
outline: 0;
|
|
64
|
+
box-shadow: unset;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.icon-width {
|
|
69
|
+
font-size: 16px;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
width: 25px;
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
background-color: #fff;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
input.form-control:disabled {
|
|
78
|
+
background-color: #fff !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
::ng-deep app-single-select-dropdown {
|
|
82
|
+
width: 19.5rem !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.form-control {
|
|
86
|
+
background-color: transparent !important;
|
|
87
|
+
}
|
|
@@ -1,138 +1,138 @@
|
|
|
1
|
-
@use "./fonts" as *;
|
|
2
|
-
@use "./colors" as *;
|
|
3
|
-
@use "sass:map";
|
|
4
|
-
|
|
5
|
-
$intelli-filter-default-map: (
|
|
6
|
-
"inactive-text-color": $primary-color,
|
|
7
|
-
"inactive-border-color": $primary-color,
|
|
8
|
-
"inactive-bg-color": white,
|
|
9
|
-
"active-bg-color": $primary-color,
|
|
10
|
-
"active-text-color": white,
|
|
11
|
-
"active-border-color": $primary-color,
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
@mixin intelli-filter-default($padding: 5px 8px) {
|
|
15
|
-
button.intelli-filter {
|
|
16
|
-
@include fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.6px);
|
|
17
|
-
border-radius: 0.75rem;
|
|
18
|
-
height: 1.5rem;
|
|
19
|
-
margin-right: 8px;
|
|
20
|
-
display: inline-flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
padding: $padding;
|
|
23
|
-
|
|
24
|
-
&:disabled {
|
|
25
|
-
border: 1px solid #bdbdbd !important;
|
|
26
|
-
color: #4a4a4a !important;
|
|
27
|
-
background: #bdbdbd !important;
|
|
28
|
-
opacity: 0.5;
|
|
29
|
-
cursor: not-allowed;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@mixin intelli-filter-custom-styling($intelli-filter-map: $intelli-filter-default-map) {
|
|
35
|
-
$intelli-filter-inactive-text-color: map.get($intelli-filter-map, "inactive-text-color");
|
|
36
|
-
$intelli-filter-inactive-border-color: map.get($intelli-filter-map, "inactive-border-color");
|
|
37
|
-
$intelli-filter-inactive-bg-color: map.get($intelli-filter-map, "inactive-bg-color");
|
|
38
|
-
|
|
39
|
-
$intelli-filter-active-bg-color: map.get($intelli-filter-map, "active-bg-color");
|
|
40
|
-
$intelli-filter-active-text-color: map.get($intelli-filter-map, "active-text-color");
|
|
41
|
-
$intelli-filter-active-border-color: map.get($intelli-filter-map, "active-border-color");
|
|
42
|
-
|
|
43
|
-
color: $intelli-filter-inactive-text-color;
|
|
44
|
-
border: 1px solid $intelli-filter-inactive-border-color;
|
|
45
|
-
background: $intelli-filter-inactive-bg-color;
|
|
46
|
-
|
|
47
|
-
&.active {
|
|
48
|
-
color: $intelli-filter-active-text-color !important;
|
|
49
|
-
background: $intelli-filter-active-bg-color !important;
|
|
50
|
-
border: 1px solid $intelli-filter-active-border-color !important;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
$only-enabled-default-map: (
|
|
55
|
-
"text-color": white,
|
|
56
|
-
"bg-color": $primary-color,
|
|
57
|
-
);
|
|
58
|
-
|
|
59
|
-
@mixin only-enabled-filter($enabled-styling: $only-enabled-default-map) {
|
|
60
|
-
$color: map.get($enabled-styling, "text-color");
|
|
61
|
-
$bg-color: map.get($enabled-styling, "bg-color");
|
|
62
|
-
|
|
63
|
-
button.only-enabled-button {
|
|
64
|
-
color: $color;
|
|
65
|
-
background: $bg-color;
|
|
66
|
-
cursor: default;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
$intelli-filter-icon-default-map: (
|
|
72
|
-
"icon-font-size": 14.5px,
|
|
73
|
-
"icon-margin-right": 4px,
|
|
74
|
-
"active-icon-color": white,
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
@mixin intelli-filter-icons-styling($icon-styling: $intelli-filter-icon-default-map) {
|
|
78
|
-
$icon-font-size: map.get($icon-styling, "icon-font-size");
|
|
79
|
-
$icon-margin-right: map.get($icon-styling, "icon-margin-right");
|
|
80
|
-
$icon-active-color: map.get($icon-styling, "active-icon-color");
|
|
81
|
-
|
|
82
|
-
button.intelli-filter i {
|
|
83
|
-
font-size: $icon-font-size;
|
|
84
|
-
margin-right: $icon-margin-right;
|
|
85
|
-
display: flex;
|
|
86
|
-
vertical-align: middle;
|
|
87
|
-
|
|
88
|
-
&.mdi-star {
|
|
89
|
-
color: $amber;
|
|
90
|
-
opacity: 0.5;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&.mdi-alert {
|
|
94
|
-
color: #f97b07;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&.mdi-bell {
|
|
98
|
-
color: #f3bd18;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&.mdi-file-remove-outline {
|
|
102
|
-
color: #f44336;
|
|
103
|
-
margin-right: 2px;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
button.intelli-filter.active {
|
|
108
|
-
::ng-deep svg {
|
|
109
|
-
g {
|
|
110
|
-
stroke: $icon-active-color !important;
|
|
111
|
-
fill: $icon-active-color !important;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
i {
|
|
116
|
-
color: $icon-active-color;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
i.mdi-star {
|
|
120
|
-
color: #ffc107;
|
|
121
|
-
opacity: 0.9;
|
|
122
|
-
display: flex;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.filter-label {
|
|
128
|
-
@include fonts(Roboto, 0.875rem, normal, normal, normal, normal, normal);
|
|
129
|
-
color: $charcoal;
|
|
130
|
-
margin-bottom: 4px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.filter-divider {
|
|
134
|
-
width: 1px;
|
|
135
|
-
margin-right: 8px;
|
|
136
|
-
height: 24px;
|
|
137
|
-
background: #111;
|
|
138
|
-
}
|
|
1
|
+
@use "./fonts" as *;
|
|
2
|
+
@use "./colors" as *;
|
|
3
|
+
@use "sass:map";
|
|
4
|
+
|
|
5
|
+
$intelli-filter-default-map: (
|
|
6
|
+
"inactive-text-color": $primary-color,
|
|
7
|
+
"inactive-border-color": $primary-color,
|
|
8
|
+
"inactive-bg-color": white,
|
|
9
|
+
"active-bg-color": $primary-color,
|
|
10
|
+
"active-text-color": white,
|
|
11
|
+
"active-border-color": $primary-color,
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
@mixin intelli-filter-default($padding: 5px 8px) {
|
|
15
|
+
button.intelli-filter {
|
|
16
|
+
@include fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.6px);
|
|
17
|
+
border-radius: 0.75rem;
|
|
18
|
+
height: 1.5rem;
|
|
19
|
+
margin-right: 8px;
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
padding: $padding;
|
|
23
|
+
|
|
24
|
+
&:disabled {
|
|
25
|
+
border: 1px solid #bdbdbd !important;
|
|
26
|
+
color: #4a4a4a !important;
|
|
27
|
+
background: #bdbdbd !important;
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
cursor: not-allowed;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin intelli-filter-custom-styling($intelli-filter-map: $intelli-filter-default-map) {
|
|
35
|
+
$intelli-filter-inactive-text-color: map.get($intelli-filter-map, "inactive-text-color");
|
|
36
|
+
$intelli-filter-inactive-border-color: map.get($intelli-filter-map, "inactive-border-color");
|
|
37
|
+
$intelli-filter-inactive-bg-color: map.get($intelli-filter-map, "inactive-bg-color");
|
|
38
|
+
|
|
39
|
+
$intelli-filter-active-bg-color: map.get($intelli-filter-map, "active-bg-color");
|
|
40
|
+
$intelli-filter-active-text-color: map.get($intelli-filter-map, "active-text-color");
|
|
41
|
+
$intelli-filter-active-border-color: map.get($intelli-filter-map, "active-border-color");
|
|
42
|
+
|
|
43
|
+
color: $intelli-filter-inactive-text-color;
|
|
44
|
+
border: 1px solid $intelli-filter-inactive-border-color;
|
|
45
|
+
background: $intelli-filter-inactive-bg-color;
|
|
46
|
+
|
|
47
|
+
&.active {
|
|
48
|
+
color: $intelli-filter-active-text-color !important;
|
|
49
|
+
background: $intelli-filter-active-bg-color !important;
|
|
50
|
+
border: 1px solid $intelli-filter-active-border-color !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
$only-enabled-default-map: (
|
|
55
|
+
"text-color": white,
|
|
56
|
+
"bg-color": $primary-color,
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
@mixin only-enabled-filter($enabled-styling: $only-enabled-default-map) {
|
|
60
|
+
$color: map.get($enabled-styling, "text-color");
|
|
61
|
+
$bg-color: map.get($enabled-styling, "bg-color");
|
|
62
|
+
|
|
63
|
+
button.only-enabled-button {
|
|
64
|
+
color: $color;
|
|
65
|
+
background: $bg-color;
|
|
66
|
+
cursor: default;
|
|
67
|
+
pointer-events: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
$intelli-filter-icon-default-map: (
|
|
72
|
+
"icon-font-size": 14.5px,
|
|
73
|
+
"icon-margin-right": 4px,
|
|
74
|
+
"active-icon-color": white,
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
@mixin intelli-filter-icons-styling($icon-styling: $intelli-filter-icon-default-map) {
|
|
78
|
+
$icon-font-size: map.get($icon-styling, "icon-font-size");
|
|
79
|
+
$icon-margin-right: map.get($icon-styling, "icon-margin-right");
|
|
80
|
+
$icon-active-color: map.get($icon-styling, "active-icon-color");
|
|
81
|
+
|
|
82
|
+
button.intelli-filter i {
|
|
83
|
+
font-size: $icon-font-size;
|
|
84
|
+
margin-right: $icon-margin-right;
|
|
85
|
+
display: flex;
|
|
86
|
+
vertical-align: middle;
|
|
87
|
+
|
|
88
|
+
&.mdi-star {
|
|
89
|
+
color: $amber;
|
|
90
|
+
opacity: 0.5;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&.mdi-alert {
|
|
94
|
+
color: #f97b07;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&.mdi-bell {
|
|
98
|
+
color: #f3bd18;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.mdi-file-remove-outline {
|
|
102
|
+
color: #f44336;
|
|
103
|
+
margin-right: 2px;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
button.intelli-filter.active {
|
|
108
|
+
::ng-deep svg {
|
|
109
|
+
g {
|
|
110
|
+
stroke: $icon-active-color !important;
|
|
111
|
+
fill: $icon-active-color !important;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
i {
|
|
116
|
+
color: $icon-active-color;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
i.mdi-star {
|
|
120
|
+
color: #ffc107;
|
|
121
|
+
opacity: 0.9;
|
|
122
|
+
display: flex;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.filter-label {
|
|
128
|
+
@include fonts(Roboto, 0.875rem, normal, normal, normal, normal, normal);
|
|
129
|
+
color: $charcoal;
|
|
130
|
+
margin-bottom: 4px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.filter-divider {
|
|
134
|
+
width: 1px;
|
|
135
|
+
margin-right: 8px;
|
|
136
|
+
height: 24px;
|
|
137
|
+
background: #111;
|
|
138
|
+
}
|