science-ation/tableeditor.css

144 lines
2.1 KiB
CSS
Raw Permalink Normal View History

select {
font-size: 1.0em;
}
input {
font-size: 1.0em;
}
.happy {
color: green;
font-weight: bold;
font-size: 1.1em;
}
.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 */
.editor {
color: black;
margin-left: 20px;
margin-right: 20px;
font-size: 0.8em;
border: 0px;
border-collapse: collapse;
2009-10-14 19:53:09 +00:00
width: 95%;
}
.editor td {
padding: 2px;
}
/* vertical align top, then use top padding to bring it down
* so that the text is in the middle of the first line compared
* to an input box */
.editor td.label {
2009-10-14 19:53:09 +00:00
/* width: 25%;*/
text-align: right;
/* padding-right: 5px;
padding-top: 5px;*/
vertical-align: top;
}
.editor td.input {
2009-10-14 19:53:09 +00:00
/* width: 75%;*/
text-align: left;
vertical-align: middle;
}
.editor 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;
}
/* A default class so we can nest tables (i know bad) but revert
* inheritance */
.default td {
border: 0px;
}