commit/galaxy-central: jgoecks: Stylesheet cleanup and fixes for Trackster.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/a8e1ffb2c5f5/ changeset: a8e1ffb2c5f5 user: jgoecks date: 2012-07-02 21:40:05 summary: Stylesheet cleanup and fixes for Trackster. affected #: 3 files diff -r e54f7684c919f1556bec34521b4ccffac0602792 -r a8e1ffb2c5f5290105893dea606d3bda97b1f244 static/june_2007_style/blue/trackster.css --- a/static/june_2007_style/blue/trackster.css +++ b/static/june_2007_style/blue/trackster.css @@ -1,6 +1,6 @@ .viewport-container{overflow-x:hidden;overflow-y:auto;background:white;} -.trackster-nav-container{width:100%;} -.trackster-nav{padding:0 0;color:#333;font-weight:bold;background:#cccccc;background-image:url(panel_header_bg.png);background-position:middle center;background-repeat:repeat-x;border-bottom:solid #333 1px;} +.trackster-nav-container{width:100%;height:0;text-align:center;} +.trackster-nav{padding:0 0;color:#333;font-weight:bold;background:#cccccc;position:relative;display:inline-block;top:-2em;background:transparent;border:none;} .content{font:10px verdana;} .nav-controls{text-align:center;padding:1px 0;} .nav-controls input{margin:0 5px;} diff -r e54f7684c919f1556bec34521b4ccffac0602792 -r a8e1ffb2c5f5290105893dea606d3bda97b1f244 static/june_2007_style/trackster.css.tmpl --- a/static/june_2007_style/trackster.css.tmpl +++ b/static/june_2007_style/trackster.css.tmpl @@ -5,16 +5,21 @@ } .trackster-nav-container { width: 100%; + /* Used to push nav into title bar: */ + height: 0; + text-align: center; } .trackster-nav { padding: 0 0; color:#333; font-weight:bold; background:#cccccc; - background-image:url(panel_header_bg.png); - background-position: middle center; - background-repeat:repeat-x; - border-bottom: solid #333 1px; + /* Push nav up into title bar */ + position: relative; + display: inline-block; + top: -2em; + background: transparent; + border: none; } .content { font: 10px verdana; diff -r e54f7684c919f1556bec34521b4ccffac0602792 -r a8e1ffb2c5f5290105893dea606d3bda97b1f244 templates/tracks/browser.mako --- a/templates/tracks/browser.mako +++ b/templates/tracks/browser.mako @@ -11,28 +11,7 @@ <%def name="stylesheets()"> ${parent.stylesheets()} - ${h.css( "history", "autocomplete_tagging", "trackster", "overcast/jquery-ui-1.8.5.custom", "library" )} - - <style type="text/css"> - #browser-container { - overflow: none; - } - .trackster-nav-container { - width: 100%; - ## Overriding styles from trackster.css to push nav up into title bar - height: 0; - text-align: center; - } - .trackster-nav { - ## Overriding styles from trackster.css to push nav up into title bar - position: relative; - display: inline-block; - top: -2em; - background: transparent; - border: none; - } - </style></%def><%def name="javascripts()"> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket