Sort of make a start on control page
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / style.css
index 18a6b8e..b4736db 100644 (file)
@@ -3,18 +3,21 @@
   font-family: "Open Sans";
   src: url("OpenSans.ttf"),
     url("OpenSans.eot");
+  font-weight: normal;
 }
 
-/** Limit max width and auto-center content **/
-html  {
-  max-width: 1280px;
-  margin: 0 auto;
+@font-face {
+  font-family: "Open Sans";
+  src: url("OpenSansBold.ttf");
+  font-weight: bold;
 }
 
 body {
   font-family: "Open Sans", "Lucida Grande","Lucida Sans",Verdana,Arial;
   font-size: 13px;
   background-color: #F5F5F5;
+  margin: 0;
+  padding: 0;
 }
 
 hr {
@@ -37,6 +40,10 @@ a:active {
   color: #0066BB;
 }
 
+img {
+  border: none;
+}
+
 .pass {
   color: #7AE309;
   font-weight: bold;
@@ -49,12 +56,14 @@ a:active {
 
 div.centre {
   text-align: center;
+  margin: auto;
 }
 
 .bold {
   font-weight: bold;
 }
 
+/*
 table {
   border: none;
 }
@@ -68,6 +77,7 @@ table.status, table.status tr, table.status td {
     padding: 0.2em 0.75em;
 }
 
+
 td {
   padding: 0 0.5em;
 }
@@ -77,6 +87,36 @@ th {
   border-bottom: 1px solid gray;
 }
 
+*/
+
+table {
+  border-radius: 3px;
+  border: 1px solid #ccc;
+  border-collapse: collapse;
+  word-wrap: break-word;
+  line-height: 1.3em;
+  width: 100%;
+}
+
+td {
+  padding: 0.2em 0.5em;
+}
+
+table.centre {
+  margin: auto;
+  text-align: center;
+}
+
+table.horizontal {
+  line-height: 1.6em;
+}
+
+table.horizontal th {
+  border-right: 1px solid #ccc;
+  border-bottom: 0;
+  width: 20%;
+}
+
 img.centre {
   display: block;
   margin: auto;
@@ -109,18 +149,21 @@ input[type="text"]:focus, input[type="password"]:focus {
   box-shadow: 0 0 2px #BBBBBB;
 }
 
-#header {
+#header-wrap {
   background-color: #2a2a2a;
-  border-top: 0.8em solid #1188DD;
+  border-top: 0.3em solid #1188DD;
   color: #f2f2f2;
-  padding: 1.5em 2em;
-  margin-top: -1em;
   margin-bottom: 1em;
   box-shadow: 0 0 0.5em #444444;
-  border-radius: 4px;
   transition: all 0.2s ease 0s;
 }
 
+#header {
+  padding: 1.5em 2em;
+  /*max-width: 1920px;*/
+  margin: 0 auto;
+}
+
 #header input[type="button"], #header input[type="submit"] {
   background-color: #808080;
   border: 1px solid #808080;
@@ -170,28 +213,56 @@ input[type="text"]:focus, input[type="password"]:focus {
   display: inline-block;
 }
 
+#header #logout-container {
+  /* Hide until activated by JavaScript */
+  display: none;
+}
+
 #header #date {
   font-size: 12px;
 }
 
-#content  {
+#content-wrap {
   padding: 1em 2em;
+  /*max-width: 1920px;*/
+  margin: 1em auto;
+}
+
+#content  {
   /*display: none;  Enable in non-debug mode*/
 }
 
 #sidebar{
   float: left;
-  max-width: 26%;
+  width: 240px;
+  transition: all 0.2s ease 0s;
 }
 
 #sidebar .title {
   font-size: 20px;
-  font-weight: bold;
 }
 
-#sidebar .item {
-  padding: 0.2em;
-  margin-bottom: 0.5em;
+#sidebar-hide {
+  border-bottom: 1px solid #CCCCCC;
+  border-left: 1px solid #CCCCCC;
+  cursor: pointer;
+  float: right;
+  height: 20px;
+  margin-right: -1.25em;
+  margin-top: -1em;
+  text-align: center;
+  width: 20px;
+}
+
+#sidebar-show {
+  float: left;
+  cursor: pointer;
+  display: none;
+}
+
+.justify {
+  text-align: justify;
 }
 
 #main {
@@ -200,18 +271,34 @@ input[type="text"]:focus, input[type="password"]:focus {
   min-width: 400px;
 }
 
-#main .title {
-  font-size: 24px;
-  font-weight: bold;
-  margin-bottom: 0.5em;
-}
-
 #main .sub-title {
   font-size: 18px;
   font-weight: bold;
   margin-bottom: 0.25em;
 }
 
+/* Unused ?? */
+.sxs {
+  display: table;
+  table-layout: fixed;
+  width: 100%;
+  border-spacing: 0.5em;
+}
+
+.sxs div {
+  display: table-cell;
+}
+
+.right {
+  float: right;
+}
+
+.title {
+  font-size: 24px;
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+
 .graph {
   width: 100%;
   height: 200px;
@@ -231,6 +318,16 @@ input[type="text"]:focus, input[type="password"]:focus {
   box-shadow: 0 0 0.25em #AAAAAA;
 }
 
+.plot {
+       box-sizing: border-box;
+       width: auto;
+       height: 300px;
+       padding: 20px 15px 15px 15px;
+       margin: 15px auto 30px auto;
+       border: 1px solid #ddd;
+       font-size:20px;
+}
+
 /** Hack **/
 .clear {
   clear: both;
@@ -241,6 +338,8 @@ input[type="text"]:focus, input[type="password"]:focus {
   max-width: 100%;
   width: 100%;
   height: 6em;
+  background-color: white;
+  border: 1px solid #ccc;
 }
 
 /** For login.html **/
@@ -271,4 +370,4 @@ input[type="text"]:focus, input[type="password"]:focus {
 
 #login-container #result {
   clear: both;
-}
\ No newline at end of file
+}

UCC git Repository :: git.ucc.asn.au