Cleaned up admin CSS for consistency.

* header selected twice -merged
* match indentation throughout
* color names to hex

refs #21220.
This commit is contained in:
Ryan Allen 2013-10-06 21:33:21 -04:00 committed by Tim Graham
parent 3eab22a045
commit 935001c4f1
1 changed files with 19 additions and 22 deletions

View File

@ -27,7 +27,7 @@ a img {
} }
a.section:link, a.section:visited { a.section:link, a.section:visited {
color: white; color: #fff;
text-decoration: none; text-decoration: none;
} }
@ -304,7 +304,7 @@ tr.alt {
} }
.row2 { .row2 {
background: white; background: #fff;
} }
/* SORTABLE TABLES */ /* SORTABLE TABLES */
@ -323,7 +323,7 @@ thead th.sorted {
} }
thead th.sorted .text { thead th.sorted .text {
padding-right: 42px; padding-right: 42px;
} }
table thead th .text span { table thead th .text span {
@ -338,7 +338,7 @@ table thead th .text a {
} }
table thead th.sortable:hover { table thead th.sortable:hover {
background: white url(../img/nav-bg-reverse.gif) 0 -5px repeat-x; background: #fff url(../img/nav-bg-reverse.gif) 0 -5px repeat-x;
} }
thead th.sorted a.sortremove { thead th.sorted a.sortremove {
@ -432,7 +432,7 @@ textarea, select, .vTextField {
/* FORM BUTTONS */ /* FORM BUTTONS */
.button, input[type=submit], input[type=button], .submit-row input { .button, input[type=submit], input[type=button], .submit-row input {
background: white url(../img/nav-bg.gif) bottom repeat-x; background: #fff url(../img/nav-bg.gif) bottom repeat-x;
padding: 3px 5px; padding: 3px 5px;
color: black; color: black;
border: 1px solid #bbb; border: 1px solid #bbb;
@ -445,16 +445,16 @@ textarea, select, .vTextField {
} }
.button[disabled], input[type=submit][disabled], input[type=button][disabled] { .button[disabled], input[type=submit][disabled], input[type=button][disabled] {
background-image: url(../img/nav-bg.gif); background-image: url(../img/nav-bg.gif);
background-position: bottom; background-position: bottom;
opacity: 0.4; opacity: 0.4;
} }
.button.default, input[type=submit].default, .submit-row input.default { .button.default, input[type=submit].default, .submit-row input.default {
border: 2px solid #5b80b2; border: 2px solid #5b80b2;
background: #7CA0C7 url(../img/default-bg.gif) bottom repeat-x; background: #7CA0C7 url(../img/default-bg.gif) bottom repeat-x;
font-weight: bold; font-weight: bold;
color: white; color: #fff;
float: right; float: right;
} }
@ -464,9 +464,9 @@ textarea, select, .vTextField {
} }
.button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default { .button[disabled].default, input[type=submit][disabled].default, input[type=button][disabled].default {
background-image: url(../img/default-bg.gif); background-image: url(../img/default-bg.gif);
background-position: bottom; background-position: bottom;
opacity: 0.4; opacity: 0.4;
} }
@ -475,7 +475,7 @@ textarea, select, .vTextField {
.module { .module {
border: 1px solid #ccc; border: 1px solid #ccc;
margin-bottom: 5px; margin-bottom: 5px;
background: white; background: #fff;
} }
.module p, .module ul, .module h3, .module h4, .module dl, .module pre { .module p, .module ul, .module h3, .module h4, .module dl, .module pre {
@ -502,7 +502,7 @@ textarea, select, .vTextField {
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;
background: #7CA0C7 url(../img/default-bg.gif) top left repeat-x; background: #7CA0C7 url(../img/default-bg.gif) top left repeat-x;
color: white; color: #fff;
} }
.module table { .module table {
@ -555,12 +555,12 @@ ul.errorlist {
padding: 4px 5px 4px 25px; padding: 4px 5px 4px 25px;
margin: 0 0 3px 0; margin: 0 0 3px 0;
border: 1px solid red; border: 1px solid red;
color: white; color: #fff;
background: red url(../img/icon_alert.gif) 5px .3em no-repeat; background: red url(../img/icon_alert.gif) 5px .3em no-repeat;
} }
.errorlist li a { .errorlist li a {
color: white; color: #fff;
text-decoration: underline; text-decoration: underline;
} }
@ -672,7 +672,7 @@ a.deletelink:hover {
.object-tools a:link, .object-tools a:visited { .object-tools a:link, .object-tools a:visited {
display: block; display: block;
float: left; float: left;
color: white; color: #fff;
padding: .2em 10px; padding: .2em 10px;
background: #999; background: #999;
} }
@ -714,10 +714,6 @@ table#change-history tbody th {
margin: 10px 15px; margin: 10px 15px;
} }
#header {
width: 100%;
}
#content-main { #content-main {
float: left; float: left;
width: 100%; width: 100%;
@ -772,13 +768,14 @@ table#change-history tbody th {
/* HEADER */ /* HEADER */
#header { #header {
width: 100%;
background: #417690; background: #417690;
color: #ffc; color: #ffc;
overflow: hidden; overflow: hidden;
} }
#header a:link, #header a:visited { #header a:link, #header a:visited {
color: white; color: #fff;
} }
#header a:hover { #header a:hover {