@tilde-nlp/ngx-common 4.0.5 → 4.0.7
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/esm2022/lib/file-upload/file-upload.component.mjs +2 -2
- package/esm2022/lib/multi-functional-table/multi-functional-table.component.mjs +3 -3
- package/esm2022/lib/pipes/filter-with-highlight/filter-with-highlight.pipe.mjs +18 -15
- package/fesm2022/tilde-nlp-ngx-common.mjs +21 -18
- package/fesm2022/tilde-nlp-ngx-common.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/mixins/material-overrides/mat-form-field-overrides.mixin.scss +18 -8
- package/styles/mixins/material-overrides/mat-progress-bar-overrides.mixin.scss +2 -7
- package/styles/strapi/strapi-base.scss +12 -4
package/package.json
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
@mixin mat-form-field-overrides() {
|
|
2
2
|
|
|
3
3
|
// goes through all color map and adds option to add every color from map in html. You can use <button mat-button color="my-color"> as long as my-color is in color map.
|
|
4
|
-
//mat-input focused color
|
|
5
|
-
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version.*/
|
|
6
|
-
.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick {
|
|
7
|
-
color: var(--accent) !important;
|
|
8
|
-
}
|
|
9
4
|
|
|
10
|
-
// mat-input
|
|
5
|
+
// mat-input caret color
|
|
11
6
|
.mat-mdc-input-element {
|
|
12
|
-
caret-color: var(--accent) !important;
|
|
7
|
+
caret-color: var(--secondary-accent) !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// input focused style
|
|
11
|
+
.mat-mdc-form-field.mat-focused input {
|
|
12
|
+
color: var(--secondary-accent) !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// input focused border style
|
|
16
|
+
.mat-mdc-form-field.mat-focused div {
|
|
17
|
+
border-color: var(--secondary-accent) !important;
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
// mat-label focused style
|
|
16
21
|
.mat-mdc-form-field.mat-focused .mdc-floating-label {
|
|
17
|
-
color: var(--accent) !important;
|
|
22
|
+
color: var(--secondary-accent) !important;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// mat-select option color
|
|
26
|
+
.mdc-list-item--selected .mdc-list-item__primary-text {
|
|
27
|
+
color: var(--secondary-accent) !important;
|
|
18
28
|
}
|
|
19
29
|
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
@mixin mat-progress-bar-overrides() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
background-color: var(--accent) !important;
|
|
5
|
-
}
|
|
6
|
-
/* TODO(mdc-migration): The following rule targets internal classes of progress-bar that may no longer apply for the MDC version. */
|
|
7
|
-
.mat-progress-bar-buffer {
|
|
8
|
-
background-color: var(--base-70) !important;
|
|
2
|
+
.mdc-linear-progress__bar-inner {
|
|
3
|
+
border-color: var(--secondary-accent) !important;
|
|
9
4
|
}
|
|
10
5
|
|
|
11
6
|
.mat-mdc-progress-bar {
|
|
@@ -10,14 +10,22 @@ dynamic-zone,
|
|
|
10
10
|
|
|
11
11
|
a {
|
|
12
12
|
@extend .semi-bold;
|
|
13
|
+
$primary-accent: var(--primary-accent) !important;
|
|
14
|
+
$base-100: var(--base-100) !important;
|
|
15
|
+
|
|
13
16
|
text-decoration: none;
|
|
17
|
+
color: $primary-accent;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
color: $primary-accent;
|
|
21
|
+
}
|
|
14
22
|
|
|
15
|
-
&:not(.base-color-link) {
|
|
16
|
-
|
|
17
|
-
color: $
|
|
23
|
+
&:not(.base-color-link, .mdc-button--outlined, .footer-links a) {
|
|
24
|
+
color: $base-100;
|
|
25
|
+
background-color: $primary-accent;
|
|
18
26
|
|
|
19
27
|
&:hover {
|
|
20
|
-
color: $
|
|
28
|
+
color: $base-100;
|
|
21
29
|
}
|
|
22
30
|
}
|
|
23
31
|
}
|