mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-7531] - Search page (#9606)
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
{{ displayValue | translate }}
|
{{ displayValue | translate }}
|
||||||
</span>
|
</span>
|
||||||
<ng-template #showAny><span class="adf-search-filter-ellipsis adf-filter-value"> {{ 'SEARCH.FILTER.ANY' | translate }}</span></ng-template>
|
<ng-template #showAny><span class="adf-search-filter-ellipsis adf-filter-value"> {{ 'SEARCH.FILTER.ANY' | translate }}</span></ng-template>
|
||||||
<mat-icon *ngIf="isPopulated; else disabledIcon">{{ chipIcon }}</mat-icon>
|
<mat-icon class="adf-search-filter-chip-icon" *ngIf="isPopulated; else disabledIcon">{{ chipIcon }}</mat-icon>
|
||||||
<ng-template #disabledIcon>
|
<ng-template #disabledIcon>
|
||||||
<mat-icon>remove</mat-icon>
|
<mat-icon>remove</mat-icon>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
@@ -5,6 +5,10 @@ adf-search-facet-chip-tabbed {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-search-filter-chip-icon {
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
.adf-search-widget-extra-width {
|
.adf-search-widget-extra-width {
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
}
|
}
|
||||||
|
@@ -1,9 +1,11 @@
|
|||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
@import 'styles/mat-selectors';
|
||||||
|
|
||||||
.adf-search-filter-chip,
|
.adf-search-filter-chip,
|
||||||
.adf-search-filter-chip-tabbed {
|
.adf-search-filter-chip-tabbed {
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
transition: border 500ms ease-in-out;
|
transition: border 500ms ease-in-out;
|
||||||
|
height: 32px;
|
||||||
max-width: 320px;
|
max-width: 320px;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -37,7 +39,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.adf-search-filter-chip-icon {
|
.adf-search-filter-chip-icon {
|
||||||
padding-top: 5px;
|
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -48,3 +49,12 @@
|
|||||||
@include mat.elevation(2);
|
@include mat.elevation(2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-search-filter-chip#{$mat-evolution-chip}#{$mat-standard-chip} {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#{$mat-standard-chip} {
|
||||||
|
-webkit-font-smoothing: unset;
|
||||||
|
}
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
[matMenuTriggerRestoreFocus]="true">
|
[matMenuTriggerRestoreFocus]="true">
|
||||||
|
|
||||||
<span class="adf-search-form-title">{{ getSelected(forms) | translate }}</span>
|
<span class="adf-search-form-title">{{ getSelected(forms) | translate }}</span>
|
||||||
<mat-icon [class.adf-search-form-icon-selected]="menuTrigger.menuOpen" class="adf-search-form-icon">expand_more</mat-icon>
|
<mat-icon [class.adf-search-form-icon-selected]="menuTrigger.menuOpen" iconPositionEnd class="adf-search-form-icon">expand_more</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<mat-menu #menu="matMenu" class="adf-search-form-menu">
|
<mat-menu #menu="matMenu" class="adf-search-form-menu">
|
||||||
|
@@ -1,7 +1,11 @@
|
|||||||
@use '@angular/material' as mat;
|
@use '@angular/material' as mat;
|
||||||
|
@import 'styles/mat-selectors';
|
||||||
|
|
||||||
.adf-search-form {
|
.adf-search-form {
|
||||||
&.adf-search-form-button {
|
&.adf-search-form-button {
|
||||||
|
justify-content: space-between;
|
||||||
|
display: flex;
|
||||||
|
padding: 0 14px 0 16px;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
max-width: 190px;
|
max-width: 190px;
|
||||||
min-width: 190px;
|
min-width: 190px;
|
||||||
@@ -17,7 +21,6 @@
|
|||||||
&-title {
|
&-title {
|
||||||
max-width: 120px;
|
max-width: 120px;
|
||||||
min-width: 120px;
|
min-width: 120px;
|
||||||
font-weight: bold;
|
|
||||||
font-size: var(--theme-body-1-font-size);
|
font-size: var(--theme-body-1-font-size);
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
@@ -26,7 +29,10 @@
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-icon {
|
.adf-search-form-icon#{$mat-icon} {
|
||||||
|
font-size: 24px;
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
transition: border 500ms ease-out;
|
transition: border 500ms ease-out;
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
@import 'styles/mat-selectors';
|
||||||
|
|
||||||
.adf-dynamic-chip-list-container {
|
.adf-dynamic-chip-list-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@@ -72,6 +74,16 @@
|
|||||||
background-color: var(--theme-primary-color);
|
background-color: var(--theme-primary-color);
|
||||||
height: auto;
|
height: auto;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
#{$mat-evolution-chip-action} {
|
||||||
|
padding: 2px 12px;
|
||||||
|
|
||||||
|
#{$mat-evolution-chip-text-label} {
|
||||||
|
color: var(--adf-theme-foreground-text-color-054);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-dynamic-chip-list-delete-icon {
|
.adf-dynamic-chip-list-delete-icon {
|
||||||
|
@@ -108,3 +108,7 @@ $mdc-dialog: '.mdc-dialog';
|
|||||||
$mat-text-filed-input: '.mdc-text-field__input';
|
$mat-text-filed-input: '.mdc-text-field__input';
|
||||||
$mat-floating-label-float-above: '.mdc-floating-label--float-above';
|
$mat-floating-label-float-above: '.mdc-floating-label--float-above';
|
||||||
$mat-floating-label--required: '.mdc-floating-label--required';
|
$mat-floating-label--required: '.mdc-floating-label--required';
|
||||||
|
$mat-evolution-chip: '.mdc-evolution-chip';
|
||||||
|
$mat-standard-chip: '.mat-mdc-standard-chip';
|
||||||
|
$mat-evolution-chip-action: '.mdc-evolution-chip__action';
|
||||||
|
$mat-evolution-chip-text-label: '.mdc-evolution-chip__text-label'
|
||||||
|
Reference in New Issue
Block a user