mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2024-10-30 01:08:47 +00:00
(overrides) Change the text and arrow color of mat-select on focus when it's used as a prefix or suffix in mat-form-field
This commit is contained in:
parent
3395e7f0bc
commit
d0876eb80c
|
@ -633,12 +633,28 @@
|
||||||
@apply icon-size-6;
|
@apply icon-size-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make mat-select usable as */
|
/* Make mat-select usable as prefix and suffix */
|
||||||
/* prefix and suffix */
|
|
||||||
.mat-select {
|
.mat-select {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
|
||||||
|
.mat-select-trigger {
|
||||||
|
|
||||||
|
.mat-select-value {
|
||||||
|
@apply text-primary #{'!important'};
|
||||||
|
}
|
||||||
|
|
||||||
|
.mat-select-arrow-wrapper {
|
||||||
|
|
||||||
|
.mat-select-arrow {
|
||||||
|
border-top-color: var(--fuse-primary) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mat-select-trigger {
|
.mat-select-trigger {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -663,6 +679,7 @@
|
||||||
|
|
||||||
.mat-select-arrow {
|
.mat-select-arrow {
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
@apply text-gray-500 dark:text-gray-400 #{'!important'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user