Skip to content

Commit ffc9fb8

Browse files
committed
Merge remote-tracking branch '35384/35358-issue-with-hover-background' into commpr-10131-001
2 parents f5b93b2 + 2bcb394 commit ffc9fb8

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/module/data-grid/_data-grid-static.less

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// /**
2-
// * Copyright © Magento, Inc. All rights reserved.
3-
// * See COPYING.txt for license details.
2+
// * Copyright 2017 Adobe
3+
// * All Rights Reserved.
44
// */
55

66
//
@@ -24,6 +24,11 @@
2424
background-color: fade(@data-grid-td__even__background-color, @data-grid-td__dragging__opacity);
2525
}
2626
}
27+
&:hover {
28+
td {
29+
background-color: @data-grid-td__even__hover__background-color;
30+
}
31+
}
2732
}
2833
}
2934

app/design/adminhtml/Magento/backend/web/css/source/variables/_data-grid.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// /**
2-
// * Copyright © Magento, Inc. All rights reserved.
3-
// * See COPYING.txt for license details.
2+
// * Copyright 2017 Adobe
3+
// * All Rights Reserved.
44
// */
55

66
//
@@ -20,6 +20,7 @@
2020
@data-grid-td__border-inner-style: dashed;
2121
@data-grid-td__border-outer-style: solid;
2222
@data-grid-td__even__background-color: @color-white-smoke;
23+
@data-grid-td__even__hover__background-color: #e5f7fe;
2324
@data-grid-td__even__dragging__background-color: @color-light-gray0;
2425
@data-grid-td__even__edit__background-color: darken(@data-grid-td__even__background-color, 10%);
2526
@data-grid-td__odd__background-color: @page__background-color;

0 commit comments

Comments
 (0)