| 1 |
/*-------------------------------------------------------------- |
| 2 |
* Sidebar Placement Adjustments |
| 3 |
--------------------------------------------------------------*/ |
| 4 |
|
| 5 |
.inner-sidebar, |
| 6 |
#side-sortables { |
| 7 |
|
| 8 |
.cmb2-wrap { |
| 9 |
|
| 10 |
> .cmb-field-list > .cmb-row { |
| 11 |
padding: 1.4em 0; |
| 12 |
} |
| 13 |
|
| 14 |
input { |
| 15 |
|
| 16 |
&[type=text]=text]:not( .wp-color-picker ) { |
| 17 |
width: 100%; |
| 18 |
} |
| 19 |
|
| 20 |
+ input:not( .wp-picker-clear ), + select { |
| 21 |
margin-left: 0; |
| 22 |
margin-top: 1em; |
| 23 |
display: block; |
| 24 |
} |
| 25 |
|
| 26 |
&.cmb2-text-money { |
| 27 |
max-width: 70%; |
| 28 |
+ .cmb2-metabox-description { |
| 29 |
display: block; |
| 30 |
} |
| 31 |
} |
| 32 |
} |
| 33 |
|
| 34 |
label { |
| 35 |
display: block; |
| 36 |
font-weight: 700; |
| 37 |
padding: 0 0 5px; |
| 38 |
} |
| 39 |
|
| 40 |
} |
| 41 |
|
| 42 |
textarea { |
| 43 |
max-width: 99%; |
| 44 |
} |
| 45 |
|
| 46 |
.cmb-repeatable-group { |
| 47 |
border-bottom: 1px solid $light-gray; |
| 48 |
} |
| 49 |
|
| 50 |
.cmb-type-group > .cmb-td > .cmb-repeatable-group { |
| 51 |
border-bottom: 0; |
| 52 |
margin-bottom: -1.4em; |
| 53 |
} |
| 54 |
|
| 55 |
.cmb-th, |
| 56 |
.cmb-td:not(.cmb-remove-row), |
| 57 |
.cmb-th + .cmb-td { |
| 58 |
width: 100%; |
| 59 |
display: block; |
| 60 |
float: none; |
| 61 |
} |
| 62 |
|
| 63 |
.closed .inside { |
| 64 |
display: none; |
| 65 |
} |
| 66 |
|
| 67 |
.cmb-th { |
| 68 |
@include fullth_side; |
| 69 |
padding-left: 0; |
| 70 |
padding-right: 0; |
| 71 |
} |
| 72 |
|
| 73 |
.cmb-group-description { |
| 74 |
.cmb-th { |
| 75 |
padding-top: 0; |
| 76 |
} |
| 77 |
.cmb2-metabox-description { |
| 78 |
padding: 0; |
| 79 |
} |
| 80 |
} |
| 81 |
|
| 82 |
.cmb-group-title { |
| 83 |
// padding-bottom: 0; |
| 84 |
.cmb-th { |
| 85 |
padding: 0; |
| 86 |
} |
| 87 |
} |
| 88 |
|
| 89 |
.cmb-repeatable-grouping { |
| 90 |
+ .cmb-repeatable-grouping { |
| 91 |
margin-top: 1em; |
| 92 |
} |
| 93 |
} |
| 94 |
.cmb2-media-status { |
| 95 |
|
| 96 |
.img-status, |
| 97 |
.embed-status { |
| 98 |
|
| 99 |
img { |
| 100 |
max-width: 90%; |
| 101 |
// width: auto; |
| 102 |
height: auto; |
| 103 |
} |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
.cmb2-list label { |
| 108 |
display: inline; |
| 109 |
font-weight: normal; |
| 110 |
} |
| 111 |
|
| 112 |
.cmb2-metabox-description { |
| 113 |
display: block; |
| 114 |
padding: 7px 0 0; |
| 115 |
} |
| 116 |
|
| 117 |
.cmb-type-checkbox { |
| 118 |
|
| 119 |
.cmb-td label, |
| 120 |
.cmb2-metabox-description { |
| 121 |
font-weight: normal; |
| 122 |
display: inline; |
| 123 |
} |
| 124 |
} |
| 125 |
|
| 126 |
.cmb-row .cmb2-metabox-description { |
| 127 |
padding-bottom: 1.8em; |
| 128 |
} |
| 129 |
|
| 130 |
.cmb2-metabox-title { |
| 131 |
font-size: 1.2em; |
| 132 |
font-style: italic; |
| 133 |
} |
| 134 |
|
| 135 |
.cmb-remove-row { |
| 136 |
clear: both; |
| 137 |
padding-top: 12px; |
| 138 |
padding-bottom: 0; |
| 139 |
} |
| 140 |
|
| 141 |
.cmb2-upload-button { |
| 142 |
clear: both; |
| 143 |
margin-top: 12px; |
| 144 |
} |
| 145 |
|
| 146 |
} |
| 147 |
|