[ACS-8004] Fix inputs for move folder (#9707)

This commit is contained in:
dominikiwanekhyland
2024-05-21 14:30:41 +02:00
committed by VitoAlbano
parent 7e9ea567df
commit 827a36b82c
5 changed files with 36 additions and 5 deletions

View File

@@ -1,16 +1,16 @@
<div class="adf-content-node-selector-content">
<mat-form-field floatPlaceholder="never"
appearance="outline"
appearance="fill"
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"

View File

@@ -41,15 +41,40 @@ h2.adf-search-results-label {
}
&-content {
#{$mat-input-element} {
&:focus::placeholder {
color: var(--theme-primary-color);
}
}
#{$mat-form-field-wrapper} {
#{$mat-form-field-flex} {
align-items: center;
#{$mat-form-field-infix} {
padding-top: 0;
padding-bottom: 0;
}
}
}
#{$mat-form-field-subscript-wrapper} {
height: 16px;
}
padding-top: 0;
&-input {
width: 100%;
margin: 16px 0;
&-icon {
.adf-content-node-selector-content-input-icon {
color: var(--adf-theme-foreground-icon-color-054);
cursor: pointer;
padding: 0 0 8px;
width: 1em;
height: 1em;
font-size: 20px;
&:hover {
color: var(--adf-theme-foreground-base-color);

View File

@@ -67,6 +67,7 @@ adf-content-node-selector {
line-height: 1.6;
letter-spacing: -0.5px;
color: var(--adf-theme-foreground-text-color-087);
margin-bottom: 20px;
h2 {
margin: unset;

View File

@@ -1,6 +1,5 @@
<div id="site-dropdown-container" class="adf-site-dropdown-container">
<mat-form-field class="adf-sites-dropdown-form-field" appearance="outline" subscriptSizing="dynamic">
<mat-label>{{ 'NODE_SELECTOR.LOCATION' | translate }}</mat-label>
<mat-form-field class="adf-sites-dropdown-form-field" appearance="fill" subscriptSizing="dynamic">
<mat-select
adf-infinite-select-scroll
(scrollEnd)="loadAllOnScroll()"

View File

@@ -68,4 +68,10 @@
}
}
}
#{$mat-input-element} {
&:focus::placeholder {
color: var(--theme-primary-color);
}
}
}