Commits

Roger Haase committed 8e26395

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

Comments (0)

Files changed (4)

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}

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

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}

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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.