changeset 1553:140c26d18cc7

Foobar theme side panel link extended to complete hover area
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Sat, 21 Jul 2012 14:05:10 +0530
parents c9c6145241ad
children 883dc30621d7
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Jul 19 16:31:39 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Sat Jul 21 14:05:10 2012 +0530
@@ -199,6 +199,7 @@
 #moin-global-panel ul li ul,#moin-local-panel ul li ul{padding:.2em .1em;}
 #moin-global-panel ul li ul li,#moin-local-panel ul li ul li{font-size:.8em;color:#808080;font-weight:normal;padding:.1em .1em .2em .1em;border:none;box-shadow:none;margin:0;}
 #moin-global-panel ul li ul li:hover,#moin-local-panel ul li ul li:hover{background:#ccc}
+#moin-global-panel ul li ul li a,#moin-local-panel ul li ul li a{display:block}
 #moin-footer ul,#moin-credits{float:left;list-style-type:none;}
 #moin-footer ul li,#moin-credits li{padding:.1em}
 #moin-footer ul a,#moin-credits a{color:#616161}
@@ -409,7 +410,7 @@
 .moin-subitem-navigation{overflow:hidden;word-wrap:break-word;}
 .moin-subitem-navigation ul{display:block;}
 .moin-subitem-navigation ul li{padding:.4em !important}
-.moin-subitem-navigation ul a{color:#1e90ff;font-size:1.2em;}
+.moin-subitem-navigation ul a{display:initial !important;color:#1e90ff;font-size:1.2em;}
 .moin-subitem-navigation ul a:hover{text-decoration:underline}
 .moin-subitem-navigation .sep{font-size:1.2em;margin-left:0}
 .moin-subitem-navigation li ul{display:none;border-left:1px dotted #ccc;padding-left:5% !important}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Jul 19 16:31:39 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Sat Jul 21 14:05:10 2012 +0530
@@ -183,6 +183,8 @@
                 margin 0
                 &:hover
                     background border_color
+                a
+                    display block
 
 #moin-footer ul,
 #moin-credits
@@ -997,6 +999,7 @@
         li
             padding .4em !important
         a
+            display initial !important
             color link_color
             font-size 1.2em
             &:hover