Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ACS-8066] Style inputs for link rule dialog (#9773)
Browse files Browse the repository at this point in the history
AleksanderSklorz authored and VitoAlbano committed Jun 24, 2024
1 parent d721112 commit a6ac9af
Showing 3 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Original file line number Diff line number Diff line change
@@ -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 {
Original file line number Diff line number Diff line change
@@ -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()"
@@ -9,6 +9,7 @@
class="adf-site-dropdown-list-element"
id="site-dropdown"
[(value)]="selected"
placeholder="{{placeholder | translate}}"
(selectionChange)="selectedSite($event)">
<mat-select-trigger class="adf-sites-dropdown-select-trigger">
{{ selected?.entry.title | translate}}

0 comments on commit a6ac9af

Please sign in to comment.