science-ation/tableeditor.css

109 lines
1.6 KiB
CSS
Raw 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: 1px;
}
.tableview th {
border: 1px solid #000000;
font-weight: bold;
text-align: center;
color: #FFFFFF;
background-color: #5C6F90;
padding: 3px;
}
.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;
}
/* 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 */
.tableedit td.left {
width: 25%;
vertical-align: top;
text-align: right;
padding-right: 5px;
padding-top: 5px;
}
.tableedit td.right {
width: 75%;
vertical-align: middle;
text-align: left;
}
.tableedit th {
font-weight: bold;
text-align: left;
color: #FFFFFF;
background-color: #5C6F90;
padding: 1px;
vertical-align: top;
}