Просмотр исходного кода

Avoid changing background of table header on hover (#15602)

GitOrigin-RevId: e76c42932d691746e7fbc6b7c865b8aaf36a1c03
Alf Eaton 2 лет назад
Родитель
Сommit
e8150c4b17
1 измененных файлов с 3 добавлено и 11 удалено
  1. 3 11
      services/web/frontend/stylesheets/app/project-list-react.less

+ 3 - 11
services/web/frontend/stylesheets/app/project-list-react.less

@@ -397,21 +397,13 @@
       td:last-child {
       td:last-child {
         padding-right: @line-height-computed - (@grid-gutter-width / 2);
         padding-right: @line-height-computed - (@grid-gutter-width / 2);
       }
       }
-
-      &:hover {
-        &:not(.no-projects) {
-          background-color: @structured-list-hover-color;
-        }
-      }
     }
     }
 
 
-    thead {
-      tr:hover {
-        background-color: transparent;
+    tbody {
+      tr:not(.no-projects):hover {
+        background-color: @structured-list-hover-color;
       }
       }
-    }
 
 
-    tbody {
       tr:last-child {
       tr:last-child {
         border-bottom: 0 none;
         border-bottom: 0 none;
       }
       }