From: Tara L Andrews Date: Sat, 18 Jan 2014 13:42:22 +0000 (+0100) Subject: fix some styling throughout the site X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=917bee1c66759cddcec3b5389a4de3b647b91f84;p=scpubgit%2Fstemmaweb.git fix some styling throughout the site --- diff --git a/root/css/auth.css b/root/css/auth.css index 76e3717..82d91d0 100644 --- a/root/css/auth.css +++ b/root/css/auth.css @@ -1,7 +1,13 @@ +body { + padding: 20px; + background: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px; + background-size: 600px; + background-color: #ffffff; +} #topbanner { width: 100%; height: 50px; - margin-top: 20px; + padding: 0px; } .error { color: #d24848; diff --git a/root/css/dashboard.css b/root/css/dashboard.css new file mode 100644 index 0000000..927dd8e --- /dev/null +++ b/root/css/dashboard.css @@ -0,0 +1,146 @@ +/* Index page components */ + +#directory_container { + background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); + float: left; + width: 300px; + height: 450px; + border: 1px #c6dcf1 solid; + margin-left: 30px; + padding-left: 10px; + padding-right: 10px; +} +#loading_message { + display: none; +} +#directory { + height: 360px; + margin-left: 10px; + overflow: auto; +} +#new_trad_button { + margin-left: 10px; + position: relative; + top: 10px; +} +.traditionname { + text-decoration: underline; +} +.selected { + font-style: italic; +} +#textinfo_waitbox { + float: left; + padding-left: 50px; +} +#textinfo_container { + background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); + border: 1px solid #C6DCF1; + float: left; + height: 510px; + width: 710px; + margin-left: 10px; + padding-left: 10px; + padding-right: 10px; +} +#edit_instructions { + float: left; +} +#stemma_container h2 h3 { + color: #666; +} +#stemma_graph { + height: 375px; + width: 500px; + text-align: center; + border: 1px #c6dcf1 solid; +} +#stemma_graph img { + margin-top: expression(( 450 - this.height ) / 2); +} +#stemma_graph svg { +} +#stemma_graph_title { + bottom: 20px; + margin-left: 5px; + position: relative; +} +#stemma_identifier { + color: #488dd2; + font-size: 12px; + font-weight: bold; +} +#textinfo_container_buttons { + z-index: 100; + width: 224px; + float: right; + left: -18px; + position: relative; + top: 15px; +} +#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit, #open_stemweb_ui, #query_stemweb_ui { + height: 32px; +} +#stemma_pager { + height: 38px; +} +.stemma_node_highlight { + stroke-width: 1.5px; + stroke: #415555; + fill: #d6e0f5; +} +#open_textinfo_edit { + float: right; + height: 30px; + position: relative; + top: -34px; + left: -8px; +} +#upload-collation-dialog { + overflow: hidden; +} +.uploadfile { + font-weight: bold; +} +#uploadfile_label { + font-weight: normal; +} +#filelist { + position: relative; + top: 10px; + margin-bottom: 24px; +} +.error { + font-weight: bold; + color: #ff3333; +} +.notification { + font-weight: bold; + color: #33ff33; +} +#new_file { + position: absolute; + top: -50px; + opacity: 0.0; +} +#new_file_name { + font-weight: bold; +} +#new_name, #new_lang, #new_public, #new_file_name_container { + margin-bottom: 6px; +} +#new_file_label { + float: left; + padding-right: 8px; +} +#root_tree_dialog { + position: absolute; + border: 2px solid #B2E0B2; + background: #e6f5e6; + padding: 4px 8px 4px 12px; + z-index: 200; + font-size: 75%; +} +#root_tree_dialog img { + vertical-align: middle; +} diff --git a/root/css/relationship.css b/root/css/relationship.css index 563b293..98f03b7 100644 --- a/root/css/relationship.css +++ b/root/css/relationship.css @@ -5,14 +5,13 @@ body { font-size: 85%; background: #EDF1FA; } +#topbanner { + padding: 0px; +} #logoimg { float: left; margin-left: 20px; } -.helptag { - color: #488dd2; - text-decoration: underline; -} #logotitle { float: left; margin-left: 30px; diff --git a/root/css/stexaminer.css b/root/css/stexaminer.css index fd6b39e..55b1957 100644 --- a/root/css/stexaminer.css +++ b/root/css/stexaminer.css @@ -1,3 +1,11 @@ +#main_page { + padding-left: 20px; + padding-right: 20px; +} +#topbanner { + padding: 0px; +} + #variants_table { background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); clear: both; diff --git a/root/css/style.css b/root/css/style.css index 0c83133..3b0e501 100644 --- a/root/css/style.css +++ b/root/css/style.css @@ -3,19 +3,9 @@ body { margin: 0; font: 1em "Open Sans", Arial, Helvetica, sans-serif; font-size: 85%; - background-color: #e6e6e6; + background: #EDF1FA; color: #444; } -#main_page { - background: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px; - background-size: 600px; - background-color: #ffffff; - width: 1124px; - padding-bottom: 30px; - margin: 0 auto; - margin-top: 48px; - -} .clearfix:after { content: "\00A0"; display: block; @@ -114,6 +104,16 @@ div.pager_left_button.greyed_out, div.pager_left_button.greyed_out:hover { opacity: 0.5; background: url("../images/button_left_28.png") no-repeat scroll right bottom transparent; } +#main_page { + background: transparent url('../images/logo_001.png') no-repeat scroll -200px -100px; + background-size: 600px; + background-color: #ffffff; + width: 1124px; + padding-bottom: 30px; + margin: 0 auto; + margin-top: 48px; + +} #topbanner { padding: 30px; } @@ -122,43 +122,9 @@ div.pager_left_button.greyed_out, div.pager_left_button.greyed_out:hover { margin-right: 12%; margin-top: 15px; } -.navlink { - color: #ffffff; - text-decoration: underline; -} - - - -/* Index page components */ - -#directory_container { - background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); - float: left; - width: 300px; - height: 450px; - border: 1px #c6dcf1 solid; - margin-left: 30px; - padding-left: 10px; - padding-right: 10px; -} -#loading_message { - display: none; -} -#directory { - height: 360px; - margin-left: 10px; - overflow: auto; -} -#new_trad_button { - margin-left: 10px; - position: relative; - top: 10px; -} -.traditionname { - text-decoration: underline; -} -.selected { - font-style: italic; +#docco { + background-color: #edf1fa; + padding: 10px; } .mainnav { font-size: 14px; @@ -168,121 +134,8 @@ div.pager_left_button.greyed_out, div.pager_left_button.greyed_out:hover { padding: 5px; float: right; } -.mainnav a { +.navlink { color: #ffffff; + text-decoration: underline; } -#textinfo_waitbox { - float: left; - padding-left: 50px; -} -#textinfo_container { - background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75); - border: 1px solid #C6DCF1; - float: left; - height: 510px; - width: 710px; - margin-left: 10px; - padding-left: 10px; - padding-right: 10px; -} -#edit_instructions { - float: left; -} -#stemma_container h2 h3 { - color: #666; -} -#stemma_graph { - height: 375px; - width: 500px; - text-align: center; - border: 1px #c6dcf1 solid; -} -#stemma_graph img { - margin-top: expression(( 450 - this.height ) / 2); -} -#stemma_graph svg { -} -#stemma_graph_title { - bottom: 20px; - margin-left: 5px; - position: relative; -} -#stemma_identifier { - color: #488dd2; - font-size: 12px; - font-weight: bold; -} -#textinfo_container_buttons { - z-index: 100; - width: 224px; - float: right; - left: -18px; - position: relative; - top: 15px; -} -#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit, #open_stemweb_ui, #query_stemweb_ui { - height: 32px; -} -#stemma_pager { - height: 38px; -} -.stemma_node_highlight { - stroke-width: 1.5px; - stroke: #415555; - fill: #d6e0f5; -} -#open_textinfo_edit { - float: right; - height: 30px; - position: relative; - top: -34px; - left: -8px; -} -#upload-collation-dialog { - overflow: hidden; -} -.uploadfile { - font-weight: bold; -} -#uploadfile_label { - font-weight: normal; -} -#filelist { - position: relative; - top: 10px; - margin-bottom: 24px; -} -.error { - font-weight: bold; - color: #ff3333; -} -.notification { - font-weight: bold; - color: #33ff33; -} -#new_file { - position: absolute; - top: -50px; - opacity: 0.0; -} -#new_file_name { - font-weight: bold; -} -#new_name, #new_lang, #new_public, #new_file_name_container { - margin-bottom: 6px; -} -#new_file_label { - float: left; - padding-right: 8px; -} -#root_tree_dialog { - position: absolute; - border: 2px solid #B2E0B2; - background: #e6f5e6; - padding: 4px 8px 4px 12px; - z-index: 200; - font-size: 75%; -} -#root_tree_dialog img { - vertical-align: middle; -} + diff --git a/root/src/auth/register.tt b/root/src/auth/register.tt index 97384be..a99512c 100644 --- a/root/src/auth/register.tt +++ b/root/src/auth/register.tt @@ -2,6 +2,9 @@ pagetitle = "Stemmaweb - Register" applicationstyle = c.uri_for('/css/auth.css') %] +
+

Stemmaweb - Register

+
[% IF status_msg %]

[% status_msg | html %]

[% END %] diff --git a/root/src/index.tt b/root/src/index.tt index 84382b1..580da1c 100644 --- a/root/src/index.tt +++ b/root/src/index.tt @@ -1,6 +1,7 @@ [% WRAPPER header.tt pagetitle = "Stemmaweb - Text tradition tools" applicationjs = c.uri_for( 'js/componentload.js' ) + applicationstyle = c.uri_for( 'css/dashboard.css' ) %] + +[% END %] + +
+

Stemmaweb - [% algorithm_name %] calculation for [% text_name %]

+ [% IF c.user_exists %]Hello! [% c.user.get_object.email %] Sign out | [% ELSE %]Login | [% END %]About +
+
+
+

Text [% text_name %]

+
+
+
+
+
+
+
+
+
+ Choose a root for this stemma +
+
+
+
+ Cancel root selection +
+
+
+
+ Add this stemma to the tradition +
+
+
+
+
+ + +
+

Calculating text phylogeny, please wait...

+ Loading tradition list... +
+ +[% PROCESS footer.tt %] \ No newline at end of file diff --git a/root/src/relate.tt b/root/src/relate.tt index b01ab41..4573d8c 100644 --- a/root/src/relate.tt +++ b/root/src/relate.tt @@ -26,10 +26,10 @@ $(document).ready(function () { [% END %] -
- - Help / About | Return to index - + +

Relationship mapper

[% text_title %]

diff --git a/root/src/stexaminer.tt b/root/src/stexaminer.tt index 942965e..f4acca3 100644 --- a/root/src/stexaminer.tt +++ b/root/src/stexaminer.tt @@ -15,6 +15,7 @@ var readingstats = [% reading_statistics %]; var graphdot = '[% graphdot %]'; [% END -%] +
Help / About | Return to index @@ -83,6 +84,7 @@ var graphdot = '[% graphdot %]';
    +