gecko-dev/webtools/litmus/css/litmus.css
ccooper%deadsquid.com 3de084e41b b=320423
- fix single result submission, but still require that a user be logged in to submit a result

Misc:
- move testcase updating into show_tests.cgi from process_test.cgi
- display all testcase info when editing tests (admin only)
- can no longer edit testcase and submit results at the same time
- add author info to testcases (Test.pm)
- add extra checking to silence log errors originating from single_result.cgi and Litmus::DB::User::getDisplayName
- update Litmus version number and last_updated field when editing testcases
- use same testcase interface for viewing testcases and running testcases (test.html.tmpl)
2006-02-07 18:20:53 +00:00

1070 lines
18 KiB
CSS
Executable File

/* 1) Main ********************************************************************** */
body {
margin: 0 30px 2em 30px;
color: #333;
background: #fff url("images/body_back.gif") repeat-x;
font-size: 65%;
}
body, td, th, h3, input, pre { /* redundant rules for bad browsers */
font-family: verdana, sans-serif;
voice-family: "\"}\"";
voice-family: inherit;
}
#container {
width: 100%;
margin: 0 auto;
}
#page {
padding: 15px 0 0 0;
}
#content {
margin: 0 0 0 170px;
background: url("images/page-background.gif") repeat-x top left;
}
h1.firstHeading, h1.errorHeading {
padding-top: 15px;
border-bottom: none;
margin-top: 0;
font-size: 1.4em;
line-height: 1.0em;
text-transform: lowercase;
}
h1.errorHeading {
color: #F00;
}
select {
font-size: 0.9em;
}
/* 2) Links********************************************************************** */
a {
text-transform: lowercase;
font-weight: bold;
}
a:link, a:visited {
text-decoration: none;
color: #363636;
}
a:hover {
color: #660000;
text-decoration: underline;
}
a:active {
color: #000000;
}
/* 3) Mozilla ******************************************************************* */
#mozilla-org {
position: relative;
height: 25px;
}
#mozilla-org a {
position: absolute;
right: 0;
top: 0;
display: block;
width: 110px;
height: 25px;
background: url("images/mozilla-org.gif") no-repeat;
text-decoration: none;
text-indent: -5000em;
}
/* 4) Header ******************************************************************** */
#header {
clear: both;
position: relative;
margin: 0 0 10px 0;
height: 60px;
border: solid #BBB 1px;
}
#header h1 {
position: absolute;
top: 0;
left: 0;
margin: 0;
}
#header h1 a,#header h1 a:hover {
display: block;
width: 150px;
height: 60px;
background: url("../images/title.png") no-repeat;
font-size: 1px;
text-indent: -7000em;
}
#header form {
position: absolute;
top: 8px;
right: 0;
font-family: tahoma, arial, sans-serif;
}
#header form label {
font-weight: bold;
}
#header form .searchButton, #submit {
font-size: 100%;
padding: 1px;
font-family: tahoma, arial, sans-serif;
}
#header form #searchInput, #s {
width: 90px;
font-size: 100%;
font-weight: normal;
border: 1px solid #9097A2;
padding: 2px;
font-family: tahoma, arial, sans-serif;
}
/* Footer ****************************************************** */
#footer {
clear: both;
background: url("images/page-background.gif") repeat-x top left;
margin: 10px 0 0 170px;
width: auto;
text-align: center;
font-size: 0.9em;
text-transform: lowercase;
}
#footer ul {
margin: 0;
padding: 0;
}
#footer li {
display: inline;
list-style: none;
padding-left: 5px;
padding-right: 5px;
}
#footer #stickers {
padding-top: 20px;
}
#footer #stickers div {
display: inline;
}
#footer #stickers img {
border: none;
}
#footer p {
padding: 5px;
}
/* 5) Navigation **************************************************************** */
#navigation {
margin: 0;
padding: 0;
background: #1e4176 url("images/navigation-background.gif") repeat-x bottom right;
height: 2.7em;
}
#navigation div#bar {
padding: 0;
margin: 0;
background: url("images/navigation-top-right.gif") no-repeat top right;
height: 2.7em;
white-space: nowrap;
}
#navigation div#bar div {
position: relative;
padding: 0;
margin: 0;
background: url("images/navigation-top-left.gif") no-repeat top left;
height: 2.7em;
}
#navigation #contenttypes {
position: absolute;
bottom: 0;
left: 0;
margin: 0;
padding: 0 0 0 0.7em;
list-style-type: none;
background: url("images/navigation-bottom-left.gif") no-repeat bottom left;
}
#navigation #contenttypes li {
margin: 0 2px 0 0; padding: 0;
float: left;
background-image: url("images/tab-right.gif");
background-position: top right;
background-repeat: no-repeat;
height: 2em;
}
#navigation #contenttypes li.selected {
background-image: url("images/tab-right-selected.gif");
}
#navigation #contenttypes li a {
display: block;
font-family: verdana, arial, sans-serif;
text-decoration: none;
font-weight: bold;
color: #fff;
height: 2em;
line-height: 2em;
background-image: url("images/tab-left.gif");
background-position: top left;
background-repeat: no-repeat;
padding: 0px 6px;
}
#navigation #contenttypes li.selected a {
color: #003366;
background-image: url("images/tab-left-selected.gif");
}
#navigation #personal {
position: absolute;
bottom: 0;
right: 0;
margin: 0;
padding: 0 0.4em 0 0;
height: 1.4em;
list-style-type: none;
background: url("images/navigation-bottom-right.gif") no-repeat bottom right;
}
#navigation #personal li {
margin: 0 4px;
padding: 0;
float: left;
line-height: 2em;
}
#navigation #personal a {
font-family: tahoma, arial, sans-serif;
font-weight: bold;
color: #fff;
display: block;
text-decoration: none;
margin: 0;
}
/* 6) Sidebar ******************************************************************* */
#sidebar {
position: absolute;
top: 40px;
left: 30px;
background: #FFF;
width: 150px;
line-height: 120%;
}
#sidebar h3 {
text-transform: lowercase;
font-weight: bold;
margin: 1em 0 0.3em;
}
#sidebar h3:first-child {
margin: 0 0 0.3em;
}
#sidebar ul {
margin: 0;
padding: 0;
}
#sidebar p,
#sidebar li {
margin: 0 0 0 2em;
padding: 0;
}
#sidebar p {
margin-bottom: 6px;
}
#sidebar p:last-child {
margin-bottom: 0;
}
#sidebar p.submit {
text-align: center;
padding: 2px;
}
#sidebar hr {
width: 60%;
color: #BBBBBB;
background-color: #BBBBBB;
height: 1px;
border: 0;
}
/* 7) Related ******************************************************************* */
div#related {
background: #eff8ce url("images/box-yellow-bottom.gif") no-repeat bottom left;
margin: 0 0 16px 0;
}
div#related div {
background: url("images/box-yellow-top.gif") no-repeat top left;
padding: 8px;
}
div#related h3 {
color: #003366;
}
div#related li {
list-style-image: url("images/box-yellow-arrow.gif");
color: #999999;
}
div#related a {
color: #0033aa;
text-decoration: none;
}
/* 8) Pagetools ***************************************************************** */
div.pagetools {
background: #dddddd;
border: solid #bbbbbb 1px;
margin: 0 0 16px;
overflow: auto;
}
div.pagetools div {
padding: 8px;
}
div.pagetools h3 {
color: #666666;
}
div.pagetools ul {
list-style: none;
}
/* 9) Breadcrumbs**************************************************************** */
#breadcrumbs {
margin: 11px 0 0 0; padding: 0;
font-weight: bold;
width: 100%;
clear: both;
}
#breadcrumbs ul {
margin: 0; padding: 0;
display: block;
}
#breadcrumbs li {
float: left;
padding: 0;
margin-top: 0;
list-style-type: none;
}
#breadcrumbs a,
#breadcrumbs span {
color: #888;
text-decoration: none;
background-image: url("images/breadcrumbs.gif");
background-repeat: no-repeat;
background-position: center left;
padding: 0 6px 0 12px;
}
#breadcrumbs:first-child a {
background-image: none;
padding: 0 6px 0 0;
}
#breadcrumbs li span {
color: #3f5d89;
}
/* 10 Test Results ************************************************************** */
.single-result, .comments, .test-config, .stats {
border-collapse: collapse;
width: 100%;
background: #ffffff;
margin-bottom: 5px;
}
table.single-result, table.comments, table.stats {
margin-top: 5px;
}
.test-results {
border-collapse: collapse;
margin-bottom: 5px;
width: 100%;
background: #ffffff;
}
.stats {
border: solid #bbbbbb 1px;
margin-bottom: 10px;
}
table.section {
border: none;
width: 100%;
}
.run-tests {
border: solid #666666 1px;
background: #ffffff;
margin-bottom: 10px;
}
#configuration {
display: block;
}
.comments {
border: solid #BBB 1px;
background: #DDD;
color: #000;
}
.test-results td, .single-result td, .comments td {
vertical-align: top;
padding: 3px 5px 3px 5px;
margin: 0px;
}
.single-result td {
border: solid #BBB 1px;
}
.run-tests tr {
padding: 10px;
}
.run-tests td {
vertical-align: middle;
padding: 3px 5px 3px 5px;
}
.test-results td, .run-tests td {
border: solid #BBB 1px;
}
td.header, th {
vertical-align: middle;
background: #DDD;
border: solid #BBB 1px;
font-weight: bold;
text-transform: lowercase;
text-align: center;
color: #666666;
padding: 0px 5px 0px 5px;
}
.run-tests td.header {
background: #DDD;
border: solid #BBB 1px;
font-weight: bold;
font-size: 1.05em;
text-transform: lowercase;
text-align: right;
padding: 0px 5px 0px 5px;
}
.no-results {
background: inherit;
color: #F00;
text-align: center;
}
.radio-testresults {
border: solid #BBB 1px;
border-collapse: collapse;
padding: 3px 5px 3px 5px;
margin: 5px;
}
.testresults-submitted {
border-collapse: collapse;
margin: 0px;
padding: 0px;
}
.testresults-submitted td {
border: solid #BBB 1px;
padding: 3px;
padding-left: 10px;
padding-right: 10px;
}
table.radio-testresults tr {
border: solid #BBB 1px;
padding: 3px 5px 3px 5px;
}
.pass {
background: #9F9;
}
.pass a:hover {
color: #00cc00;
}
.fail {
background: #F99;
}
.fail a:hover {
color: #cc0000;
}
.unclear {
background: #FF9;
}
.unclear a:hover {
color: #cccc00;
}
.test-results tr.search {
background: #DDD;
border: solid #BBB 1px;
font-size: 1em;
text-align: center;
padding: 0px 5px 0px 5px;
}
.test-results td.search-heading {
text-transform: lowercase;
text-align: center;
vertical-align: middle;
font-weight: bold;
color: #666666;
}
.test-results td.search {
text-align: center;
vertical-align: middle;
}
.test-results td.search-submit {
text-align: right;
vertical-align: middle;
}
.legend td {
vertical-align: top;
padding: 3px 5px 3px 5px;
border: solid #BBB 1px;
text-align: center;
}
.advanced-search {
padding: 0px;
width: 100%;
}
.advanced-search td.heading {
font-weight: bold;
}
.advanced-search td.instructions {
text-align: center;
padding: 0px 5px 10px 5px;
}
.test-config td.header {
font-weight: bold;
}
/* 11 Run Test ****************************************************************************** */
div.title_sub {
background-color: #d0d0d0;
font-weight: bold;
padding: 0px;
margin: 0 0 0 0;
}
div.sec_head {
padding: 0px;
font-weight: bold;
background-color: #dddddd;
}
div.testcase-head {
background-color: #cccccc;
padding: 0px;
font-weight: bold;
}
div.sec_head table, div.testcase-head table {
width: 100%;
padding: 0px;
}
div.sec_head td.l, div.testcase-head td.l {
font-weight: bold;
text-transform: lowercase;
color: #666666;
}
div.sec_head td.r, div.testcase-head td.r {
text-align: right;
vertical-align: middle;
}
div.nav {
background-color: #dddddd;
text-align: right;
text-transform: lowercase;
}
div.nav a:link, div.nav a:visited {
color: #333333;
text-decoration: none;
}
div.nav a:hover {
color: #660000;
text-decoration: underline;
}
div.summary {
margin-top: 5px;
background-color: #efefef;
}
div.summary td {
vertical-align: top;
background-color: #efefef;
padding: 10px;
width: 25%;
}
div.summary p {
padding: 10px;
}
table.tc_nav {
width:100%;
background-color:#efefef;
}
table.tc_nav td {
vertical-align:top;
}
div.tcs {
background-color: inherit;
}
div.tcs table {
width:200px;
padding:10px;
}
table.tcm {
border: solid #bbbbbb 1px;
width: 100%;
padding: 0px;
margin: 0px;
}
table.tcm td {
vertical-align: top;
padding: 5px;
padding-left: 10px;
padding-right: 10px;
}
table.tcm td.header {
background-color: #dddddd;
}
td.content ul, td.content ol {
margin-left: 1em;
margin-right: 1em;
padding: 0px;
}
table.tcm td.content {
background-color: #efefef;
}
table.tcmf td {
vertical-align:top;
border-width:0px;
padding: 5px;
}
div.dh {
padding: 0 2px 2px 0;
font-weight: bold;
}
div.dv {
font-weight: normal;
padding: 2px 2px 10px 5px;
}
div.t_link a {
padding: 2px 2px 10px 0px;
}
/* 12 Popup divs (comments) ****************************************************************************** */
#popup {
position: absolute;
margin: -5em 0 0 -5em;
opacity: 0.9;
}
.who#popup{
border: 0px;
height: 8em;
width: 16em;
}
.comment#popup {
width: 25em;
}
.log#popup {
width: 25em;
}
.comment#popup, .log#popup {
border: solid #bbbbbb 1px;
background-color: #ffffff;
color: #000000;
padding: 0.25em;
text-align: center;
}
p.comment {
font-size: 0.9em;
}
/* 13 Authentication and login **************************************** */
div.loginbox {
background: #DDD;
border: solid #BBB 1px;
padding: 5px;
font-size: 120%;
}
div.login_form {
background-color: #efefef;
border: solid #BBB 1px;
padding: 10px;
width: 45%;
height: 150px;
}
.login_sectitle {
font-weight: bold;
font-size: 120%;
}
.login_important {
color: #F00;
font-size: 120%;
}
.login_forhelp {
border: solid #BBB 1px;
color: #000;
font-weight: bold;
font-size: 120%;
position: relative;
bottom: 40px;
}
.login_info {
vertical-align: top;
padding-left: 40px;
padding-right: 10px;
}
/* 14 Popup Message Display ******************************************* */
#message
{
position: fixed;
display: none;
top: -1px;
left: 200px;
right: 200px;
z-index: 5000;
opacity: 0.85;
}
#message div
{
width: 400px;
margin: 0px auto;
height: 32px;
min-height: 32px;
padding: 24px 10px 16px 46px;
}
#message div.info
{
background: url(../images/info.png) 7px center no-repeat;
background-color: #F7FDCB;
border: 1px solid #C2D071;
}
#message div.error,
#message div.warning,
#message div.failure
{
background: url(../images/warning.png) 7px center no-repeat;
background-color: #EF9398;
border: 1px solid #DC5757;
}
#message div.confirmation,
#message div.success
{
background: url(../images/confirm.png) 7px center no-repeat;
background-color: #A6EF7B;
border: 1px solid #76C83F;
}
#message div.loading
{
background: url(../images/loading.gif) 7px center no-repeat;
background-color: #EBEBEB;
border: 1px solid #CCCCCC;
}
/* Misc ************************************************************** */
fieldset {
margin-bottom: 5px;
}
legend {
font-weight: bold;
font-size: 1.0em;
}
div.error {
background: #DDD;
border: solid #BBB 1px;
padding: 5px;
}
.skipLink {
position: absolute;
left: -1200px;
width: 990px;
}
.hide {
display: none;
}
#notification {
display: none;
}
#printheader {
display: none;
}
.legend {
border: solid #666 1px;
border-collapse: collapse;
width: 100%;
margin-bottom: 10px;
background: #FFF;
}
textarea {
font-size: 1.5em;
margin-bottom: 5px;
}
.t_link {
font-weight: bold;
text-transform: lowercase;
}
.pageinstruction {
font-weight: bold;
}
.pageinstruction input {
font-weight: normal;
}
ul.select-group {
list-style-type: none;
margin: 0;
padding: 5px;
}
div.instructions {
border-collapse: collapse;
}
ul.instructions {
list-style-type: circle;
list-style-position: inside;
padding-left: 5px;
padding-right: 5px;
}
ol {
list-style-type: decimal;
}
#pageload {
position: relative;
left: 100px;
text-align: center;
text-transform: lowercase;
}
.odd {
background-color: #eeeeee;
}
.even {
background-color: #ffffff;
}
.completegroup {
background-color: #999999;
}
.confirmedgroup {
background-color: #666666;
}
div.section-full, div.category, div.section, div.testcase {
padding: 10px;
margin-bottom: 5px;
border: solid #bbbbbb 1px;
background-color: #dddddd;
overflow: auto;
}
div.testcase {
background-color: #cccccc;
overflow: auto;
}
div.section-full, div.category {
width: 100%;
}
div.section-header {
font-size: 1.0em;
line-height: 1.0em;
font-weight: bold;
color: #666666;
text-transform: lowercase;
overflow: auto;
}
div.category h2, div.category h3 {
font-weight: bold;
color: #666666;
text-transform: lowercase;
padding: 0px;
margin: 2px;
}
div.category h2 {
margin-bottom: 10px;
font-size: 1.0em;
line-height: 1.0em;
}
div.category h3 {
margin: 5px 0px 5px 0px;
color: #363636;
font-size: 0.9em;
line-height: 0.9em;
}
div.collapsable {
/* font-size: 0.85em;*/
}
div.section-content {
padding: 0px;
padding-left: 10px;
padding-right: 10px;
}
div.testcase-content {
padding: 0px;
margin: 5px 10px 0px 10px;
width: auto;
overflow: auto;
}
.submit {
text-align: right;
vertical-align: middle;
}
.submitall {
padding-left: 5px;
padding-right: 5px;
text-align: left;
vertical-align: middle;
}
table.section td.subsection {
padding: 10px;
border: solid #bbbbbb 1px;
margin-bottom: 5px;
background-color: #dddddd;
vertical-align: top;
}
img.icon {
vertical-align: middle;
border: 0;
padding: 5px;
}
table.category {
border: 0px;
margin: 0px;
}
table.category select {
width: 20em;
}
table.category td {
padding-left: 5px;
padding-right: 5px;
}
table.category h1 {
font-size: 1.1em;
}
input.category, input.button {
font-size: 1em;
margin: 5px 0px 0px 0px;
}
input.textbox {
font-size: .9em;
margin: 5px 0px 0px 0px;
}
div.advSearchForm {
padding: 0px;
margin: 0px;
border: 0px;
}
div.formButtons {
padding-bottom: 15px;
}