- some new styles

This commit is contained in:
steinm 2012-08-28 06:19:14 +00:00
parent 4c75f38190
commit ea520de642

View File

@ -1,375 +1,375 @@
/* Copyright (C) 2006-2008 Malcolm Cowe /* Copyright (C) 2006-2008 Malcolm Cowe
*/ */
body { body {
font-size: 76%; font-size: 76%;
font-family: sans-serif; font-family: sans-serif;
} }
body.login { body.login {
width: 50%; width: 50%;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
.headingContainer { .headingContainer {
background: #35566c url(img/blue-gradient.png) repeat-x bottom; background: #35566c url(img/blue-gradient.png) repeat-x bottom;
border: 1px solid rgb(53,85,107); border: 1px solid rgb(53,85,107);
position: relative; position: relative;
} }
/* IE6 Hack */ /* IE6 Hack */
* html .headingContainer { * html .headingContainer {
position: relative; position: relative;
} }
.localNavContainer { .localNavContainer {
padding: 2px; padding: 2px;
margin-bottom: 0.4em; margin-bottom: 0.4em;
background: #35566c; background: #35566c;
border: 1px solid rgb(53,85,107); border: 1px solid rgb(53,85,107);
position: relative; position: relative;
} }
a:link { a:link {
color: rgb(231,111,0); color: rgb(231,111,0);
text-decoration: none; text-decoration: none;
} }
a:visited { a:visited {
color: rgb(231,111,0); color: rgb(231,111,0);
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
text-decoration: underline; text-decoration: underline;
} }
a:active { a:active {
color: rgb(231,111,0); color: rgb(231,111,0);
text-decoration: none; text-decoration: none;
} }
.headingContainer a:link { .headingContainer a:link {
color: white; color: white;
} }
.headingContainer a:visited { .headingContainer a:visited {
color: white; color: white;
} }
.localNavContainer a:link { .localNavContainer a:link {
color: white; color: white;
} }
.localNavContainer a:visited { .localNavContainer a:visited {
color: white; color: white;
} }
.contentHeading a:link { .contentHeading a:link {
color: white; color: white;
} }
.contentHeading a:visited { .contentHeading a:visited {
color: white; color: white;
} }
.localNav a:link { .localNav a:link {
text-decoration: none; text-decoration: none;
} }
.localNav a:visited { .localNav a:visited {
text-decoration: none; text-decoration: none;
} }
.localNav a:hover { .localNav a:hover {
text-decoration: underline; text-decoration: underline;
} }
.globalNav a:link { .globalNav a:link {
color: rgb(192,102,0); color: rgb(192,102,0);
text-decoration: none; text-decoration: none;
} }
.globalNav a:visited { .globalNav a:visited {
color: rgb(192,102,0); color: rgb(192,102,0);
text-decoration: none; text-decoration: none;
} }
.globalNav a:hover { .globalNav a:hover {
color: rgb(192,102,0); color: rgb(192,102,0);
text-decoration: underline; text-decoration: underline;
} }
.globalNav a:active { .globalNav a:active {
color: rgb(192,102,0); color: rgb(192,102,0);
} }
.mainHeading { .mainHeading {
padding: 2px 4px 0px 4px; padding: 2px 4px 0px 4px;
font-size: 1.5em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
color: white; color: white;
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
} }
/* IE6 Hack */ /* IE6 Hack */
* html .mainHeading { * html .mainHeading {
position: relative; position: relative;
} }
.contentHeading { .contentHeading {
background: #35566c url(img/blue-gradient.png) repeat-x bottom; background: #35566c url(img/blue-gradient.png) repeat-x bottom;
color: white; color: white;
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
margin-top: 10px; margin-top: 10px;
font-size: 1.2em; font-size: 1.2em;
font-weight: bold; font-weight: bold;
} }
.contentSubHeading { .contentSubHeading {
font-weight: bold; font-weight: bold;
border-bottom: 1px solid; border-bottom: 1px solid;
margin-top: 1em; margin-top: 1em;
margin-bottom: 2px; margin-bottom: 2px;
} }
.contentSubHeading#first { .contentSubHeading#first {
margin-top: 0; margin-top: 0;
margin-bottom: 2px; margin-bottom: 2px;
} }
#logo { #logo {
float:left; float:left;
margin-right: 5px; margin-right: 5px;
} }
.siteName { .siteName {
background: url(img/bg-global-tl.png) no-repeat top left; background: url(img/bg-global-tl.png) no-repeat top left;
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
font-size: 1.6em; font-size: 1.6em;
font-weight: bold; font-weight: bold;
/*width: 40%; */ /*width: 40%; */
} }
.siteNameLogin { .siteNameLogin {
background: url(img/bg-global-tl.png) no-repeat top left; background: url(img/bg-global-tl.png) no-repeat top left;
padding: 2px 4px 0px 4px; padding: 2px 4px 0px 4px;
font-size: 3em; font-size: 3em;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
color: #fff; color: #fff;
} }
.globalBox { .globalBox {
background: url(img/bg-global.png) repeat-x top left; background: url(img/bg-global.png) repeat-x top left;
position: relative; position: relative;
height: 4em; height: 4em;
} }
/* IE6 Hack */ /* IE6 Hack */
* html .globalBox { * html .globalBox {
position: relative; position: relative;
} }
.globalBox#noNav { .globalBox#noNav {
height: 4em; height: 4em;
} }
.globalBox div#signatory { .globalBox div#signatory {
padding-left: 55px; padding-left: 55px;
position: absolute; position: absolute;
bottom: 1px; bottom: 1px;
} }
/* IE6 Hack */ /* IE6 Hack */
* html .globalBox div#signatory { * html .globalBox div#signatory {
position: relative; position: relative;
} }
.globalNav { .globalNav {
padding: 4px; padding: 4px;
list-style-type: none;
margin: 0px;
text-align: right;
float:right;
}
/* IE6 Hack */
* html .globalNav {
position: relative;
}
.globalNav li {
display: inline;
padding: 0px 4px 0px 4px;
border-left: 1px solid;
}
.globalNav li#first {
border-left: none;
padding: 0px 4px 0px 0px;
}
.globalNav li form {
display: inline;
}
.globalNav li input {
font-size: 0.8em;
border: 1px solid;
padding: 1px;
}
.globalNav li input#searchButton {
border-left:0px;
padding: 0px;
}
.localNav {
padding:1px;
margin: 0px;
text-align: center;
list-style-type: none; list-style-type: none;
text-align:left; margin: 0px;
color: white; text-align: right;
text-transform: uppercase; float:right;
} }
.localNav li {
display: inline; /* IE6 Hack */
padding: 0px 4px 0px 4px; * html .globalNav {
border-left: 1px solid; position: relative;
} }
.localNav li#first {
border-left: none; .globalNav li {
} display: inline;
.globalTR { padding: 0px 4px 0px 4px;
background: url(img/bg-global-tr.png) no-repeat top right; border-left: 1px solid;
float: right; }
width: 8px; .globalNav li#first {
height: 8px; border-left: none;
} padding: 0px 4px 0px 0px;
.smallText { }
font-size: 0.8em; .globalNav li form {
} display: inline;
.contentContainer { }
padding: 0px; .globalNav li input {
width: 100%; font-size: 0.8em;
margin: auto; border: 1px solid;
} padding: 1px;
.content { }
background: url(img/content-gradient.png) repeat-x bottom left; .globalNav li input#searchButton {
background-color: white; border-left:0px;
margin-top: 0.2em; padding: 0px;
padding: 0; }
border-top: 1px solid #e0e0e0; .localNav {
} padding:1px;
.content-l { margin: 0px;
background: url(img/edge.png) repeat-y bottom left; text-align: center;
} list-style-type: none;
.content-r { text-align:left;
background: url(img/edge.png) repeat-y bottom right; color: white;
} text-transform: uppercase;
.content-br { }
background: url(img/content-br.png) no-repeat bottom right; .localNav li {
} display: inline;
.content-bl { padding: 0px 4px 0px 4px;
background: url(img/content-bl.png) no-repeat bottom left; border-left: 1px solid;
padding: 0.6em 1em; }
} .localNav li#first {
.content input, .content select { border-left: none;
font-size: 0.8em; }
border: 1px solid; .globalTR {
} background: url(img/bg-global-tr.png) no-repeat top right;
.content textarea { float: right;
border: 1px solid; width: 8px;
font-family: sans-serif; height: 8px;
font-size: 1.0em; }
} .smallText {
td { font-size: 0.8em;
vertical-align: top; }
} .contentContainer {
table.folderView { padding: 0px;
border-collapse: collapse; width: 100%;
width: 100%; margin: auto;
} }
table.folderView thead tr { .content {
border-bottom: 1px solid rgb(189, 190, 192); background: url(img/content-gradient.png) repeat-x bottom left;
} background-color: white;
table.folderView th, table.folderView td { margin-top: 0.2em;
padding: 0.1em 0.4em; padding: 0;
} border-top: 1px solid #e0e0e0;
table.folderView th { }
text-align: left; .content-l {
} background: url(img/edge.png) repeat-y bottom left;
table.folderView td { }
border-bottom: 1px solid rgb(224, 224, 224); .content-r {
} background: url(img/edge.png) repeat-y bottom right;
table.folderView td.center { }
text-align: center; .content-br {
} background: url(img/content-br.png) no-repeat bottom right;
table.folderView tr.folder { }
border-bottom: 1px solid rgb(224, 224, 224); .content-bl {
background: rgb(240, 240, 240); background: url(img/content-bl.png) no-repeat bottom left;
} padding: 0.6em 1em;
table.defaultView { }
border-collapse: collapse; .content input, .content select {
} font-size: 0.8em;
table.defaultView thead tr { border: 1px solid;
border-bottom: 1px solid rgb(189, 190, 192); }
} .content textarea {
table.defaultView th, table.defaultView td { border: 1px solid;
padding: 0.1em 0.4em; font-family: sans-serif;
} font-size: 1.0em;
table.defaultView th { }
text-align: left; td {
} vertical-align: top;
table.defaultView td { }
border-bottom: 1px solid rgb(224, 224, 224); table.folderView {
} border-collapse: collapse;
table.defaultView td.center { width: 100%;
text-align: center; }
} table.folderView thead tr {
table.defaultView tr.folder { border-bottom: 1px solid rgb(189, 190, 192);
border-bottom: 1px solid rgb(224, 224, 224); }
background: rgb(240, 240, 240); table.folderView th, table.folderView td {
} padding: 0.1em 0.4em;
td#userImage { }
border: 1px solid rgb(189, 190, 192); table.folderView th {
} text-align: left;
img.userImage { }
height: 72px; table.folderView td {
} border-bottom: 1px solid rgb(224, 224, 224);
img.mimeicon { }
height: 18px; table.folderView td.center {
vertical-align: middle; text-align: center;
border: none; }
} table.folderView tr.folder {
img.treeicon { border-bottom: 1px solid rgb(224, 224, 224);
border: none; background: rgb(240, 240, 240);
padding-right: 0.1em; }
} table.defaultView {
input.mimeicon { border-collapse: collapse;
height: 18px; }
vertical-align: middle; table.defaultView thead tr {
border: none; border-bottom: 1px solid rgb(189, 190, 192);
} }
ul.reviewer { table.defaultView th, table.defaultView td {
padding: 0; padding: 0.1em 0.4em;
margin: 0; }
} table.defaultView th {
ul.reviewer li { text-align: left;
list-style: none; }
padding: 0.1em 0em; table.defaultView td {
border-top: 1px solid rgb(163, 184, 203); border-bottom: 1px solid rgb(224, 224, 224);
} }
ul.reviewer li.first { table.defaultView td.center {
border-top: none; text-align: center;
} }
ul.actions { table.defaultView tr.folder {
padding: 0; border-bottom: 1px solid rgb(224, 224, 224);
margin: 0; background: rgb(240, 240, 240);
} }
ul.actions li { td#userImage {
list-style: none; border: 1px solid rgb(189, 190, 192);
padding: 0 0 0.1em 0; }
} img.userImage {
ul.actions li.first { height: 72px;
border-top: none; }
} img.mimeicon {
dl.documentDetail { height: 18px;
margin: 0; vertical-align: middle;
} border: none;
dl.documentDetail dt { }
font-weight: bold; img.treeicon {
} border: none;
.cbSelectTitle { padding-right: 0.1em;
float:left; }
width: 9em; input.mimeicon {
} height: 18px;
.cbSelectContainer { vertical-align: middle;
overflow:auto; border: none;
height: 8em; }
border: 1px solid; ul.reviewer {
padding: 0.2em 0; padding: 0;
margin: 0.2em 0; margin: 0;
} }
.cbSelectContainer.empty { ul.reviewer li {
height: 1em; list-style: none;
} padding: 0.1em 0em;
.cbSelectList { border-top: 1px solid rgb(163, 184, 203);
padding: 0.1em; }
} ul.reviewer li.first {
.cbSelectItem { border-top: none;
list-style-type: none; }
} ul.actions {
padding: 0;
margin: 0;
}
ul.actions li {
list-style: none;
padding: 0 0 0.1em 0;
}
ul.actions li.first {
border-top: none;
}
dl.documentDetail {
margin: 0;
}
dl.documentDetail dt {
font-weight: bold;
}
.cbSelectTitle {
float:left;
width: 9em;
}
.cbSelectContainer {
overflow:auto;
height: 8em;
border: 1px solid;
padding: 0.2em 0;
margin: 0.2em 0;
}
.cbSelectContainer.empty {
height: 1em;
}
.cbSelectList {
padding: 0.1em;
}
.cbSelectItem {
list-style-type: none;
}
div.pageList{ div.pageList{
border: 1px solid #ddd; border: 1px solid #ddd;
padding: 3px; padding: 3px;
@ -381,44 +381,54 @@ div.pageList span.selected{
color: #fff; color: #fff;
background-color: #35566c; background-color: #35566c;
padding: 1px; padding: 1px;
}
/*
* I rather foolishly decided to have the title of the page exist at the
* bottom of the containing DIV element. This means using absolute
* positioning in order to get the desired effect in a way that is consistent.
* However, this causes problems when the fonts are scaled as overlap can
* occur with other elements, leading to unclean layout (since absolute
* positioning removes the element from the document flow). My solution is to
* place an empty element in the page directly before the title that remains
* in the document flow. This fakes a margin around the title.
* I've also applied this to the login form in the global navigation section.
*/
span.absSpacerNorm {
display: block;
height: 1.4em;
line-height: 14px;
font-size: 1.2em;
}
span.absSpacerTitle {
display: block;
min-height: 1.8em;
font-size: 1.5em;
padding-top: 0.2em;
visibility: hidden;
}
.disclaimer {
margin-top: 1em;
padding: 3px;
text-align: center;
border: 1px solid #000;
} }
/*
.footNote { * I rather foolishly decided to have the title of the page exist at the
* bottom of the containing DIV element. This means using absolute
* positioning in order to get the desired effect in a way that is consistent.
* However, this causes problems when the fonts are scaled as overlap can
* occur with other elements, leading to unclean layout (since absolute
* positioning removes the element from the document flow). My solution is to
* place an empty element in the page directly before the title that remains
* in the document flow. This fakes a margin around the title.
* I've also applied this to the login form in the global navigation section.
*/
span.absSpacerNorm {
display: block;
height: 1.4em;
line-height: 14px;
font-size: 1.2em;
}
span.absSpacerTitle {
display: block;
min-height: 1.8em;
font-size: 1.5em;
padding-top: 0.2em;
visibility: hidden;
}
div.error {
text-align: center;
margin: 20px;
padding: 20px;
border: 1px solid black;
border-radius: 15px;
background-color: #ff8787;
font-weight: bold;
}
.disclaimer {
margin-top: 1em;
padding: 3px;
text-align: center;
border: 1px solid #000;
}
.footNote {
text-align: center; text-align: center;
margin-top: 1em; margin-top: 1em;
} }
.legend{ .legend{
list-style: none; list-style: none;
border: 1px solid black; border: 1px solid black;