X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fstatic%2Fstyle.css;h=f741b16035dd0803ebd93edc4a26c36cb1d51884;hb=2dbbcd3926b02ae3c7b8331f9082a55170342026;hp=608feb746f0211761c66d28e59684bfe47662dff;hpb=9bfd0a1c9b690a302ad8822bb23f4b6dcf6633e2;p=matches%2FMCTX3420.git diff --git a/testing/MCTXWeb/public_html/static/style.css b/testing/MCTXWeb/public_html/static/style.css index 608feb7..f741b16 100644 --- a/testing/MCTXWeb/public_html/static/style.css +++ b/testing/MCTXWeb/public_html/static/style.css @@ -1,9 +1,11 @@ +/** Custom fonts **/ @font-face { font-family: "Open Sans"; src: url("OpenSans.ttf"), url("OpenSans.eot"); } +/** Limit max width and auto-center content **/ html { max-width: 1280px; margin: 0 auto; @@ -12,14 +14,51 @@ html { body { font-family: "Open Sans", "Lucida Grande","Lucida Sans",Verdana,Arial; font-size: 13px; - /*margin: 0; - padding: 0;*/ background-color: #F5F5F5; } hr { border: 0; - border-bottom: 1px dashed gray; + border-bottom: 1px solid gray; +} + +table { + border: none; +} + +table.centre { + margin: auto; +} + +table.status, table.status tr, table.status td { + padding: 0.2em 0.75em; +} + +th { + padding: inherit; + border-bottom: 1px solid gray; +} + +img.centre { + display: block; + margin: auto; +} + +input[type="button"], input[type="submit"] { + background-color: #F5F5F5; + border: 1px solid #A2A2A2; + border-radius: 3px; + box-shadow: 1px 1px 1px #BBBBBB; + transition: all 0.13s ease 0s; +} + +input[type="button"]:active, input[type="submit"]:active { + background-color: #E8E8E8; +} + +/* IE8 width bugfix */ +input[type="text"], input[type="password"] { + width: 100%; } #header { @@ -31,12 +70,12 @@ hr { box-shadow: 0 0 0.5em #444444; border-radius: 4px; transition: all 0.2s ease 0s; - overflow: auto; } #header #title { font-family: "Open Sans", Arial; font-size: 30px; + margin-left: 50px; } #header #rightnav { @@ -44,51 +83,12 @@ hr { padding-top: 0.5em; } -#header #menu { +#header #menu-container { margin-right: 1.5em; font-size: 15px; - transition: all 0.2s ease 0s; display: inline-block; } - -#header #menu a { - border: 1px solid #444444; - color: #BBBBBB; - display: inline-block; - margin: 0.1em; - padding: 0.2em 2em; - text-decoration: none; - transition: all 0.2s ease 0s; -} - -#header #menu a:hover { - background-color: #f2f2f2; - color: #2a2a2a; -} - -#header #menu a:active { - color: black; -} - -table, th, td{ - margin: auto; - border: none; - padding: 0.2em 0.75em; -} - -td .fail { - background-color: #ff2233; -} - -td .pass { - background-color: #55ff44; -} - -th { - border-bottom: 1px solid gray; -} - #header #date { padding-top: 1em; font-size: 12px; @@ -100,10 +100,10 @@ th { #sidebar{ float: right; - width: 25%; + min-width: 22%; } -#sidebar .announce { +#sidebar .title { font-size: 20px; font-weight: bold; } @@ -114,9 +114,22 @@ th { } #main { - overflow: hidden; + overflow: auto; margin-right: 25%; padding-right: 2em; + min-width: 400px; +} + +#main .title { + font-size: 24px; + font-weight: bold; + margin-bottom: 0.5em; + margin-left: 25%; +} + +.graph { + width: 100%; + height: 200px; } .widget { @@ -125,14 +138,21 @@ th { padding: 1em 1.25em; box-shadow: 0 0 3px #CCCCCC; transition: all 0.2s ease 0s; + overflow: auto; } .widget:hover { box-shadow: 0 0 0.25em #AAAAAA; } -#main .announce { - font-size: 24px; - font-weight: bold; - margin-bottom: 0.5em; -} \ No newline at end of file +/** Hack **/ +.clear { + clear: both; +} + +#errorlog { + overflow: auto; + max-width: 100%; + width: 100%; + height: 6em; +}