mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
improved focus outline for datatable rows (#1503)
This commit is contained in:
committed by
Eugenio Romano
parent
dcee6abc35
commit
e3a94fc2d2
@@ -110,11 +110,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mdl-data-table-fix-firefox{
|
.mdl-data-table-fix-firefox {
|
||||||
border-collapse: unset;
|
border-collapse: unset;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.alfresco-datatable__row:focus {
|
||||||
|
outline-offset: -4px;
|
||||||
|
}
|
||||||
|
|
||||||
.alfresco-datatable__row--selected {
|
.alfresco-datatable__row--selected {
|
||||||
color: rgb(68,138,255);
|
color: rgb(68,138,255);
|
||||||
|
@@ -32,6 +32,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
<tr *ngFor="let row of data.getRows(); let idx = index" tabindex="0"
|
<tr *ngFor="let row of data.getRows(); let idx = index" tabindex="0"
|
||||||
|
class="alfresco-datatable__row"
|
||||||
[class.alfresco-datatable__row--selected]="selectedRow === row">
|
[class.alfresco-datatable__row--selected]="selectedRow === row">
|
||||||
<td *ngIf="multiselect">
|
<td *ngIf="multiselect">
|
||||||
<label
|
<label
|
||||||
|
Reference in New Issue
Block a user