| 1 |
/*-------------------------------------------------------------- |
| 2 |
* Post Metaboxes |
| 3 |
--------------------------------------------------------------*/ |
| 4 |
|
| 5 |
#poststuff .cmb-group-title { |
| 6 |
margin-left: -1em; |
| 7 |
margin-right: -1em; |
| 8 |
min-height: 1.5em; |
| 9 |
} |
| 10 |
|
| 11 |
#poststuff .repeatable .cmb-group-title { |
| 12 |
padding-left: 2.2em; |
| 13 |
} |
| 14 |
|
| 15 |
.cmb2-postbox, .cmb-type-group { |
| 16 |
|
| 17 |
.cmb2-wrap { |
| 18 |
margin: 0; |
| 19 |
|
| 20 |
> .cmb-field-list > .cmb-row { |
| 21 |
padding: 1.8em 0; |
| 22 |
} |
| 23 |
|
| 24 |
input[type=text]=text] { |
| 25 |
|
| 26 |
&.cmb2-oembed { |
| 27 |
width: 100%; |
| 28 |
} |
| 29 |
} |
| 30 |
} |
| 31 |
|
| 32 |
.cmb-row { |
| 33 |
padding: 0 0 1.8em; |
| 34 |
margin: 0 0 0.8em; |
| 35 |
|
| 36 |
.cmbhandle { |
| 37 |
right: -1em; |
| 38 |
position: relative; |
| 39 |
color: $dark-gray; |
| 40 |
} |
| 41 |
} |
| 42 |
|
| 43 |
.cmb-repeatable-grouping { |
| 44 |
padding: 0 1em; |
| 45 |
max-width: 100%; |
| 46 |
min-width: 1px !important; |
| 47 |
} |
| 48 |
|
| 49 |
.cmb-repeatable-group > .cmb-row { |
| 50 |
padding-bottom: 0; |
| 51 |
} |
| 52 |
|
| 53 |
.cmb-th { |
| 54 |
width: 18%; |
| 55 |
padding: 0 2% 0 0; |
| 56 |
// text-align: right; |
| 57 |
} |
| 58 |
|
| 59 |
.cmb-td { |
| 60 |
margin-bottom: 0; |
| 61 |
padding: 0; |
| 62 |
line-height: 1.3; |
| 63 |
} |
| 64 |
|
| 65 |
.cmb-th + .cmb-td { |
| 66 |
width: 80%; |
| 67 |
float: right; |
| 68 |
} |
| 69 |
|
| 70 |
.cmb-row:not(:last-of-type), |
| 71 |
.cmb-repeatable-group:not(:last-of-type) { |
| 72 |
border-bottom: 1px solid $light-gray; |
| 73 |
|
| 74 |
@media (max-width: $mobile-break) { |
| 75 |
border-bottom: 0; |
| 76 |
} |
| 77 |
} |
| 78 |
|
| 79 |
.cmb-repeat-group-field, |
| 80 |
.cmb-remove-field-row { |
| 81 |
padding-top: 1.8em; |
| 82 |
} |
| 83 |
|
| 84 |
.button-secondary { |
| 85 |
.dashicons { |
| 86 |
line-height: 1.3; |
| 87 |
} |
| 88 |
&.move-up, &.move-down { |
| 89 |
.dashicons { |
| 90 |
line-height: 1.1; |
| 91 |
} |
| 92 |
} |
| 93 |
&.cmb-add-group-row { |
| 94 |
.dashicons { |
| 95 |
line-height: 1.5; |
| 96 |
} |
| 97 |
} |
| 98 |
} |
| 99 |
} |
| 100 |
|