* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
-@-moz-document url-prefix() {
+@media (min--moz-device-pixel-ratio: 0) {
fieldset:not(.fieldgroup) {
display: table-cell;
}
* @todo remove once this Mozilla bug is fixed.
* See https://bugzilla.mozilla.org/show_bug.cgi?id=504622
*/
-@-moz-document url-prefix() {
+@media (min--moz-device-pixel-ratio: 0) {
.fieldgroup {
display: table-cell;
}
.form-item {
margin: 0.75em 0;
}
+/**
+ * When a table row has a single form item, prevent it from adding unnecessary
+ * extra spacing. If it has multiple form items, allow spacing between them,
+ * overriding Classy.
+ */
+tr.odd .form-item,
+tr.even .form-item {
+ margin-top: 0.75em;
+ margin-bottom: 0.75em;
+}
+td > .form-item:only-child {
+ margin-top: 0;
+ margin-bottom: 0;
+}
.form-type-checkbox {
padding: 0;
}
max-width: 100%;
border: 1px solid #b8b8b8;
border-top-color: #999;
- background: #fff;
- color: #333;
border-radius: 2px;
background: #fcfcfa;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);