changeset 1515:bd43dea58b3a

Foobar theme index page action panel expanded by default
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Mon, 02 Jul 2012 13:23:33 +0530
parents 9774f025967e
children 396d8c2d84f5
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/foobar/templates/index.html
diffstat 3 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Mon Jul 02 12:56:31 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Mon Jul 02 13:23:33 2012 +0530
@@ -236,7 +236,6 @@
 .moin-index-separator{clear:both;border-top:1px dashed #ccc;width:80%;display:none}
 .moin-select-all span{cursor:pointer;font-size:.84em}
 .moin-select-actions span{cursor:pointer;font-size:.84em}
-.moin-select-actions ul{display:none;}
 .moin-select-actions ul li{cursor:pointer}
 .moin-contenttypes-wrapper div{cursor:pointer;font-size:.84em}
 .moin-contenttypes-wrapper form{display:none;}
@@ -246,8 +245,8 @@
 .moin-contenttypes-wrapper form li:hover span{display:block;font-size:.8em}
 #f_contenttype_filter_submit{padding-left:3em;padding-right:3em;margin-left:3em;cursor:pointer;box-shadow:1px 1px 2px #000;}
 #f_contenttype_filter_submit:hover{box-shadow:1px 1px 2px #9d9d9b}
-.show-action:after,.ct-hide:after{content:url("../img/moin-moveup.png");margin:0 .2em;float:right;vertical-align:middle}
-.action-visible .show-action:after,.ct-shown:after{content:url("../img/moin-movedown.png");margin:0 .2em;float:right;vertical-align:middle}
+.ct-hide:after{content:url("../img/moin-moveup.png");margin:0 .2em;float:right;vertical-align:middle}
+.ct-shown:after{content:url("../img/moin-movedown.png");margin:0 .2em;float:right;vertical-align:middle}
 #popup{background:transparent url("../img/moin-transparent-bg.png") repeat;padding:5px;width:40%;position:absolute;top:10%;left:30%;display:none;z-index:10}
 .popup-header{background-color:#2c2c2a;color:#fff;padding:10px;margin:0}
 input[value="X"]{padding:0 1px;margin:-.2em;width:19px;border-radius:2em;float:right;}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Mon Jul 02 12:56:31 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Mon Jul 02 13:23:33 2012 +0530
@@ -351,7 +351,6 @@
         cursor pointer
         font-size .84em
     ul
-        display none
         li
             cursor pointer
 .moin-contenttypes-wrapper
@@ -383,14 +382,12 @@
     &:hover
         box-shadow 1px 1px 2px shadow_color                
 
-.show-action:after,
 .ct-hide:after
   content url("../img/moin-moveup.png")
   margin 0 0.2em
   float right
   vertical-align middle
 
-.action-visible .show-action:after,
 .ct-shown:after
   content url("../img/moin-movedown.png")
   margin 0 0.2em
--- a/MoinMoin/themes/foobar/templates/index.html	Mon Jul 02 12:56:31 2012 +0530
+++ b/MoinMoin/themes/foobar/templates/index.html	Mon Jul 02 13:23:33 2012 +0530
@@ -18,7 +18,7 @@
         <li class="action-bar">
         <div class="moin-select-actions">
             <div>
-                <span class="show-action">Actions</span> 
+                <span>Actions</span> 
             </div>
             <ul>
                 <li id="moin-create-newitem">{{ _("New item") }}</li>