changeset 2374:39cf5ec23aea

Fixes #22, nonexistent links are now different than valid links
author sharky93 <rishabhr123@gmail.com>
date Sat, 10 Aug 2013 02:00:19 +0530
parents bc51dd4c686a
children 036bb682b6d3
files MoinMoin/themes/basic/static/css/basic.css MoinMoin/themes/basic/static/custom-less/basic.less MoinMoin/themes/basic/static/custom-less/variables.less
diffstat 3 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/basic.css	Fri Aug 09 03:36:03 2013 +0530
+++ b/MoinMoin/themes/basic/static/css/basic.css	Sat Aug 10 02:00:19 2013 +0530
@@ -4314,3 +4314,9 @@
 .moin-location-breadcrumb {
   padding-top: 12px;
 }
+.moin-nonexistent {
+  color: #e7908e;
+}
+.moin-nonexistent:hover {
+  color: #d9534f;
+}
--- a/MoinMoin/themes/basic/static/custom-less/basic.less	Fri Aug 09 03:36:03 2013 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/basic.less	Sat Aug 10 02:00:19 2013 +0530
@@ -24,4 +24,11 @@
 
 .moin-location-breadcrumb {
   padding-top: 12px;
-}
\ No newline at end of file
+}
+
+.moin-nonexistent {
+  color: @link-nonexistent-color;
+  &:hover {
+    color: @link-nonexistent-hover-color;
+  }
+}
--- a/MoinMoin/themes/basic/static/custom-less/variables.less	Fri Aug 09 03:36:03 2013 +0530
+++ b/MoinMoin/themes/basic/static/custom-less/variables.less	Sat Aug 10 02:00:19 2013 +0530
@@ -35,6 +35,8 @@
 
 @link-color:            @brand-primary;
 @link-hover-color:      darken(@link-color, 15%);
+@link-nonexistent-color: lighten(@brand-danger, 15%);
+@link-nonexistent-hover-color: @brand-danger;
 
 // Typography
 // -------------------------