Commits

Kanwei Li committed 97979ca

Fix icons not lining up in embedded pages.

Comments (0)

Files changed (4)

static/june_2007_style/blue/trackster.css

 .param-label{float:left;font-weight:bold;padding-top:0.2em;}
 .child-track-icon{background:url('../images/fugue/arrow-000-small-bw.png') no-repeat;width:30px;cursor:move;}
 .track-resize{background:white url('../images/visualization/draggable_vertical.png') no-repeat top center;position:absolute;right:3px;bottom:-4px;width:14px;height:7px;border:solid #999 1px;z-index:100;}
-.bookmark{background:white;border:solid #999 1px;border-right:none;margin:0.5em;margin-right:0;padding:0.5em}
+.bookmark{background:white;border:solid #999 1px;border-right:none;margin:0.5em;margin-right:0;padding:0.5em;}
 .bookmark .position{font-weight:bold;}
-.icon-button.import{margin-left:0.5em;width:100%;}
-.delete-icon-container{float:right;}
+.delete-icon-container{float:right;}

static/june_2007_style/trackster.css.tmpl

     border-right:none;
     margin:0.5em;
     margin-right:0;
-    padding:0.5em
+    padding:0.5em;
 }
 .bookmark .position {
     font-weight:bold;
 }
-.icon-button.import {
-    margin-left:0.5em;
-    width:100%;
-}
 .delete-icon-container {
     float:right;
 }

templates/embed_base.mako

             title="Show ${item_display_name} content"></a>
         <a class="toggle-contract icon-button tooltip" href="${display_href}" title="Hide ${item_display_name} content"></a>
     </div>
-    <div style="float: right">
+    <div style="float: right;">
         ${self.render_item_links( item )}
     </div>
     <h4><a class="toggle-embed tooltip" href="${display_href}" title="Show or hide ${item_display_name} content">Galaxy ${get_class_display_name( item.__class__ )} | ${get_item_name( item )}</a></h4>

templates/tracks/browser.mako

 <div class="unified-panel-body" style="overflow: auto;">
     <div id="bookmarks-container"></div>
     <div>
-        <a class="icon-button import" original-title="Add Bookmark" id="add-bookmark-button" href="javascript:void(0);">Add Bookmark</a>
+        <a class="icon-button import" style="margin-left: .5em; width: 100%" original-title="Add Bookmark" id="add-bookmark-button" href="javascript:void(0);">Add Bookmark</a>
     </div>
 </div>