mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
[ACS-8066] Style inputs for link rule dialog (#9773)
This commit is contained in:
parent
86d79571a4
commit
1624260393
@ -4,13 +4,13 @@
|
||||
class="adf-content-node-selector-content-input"
|
||||
subscriptSizing="dynamic"
|
||||
*ngIf="showSearch">
|
||||
<mat-label>{{ 'NODE_SELECTOR.SEARCH' | translate }}</mat-label>
|
||||
<input matInput
|
||||
id="searchInput"
|
||||
[formControl]="searchInput"
|
||||
type="text"
|
||||
[value]="searchTerm"
|
||||
adf-auto-focus
|
||||
[placeholder]="'NODE_SELECTOR.SEARCH' | translate"
|
||||
data-automation-id="content-node-selector-search-input">
|
||||
|
||||
<mat-icon *ngIf="searchTerm.length > 0"
|
||||
|
@ -52,12 +52,19 @@ h2.adf-search-results-label {
|
||||
align-items: center;
|
||||
|
||||
#{$mat-form-field-infix} {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.adf-sites-dropdown-form-field {
|
||||
&#{$mat-form-field-hide-placeholder} {
|
||||
#{$mat-form-field-infix} {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#{$mat-form-field-subscript-wrapper} {
|
||||
height: 16px;
|
||||
}
|
||||
@ -66,7 +73,7 @@ h2.adf-search-results-label {
|
||||
|
||||
&-input {
|
||||
width: 100%;
|
||||
margin: 16px 0;
|
||||
margin-bottom: 8px;
|
||||
|
||||
.adf-content-node-selector-content-input-icon {
|
||||
color: var(--adf-theme-foreground-icon-color-054);
|
||||
@ -80,6 +87,10 @@ h2.adf-search-results-label {
|
||||
color: var(--adf-theme-foreground-base-color);
|
||||
}
|
||||
}
|
||||
|
||||
#{$mat-form-field-subscript-wrapper} {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.adf-site-dropdown-container {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
||||
<mat-form-field class="adf-sites-dropdown-form-field" appearance="fill" subscriptSizing="dynamic">
|
||||
<mat-label>{{placeholder | translate}}</mat-label>
|
||||
<mat-label>{{ 'NODE_SELECTOR.LOCATION' | translate }}</mat-label>
|
||||
<mat-select
|
||||
adf-infinite-select-scroll
|
||||
(scrollEnd)="loadAllOnScroll()"
|
||||
@ -10,6 +10,7 @@
|
||||
id="site-dropdown"
|
||||
placeholder="{{placeholder | translate}}"
|
||||
[(value)]="selected"
|
||||
placeholder="{{placeholder | translate}}"
|
||||
(selectionChange)="selectedSite($event)">
|
||||
<mat-select-trigger class="adf-sites-dropdown-select-trigger">
|
||||
{{ selected?.entry.title | translate}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user