- added styles for .install_error and .install_warning

This commit is contained in:
steinm 2011-10-26 07:29:49 +00:00
parent 2164e4e95c
commit 3c6b087a74

View File

@ -1,230 +1,230 @@
/* Copyright (C) 2010 Matteo Lucarelli /* Copyright (C) 2010 Matteo Lucarelli
*/ */
body { body {
font-size: 70%; font-size: 70%;
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: #fff; background: #fff;
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: #fff; background: #fff;
position: relative; position: relative;
} }
a:link { a:link {
color: rgb(150,50,0); color: rgb(150,50,0);
text-decoration: none; text-decoration: none;
} }
a:visited { a:visited {
color: rgb(150,50,0); color: rgb(150,50,0);
text-decoration: none; text-decoration: none;
} }
a:hover { a:hover {
color: rgb(231,111,0); color: rgb(231,111,0);
text-decoration: none; text-decoration: none;
} }
a:active { a:active {
color: rgb(150,50,0); color: rgb(150,50,0);
text-decoration: none; text-decoration: none;
} }
.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: black; color: black;
position: absolute; position: absolute;
bottom: 0px; bottom: 0px;
} }
/* IE6 Hack */ /* IE6 Hack */
* html .mainHeading { * html .mainHeading {
position: relative; position: relative;
} }
.contentHeading { .contentHeading {
background: #7d8288; background: #7d8288;
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 0px 4px; padding: 2px 4px 0px 4px;
font-size: 1.6em; font-size: 1.6em;
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
color: #fff; color: #fff;
} }
.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 */
* html .globalBox {
position: relative;
}
.globalBox#noNav {
height: 4em;
} }
div#signatory { /* IE6 Hack */
padding-left: 55px; * html .globalBox {
position: absolute; position: relative;
bottom: 1px;
} }
/* IE6 Hack */ .globalBox#noNav {
* html .globalBox div#signatory { height: 4em;
position: relative; }
}
div#signatory {
.globalNav { padding-left: 55px;
padding: 4px; position: absolute;
list-style-type: none; bottom: 1px;
margin: 0px; }
text-align: right;
/* IE6 Hack */
* html .globalBox div#signatory {
position: relative;
}
.globalNav {
padding: 4px;
list-style-type: none;
margin: 0px;
text-align: right;
float:right; float:right;
/*font-variant: small-caps;*/ /*font-variant: small-caps;*/
} }
/* IE6 Hack */ /* IE6 Hack */
* html .globalNav { * html .globalNav {
position: relative; position: relative;
} }
.globalNav li { .globalNav li {
display: inline; display: inline;
padding: 0px 4px 0px 4px; padding: 0px 4px 0px 4px;
border-left: 1px solid; border-left: 1px solid;
} }
.globalNav li#first { .globalNav li#first {
border-left: none; border-left: none;
padding: 0px 4px 0px 0px; padding: 0px 4px 0px 0px;
} }
.globalNav li form { .globalNav li form {
display: inline; display: inline;
} }
.globalNav li input { .globalNav li input {
font-size: 0.8em; font-size: 0.8em;
border: 1px solid; border: 1px solid;
padding: 1px; padding: 1px;
} }
.globalNav li input#searchButton { .globalNav li input#searchButton {
border-left:0px; border-left:0px;
padding: 0px; padding: 0px;
} }
.localNav { .localNav {
padding:1px; padding:1px;
margin: 0px; margin: 0px;
margin-top: 3px; margin-top: 3px;
text-align: left; text-align: left;
list-style-type: none; list-style-type: none;
color: white; color: white;
text-transform: uppercase; text-transform: uppercase;
} }
.localNav li { .localNav li {
font-size: 0.8em; font-size: 0.8em;
display: inline; display: inline;
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
border: 1px solid #fff; border: 1px solid #fff;
background-color: #eee; background-color: #eee;
} }
.globalTR { .globalTR {
background: url(img/bg-global-tr.png) no-repeat top right; background: url(img/bg-global-tr.png) no-repeat top right;
float: right; float: right;
width: 8px; width: 8px;
height: 8px; height: 8px;
} }
.smallText { .smallText {
font-size: 0.8em; font-size: 0.8em;
} }
.contentContainer { .contentContainer {
padding: 0px; padding: 0px;
width: 100%; width: 100%;
margin: auto; margin: auto;
} }
.content { .content {
background: url(img/content-gradient.png) repeat-x bottom left; background: url(img/content-gradient.png) repeat-x bottom left;
background-color: white; background-color: white;
padding: 0; padding: 0;
border-top: 1px solid #e0e0e0; border-top: 1px solid #e0e0e0;
} }
.content-l { .content-l {
background: url(img/edge.png) repeat-y bottom left; background: url(img/edge.png) repeat-y bottom left;
} }
.content-r { .content-r {
background: url(img/edge.png) repeat-y bottom right; background: url(img/edge.png) repeat-y bottom right;
} }
.content-br { .content-br {
background: url(img/content-br.png) no-repeat bottom right; background: url(img/content-br.png) no-repeat bottom right;
} }
.content-bl { .content-bl {
background: url(img/content-bl.png) no-repeat bottom left; background: url(img/content-bl.png) no-repeat bottom left;
padding: 0.6em 1em; padding: 0.6em 1em;
} }
.content input, .content select { .content input, .content select {
font-size: 1em; font-size: 1em;
} }
.content textarea { .content textarea {
border: 1px solid; border: 1px solid;
font-family: sans-serif; font-family: sans-serif;
font-size: 1em; font-size: 1em;
} }
td { td {
vertical-align: top; vertical-align: top;
} }
table.userView { table.userView {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
} }
table.userView th { table.userView th {
text-align: left; text-align: left;
} }
ul.groupView{ ul.groupView{
@ -254,129 +254,129 @@ ul.groupView ul{
width: 20px; width: 20px;
} }
table.folderView { table.folderView {
border-collapse: collapse; border-collapse: collapse;
width: 100%; width: 100%;
}
table.folderView thead tr {
border-bottom: 1px solid rgb(189, 190, 192);
}
table.folderView th, table.folderView td {
padding: 0.1em 0.4em;
}
table.folderView th {
text-align: left;
} }
table.folderView thead tr {
table.folderView td { border-bottom: 1px solid rgb(189, 190, 192);
}
table.folderView th, table.folderView td {
padding: 0.1em 0.4em;
}
table.folderView th {
text-align: left;
}
table.folderView td {
border-bottom: 1px solid rgb(224, 224, 224); border-bottom: 1px solid rgb(224, 224, 224);
} }
table.folderView tr.folder { table.folderView tr.folder {
border-bottom: 1px solid rgb(224, 224, 224); border-bottom: 1px solid rgb(224, 224, 224);
} }
table.defaultView { table.defaultView {
border-collapse: collapse; border-collapse: collapse;
} }
table.defaultView thead tr { table.defaultView thead tr {
border-bottom: 1px solid rgb(189, 190, 192); border-bottom: 1px solid rgb(189, 190, 192);
} }
table.defaultView th, table.defaultView td { table.defaultView th, table.defaultView td {
padding: 0.1em 0.4em; padding: 0.1em 0.4em;
} }
table.defaultView th { table.defaultView th {
text-align: left; text-align: left;
} }
table.defaultView td { table.defaultView td {
border-bottom: 1px solid rgb(224, 224, 224); border-bottom: 1px solid rgb(224, 224, 224);
} }
table.defaultView td.center { table.defaultView td.center {
text-align: center; text-align: center;
} }
table.defaultView tr.folder { table.defaultView tr.folder {
border-bottom: 1px solid rgb(224, 224, 224); border-bottom: 1px solid rgb(224, 224, 224);
} }
td#userImage { td#userImage {
border: 1px solid rgb(189, 190, 192); border: 1px solid rgb(189, 190, 192);
} }
img.userImage { img.userImage {
height: 72px; height: 72px;
} }
img.mimeicon { img.mimeicon {
height: 18px; height: 18px;
vertical-align: middle; vertical-align: middle;
border: none; border: none;
} }
img.treeicon { img.treeicon {
border: none; border: none;
padding-right: 0.1em; padding-right: 0.1em;
} }
span.selectedfoldertree{ span.selectedfoldertree{
font-weight: bold; font-weight: bold;
} }
input.mimeicon { input.mimeicon {
height: 18px; height: 18px;
vertical-align: middle; vertical-align: middle;
border: none; border: none;
} }
ul.reviewer { ul.reviewer {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
ul.reviewer li { ul.reviewer li {
list-style: none; list-style: none;
padding: 0.1em 0em; padding: 0.1em 0em;
} }
ul.reviewer li.first { ul.reviewer li.first {
border-top: none; border-top: none;
} }
ul.actions { ul.actions {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
form ul.actions li { form ul.actions li {
list-style: none; list-style: none;
padding: 0 0 0.1em 0;
}
ul.actions li {
list-style: none;
padding: 0 0 0.1em 0; padding: 0 0 0.1em 0;
} }
ul.actions li {
ul.actions li img{ list-style: none;
padding: 0 0 0.1em 0;
}
ul.actions li img{
padding: 3px; padding: 3px;
} }
ul.documentDetail { ul.documentDetail {
margin: 0; margin: 0;
padding:0; padding:0;
font-size: 0.8em; font-size: 0.8em;
list-style: none; list-style: none;
} }
.cbSelectTitle { .cbSelectTitle {
float:left; float:left;
width: 9em; width: 9em;
} }
.cbSelectContainer { .cbSelectContainer {
overflow:auto; overflow:auto;
height: 6em; height: 6em;
width: 30em; width: 30em;
border: 1px solid #777; border: 1px solid #777;
margin-bottom: 3px; margin-bottom: 3px;
} }
.cbSelectContainer.empty { .cbSelectContainer.empty {
height: 1em; height: 1em;
} }
.cbSelectList { .cbSelectList {
margin:0; margin:0;
padding: 0.1em; padding: 0.1em;
} }
.cbSelectItem { .cbSelectItem {
list-style-type: none; list-style-type: none;
} }
div.pageList{ div.pageList{
border: 1px solid #ddd; border: 1px solid #ddd;
@ -390,41 +390,41 @@ div.pageList span.selected{
background-color: #7d8288; background-color: #7d8288;
padding: 1px; padding: 1px;
} }
/* /*
* I rather foolishly decided to have the title of the page exist at the * I rather foolishly decided to have the title of the page exist at the
* bottom of the containing DIV element. This means using absolute * bottom of the containing DIV element. This means using absolute
* positioning in order to get the desired effect in a way that is consistent. * 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 * However, this causes problems when the fonts are scaled as overlap can
* occur with other elements, leading to unclean layout (since absolute * occur with other elements, leading to unclean layout (since absolute
* positioning removes the element from the document flow). My solution is to * 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 * place an empty element in the page directly before the title that remains
* in the document flow. This fakes a margin around the title. * 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. * I've also applied this to the login form in the global navigation section.
*/ */
span.absSpacerNorm { span.absSpacerNorm {
display: block; display: block;
height: 1.4em; height: 1.4em;
line-height: 14px; line-height: 14px;
font-size: 1.2em; 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 { 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 {
text-align: center; text-align: center;
margin-top: 1em; margin-top: 1em;
} }
@ -434,8 +434,16 @@ span.absSpacerTitle {
padding:0.1em; padding:0.1em;
border: 1px solid rgb(255,0,0); border: 1px solid rgb(255,0,0);
} }
.error{ .install_warning{
margin: 20px;
padding: 10px;
background: #fa0;
color: #fff;
font-weight: bold;
font-size: 120%;
}
.error, .install_error{
margin: 20px; margin: 20px;
padding: 10px; padding: 10px;
background: #f00; background: #f00;