changeset 1549:f9ac0030dac6

Foobar theme subitem indentation from parent
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 19 Jul 2012 15:23:31 +0530
parents 872728900163
children 777c5220f57b
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Thu Jul 19 13:24:25 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Thu Jul 19 15:23:31 2012 +0530
@@ -404,13 +404,13 @@
 pre.comment:before{content:url("../img/attention.png")}
 textarea{font-family:monospace;width:98%;border:1px solid #ccc;margin-left:.5em}
 input#f_comment{width:96%;border:1px solid #ccc;margin:.3em 0}
-.moin-subitem-navigation{overflow:hidden;display:table-cell;word-wrap:break-word;}
+.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: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;text-indent:10%}
+.moin-subitem-navigation li ul{display:none;border-left:1px dotted #ccc;padding-left:5% !important}
 .moin-subitem-navigation .expander{background:url("../img/moin-expand.png") no-repeat center center;cursor:pointer;height:16px;overflow:hidden;vertical-align:middle;width:16px;border:hidden;text-indent:-9000%;box-shadow:none}
 .link-action,.transclude-action{border:hidden;text-indent:-9000%;padding:0;margin:0 -2px;vertical-align:middle;height:16px;width:16px;overflow:hidden;cursor:pointer;box-shadow:none}
 .link-action{background:url("../img/moin-link.png") no-repeat center center}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Jul 19 13:24:25 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Thu Jul 19 15:23:31 2012 +0530
@@ -984,7 +984,6 @@
 // subitem
 .moin-subitem-navigation
     overflow hidden
-    display table-cell
     word-wrap break-word
     ul
         display block
@@ -1003,7 +1002,7 @@
 .moin-subitem-navigation li ul
     display none
     border-left 1px dotted border_color
-    text-indent 10%
+    padding-left 5% !important
 
 .moin-subitem-navigation .expander
     background url(../img/moin-expand.png) no-repeat center center