kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-18 11:27 am

[dw-nonfree] a:hover doesn't apply to already visited links

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/e49d2ff482b4]

http://bugs.dwscoalition.org/show_bug.cgi?id=1820

Fix visited/hover/active precedence for Transmogrified.

Patch by [personal profile] yvi.

Files modified:
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 71f6471816a9 -r e49d2ff482b4 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Thu Sep 17 11:45:23 2009 -0500
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Fri Sep 18 06:27:17 2009 -0500
@@ -378,9 +378,9 @@ function Page::print_default_stylesheet 
     }
 
     a { $page_link_colors  }
+    a:visited { $page_link_visited_colors }
+    a:hover { $page_link_hover_colors }
     a:active { $page_link_active_colors }
-    a:hover { $page_link_hover_colors }
-    a:visited { $page_link_visited_colors }
 
     #container {
                 $page_background
@@ -491,16 +491,16 @@ function Page::print_default_stylesheet 
         color: $*color_module_link;
     }
 
+    .module-section-two a:visited {
+         color: $*color_module_link_visited;
+     }
+
     .module-section-two a:hover {
          color: $*color_module_link_hover;
      }
 
      .module-section-two a:active {
          color: $*color_module_link_active;
-     }
-
-    .module-section-two a:visited {
-         color: $*color_module_link_visited;
      }
 
     .module-section-two .module-header a {
@@ -609,14 +609,14 @@ function Page::print_default_stylesheet 
     .entry-wrapper-odd a, .comment-wrapper-odd a {
         color: $*color_entry_link;
     }
+    .entry-wrapper-odd a:visited, .comment-wrapper-odd a:visited {
+        color: $*color_entry_link_visited;
+    }
     .entry-wrapper-odd a:hover, .comment-wrapper-odd a:hover {
         color: $*color_entry_link_hover;
     }
     .entry-wrapper-odd a:active, .comment-wrapper-odd a:active {
         color: $*color_entry_link_active;
-    }
-    .entry-wrapper-odd a:visited, .comment-wrapper-odd a:visited {
-        color: $*color_entry_link_visited;
     }
 
     .entry-wrapper-even .entry, .comment-wrapper-even .comment {
@@ -639,14 +639,14 @@ function Page::print_default_stylesheet 
     .entry-wrapper-even a, .comment-wrapper-even a {
         color: $*color_entry_link_alt;
     }
+    .entry-wrapper-even a:visited, .comment-wrapper-even a:visited {
+        color: $*color_entry_link_visited_alt;
+    }
     .entry-wrapper-even a:hover, .comment-wrapper-even a:hover {
         color: $*color_entry_link_hover_alt;
     }
     .entry-wrapper-even a:active, .comment-wrapper-even a:active {
         color: $*color_entry_link_active_alt;
-    }
-    .entry-wrapper-even a:visited, .comment-wrapper-even a:visited {
-        color: $*color_entry_link_visited_alt;
     }
 
     .entry .time, .entry .date {
--------------------------------------------------------------------------------