changeset 1946:8e263954d2e1

add styling to indicate non-existent link when img is used as alternate
author Roger Haase <crosseyedpenguin@yahoo.com>
date Sun, 03 Feb 2013 10:46:11 -0700
parents 7dc5085f4960
children bc07c47e1aa8
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 4 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Sat Feb 02 20:03:20 2013 +0100
+++ b/MoinMoin/themes/foobar/static/css/common.css	Sun Feb 03 10:46:11 2013 -0700
@@ -325,8 +325,8 @@
 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}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Sat Feb 02 20:03:20 2013 +0100
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Sun Feb 03 10:46:11 2013 -0700
@@ -708,10 +708,13 @@
     &: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
--- a/MoinMoin/themes/modernized/static/css/common.css	Sat Feb 02 20:03:20 2013 +0100
+++ b/MoinMoin/themes/modernized/static/css/common.css	Sun Feb 03 10:46:11 2013 -0700
@@ -203,7 +203,8 @@
 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}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Sat Feb 02 20:03:20 2013 +0100
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Sun Feb 03 10:46:11 2013 -0700
@@ -113,6 +113,10 @@
 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