Skip to content

Commit 375d5fd

Browse files
committed
[Design feedback] Re-add animation delay, shade hover actions darker
1 parent 62da584 commit 375d5fd

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

src/components/datagrid/_data_grid_data_row.scss

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,22 @@
5252
}
5353
}
5454

55-
// On hover, color the cell actions more subdued and show a same-colored focus ring
56-
// so the cell actions look less weird on datagrids without cell borders
55+
// On hover
5756
&:hover:not(:focus, :focus-within, .euiDataGridRowCell--open) {
5857
.euiDataGridRowCell__actions {
59-
background-color: $euiBorderColor;
60-
border-color: $euiBorderColor;
61-
color: $euiColorFullShade;
58+
// Delay the actions showing on hover
59+
// (Note: the focus ring show instantly on hover & the actions show instantly on focus)
60+
animation-delay: $euiAnimSpeedNormal;
61+
62+
// Color the actions and focus ring grayscale on hover
63+
// (Actions look odd without the ring on grids without cell borders)
64+
background-color: $euiColorDarkShade;
65+
border-color: $euiColorDarkShade;
66+
color: $euiColorEmptyShade;
6267
}
6368

6469
&::after {
65-
border-color: $euiBorderColor;
70+
border-color: $euiColorDarkShade;
6671
}
6772
}
6873

0 commit comments

Comments
 (0)