Update gui
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / style.css
index 6cba6c9..18a6b8e 100644 (file)
@@ -19,7 +19,40 @@ body {
 
 hr {
   border: 0;
-  border-bottom: 1px dashed gray;
+  border-bottom: 1px solid gray;
+}
+
+form.controls {
+  background-color: #F9F9F9;
+  border: 1px solid #808080;
+  padding: 1em;
+  margin: 1em auto;
+}
+
+a {
+  color: #1188DD;
+}
+
+a:active {
+  color: #0066BB;
+}
+
+.pass {
+  color: #7AE309;
+  font-weight: bold;
+}
+
+.fail {
+  color: #E30909;
+  font-weight: bold
+}
+
+div.centre {
+  text-align: center;
+}
+
+.bold {
+  font-weight: bold;
 }
 
 table {
@@ -28,12 +61,17 @@ table {
 
 table.centre {
   margin: auto;
+  text-align: center;
 }
 
 table.status, table.status tr, table.status td {
     padding: 0.2em 0.75em;
 }
 
+td {
+  padding: 0 0.5em;
+}
+
 th {
   padding: inherit;
   border-bottom: 1px solid gray;
@@ -44,25 +82,36 @@ img.centre {
   margin: auto;
 }
 
-input[type="button"] {
+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;
+  padding: 0 0.5em;
+  min-width: 55px;
+  margin: 0.4em 0.1em;
 }
 
-input[type="button"]:active {
+input[type="button"]:active, input[type="submit"]:active {
   background-color: #E8E8E8;
 }
 
-/* IE8 width bugfix */
+
 input[type="text"], input[type="password"] {
-  width: 100%;
+  width: 100%; /* IE8 width bugfix */
+  border-radius: 3px;
+  border: 1px solid #CCCCCC;
+  font-size: 16px;
+}
+
+input[type="text"]:focus, input[type="password"]:focus {
+  box-shadow: 0 0 2px #BBBBBB;
 }
 
 #header {
   background-color: #2a2a2a;
+  border-top: 0.8em solid #1188DD;
   color: #f2f2f2;
   padding: 1.5em 2em;
   margin-top: -1em;
@@ -72,14 +121,47 @@ input[type="text"], input[type="password"] {
   transition: all 0.2s ease 0s;
 }
 
-#header #title {
-  font-family: "Open Sans", Arial;
+#header input[type="button"], #header input[type="submit"] {
+  background-color: #808080;
+  border: 1px solid #808080;
+  box-shadow: none;
+  color: #f2f2f2;
+  cursor: pointer;
+}
+
+#header input[type="button"]:hover, #header input[type="submit"]:hover {
+  background-color: #606060;
+  border: 1px solid #606060;
+}
+
+#header #leftnav {
+  float: left;
+  display: table;
+}
+
+#header #leftnav > div, #header #leftnav > span {
+  display: table-cell;
+  vertical-align: middle;
+  padding-left: 1em;  
+}
+
+#header #leftnav a {
+  color: #2a2a2a;
+}
+
+#title {
   font-size: 30px;
 }
 
 #header #rightnav {
   float: right;
+  font-size: 15px;
   padding-top: 0.5em;
+  text-align: right;
+}
+
+#header #rightnav span {
+  margin-left: 1em;
 }
 
 #header #menu-container {
@@ -89,17 +171,17 @@ input[type="text"], input[type="password"] {
 }
 
 #header #date {
-  padding-top: 1em;
   font-size: 12px;
 }
 
 #content  {
   padding: 1em 2em;
+  /*display: none;  Enable in non-debug mode*/
 }
 
 #sidebar{
-  float: right;
-  min-width: 22%;
+  float: left;
+  max-width: 26%;
 }
 
 #sidebar .title {
@@ -114,8 +196,7 @@ input[type="text"], input[type="password"] {
 
 #main {
   overflow: auto;
-  margin-right: 25%;
-  padding-right: 2em;
+  padding-left: 2em;
   min-width: 400px;
 }
 
@@ -125,11 +206,23 @@ input[type="text"], input[type="password"] {
   margin-bottom: 0.5em;
 }
 
+#main .sub-title {
+  font-size: 18px;
+  font-weight: bold;
+  margin-bottom: 0.25em;
+}
+
+.graph {
+  width: 100%;
+  height: 200px;
+}
+
 .widget {
   background-color: #ffffff;
   margin: 0.25em 0.25em 1.5em;
   padding: 1em 1.25em;
   box-shadow: 0 0 3px #CCCCCC;
+  border: 1px solid #CCCCCC;
   transition: all 0.2s ease 0s;
   overflow: auto;
 }
@@ -141,4 +234,41 @@ input[type="text"], input[type="password"] {
 /** Hack **/
 .clear {
   clear: both;
+}
+
+#errorlog {
+  overflow: auto;
+  max-width: 100%;
+  width: 100%;
+  height: 6em;
+}
+
+/** For login.html **/
+#login-container {
+  margin: 0 auto;
+  width: 400px;
+  padding: 1.8em 0 0;
+  color: #606060;
+  line-height: 1.8em;
+}
+
+#login-container form {
+  padding: 1em 2em;
+}
+
+#login-container input {
+  font-size: 24px;
+}
+
+#login-container label {
+  font-size: 14px;
+}
+
+#login-container input[type=submit] {
+  font-size: inherit;
+  padding: 0.4em 0.8em;
+}
+
+#login-container #result {
+  clear: both;
 }
\ No newline at end of file

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