science-ation/tableeditor.css

153 lines
2.2 KiB
CSS
Raw Normal View History

select {
font-size: 1.0em;
}
input {
font-size: 1.0em;
}
.tableview * .happy {
color: green;
font-weight: bold;
font-size: 1.1em;
}
.tableview * .error {
color: red;
font-weight: bold;
font-size: 1.1em;
}
.tableview {
border-collapse: collapse;
border-spacing: 1px;
color: black;
margin-left: 20px;
margin-right: 20px;
border: 0px;
font-size: 0.8em;;
}
.tableview td {
border: 1px solid #000000;
padding: 2px 5px 2px 5px;
}
.tableview th {
border: 1px solid #000000;
font-weight: bold;
text-align: center;
color: #FFFFFF;
2009-10-14 19:53:09 +00:00
/*background-color: #1B86B7; */
background-color: #1B86B7;
padding: 3px;
2010-03-30 21:59:04 +00:00
cursor: pointer;
}
.tableview tr:hover {
background-color: #DDDDEC;
}
/* Table Drag'n'Drop default while-dragging style */
.tableview tr.tDnD_whileDrag,tr.tDnD_whileDrag:hover {
background-color: #8080ff;
}
.tableview th a {
font-weight: bold;
color: #FFFFFF;
}
.tableview th a:hover {
font-weight: bold;
background-color: #00346A;
color: #3D90E9;
}
.tableedit {
color: black;
margin-left: 20px;
margin-right: 20px;
font-size: 0.8em;
border: 0px;
border-collapse: collapse;
/* width: 100%;*/
}
.tableedit td {
padding: 2px;
vertical-align: middle;
}
.tableedit th {
font-weight: bold;
text-align: left;
color: #FFFFFF;
2009-10-14 19:53:09 +00:00
/*background-color: #1B86B7; */
background-color: #1B86B7;
padding: 1px;
vertical-align: top;
}
/* Replacement for tableedit */
2010-07-14 18:09:26 +00:00
form.editor table {
color: black;
2010-07-14 18:09:26 +00:00
font-size: 1em;
/* width: 95%;*/
}
form.editor table {
margin-left: 20px;
margin-right: 20px;
border: 0px;
border-collapse: collapse;
/* width: 95%;*/
}
2010-07-14 18:09:26 +00:00
form.editor table tr td {
padding: 2px;
2010-07-14 18:09:26 +00:00
text-align: left;
vertical-align: baseline;
}
2010-07-14 18:09:26 +00:00
form.editor table tr td:first-child {
text-align: right;
}
2010-07-14 18:09:26 +00:00
form.editor table th {
font-weight: bold;
text-align: left;
color: #FFFFFF;
2009-10-14 19:53:09 +00:00
background-color: #1B86B7;
padding: 1px;
vertical-align: top;
}
form.editor * input {
/* border: none solid solid;*/
}
form.editor * input.error {
/* border: 1px solid red;*/
}
form.editor * label.error {
margin-left: 10px;
width: auto;
display: inline;
color: red;
font-style: italic;
}
2010-07-14 18:09:26 +00:00
/* A default class so we can nest tables (i know bad) but revert
* inheritance */
.default td {
border: 0px;
}