Skip to content

Commit

Permalink
[ACS-8004] Fix inputs for move folder (#9707)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikiwanekhyland authored and VitoAlbano committed May 23, 2024
1 parent 4a94467 commit b6906c3
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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()"
Expand Down
6 changes: 6 additions & 0 deletions lib/core/src/lib/styles/material.theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,10 @@
}
}
}

#{$mat-input-element} {
&:focus::placeholder {
color: var(--theme-primary-color);
}
}
}

0 comments on commit b6906c3

Please sign in to comment.