Commits

Roger Haase committed 8e26395

add styling to indicate non-existent link when img is used as alternate

  • Participants
  • Parent commits 7dc5085

Comments (0)

Files changed (4)

File MoinMoin/themes/foobar/static/css/common.css

 a:visited{color:#5f9ea0}
 a:hover{color:#007cef;text-decoration:underline}
 a:active{color:#51d443;text-decoration:underline}
-a.moin-nonexistent:link{color:#808080}
-a.moin-nonexistent:visited{color:#808080}
+a.moin-nonexistent:link,a.moin-nonexistent:visited{color:#808080;}
+a.moin-nonexistent:link img,a.moin-nonexistent:visited img,a.moin-nonexistent:link object,a.moin-nonexistent:visited object{background:#808080;border:3px dashed #616161}
 a.moin-nonexistent:hover{color:#ff2727}
 a.moin-nonexistent:active{color:#ff2727}
 .current-link{color:#f82a2a !important}

File MoinMoin/themes/foobar/static/css/stylus/main.styl

     &:active
         color active_color
         text-decoration underline
-    &.moin-nonexistent:link
-        color nonexistent_link_color
+    &.moin-nonexistent:link,
     &.moin-nonexistent:visited
         color nonexistent_link_color
+        img,
+        object
+            background nonexistent_link_color
+            border 3px dashed footer_color
     &.moin-nonexistent:hover
         color nonexistent_hover_color
     &.moin-nonexistent:active

File MoinMoin/themes/modernized/static/css/common.css

 a:visited{color:#008b8b}
 a:hover{color:#1f9ae0}
 a:active{color:#51d443}
-a.moin-nonexistent:visited,a.moin-nonexistent{color:#939393}
+a.moin-nonexistent:visited,a.moin-nonexistent{color:#939393;}
+a.moin-nonexistent:visited img,a.moin-nonexistent img,a.moin-nonexistent:visited object,a.moin-nonexistent object{background:#939393;border:3px dashed #737373}
 ol,ul{margin-left:3em}
 ol ol,ul ul,ol ul,ul ol{margin-left:2em}
 li p{margin:.25em 0}

File MoinMoin/themes/modernized/static/css/stylus/main.styl

 a.moin-nonexistent:visited,
 a.moin-nonexistent
     color nonexistent_link_color
+    img,
+    object
+        background nonexistent_link_color
+        border 3px dashed footer_color
 
 ol, ul
     margin-left 3em