Restyle login page
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / style.css
index 4f0df9b..f12cfdf 100644 (file)
@@ -29,6 +29,14 @@ form.controls {
   margin: 1em auto;
 }
 
+a {
+  color: #1188DD;
+}
+
+a:active {
+  color: #0066BB;
+}
+
 div.centre {
   text-align: center;
 }
@@ -79,9 +87,16 @@ 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 {
@@ -114,15 +129,18 @@ input[type="text"], input[type="password"] {
   display: table;
 }
 
+#header #leftnav > div, #header #leftnav > span {
+  display: table-cell;
+  vertical-align: middle;
+  padding-left: 1em;  
+}
+
 #header #leftnav a {
   color: #2a2a2a;
 }
 
-#header #title {
+#title {
   font-size: 30px;
-  display: table-cell;
-  vertical-align: middle;
-  padding-left: 1em;
 }
 
 #header #rightnav {
@@ -151,7 +169,7 @@ input[type="text"], input[type="password"] {
 }
 
 #sidebar{
-  float: right;
+  float: left;
   max-width: 26%;
 }
 
@@ -167,8 +185,7 @@ input[type="text"], input[type="password"] {
 
 #main {
   overflow: auto;
-  margin-right: 25%;
-  padding-right: 2em;
+  padding-left: 2em;
   min-width: 400px;
 }
 
@@ -194,6 +211,7 @@ input[type="text"], input[type="password"] {
   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;
 }
@@ -212,4 +230,30 @@ input[type="text"], input[type="password"] {
   max-width: 100%;
   width: 100%;
   height: 6em;
+}
+
+/** For login.html **/
+#login {
+  margin: 0 auto;
+  width: 400px;
+  padding: 1.8em 0 0;
+  color: #606060;
+  line-height: 1.8em;
+}
+
+#login form {
+  padding: 1em 2em;
+}
+
+#login input {
+  font-size: 24px;
+}
+
+#login label {
+  font-size: 14px;
+}
+
+#login input[type=submit], #login input[type=submit] {
+  font-size: inherit;
+  padding: 0.4em 0.8em;
 }
\ No newline at end of file

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