From 551df392ba9b44d4e45749e9273b22e53c45873f Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 12 Jul 2007 18:27:58 +0000 Subject: [PATCH] Make new style work better with old layout and vice versa (so people with customized styles can still use the new layout). Changed the config parameter to enable the new layout to "use_new_layout" (since it has nothing to do with style!!!) NEXT PERSON TO UPDATE TEST PLEASE ADD [app:universe] use_new_layout=true --- lib/galaxy/interfaces/root.py | 2 +- static/june_2007_style/base.css.tmpl | 77 +++++++----------- static/june_2007_style/blue/base.css | 77 +++++++----------- static/june_2007_style/blue/base_bg.png | Bin 232 -> 232 bytes static/june_2007_style/blue/error_bg.png | Bin 168 -> 168 bytes .../june_2007_style/blue/footer_title_bg.png | Bin 334 -> 334 bytes static/june_2007_style/blue/form_body_bg.png | Bin 178 -> 178 bytes static/june_2007_style/blue/form_title_bg.png | Bin 207 -> 207 bytes static/june_2007_style/blue/gray_bg.png | Bin 169 -> 169 bytes static/june_2007_style/blue/history.css | 12 +-- static/june_2007_style/blue/masthead_bg.png | Bin 128 -> 128 bytes static/june_2007_style/blue/menu_bg.png | Bin 624 -> 624 bytes static/june_2007_style/blue/ok_bg.png | Bin 168 -> 168 bytes .../june_2007_style/blue/panel_header_bg.png | Bin 144 -> 144 bytes static/june_2007_style/blue/warn_bg.png | Bin 169 -> 169 bytes static/june_2007_style/history.css.tmpl | 12 +-- static/june_2007_style/make_style.py | 1 + static/light_hatched_style/blue/base_bg.png | Bin 297 -> 279 bytes static/light_hatched_style/blue/error_bg.png | Bin 183 -> 168 bytes .../blue/footer_title_bg.png | Bin 342 -> 334 bytes .../blue/form_title_bg.png | Bin 550 -> 503 bytes static/light_hatched_style/blue/gray_bg.png | Bin 184 -> 169 bytes static/light_hatched_style/blue/history.css | 6 ++ static/light_hatched_style/blue/masthead.css | 2 +- .../light_hatched_style/blue/masthead_bg.png | Bin 459 -> 427 bytes static/light_hatched_style/blue/menu_bg.png | Bin 1798 -> 1248 bytes static/light_hatched_style/blue/ok_bg.png | Bin 183 -> 168 bytes static/light_hatched_style/blue/tool_menu.css | 8 ++ static/light_hatched_style/blue/warn_bg.png | Bin 183 -> 169 bytes static/light_hatched_style/history.css.tmpl | 6 ++ static/light_hatched_style/masthead.css.tmpl | 2 +- static/light_hatched_style/tool_menu.css.tmpl | 8 ++ templates/history.tmpl | 2 +- templates/index_frames.tmpl | 2 +- templates/tool_menu.tmpl | 2 - universe_wsgi.ini.sample | 7 +- 36 files changed, 108 insertions(+), 118 deletions(-) diff --git a/lib/galaxy/interfaces/root.py b/lib/galaxy/interfaces/root.py index ee134d4fdf9..01937f5ce0f 100644 --- a/lib/galaxy/interfaces/root.py +++ b/lib/galaxy/interfaces/root.py @@ -31,7 +31,7 @@ class Universe(common.Root): # trans.ensure_valid_galaxy_session() # result = trans.fill_template('index_frames.tmpl', mode=mode) # return [ result ] - if trans.app.config.get( "new_style_june_2007", "false" ) == "true": + if trans.app.config.get( "use_new_layout", "false" ) == "true": return trans.fill_template( "root/index.tmpl" ) else: return trans.fill_template( "index_frames.tmpl" ) diff --git a/static/june_2007_style/base.css.tmpl b/static/june_2007_style/base.css.tmpl index 469e3d700df..eb0aaa25ee3 100644 --- a/static/june_2007_style/base.css.tmpl +++ b/static/june_2007_style/base.css.tmpl @@ -48,12 +48,12 @@ div.toolFormTitle div.toolParamHelp { - font-style: italic; + color: #666; } div.toolFormBody { - padding: 5px; + padding: 10px; background: $form_body_bg_bottom; background-image: url(form_body_bg.png); background-repeat: repeat-x; @@ -79,18 +79,38 @@ div.toolHelpBody overflow: auto; } -select +/* Forms */ + +div.form-row { - max-width: 300px; + margin-bottom: 1em; } +div.form-row label +{ + font-weight: bold; + display: block; + margin-bottom: .1em; +} + +select, input, textarea +{ + font-size: 115%; +} + +select, textarea, input[type="text"], input[type="file"] +{ + max-width: 400px; +} + +/* Messages */ + .errormessage, .warningmessage, .donemessage, .infomessage, .welcomemessage { padding: 10px; padding-left: 52px; min-height: 32px; - border-top: 1px solid $error_message_border; - border-bottom: 1px solid $error_message_border; + border: 1px solid $error_message_border; background-color: $error_message_bg; background-image: url(error_message_icon.png); background-repeat: no-repeat; @@ -130,8 +150,7 @@ select padding: 5px; padding-left: 25px; min-height: 25px; - border-top: 1px solid $error_message_border; - border-bottom: 1px solid $error_message_border; + border: 1px solid $error_message_border; background-color: $error_message_bg; background-image: url(error_small.png); background-repeat: no-repeat; @@ -222,45 +241,5 @@ div.odd_row } #footer { - position: fixed; - background: $footer_bg; - width: 100%; - left: 0px; - bottom: 0px; - color: white; - z-index:10000; - opacity:0.9; - filter:alpha(opacity:90); -} - -#footer a { - color: white; -} - -.footerheader -{ - padding: 5px; - text-align:center; - background-image: url(footer_title_bg.png); - background-position: bottom right; -} - -.footermenu -{ - /*border-top: solid white 1px; */ -} - -.footermenuitem -{ - margin-top: 5px; - margin-bottom: 5px; - margin-right: 5px; - margin-left: 25px; - display: list-item; - list-style: square outside; -} - -.footermenumessage -{ - margin: 5px; + display: none; } \ No newline at end of file diff --git a/static/june_2007_style/blue/base.css b/static/june_2007_style/blue/base.css index 0f6e46350ae..83832c13944 100644 --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -48,12 +48,12 @@ div.toolFormTitle div.toolParamHelp { - font-style: italic; + color: #666; } div.toolFormBody { - padding: 5px; + padding: 10px; background: #FFFFFF; background-image: url(form_body_bg.png); background-repeat: repeat-x; @@ -79,18 +79,38 @@ div.toolHelpBody overflow: auto; } -select +/* Forms */ + +div.form-row { - max-width: 300px; + margin-bottom: 1em; } +div.form-row label +{ + font-weight: bold; + display: block; + margin-bottom: .1em; +} + +select, input, textarea +{ + font-size: 115%; +} + +select, textarea, input[type="text"], input[type="file"] +{ + max-width: 400px; +} + +/* Messages */ + .errormessage, .warningmessage, .donemessage, .infomessage, .welcomemessage { padding: 10px; padding-left: 52px; min-height: 32px; - border-top: 1px solid #AA6666; - border-bottom: 1px solid #AA6666; + border: 1px solid #AA6666; background-color: #FFCCCC; background-image: url(error_message_icon.png); background-repeat: no-repeat; @@ -130,8 +150,7 @@ select padding: 5px; padding-left: 25px; min-height: 25px; - border-top: 1px solid #AA6666; - border-bottom: 1px solid #AA6666; + border: 1px solid #AA6666; background-color: #FFCCCC; background-image: url(error_small.png); background-repeat: no-repeat; @@ -222,45 +241,5 @@ div.odd_row } #footer { - position: fixed; - background: #023858; - width: 100%; - left: 0px; - bottom: 0px; - color: white; - z-index:10000; - opacity:0.9; - filter:alpha(opacity:90); -} - -#footer a { - color: white; -} - -.footerheader -{ - padding: 5px; - text-align:center; - background-image: url(footer_title_bg.png); - background-position: bottom right; -} - -.footermenu -{ - /*border-top: solid white 1px; */ -} - -.footermenuitem -{ - margin-top: 5px; - margin-bottom: 5px; - margin-right: 5px; - margin-left: 25px; - display: list-item; - list-style: square outside; -} - -.footermenumessage -{ - margin: 5px; + display: none; } \ No newline at end of file diff --git a/static/june_2007_style/blue/base_bg.png b/static/june_2007_style/blue/base_bg.png index b2ed02935794b997c7541288ac9fc7366173ec3a..19ca36f9ee7c77bfd96eca57c85c56f744e92f64 100644 GIT binary patch delta 18 ZcmaFC_=0hQ9S4t)1n&*Oveb!givT(C1}Ojl delta 18 acmaFC_=0hQ9S5tRiO4Tjmm3q^76AY}Mh2Sz diff --git a/static/june_2007_style/blue/error_bg.png b/static/june_2007_style/blue/error_bg.png index a68067de6966a56c77f33d2129757acdf3c1f6c6..9e537638d5c6ed9c2af520f44b9ef01203e71eef 100644 GIT binary patch delta 18 ZcmZ3%xPozl9S4t)1fQdX`u&M+NdPUM1qA>A delta 18 ZcmZ3%xPozl9S5tRiO4Tjmm3q^k^nP?1=|1s diff --git a/static/june_2007_style/blue/footer_title_bg.png b/static/june_2007_style/blue/footer_title_bg.png index 2c258128a60dc2b8161106708cda4733d4f203cd..577046d7f3910e0e8d0ac4dfa8ca3911e8e54897 100644 GIT binary patch delta 19 acmX@dbdG6)9S4t)1fQdX`u&Y=9E<=r>jfGB delta 19 acmX@dbdG6)9S5tRiO4Tjmm3@1I2Zvws0Hu< diff --git a/static/june_2007_style/blue/form_body_bg.png b/static/june_2007_style/blue/form_body_bg.png index 0cf6caf7fb213b8b9ecba2157a5b7e589ef8eaf5..2d594ab7afeba5aa8cc4c2c86f98aa8741c6e86e 100644 GIT binary patch delta 18 ZcmdnQxQTIs9S4t)1n&*Oveb!gIRG+`1&06t delta 18 ZcmdnQxQTIs9S5tRiO4Tjmm3q^asV{s1^EB~ diff --git a/static/june_2007_style/blue/form_title_bg.png b/static/june_2007_style/blue/form_title_bg.png index 4a281d5289e256d76a6c05c7b7772521c04e2a8a..56788e39fe28ff3570e692e9fc081c96780d9654 100644 GIT binary patch delta 18 ZcmX@lc%E^B9S4t)1fQdX`u&M+od7cQ1$qDg delta 18 ZcmX@lc%E^B9S5tRiO4Tjmm3q^IsrJ_22cP1 diff --git a/static/june_2007_style/blue/gray_bg.png b/static/june_2007_style/blue/gray_bg.png index 42247901a1b8a3ae9ceaae076cd8c126fb2d22f1..2c59cafd6ffd29a11eed352e477ffcc6f61eb60b 100644 GIT binary patch delta 18 ZcmZ3A delta 18 ZcmZ3%xPozl9S5tRiO4Tjmm3q^k^nP?1=|1s diff --git a/static/june_2007_style/blue/panel_header_bg.png b/static/june_2007_style/blue/panel_header_bg.png index 37ce50151b8615ef483b2138c1ed4ec4d4b8d456..195c9dade86225248165c8e8a4873afc0d361c7b 100644 GIT binary patch delta 18 ZcmbQhIDv739S4t)1n&*Oveb!gUH~oW1t9`sfb#@*h5!p;(O3$|C=xZmA1=-&+V1cRrmpUXO@geCxP=uFW7 delta 244 zcmbQvw32CpZ9S``ur>4Cqnmy*Ffg3fJ5ackSD;R>vT>4E}sh&67=|__@d&9m*o4O^6c#jFM=ToMH*G) zfyOi`L5vmH!eQwQK$E2IwyaPgg&ebxsLQ05t7Z A)Bpeg diff --git a/static/light_hatched_style/blue/error_bg.png b/static/light_hatched_style/blue/error_bg.png index 984d1663b142a86ae88198d611afe6fe26bb808a..52d89b5869fbe8da57fc7757b78445e3fc660a31 100644 GIT binary patch delta 114 zcmdnaxPozlZ8kfPkciv|sfz6k3=CeLE{-7)t#8jAMq-!BKz(imqSmIaB}MB=eHUtX&?Hmzg7&YF38ktX(`zCY3-_89ZJ6T-G@y GGywo)bSb_7 delta 129 zcmZ3%xSer=Z56Aeur&+wLiH#H28Kva7srr@*0C^sSI_jysC_U)$Ta(ORPpo`r)$Q?{yzKI9n?^O? fwXaQN?|os~6~xgtB~;D;XbFR-tDnm{r-UW|k%cpu diff --git a/static/light_hatched_style/blue/footer_title_bg.png b/static/light_hatched_style/blue/footer_title_bg.png index 77586eca6f57cf0dc5c0296c5e0a32ec757803ef..0d271f83951c6a69e3de6ba0054dd72683655a7a 100644 GIT binary patch delta 282 zcmV+#0pV26DbV<008hwL_t(IjqT07N&`_4hT(U{ldvo?#Hfg7 z5hbw@Q=||y_uzeNVPPRys3;N?QB+a{*`G5O+s>NS!tP=ChF5fQW&rW-934$@y>u{| zB6Qa6w*i1I8~o?~Y%b{V1S}HoFVNws>p)o$A1~3pW11|aJ%7{PNu7AQ!gJ8U5mW_n zc8z9Z*TJd+d%i(-4r#KGbWFAm0I=6vJc|s*24L?G$i_aN167WF%#eOYlZ94d(%Y`T zzFzPw($DJL{0-@D;yF+j*y0mO*J!e^5{#q^0N-;w3(2YhkT0N};#p`VMwvrs*GI*bqJu;I4t{V42f@KXR1_(w6jXeRX?h&4Q@CkXar<$2&V9H?+CR1!UiS+xmFHXOXlm0H$B>5HGnv#Ue_K oNeV26DbV<00EgvL_t(IjeXBclG`v0MbQfs2eu?icJF@= zy_)PHvxr}*N6CQnr@D#EPQ4=VK>7Xa^Dn?2{&3swjI1E+ap$&uVA+MZbKgFmQzPsD zHax5dgt)gG47(5mTR$?yeQ4dbJBScce>|`XLX3giddIR0DSxo7y&~;H>$bMF@$qR;i=+NOk*GnN&ETwdYGE|<*GZ^$_ft$y(c^r^8G z5ppf~#bdeE&40dClr*$1%L*ctTCl7jl#-cek7ZYCVVV1nY93mbc>$qS7;bg7FwYB? zT|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