mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5347] New styles for filter states (#3274)
* [ACS-5347] New styles for filter states * [ACS-5347] Add disabled chips colors
This commit is contained in:
@@ -13,8 +13,8 @@
|
|||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background: var(--theme-user-initials-background-color);
|
background: var(--theme-about-panel-border-color);
|
||||||
color: var(--theme-user-intials-text-color);
|
color: var(--theme-selected-text-color);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,8 +1,5 @@
|
|||||||
@import '../../../ui/mixins';
|
@import '../../../ui/mixins';
|
||||||
|
|
||||||
$adf-chip-background: #efefef;
|
|
||||||
$contrast-gray: #646569;
|
|
||||||
|
|
||||||
.adf-search-results {
|
.adf-search-results {
|
||||||
@include flex-row;
|
@include flex-row;
|
||||||
|
|
||||||
@@ -28,13 +25,29 @@ $contrast-gray: #646569;
|
|||||||
border-bottom: 1px solid var(--theme-border-color);
|
border-bottom: 1px solid var(--theme-border-color);
|
||||||
|
|
||||||
.adf-search-filter-chip {
|
.adf-search-filter-chip {
|
||||||
|
&[disabled] {
|
||||||
|
&.mat-chip {
|
||||||
|
background-color: var(--theme-disabled-chip-background-color);
|
||||||
|
color: var(--theme-search-chip-icon-color);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.mat-chip {
|
&.mat-chip {
|
||||||
background-color: $adf-chip-background;
|
background-color: var(--theme-dropdown-color);
|
||||||
color: $contrast-gray;
|
color: var(--theme-selected-text-color);
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
background-color: var(--theme-grey-background-hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
mat-icon {
|
||||||
|
color: var(--theme-search-chip-icon-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.adf-search-filter-placeholder {
|
.adf-search-filter-placeholder {
|
||||||
color: $contrast-gray;
|
color: var(--theme-selected-text-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
background: var(--theme-user-initials-background-color);
|
background: var(--theme-about-panel-border-color);
|
||||||
color: var(--theme-user-intials-text-color);
|
color: var(--theme-selected-text-color);
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@@ -11,7 +11,7 @@ app-view-profile {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
padding: 32px 0;
|
padding: 32px 0;
|
||||||
border-bottom: 1px solid var(--theme-header-border-color);
|
border-bottom: 1px solid var(--theme-about-panel-border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-profile-title {
|
.app-profile-title {
|
||||||
|
@@ -162,7 +162,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
.mat-datetimepicker-calendar-body-active .mat-datetimepicker-calendar-body-cell-content.mat-datetimepicker-calendar-body-selected {
|
||||||
background-color: var(--theme-datetimepicker-cell-focus-background);
|
background-color: var(--theme-about-panel-border-color);
|
||||||
color: var(--theme-datetimepicker-font-color);
|
color: var(--theme-datetimepicker-font-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,20 +22,19 @@ $grey-hover-background: rgba(33, 33, 33, 0.24);
|
|||||||
$blue-save-button-background: #1f74db;
|
$blue-save-button-background: #1f74db;
|
||||||
$black-heading: #4e4c4c;
|
$black-heading: #4e4c4c;
|
||||||
$grey-dropdown-background: #eee;
|
$grey-dropdown-background: #eee;
|
||||||
|
$grey-background-hover: #e0e0e0;
|
||||||
$grey-divider: rgba(0, 0, 0, 0.22);
|
$grey-divider: rgba(0, 0, 0, 0.22);
|
||||||
$datetimepicker-font-color: rgba(black, 0.87);
|
$datetimepicker-font-color: rgba(black, 0.87);
|
||||||
$datetimepicker-selected-date-background: #2254b2;
|
$datetimepicker-selected-date-background: #2254b2;
|
||||||
$datetimepicker-cell-background-color: #fff;
|
$datetimepicker-cell-background-color: #fff;
|
||||||
$datetimepicker-cell-focus-border-color: #1f74db;
|
$datetimepicker-cell-focus-border-color: #1f74db;
|
||||||
$datetimepicker-cell-focus-background-color: rgba(33, 33, 33, 0.12);
|
|
||||||
$sidenav-background-color: #f8f8f8;
|
$sidenav-background-color: #f8f8f8;
|
||||||
$selected-text-color: #212121;
|
$selected-text-color: #212121;
|
||||||
$selected-background-color: rgba(31, 116, 219, 0.24);
|
$selected-background-color: rgba(31, 116, 219, 0.24);
|
||||||
$action-button-text-color: rgba(33, 35, 40, 0.7);
|
$action-button-text-color: rgba(33, 35, 40, 0.7);
|
||||||
$page-layout-header-background-color: #fff;
|
$page-layout-header-background-color: #fff;
|
||||||
$aca-toolbar-button-background-color: rgba(33, 33, 33, 0.05);
|
$search-chip-icon-color: #757575;
|
||||||
$aca-user-initials-background: rgba(33, 33, 33, 0.12);
|
$disabled-chip-background-color: #f5f5f5;
|
||||||
$aca-user-initials-text-color: #212121;
|
|
||||||
|
|
||||||
// CSS Variables
|
// CSS Variables
|
||||||
$defaults: (
|
$defaults: (
|
||||||
@@ -58,6 +57,7 @@ $defaults: (
|
|||||||
--theme-blue-button-color: $blue-save-button-background,
|
--theme-blue-button-color: $blue-save-button-background,
|
||||||
--theme-heading-color: $black-heading,
|
--theme-heading-color: $black-heading,
|
||||||
--theme-dropdown-color: $grey-dropdown-background,
|
--theme-dropdown-color: $grey-dropdown-background,
|
||||||
|
--theme-grey-background-hover: $grey-background-hover,
|
||||||
--theme-grey-divider-color: $grey-divider,
|
--theme-grey-divider-color: $grey-divider,
|
||||||
--theme-pagination-background-color: mat.get-color-from-palette($background, background),
|
--theme-pagination-background-color: mat.get-color-from-palette($background, background),
|
||||||
--theme-about-panel-border-color: $grey-background,
|
--theme-about-panel-border-color: $grey-background,
|
||||||
@@ -67,17 +67,14 @@ $defaults: (
|
|||||||
--theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
|
--theme-datetimepicker-selected-date-background: $datetimepicker-selected-date-background,
|
||||||
--theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
|
--theme-datetimepicker-cell-background: $datetimepicker-cell-background-color,
|
||||||
--theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
|
--theme-datetimepicker-cell-focus-border: $datetimepicker-cell-focus-border-color,
|
||||||
--theme-datetimepicker-cell-focus-background: $datetimepicker-cell-focus-background-color,
|
|
||||||
--theme-sidenav-background-color: $sidenav-background-color,
|
--theme-sidenav-background-color: $sidenav-background-color,
|
||||||
--theme-selected-text-color: $selected-text-color,
|
--theme-selected-text-color: $selected-text-color,
|
||||||
--theme-selected-background-color: $selected-background-color,
|
--theme-selected-background-color: $selected-background-color,
|
||||||
--theme-hover-background-color: $grey-text-background,
|
--theme-hover-background-color: $grey-text-background,
|
||||||
--theme-action-button-text-color: $action-button-text-color,
|
--theme-action-button-text-color: $action-button-text-color,
|
||||||
--theme-header-border-color: $grey-background,
|
|
||||||
--theme-page-layout-header-background-color: $page-layout-header-background-color,
|
--theme-page-layout-header-background-color: $page-layout-header-background-color,
|
||||||
--theme-app-toolbar-button-background-color: $aca-toolbar-button-background-color,
|
--theme-search-chip-icon-color: $search-chip-icon-color,
|
||||||
--theme-user-initials-background-color: $aca-user-initials-background,
|
--theme-disabled-chip-background-color: $disabled-chip-background-color
|
||||||
--theme-user-intials-text-color: $aca-user-initials-text-color
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// propagates SCSS variables into the CSS variables scope
|
// propagates SCSS variables into the CSS variables scope
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
background: var(--theme-app-toolbar-button-background-color);
|
background: var(--theme-grey-text-background-color);
|
||||||
color: var(--theme-selected-text-color);
|
color: var(--theme-selected-text-color);
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user