forked from science-ation/science-ation
First-child with CSS
This commit is contained in:
parent
74ecb60f90
commit
1697287a35
@ -91,38 +91,32 @@ input {
|
||||
}
|
||||
|
||||
/* Replacement for tableedit */
|
||||
form.editor {
|
||||
form.editor table {
|
||||
color: black;
|
||||
font-size: 1em;
|
||||
/* width: 95%;*/
|
||||
}
|
||||
|
||||
form.editor table {
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
font-size: 1em;
|
||||
border: 0px;
|
||||
border-collapse: collapse;
|
||||
/* width: 95%;*/
|
||||
}
|
||||
|
||||
form.editor td {
|
||||
form.editor table tr 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 */
|
||||
form.editor * td.label {
|
||||
/* width: 25%;*/
|
||||
text-align: right;
|
||||
/* padding-right: 5px;
|
||||
padding-top: 5px;*/
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
form.editor * td.input {
|
||||
/* width: 75%;*/
|
||||
text-align: left;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
form.editor th {
|
||||
form.editor table tr td:first-child {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
form.editor table th {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
color: #FFFFFF;
|
||||
@ -149,6 +143,7 @@ form.editor * label.error {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* A default class so we can nest tables (i know bad) but revert
|
||||
* inheritance */
|
||||
.default td {
|
||||
|
Loading…
Reference in New Issue
Block a user