changeset 2588:16840b339832

foobar, modernized CSS cleanup using Stylus 0.42.2
author RogerHaase <haaserd@gmail.com>
date Tue, 01 Apr 2014 08:13:20 -0700
parents 71f1151c31fe
children ee404f81afe9
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 3 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Mon Mar 31 11:47:09 2014 -0700
+++ b/MoinMoin/themes/foobar/static/css/common.css	Tue Apr 01 08:13:20 2014 -0700
@@ -175,14 +175,14 @@
 .moin-diff-removed span{background-color:#f1eeb9}
 body{color:#000;background-color:#d6d5d0;font-family:Helvetica,Arial,sans-serif;background-image:url("../img/base.png")}
 p{margin:.2em .4em;font-size:1em;line-height:1.3em}
-#moin-global-tray{float:left;width:16.55%;padding:.5%;overflow:hidden}
+#moin-global-tray{float:left;width:16.666666666666668%;padding:.5%;overflow:hidden}
 #moin-main-container{float:left;width:81.095%;padding:.5%}
 #moin-main-box{background-color:#f4f4f4;border:1px solid #ccc;border-radius:6px;box-shadow:2px 2px 4px #9d9d9b;overflow:hidden}
 #moin-header{background-color:#2d2d2d;color:#fff;border-bottom:1px solid #ccc;padding:0;overflow:auto;}
 #moin-header a{color:#fff}
 #moin-content-no-panel{float:left;width:98.307%;padding:.5%;border-right:1px solid #ccc}
 #moin-content{float:left;width:81.095%;padding:.5%;border-right:1px solid #ccc}
-#moin-local-panel{float:left;width:16.55%;padding:.5%;margin-left:-1px;border-left:1px solid #ccc}
+#moin-local-panel{float:left;width:16.666666666666668%;padding:.5%;margin-left:-1px;border-left:1px solid #ccc}
 #moin-footer{clear:both;font-size:.8em;color:#616161;padding:.5% .5%;overflow:auto}
 #moin-breadcrumbs-location{float:left;padding:.5em;font-weight:bold}
 #moin-interwiki{vertical-align:middle;}
@@ -415,9 +415,7 @@
 .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}
 .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}
-.transclude-action{background:url("../img/moin-transclusion.png") no-repeat center center}
+.moin-insertname-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;background:url("../img/moin-link.png") no-repeat center center}
 .moin-transclusion{max-width:100%}
 .moin-item-wrapper{position:relative;display:inline-block}
 div.moin-item-wrapper{width:100%}
--- a/MoinMoin/themes/modernized/static/css/common.css	Mon Mar 31 11:47:09 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/common.css	Tue Apr 01 08:13:20 2014 -0700
@@ -500,12 +500,12 @@
 .moin-item-overlay-lr{bottom:-4px;right:-4px;border-width:0 3px 3px 0}
 .moin-item-overlay-ul:hover,.moin-item-overlay-lr:hover{opacity:.8;background-color:#eef1f6;color:#1f9ae0}
 div.moin-item-wrapper,div.moin-item-wrapper > div,div.moin-item-wrapper > div > p:first-child,div.moin-item-wrapper > div > p:last-child{margin:0}
-div.moin-item-wrapper > div >  p:first-child ~ p:last-child{margin-top:1em}
+div.moin-item-wrapper > div > p:first-child ~ p:last-child{margin-top:1em}
 a.moin-permalink{display:none;cursor:pointer;margin-left:.1em;color:#939393;}
 a.moin-permalink:hover.moin-permalink{color:#1f62ad}
 h1:hover .moin-permalink,h2:hover .moin-permalink,h3:hover .moin-permalink,h4:hover .moin-permalink,h5:hover .moin-permalink,h6:hover .moin-permalink{display:inline;text-decoration:none}
 @media print{html{font-family:serif;font-size:12pt;width:100%}
-body,#moin-page,#moin-page,#moin-content-data{margin:0;padding:0}
+body,#moin-page,#moin-content-data{margin:0;padding:0}
 a,a:visited,a.moin-nonexistent{color:#939393;text-decoration:none}
 a.moin-interwiki:before{content:attr(title) ":"}
 a.moin-interwiki img{display:none}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Mon Mar 31 11:47:09 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Tue Apr 01 08:13:20 2014 -0700
@@ -1516,7 +1516,7 @@
 div.moin-item-wrapper > div > p:last-child
     margin 0px
 
-div.moin-item-wrapper > div >  p:first-child ~ p:last-child
+div.moin-item-wrapper > div > p:first-child ~ p:last-child
     margin-top 1em
 
 // headings with mouseover permalinks
@@ -1543,7 +1543,7 @@
         font-size 12pt
         width 100%
 
-    body, #moin-page, #moin-page, #moin-content-data
+    body, #moin-page, #moin-content-data
         margin 0
         padding 0