about.css
1 year ago
admin-form.css
1 year ago
fields.css
2 days ago
form-preview.css
1 year ago
lite-vs-pro.css
1 year ago
logs.css
1 year ago
number-spinner.css
1 year ago
order.css
1 year ago
polylang.css
1 year ago
post-editor.css
1 year ago
selectize.default.css
1 year ago
uninstall.css
1 year ago
views.css
1 month ago
wpml.css
1 year ago
fields.css
332 lines
| 1 | /** |
| 2 | * Strong Testimonials admin stylesheet |
| 3 | */ |
| 4 | |
| 5 | optgroup, |
| 6 | optgroup option { |
| 7 | /* Firefox */ |
| 8 | font-family: inherit; |
| 9 | } |
| 10 | |
| 11 | /* structure */ |
| 12 | |
| 13 | #fields-columns { |
| 14 | display: flex; |
| 15 | } |
| 16 | |
| 17 | #fields-main { |
| 18 | flex: 0 1 1366px; |
| 19 | } |
| 20 | |
| 21 | #left-col, |
| 22 | #right-col, |
| 23 | #upsell-col { |
| 24 | box-sizing: border-box; |
| 25 | } |
| 26 | |
| 27 | #left-col { |
| 28 | width: 55%; |
| 29 | float: left; |
| 30 | padding: 20px 0; |
| 31 | } |
| 32 | |
| 33 | #right-col { |
| 34 | width: calc(45% - 30px); |
| 35 | float: right; |
| 36 | padding: 20px 0 20px 0; |
| 37 | } |
| 38 | |
| 39 | #upsell-col { |
| 40 | flex: 1 1 300px; |
| 41 | padding: 20px 0 20px 30px; |
| 42 | } |
| 43 | |
| 44 | #wpmtst-custom-fields-form { |
| 45 | width: 100%; |
| 46 | } |
| 47 | |
| 48 | #fields-editor-preview { |
| 49 | background: #fdfdfd; |
| 50 | border: 1px solid #bbb; |
| 51 | box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); |
| 52 | min-height: 300px; |
| 53 | } |
| 54 | |
| 55 | .wrap.wpmtst h3 { |
| 56 | margin-top: 0; |
| 57 | } |
| 58 | |
| 59 | /* Custom fields |
| 60 | ---------------------------------------------------------*/ |
| 61 | |
| 62 | #custom-field-list { |
| 63 | margin-bottom: 0; |
| 64 | } |
| 65 | |
| 66 | #custom-field-list li { |
| 67 | background: #fff; |
| 68 | margin: 0; |
| 69 | border: 1px solid #DDD; |
| 70 | border-top-width: 0; |
| 71 | } |
| 72 | |
| 73 | #custom-field-list li:first-child { |
| 74 | border-top-width: 1px; |
| 75 | } |
| 76 | |
| 77 | #custom-field-list li.ui-sortable-helper { |
| 78 | border-bottom-width: 1px; |
| 79 | box-shadow: 0 0 10px rgba(0,0,0,0.3); |
| 80 | } |
| 81 | |
| 82 | #custom-field-list .custom-field-header { |
| 83 | /*padding: 10px;*/ |
| 84 | font-size: 1.1em; |
| 85 | height: 40px; |
| 86 | } |
| 87 | |
| 88 | #custom-field-list span.link { |
| 89 | display: inline-block; |
| 90 | cursor: pointer; |
| 91 | padding: 10px; |
| 92 | width: calc(100% - 20px); |
| 93 | } |
| 94 | |
| 95 | /* toggle */ |
| 96 | |
| 97 | #custom-field-list span.link span.toggle:before { |
| 98 | content: "\f140"; |
| 99 | display: inline-block; |
| 100 | font: normal 20px/1 dashicons; |
| 101 | float: right; |
| 102 | color: #999; |
| 103 | width: 20px; |
| 104 | height: 20px; |
| 105 | } |
| 106 | |
| 107 | /* handle */ |
| 108 | |
| 109 | #custom-field-list .handle:before { |
| 110 | content: "\f333"; |
| 111 | display: inline-block; |
| 112 | font: normal 20px/1 dashicons; |
| 113 | float: left; |
| 114 | color: #999; |
| 115 | width: 20px; |
| 116 | height: 20px; |
| 117 | margin-right: 10px; |
| 118 | } |
| 119 | |
| 120 | #custom-field-list .handle:hover { |
| 121 | color: #111; |
| 122 | cursor: move; |
| 123 | } |
| 124 | |
| 125 | #custom-field-list a.field { |
| 126 | text-decoration: none; |
| 127 | } |
| 128 | |
| 129 | /* open */ |
| 130 | |
| 131 | #custom-field-list li.open { |
| 132 | border-color: #2ea2cc; |
| 133 | } |
| 134 | |
| 135 | #custom-field-list li .custom-field-header { |
| 136 | transition: background 0.2s ease; |
| 137 | } |
| 138 | |
| 139 | #custom-field-list li.open .custom-field-header { |
| 140 | background: #2ea2cc; |
| 141 | } |
| 142 | |
| 143 | #custom-field-list li.open span.toggle:before { |
| 144 | content: "\f142"; |
| 145 | } |
| 146 | |
| 147 | #custom-field-list li.open span.handle:before, |
| 148 | #custom-field-list li.open span.link a, |
| 149 | #custom-field-list li.open span.toggle:before { |
| 150 | color: #fff; |
| 151 | } |
| 152 | |
| 153 | /* field inputs */ |
| 154 | |
| 155 | #custom-field-list .custom-field { |
| 156 | display: none; |
| 157 | } |
| 158 | |
| 159 | #custom-field-list select.field-type { |
| 160 | min-width: 120px; |
| 161 | } |
| 162 | |
| 163 | #custom-field-list option[disabled] { |
| 164 | color: #999; |
| 165 | } |
| 166 | |
| 167 | #custom-field-list optgroup { |
| 168 | font-weight: 600; |
| 169 | } |
| 170 | |
| 171 | #custom-field-list optgroup:before { |
| 172 | color: #333; |
| 173 | content: attr(label); |
| 174 | display: block; |
| 175 | font-style: normal; |
| 176 | padding-left: 4px; |
| 177 | } |
| 178 | |
| 179 | #wpmtst-custom-fields-form .controls { |
| 180 | padding: 10px 15px; |
| 181 | background: #e7f5fa; |
| 182 | border-top: 1px solid #A9D9EB; |
| 183 | } |
| 184 | |
| 185 | #wpmtst-custom-fields-form .controls > span:nth-child(n+2):before { |
| 186 | content: " | "; |
| 187 | } |
| 188 | |
| 189 | #wpmtst-custom-fields-form .controls a.delete-field { |
| 190 | color: #F00; |
| 191 | } |
| 192 | |
| 193 | #custom-field-list .sortable-placeholder { |
| 194 | border: 1px dashed #ccc !important; |
| 195 | background: lightyellow !important; |
| 196 | height: 40px; |
| 197 | } |
| 198 | |
| 199 | #custom-field-list .field-table { |
| 200 | border-collapse: collapse; |
| 201 | width: 100%; |
| 202 | } |
| 203 | |
| 204 | #custom-field-list .field-table th, |
| 205 | #custom-field-list .field-table td { |
| 206 | border-bottom: 1px solid #E8E8E8; |
| 207 | padding: 10px; |
| 208 | } |
| 209 | |
| 210 | #custom-field-list .field-table th { |
| 211 | font-weight: 600; |
| 212 | width: 160px; |
| 213 | padding-top: 14px; |
| 214 | text-align: left; |
| 215 | vertical-align: top; |
| 216 | white-space: nowrap; |
| 217 | } |
| 218 | |
| 219 | #custom-field-list .field-table td input[type="text"] { |
| 220 | width: 100%; |
| 221 | } |
| 222 | |
| 223 | #custom-field-list .field-table td input[type="text"].as-number { |
| 224 | width: 4em; |
| 225 | } |
| 226 | |
| 227 | #custom-field-list .field-table td span.help { |
| 228 | display: block; |
| 229 | padding: 3px; |
| 230 | } |
| 231 | |
| 232 | #custom-field-list .field-table td span.help.inline { |
| 233 | display: inline-block; |
| 234 | } |
| 235 | |
| 236 | #custom-field-list .field-table td span.help:first-of-type { |
| 237 | margin-top: 5px; |
| 238 | } |
| 239 | |
| 240 | #custom-field-list .form-error { |
| 241 | background: rgba(242, 0, 0, 0.05); |
| 242 | } |
| 243 | #custom-field-list .form-error-text { |
| 244 | color: #EE0000; |
| 245 | } |
| 246 | |
| 247 | #custom-field-list .field-table tr:last-of-type th, |
| 248 | #custom-field-list .field-table tr:last-of-type td { |
| 249 | border-bottom: 0; |
| 250 | } |
| 251 | |
| 252 | #add-field-bar { |
| 253 | padding-top: 10px; |
| 254 | text-align: right; |
| 255 | } |
| 256 | |
| 257 | #add-field-bar input { |
| 258 | margin-right: 0; |
| 259 | margin-left: 10px; |
| 260 | } |
| 261 | |
| 262 | /* field group actions */ |
| 263 | |
| 264 | #field-group-actions { |
| 265 | margin-top: 2em; |
| 266 | } |
| 267 | |
| 268 | #field-group-actions > div { |
| 269 | display: inline-block; |
| 270 | float: left; |
| 271 | margin-bottom: 1em; |
| 272 | } |
| 273 | |
| 274 | #field-group-actions > div:not(:last-child) { |
| 275 | margin-right: 1em; |
| 276 | } |
| 277 | |
| 278 | /* field group label */ |
| 279 | |
| 280 | p.field-group-label-wrap { |
| 281 | display: table; |
| 282 | width: 100%; |
| 283 | } |
| 284 | |
| 285 | p.field-group-label-wrap > label, |
| 286 | p.field-group-label-wrap > input { |
| 287 | display: table-cell; |
| 288 | font-size: 20px; |
| 289 | line-height: 1.4em; |
| 290 | } |
| 291 | |
| 292 | .field-group-label-wrap label { |
| 293 | width: 6.5em; |
| 294 | } |
| 295 | |
| 296 | p.field-group-label-wrap input { |
| 297 | width: 100%; |
| 298 | margin: 0; |
| 299 | padding: 4px 8px; |
| 300 | } |
| 301 | |
| 302 | /* fields editor */ |
| 303 | |
| 304 | #fields-editor-wrap { |
| 305 | display: inline-block; |
| 306 | float: left; |
| 307 | width: 540px; |
| 308 | } |
| 309 | |
| 310 | /*--------------------------------------------------* |
| 311 | Responsive |
| 312 | *--------------------------------------------------*/ |
| 313 | @media only screen and (max-width: 1024px) { |
| 314 | |
| 315 | #fields-columns { |
| 316 | flex-direction: column; |
| 317 | } |
| 318 | |
| 319 | #left-col { |
| 320 | width: 100%; |
| 321 | padding: 20px 0; |
| 322 | } |
| 323 | |
| 324 | #right-col, |
| 325 | #upsell-col { |
| 326 | width: 100%; |
| 327 | border-left: 0; |
| 328 | padding: 20px 0; |
| 329 | } |
| 330 | |
| 331 | } |
| 332 |