Pull request #120: Distinguish between active and hover in dialogs
Merge in RED/ui from RED-1117 to master * commit '534692ce9b22d316349281d73054d0aa0ff5c40c': Distinguish between active and hover in dialogs
This commit is contained in:
commit
5b3e603cf4
@ -38,7 +38,7 @@
|
|||||||
<div class="red-input-group required w-300" *ngIf="isDictionaryRequest && !isFalsePositiveRequest">
|
<div class="red-input-group required w-300" *ngIf="isDictionaryRequest && !isFalsePositiveRequest">
|
||||||
<label translate="manual-annotation.dialog.content.dictionary"></label>
|
<label translate="manual-annotation.dialog.content.dictionary"></label>
|
||||||
|
|
||||||
<mat-select panelClass="description-select" formControlName="dictionary">
|
<mat-select formControlName="dictionary">
|
||||||
<mat-select-trigger>{{ displayedDictionaryLabel }}</mat-select-trigger>
|
<mat-select-trigger>{{ displayedDictionaryLabel }}</mat-select-trigger>
|
||||||
<mat-option
|
<mat-option
|
||||||
*ngFor="let dictionary of redactionDictionaries"
|
*ngFor="let dictionary of redactionDictionaries"
|
||||||
|
|||||||
@ -1,18 +1,15 @@
|
|||||||
@import 'red-variables';
|
@import 'red-variables';
|
||||||
|
|
||||||
.mat-select-panel.description-select mat-option.mat-option {
|
.mat-select-panel .mat-option {
|
||||||
height: unset;
|
font-family: Inter, sans-serif;
|
||||||
|
|
||||||
.mat-option-text.mat-option-text {
|
&:hover:not(.mat-option-disabled),
|
||||||
white-space: normal;
|
&:focus:not(.mat-option-disabled) {
|
||||||
line-height: 16px;
|
background-color: $grey-6;
|
||||||
margin: 12px auto;
|
}
|
||||||
font-weight: 500;
|
|
||||||
|
|
||||||
.description {
|
&.mat-selected:not(.mat-option-multiple) {
|
||||||
font-size: 12px;
|
background-color: rgba($primary, 0.2);
|
||||||
font-weight: initial;
|
color: $grey-1;
|
||||||
opacity: 0.6;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user