fontawesome
2 years ago
jqueryui
2 years ago
select2
7 years ago
autocomplete.css
6 years ago
background.css
4 years ago
button-group.css
3 years ago
color.css
7 years ago
date.css
3 years ago
divider.css
4 years ago
fieldset-text.css
8 years ago
file-input.css
4 years ago
file.css
3 years ago
heading.css
4 years ago
icon.css
2 years ago
image-select.css
8 years ago
image.css
4 years ago
input-list.css
3 years ago
input.css
2 years ago
key-value.css
4 years ago
map.css
7 years ago
media.css
3 years ago
modal.css
3 years ago
oembed.css
7 years ago
osm-frontend.css
3 years ago
osm.css
7 years ago
range.css
4 years ago
select-advanced.css
4 years ago
select-tree.css
3 years ago
select.css
6 years ago
slider.css
4 years ago
style-rtl.css
7 years ago
style.css
2 years ago
switch.css
3 years ago
text-list.css
4 years ago
upload.css
6 years ago
video.css
4 years ago
wysiwyg.css
4 years ago
style.css
183 lines
| 1 | /* Styles for 'normal' meta boxes |
| 2 | -------------------------------------------------------------- */ |
| 3 | |
| 4 | /* Clearfix for field */ |
| 5 | .rwmb-field { |
| 6 | display: flex; |
| 7 | } |
| 8 | .rwmb-field:not(:last-of-type) { |
| 9 | margin: 0 0 12px; |
| 10 | } |
| 11 | .rwmb-label { |
| 12 | width: 25%; |
| 13 | } |
| 14 | .rwmb-input { |
| 15 | flex: 1; |
| 16 | } |
| 17 | |
| 18 | .rwmb-label > label { |
| 19 | font-weight: 600; |
| 20 | } |
| 21 | .rwmb-required { |
| 22 | color: #dc3232; |
| 23 | font-weight: bold; |
| 24 | margin-left: 3px; |
| 25 | } |
| 26 | |
| 27 | .rwmb-input h4 { |
| 28 | margin: 0; |
| 29 | } |
| 30 | .rwmb-input input:not([size]), |
| 31 | .rwmb-input-group, |
| 32 | .rwmb-input select, |
| 33 | .rwmb-input .select2-container, |
| 34 | .rwmb-input textarea:not([cols]) { |
| 35 | width: 100%; |
| 36 | box-sizing: border-box; |
| 37 | } |
| 38 | .rwmb-input input[type="checkbox"], |
| 39 | .rwmb-input input[type="radio"] { |
| 40 | width: 1em; |
| 41 | } |
| 42 | .rwmb-input input[type="button"] { |
| 43 | width: auto; |
| 44 | } |
| 45 | .rwmb-input input:not([type="checkbox"]):not([type="radio"]), |
| 46 | .rwmb-input textarea, |
| 47 | .rwmb-input select { |
| 48 | max-width: 100%; |
| 49 | margin-inline: 0; |
| 50 | } |
| 51 | .rwmb-textarea { |
| 52 | resize: vertical; |
| 53 | } |
| 54 | |
| 55 | /* Clone */ |
| 56 | .rwmb-clone { |
| 57 | min-height: 24px; |
| 58 | margin-bottom: 12px; |
| 59 | padding-right: 24px; |
| 60 | position: relative; |
| 61 | clear: both; |
| 62 | background: #fff; |
| 63 | } |
| 64 | .rwmb-clone > input[type='radio'], |
| 65 | .rwmb-clone > input[type='checkbox'] { |
| 66 | margin: 6px 0 0 4px; |
| 67 | } |
| 68 | .rwmb-button.remove-clone { |
| 69 | text-decoration: none; |
| 70 | color: #ccc; |
| 71 | display: inline-block; |
| 72 | position: absolute; |
| 73 | top: 0; |
| 74 | right: 0; |
| 75 | width: 20px; |
| 76 | height: 20px; |
| 77 | transition: color 200ms; |
| 78 | } |
| 79 | .rwmb-button.remove-clone .dashicons { |
| 80 | font-size: 20px; |
| 81 | } |
| 82 | .rwmb-button.remove-clone:hover { |
| 83 | color: #dc3232; |
| 84 | } |
| 85 | .remove-clone:focus { |
| 86 | outline: 0; |
| 87 | box-shadow: none; |
| 88 | } |
| 89 | .rwmb-button.add-clone { |
| 90 | margin-top: 4px; |
| 91 | } |
| 92 | .rwmb-clone-icon { |
| 93 | cursor: move; |
| 94 | background: url(../img/drag_icon.gif) no-repeat; |
| 95 | height: 23px; |
| 96 | width: 15px; |
| 97 | vertical-align: top; |
| 98 | display: inline-block; |
| 99 | position: absolute; |
| 100 | left: 0; |
| 101 | top: 0; |
| 102 | } |
| 103 | .rwmb-sort-clone { |
| 104 | padding-left: 15px; |
| 105 | } |
| 106 | |
| 107 | /* jQuery validation */ |
| 108 | p.rwmb-error { |
| 109 | color: #dc3232; |
| 110 | margin: 4px 0; |
| 111 | clear: both; |
| 112 | } |
| 113 | input.rwmb-error.rwmb-error, |
| 114 | textarea.rwmb-error, |
| 115 | select.rwmb-error { |
| 116 | border-color: #dc3232; |
| 117 | background: #ffebe8; |
| 118 | } |
| 119 | |
| 120 | /* Utilities |
| 121 | -------------------------------------------------------------- */ |
| 122 | .rwmb-sortable-placeholder { |
| 123 | background: #fcf8e3; |
| 124 | border: 1px solid #faebcc; |
| 125 | display: block; |
| 126 | } |
| 127 | |
| 128 | |
| 129 | /* Styles for 'side' meta boxes |
| 130 | -------------------------------------------------------------- */ |
| 131 | #side-sortables .rwmb-field { |
| 132 | flex-direction: column; |
| 133 | } |
| 134 | #side-sortables .rwmb-label { |
| 135 | width: 100%; |
| 136 | margin-bottom: 4px; |
| 137 | } |
| 138 | |
| 139 | /* Mobile style */ |
| 140 | @media (max-width: 782px) { |
| 141 | .rwmb-field { |
| 142 | flex-direction: column; |
| 143 | } |
| 144 | .rwmb-label { |
| 145 | width: 100%; |
| 146 | margin-bottom: 4px; |
| 147 | } |
| 148 | .rwmb-input input[type="radio"], |
| 149 | .rwmb-input input[type="checkbox"] { |
| 150 | width: 1.5625rem; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | /* Seamless style |
| 155 | --------------------------------------------------------------*/ |
| 156 | .rwmb-seamless { |
| 157 | background: none; |
| 158 | border: none; |
| 159 | box-shadow: none; |
| 160 | } |
| 161 | .rwmb-seamless .inside.inside { |
| 162 | padding-left: 0; |
| 163 | padding-right: 0; |
| 164 | } |
| 165 | .postbox.rwmb-seamless .hndle, |
| 166 | .postbox.rwmb-seamless .handlediv, |
| 167 | .postbox.rwmb-seamless .postbox-header { |
| 168 | display: none; |
| 169 | } |
| 170 | .rwmb-seamless .rwmb-clone { |
| 171 | background: none; |
| 172 | } |
| 173 | |
| 174 | /* CSS fixes |
| 175 | --------------------------------------------------------------*/ |
| 176 | /* Fix color picker field is hidden by the post editor at after_title position. https://metabox.io/support/topic/bug-color-picker-field-is-showed-below-the-title-field/ */ |
| 177 | .postarea { |
| 178 | position: relative; |
| 179 | z-index: 0; |
| 180 | } |
| 181 | .rwmb-hidden-wrapper { |
| 182 | display: none; |
| 183 | } |