mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-8004] Fix inputs for move folder (#9707)
This commit is contained in:
committed by
VitoAlbano
parent
9096ef3def
commit
91066b19c3
@@ -1,16 +1,16 @@
|
|||||||
<div class="adf-content-node-selector-content">
|
<div class="adf-content-node-selector-content">
|
||||||
<mat-form-field floatPlaceholder="never"
|
<mat-form-field floatPlaceholder="never"
|
||||||
appearance="outline"
|
appearance="fill"
|
||||||
class="adf-content-node-selector-content-input"
|
class="adf-content-node-selector-content-input"
|
||||||
subscriptSizing="dynamic"
|
subscriptSizing="dynamic"
|
||||||
*ngIf="showSearch">
|
*ngIf="showSearch">
|
||||||
<mat-label>{{'NODE_SELECTOR.SEARCH' | translate}}</mat-label>
|
|
||||||
<input matInput
|
<input matInput
|
||||||
id="searchInput"
|
id="searchInput"
|
||||||
[formControl]="searchInput"
|
[formControl]="searchInput"
|
||||||
type="text"
|
type="text"
|
||||||
[value]="searchTerm"
|
[value]="searchTerm"
|
||||||
adf-auto-focus
|
adf-auto-focus
|
||||||
|
[placeholder]="'NODE_SELECTOR.SEARCH' | translate"
|
||||||
data-automation-id="content-node-selector-search-input">
|
data-automation-id="content-node-selector-search-input">
|
||||||
|
|
||||||
<mat-icon *ngIf="searchTerm.length > 0"
|
<mat-icon *ngIf="searchTerm.length > 0"
|
||||||
|
@@ -41,15 +41,40 @@ h2.adf-search-results-label {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&-content {
|
&-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;
|
padding-top: 0;
|
||||||
|
|
||||||
&-input {
|
&-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 16px 0;
|
margin: 16px 0;
|
||||||
|
|
||||||
&-icon {
|
.adf-content-node-selector-content-input-icon {
|
||||||
color: var(--adf-theme-foreground-icon-color-054);
|
color: var(--adf-theme-foreground-icon-color-054);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding: 0 0 8px;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
font-size: 20px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--adf-theme-foreground-base-color);
|
color: var(--adf-theme-foreground-base-color);
|
||||||
|
@@ -67,6 +67,7 @@ adf-content-node-selector {
|
|||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
letter-spacing: -0.5px;
|
letter-spacing: -0.5px;
|
||||||
color: var(--adf-theme-foreground-text-color-087);
|
color: var(--adf-theme-foreground-text-color-087);
|
||||||
|
margin-bottom: 20px;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin: unset;
|
margin: unset;
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
<div id="site-dropdown-container" class="adf-site-dropdown-container">
|
||||||
<mat-form-field class="adf-sites-dropdown-form-field" appearance="outline" subscriptSizing="dynamic">
|
<mat-form-field class="adf-sites-dropdown-form-field" appearance="fill" subscriptSizing="dynamic">
|
||||||
<mat-label>{{ 'NODE_SELECTOR.LOCATION' | translate }}</mat-label>
|
|
||||||
<mat-select
|
<mat-select
|
||||||
adf-infinite-select-scroll
|
adf-infinite-select-scroll
|
||||||
(scrollEnd)="loadAllOnScroll()"
|
(scrollEnd)="loadAllOnScroll()"
|
||||||
|
@@ -68,4 +68,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#{$mat-input-element} {
|
||||||
|
&:focus::placeholder {
|
||||||
|
color: var(--theme-primary-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user