HC: fix selected list-rows
authorJakub Steiner <jimmac@gmail.com>
Mon, 13 Apr 2015 15:07:16 +0000 (17:07 +0200)
committerJakub Steiner <jimmac@gmail.com>
Mon, 13 Apr 2015 15:09:59 +0000 (17:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=747689

gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css

index be48b72e5ee7abc17f9812f51a82da4cc4fd6abe..b543a5bf3ccb50f1ecfd144b467fecff8b180fd2 100644 (file)
@@ -1836,11 +1836,12 @@ GtkScrolledWindow {
     box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8);
   }
   &:selected {
+    background-color: $selected_bg_color;
     &:active { box-shadow: inset 0 2px 3px -1px transparentize(black, 0.5); }
     &:hover {
       background-color: mix($fg_color, $selected_bg_color, 10%);
     }
-    &:backdrop { background-color: $selected_bg_color; }
+    &:backdrop { background-color: $borders_color; }
   }
 }
 
index 1f1a5fc226b0d5718cb7101d892d037276bdec80..e0d588d2ec7b74ec707ba56b5ec520545a212ad7 100644 (file)
@@ -2052,12 +2052,14 @@ GtkPlacesSidebar.sidebar .view .separator:backdrop {
     background-color: #f2f2f2; }
   .list-row.button:active {
     box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); }
-  .list-row.button:selected:active {
-    box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
-  .list-row.button:selected:hover {
-    background-color: black; }
-  .list-row.button:selected:backdrop {
+  .list-row.button:selected {
     background-color: #000; }
+    .list-row.button:selected:active {
+      box-shadow: inset 0 2px 3px -1px rgba(0, 0, 0, 0.5); }
+    .list-row.button:selected:hover {
+      background-color: black; }
+    .list-row.button:selected:backdrop {
+      background-color: #7f7f7f; }
 
 .list-row:selected .button {
   border-width: 2px;