mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
panels header visual accessibility (#5162)
This commit is contained in:
committed by
Eugenio Romano
parent
8bb8231a83
commit
2f1a5943b6
@@ -3,7 +3,6 @@
|
|||||||
<mat-expansion-panel
|
<mat-expansion-panel
|
||||||
*ngIf="displayDefaultProperties"
|
*ngIf="displayDefaultProperties"
|
||||||
[expanded]="canExpandProperties()"
|
[expanded]="canExpandProperties()"
|
||||||
[hideToggle]="canExpandProperties()"
|
|
||||||
[attr.data-automation-id]="'adf-metadata-group-properties'" >
|
[attr.data-automation-id]="'adf-metadata-group-properties'" >
|
||||||
<mat-expansion-panel-header>
|
<mat-expansion-panel-header>
|
||||||
<mat-panel-title role="heading">
|
<mat-panel-title role="heading">
|
||||||
|
@@ -1,6 +1,13 @@
|
|||||||
@mixin adf-content-metadata-theme($theme) {
|
@mixin adf-content-metadata-theme($theme) {
|
||||||
|
$background: map-get($theme, background);
|
||||||
|
$panel-header-hover: mat-color($background, hover);
|
||||||
|
|
||||||
.adf {
|
.adf {
|
||||||
&-metadata-properties {
|
&-metadata-properties {
|
||||||
|
.mat-expansion-panel-header.mat-expanded:hover,
|
||||||
|
.mat-expansion-panel-header.mat-expanded:focus {
|
||||||
|
background: $panel-header-hover;
|
||||||
|
}
|
||||||
|
|
||||||
mat-expansion-panel-header {
|
mat-expansion-panel-header {
|
||||||
height: 64px;
|
height: 64px;
|
||||||
|
Reference in New Issue
Block a user