X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fcss%2Fstyle.css;h=c1346d0dda7acbf28ccfed6833f19f6c44efe284;hb=509e94bc8086be4f2e2029d6c707c7dc541a762a;hp=15b3ffb274cab6c02762264228e248d6c329d3bf;hpb=ea39d630fa8c1b151593464f5e44a9c96c6103ef;p=scpubgit%2Fstemmaweb.git diff --git a/root/css/style.css b/root/css/style.css index 15b3ffb..c1346d0 100644 --- a/root/css/style.css +++ b/root/css/style.css @@ -1,11 +1,32 @@ /* General site-wide layout */ body { margin: 0; - padding: 20px; - font: 1em Arial, Helvetica, sans-serif; + font: 1em "Open Sans", Arial, Helvetica, sans-serif; font-size: 85%; - color: #666; -} + background: #EDF1FA; + color: #444; +} +.clearfix:after { + content: "\00A0"; + display: block; + clear: both; + visibility: hidden; + line-height: 0; + height: 0; +} +.clearfix{ + display: inline-block; +} +html[xmlns] .clearfix { + display: block; +} +* html .clearfix{ + height: 1%; +} +.clearfix { + display: block +} + h1 { border-bottom: 1px solid #488dd2; color: #488dd2; @@ -60,135 +81,70 @@ div.pager_left_button { width: 28px; height: 28px; float: left; - background: transparent url('../images/button_left_28.png') no-repeat; + background: transparent url('../images/button_left_28.png') no-repeat left bottom; } -div.pager_left_button:hover, div.pager_right_button:hover { - opacity: 0.8; +div.pager_left_button:hover { + background: transparent url('../images/button_left_28.png') no-repeat center bottom; +} +div.pager_right_button:hover { + background: transparent url('../images/button_right_28.png') no-repeat center bottom; } div.pager_right_button { width: 28px; height: 28px; float: left; margin-left: 10px; - background: transparent url('../images/button_right_28.png') no-repeat; + background: transparent url('../images/button_right_28.png') no-repeat left bottom; +} +div.pager_right_button.greyed_out, div.pager_right_button.greyed_out:hover { + opacity: 0.5; + background: url("../images/button_right_28.png") no-repeat scroll right bottom transparent; +} +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; + box-shadow: 0 3px 10px rgba(100, 100, 100, 0.3); + width: 1124px; + padding-bottom: 30px; + margin: 48px auto 48px; } #topbanner { - width: 100%; + padding: 30px; } #bannerinfo { float: right; margin-right: 12%; margin-top: 15px; } -.navlink { - color: #488dd2; - text-decoration: underline; -} - - - -/* Index page components */ - -#directory_container { - float: left; - width: 300px; - height: 450px; - border: 1px #c6dcf1 solid; - 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 { + padding: 30px; } .mainnav { - position: absolute; - top: 10px; - right: 22px; font-size: 14px; font-weight: 100; - color: #488dd2; -} -.mainnav a { - color: #488dd2; -} -#textinfo_waitbox { - float: left; - padding-left: 50px; -} -#textinfo_container { - border: 1px solid #C6DCF1; - float: left; - height: 500px; - 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); -} -#textinfo_container_buttons { - float: right; - left: -18px; - position: relative; - top: 15px; -} -#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit { - height: 18px; -} -#stemma_pager { - height: 38px; -} -#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; + background-color: #488dd2; + color: #ffffff; + padding: 5px; + float: right; } -#filelist { - position: relative; - top: 10px; - margin-bottom: 24px; +.navlink { + color: #ffffff; + text-decoration: underline; } .error { font-weight: bold; color: #ff3333; } +.warning { + font-weight: bold; + color: #ff8000; +} +.notification { + font-weight: bold; + color: #119911; +}