fields.css
| 1 | /*--------------------------------------------------------------------------------------------- |
| 2 | Postbox |
| 3 | ---------------------------------------------------------------------------------------------*/ |
| 4 | #icon-edit { |
| 5 | background: url(../images/acf-icon-32.png) 0 0 no-repeat !important; |
| 6 | } |
| 7 | |
| 8 | #message p a { |
| 9 | display: none; |
| 10 | } |
| 11 | |
| 12 | .postbox#acf_fields { |
| 13 | border: 0 none; |
| 14 | } |
| 15 | |
| 16 | .postbox#acf_fields .handlediv { |
| 17 | display: none; |
| 18 | } |
| 19 | |
| 20 | .postbox#acf_fields h3.hndle { |
| 21 | display: none; |
| 22 | } |
| 23 | |
| 24 | .postbox#acf_fields .inside { |
| 25 | margin: 0; |
| 26 | padding: 0; |
| 27 | } |
| 28 | |
| 29 | .postbox#acf_fields a { |
| 30 | text-decoration: none; |
| 31 | } |
| 32 | |
| 33 | #minor-publishing, |
| 34 | #misc-publishing-actions { |
| 35 | display: none; |
| 36 | } |
| 37 | |
| 38 | /*--------------------------------------------------------------------------------------------- |
| 39 | Table |
| 40 | ---------------------------------------------------------------------------------------------*/ |
| 41 | table.widefat.acf { |
| 42 | border: 0 none; |
| 43 | background: transparent none; |
| 44 | } |
| 45 | |
| 46 | table.widefat.acf td { |
| 47 | border: 0 none; |
| 48 | } |
| 49 | |
| 50 | .acf, |
| 51 | .acf tr, |
| 52 | .acf tr td { |
| 53 | vertical-align: top; |
| 54 | } |
| 55 | |
| 56 | .acf tr th span { |
| 57 | color: #666; |
| 58 | font-size: 10px; |
| 59 | line-height: 1.2; |
| 60 | font-weight: normal; |
| 61 | text-shadow: 0 1px 0 #FFFFFF; |
| 62 | } |
| 63 | |
| 64 | .acf tr td.field_order, |
| 65 | .acf tr th.field_order { |
| 66 | text-indent: 6px; |
| 67 | } |
| 68 | |
| 69 | .acf tr td.field_order { |
| 70 | cursor: move; |
| 71 | } |
| 72 | |
| 73 | .acf tr td.field_order, |
| 74 | .acf tr th.field_order { |
| 75 | width: 25%; |
| 76 | } |
| 77 | |
| 78 | .acf tr td.field_label, |
| 79 | .acf tr th.field_label { |
| 80 | width: 25%; |
| 81 | } |
| 82 | |
| 83 | .acf tr td.field_name, |
| 84 | .acf tr th.field_name { |
| 85 | width: 25%; |
| 86 | } |
| 87 | |
| 88 | .acf tr td.field_type, |
| 89 | .acf tr th.field_type { |
| 90 | width: 25%; |
| 91 | } |
| 92 | |
| 93 | .acf tr td { |
| 94 | background: transparent; |
| 95 | padding: 8px; |
| 96 | position: relative; |
| 97 | font-size: 12px; |
| 98 | } |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | /*--------------------------------------------------------------------------------------------- |
| 104 | Fields Header |
| 105 | ---------------------------------------------------------------------------------------------*/ |
| 106 | .fields_header { |
| 107 | -moz-border-radius: 3px 3px 0 0; |
| 108 | -webkit-border-radius: 3px 3px 0 0; |
| 109 | -khtml-border-radius: 3px 3px 0 0; |
| 110 | border-radius: 3px 3px 0 0; |
| 111 | border: #DFDFDF solid 1px; |
| 112 | border-bottom: 0 none; |
| 113 | } |
| 114 | |
| 115 | |
| 116 | /*--------------------------------------------------------------------------------------------- |
| 117 | Field Meta |
| 118 | ---------------------------------------------------------------------------------------------*/ |
| 119 | |
| 120 | #acf_fields .field_meta { |
| 121 | position: relative; |
| 122 | overflow: hidden; |
| 123 | } |
| 124 | |
| 125 | #acf_fields .field .field_meta { |
| 126 | border: #DFDFDF solid 1px; |
| 127 | border-top: 0 none; |
| 128 | } |
| 129 | |
| 130 | #acf_fields .field .field_meta strong { |
| 131 | display: block; |
| 132 | padding-bottom: 6px; |
| 133 | font-size: 13px; |
| 134 | line-height: 13px; |
| 135 | } |
| 136 | |
| 137 | #acf_fields .field .field_meta .row_options { |
| 138 | font-size: 12px; |
| 139 | line-height: 12px; |
| 140 | visibility: hidden; |
| 141 | } |
| 142 | |
| 143 | #acf_fields .field .field_meta:hover .row_options { |
| 144 | visibility: visible; |
| 145 | } |
| 146 | |
| 147 | #acf_fields .field.form_open > .field_meta { |
| 148 | background: #6e6e6e url(../images/backgrounds.png) 0 0 repeat-x; |
| 149 | color: #fff; |
| 150 | text-shadow: #000 0 1px 0; |
| 151 | border: #565656 solid 1px; |
| 152 | /*border-top: #565656 solid 1px; |
| 153 | border-left:0 none; |
| 154 | border-right:0 none;*/ |
| 155 | |
| 156 | } |
| 157 | |
| 158 | #acf_fields .field.form_open > .field_meta td, |
| 159 | #acf_fields .field.form_open > .field_meta a { |
| 160 | color: #fff; |
| 161 | } |
| 162 | |
| 163 | #acf_fields .field.form_open > .field_meta a:hover { |
| 164 | color: #ff8a4f; |
| 165 | } |
| 166 | |
| 167 | #acf_fields .fields .field .field_meta .circle { |
| 168 | width: 20px; |
| 169 | height: 20px; |
| 170 | text-align: center; |
| 171 | font-size: 11px; |
| 172 | line-height: 20px; |
| 173 | display: block; |
| 174 | float: left; |
| 175 | margin: 7px 0 0 7px; |
| 176 | text-indent: 0; |
| 177 | background: url(../images/backgrounds.png) 0 -100px no-repeat; |
| 178 | } |
| 179 | |
| 180 | #acf_fields .fields .field:nth-child(2n) .field_meta .circle { |
| 181 | background-position: 0 -150px; |
| 182 | |
| 183 | } |
| 184 | |
| 185 | #acf_fields .field.form_open > .field_meta .circle { |
| 186 | background-position: 0 -50px !important; |
| 187 | } |
| 188 | |
| 189 | |
| 190 | .fields { |
| 191 | position: relative; |
| 192 | overflow: hidden; |
| 193 | background: #F5F5F5; |
| 194 | } |
| 195 | |
| 196 | .fields .field { |
| 197 | position: relative; |
| 198 | overflow: hidden; |
| 199 | background: #F5F5F5; |
| 200 | } |
| 201 | |
| 202 | .fields .field:nth-child(even) { |
| 203 | background: #FCFCFC; |
| 204 | } |
| 205 | |
| 206 | .fields .field_clone { |
| 207 | display: none; |
| 208 | } |
| 209 | |
| 210 | .fields .field:first-child { |
| 211 | border-top: 0 none; |
| 212 | } |
| 213 | |
| 214 | .fields .field:last-child { |
| 215 | border-bottom: 0 none; |
| 216 | } |
| 217 | |
| 218 | |
| 219 | |
| 220 | /*--------------------------------------------------------------------------------------------- |
| 221 | Table Body - Fields |
| 222 | ---------------------------------------------------------------------------------------------*/ |
| 223 | .no_fields_message { |
| 224 | padding: 15px 10px; |
| 225 | text-shadow: #fff 0 1px 0; |
| 226 | border: #DFDFDF solid 1px; |
| 227 | border-top: #fff solid 1px; |
| 228 | } |
| 229 | |
| 230 | |
| 231 | /*--------------------------------------------------------------------------------------------- |
| 232 | Table Footer |
| 233 | ---------------------------------------------------------------------------------------------*/ |
| 234 | #acf_fields .table_footer { |
| 235 | position: relative; |
| 236 | overflow: hidden; |
| 237 | padding: 8px; |
| 238 | background: #EAF2FA; |
| 239 | border: #c7d7e2 solid 1px; |
| 240 | border-top:0 none; |
| 241 | } |
| 242 | |
| 243 | #acf_fields .table_footer .order_message { |
| 244 | background: url(../images/drag_and_drop_to_reorder.png); |
| 245 | width: 161px; |
| 246 | height: 23px; |
| 247 | float: left; |
| 248 | margin-left: 5px; |
| 249 | } |
| 250 | |
| 251 | #acf_fields .table_footer a#add_field{ |
| 252 | display: block; |
| 253 | float: right; |
| 254 | margin: 0; |
| 255 | text-align: center; |
| 256 | width: 70px; |
| 257 | } |
| 258 | |
| 259 | .inline_metabox { |
| 260 | border: 0 none; |
| 261 | width: 100%; |
| 262 | } |
| 263 | |
| 264 | .inline_metabox h3 { |
| 265 | border: 0 none; |
| 266 | } |
| 267 | |
| 268 | /*--------------------------------------------------------------------------------------------- |
| 269 | Field Options |
| 270 | ---------------------------------------------------------------------------------------------*/ |
| 271 | .field_options { |
| 272 | background: #DFDFDF; |
| 273 | position: relative; |
| 274 | overflow: hidden; |
| 275 | } |
| 276 | |
| 277 | .field_options .field_option { |
| 278 | display: none; |
| 279 | position: relative; |
| 280 | overflow: hidden; |
| 281 | padding: 6px; |
| 282 | } |
| 283 | |
| 284 | .field_options .field_option.open { |
| 285 | display: block; |
| 286 | } |
| 287 | |
| 288 | .field_options .field_option table { |
| 289 | border: #CCCCCC solid 1px; |
| 290 | -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; |
| 291 | } |
| 292 | |
| 293 | |
| 294 | .field_save td { |
| 295 | line-height: 25px; |
| 296 | } |
| 297 | /*--------------------------------------------------------------------------------------------- |
| 298 | Repeater |
| 299 | ---------------------------------------------------------------------------------------------*/ |
| 300 | .repeater { |
| 301 | position: relative; |
| 302 | } |
| 303 | |
| 304 | .field_options .field_option .repeater table { |
| 305 | } |
| 306 | |
| 307 | table.acf_input tr td .acf tr td { |
| 308 | background: transparent; |
| 309 | padding: 8px; |
| 310 | position: relative; |
| 311 | font-size: 12px; |
| 312 | border: 0 none; |
| 313 | } |
| 314 | |
| 315 | |
| 316 | /*--------------------------------------------------------------------------------------------- |
| 317 | Field Form |
| 318 | ---------------------------------------------------------------------------------------------*/ |
| 319 | .field_form { |
| 320 | border: #98b6cb solid 1px; |
| 321 | border-top: 0 none; |
| 322 | background: #accde4; |
| 323 | padding: 10px; |
| 324 | clear: both; |
| 325 | vertical-align: top; |
| 326 | } |
| 327 | |
| 328 | .field_form table.acf_input { |
| 329 | border: #98b6cb solid 1px; |
| 330 | -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; |
| 331 | position: relative; |
| 332 | overflow: hidden; |
| 333 | } |
| 334 | |
| 335 | .field_form table.acf_input tr.field_label td { |
| 336 | border-top: 0 none; |
| 337 | } |
| 338 | |
| 339 | .field_form table.acf_input td { |
| 340 | background: transparent; |
| 341 | border-bottom-color: #DFDFDF; |
| 342 | border-top-color: #FFFFFF; |
| 343 | } |
| 344 | |
| 345 | .field_form_mask { |
| 346 | display: none; |
| 347 | width: 100%; |
| 348 | position: relative; |
| 349 | overflow: hidden; |
| 350 | clear: both; |
| 351 | } |
| 352 | |
| 353 | .field_form .field_option { |
| 354 | display: none; |
| 355 | } |
| 356 | |
| 357 | |
| 358 | /*--------------------------------------------------------------------------------------------- |
| 359 | Location |
| 360 | ---------------------------------------------------------------------------------------------*/ |
| 361 | |
| 362 | .postbox#acf_location .inside { |
| 363 | margin: 0; |
| 364 | padding: 0; |
| 365 | } |
| 366 | |
| 367 | .postbox#acf_location .widefat { |
| 368 | border: 0 none; |
| 369 | } |
| 370 | |
| 371 | .postbox#acf_location h3 span.description { |
| 372 | font-size: 11px; |
| 373 | color: #666; |
| 374 | font-weight: normal; |
| 375 | font-style: normal; |
| 376 | padding-left: 4px; |
| 377 | } |
| 378 | |
| 379 | table.acf_input > tbody > tr > td > select[multiple="multiple"] { |
| 380 | height: auto !important; |
| 381 | } |
| 382 | |
| 383 | td.param { |
| 384 | width: 40%; |
| 385 | } |
| 386 | td.operator { |
| 387 | width: 20%; |
| 388 | } |
| 389 | |
| 390 | /*--------------------------------------------------------------------------------------------- |
| 391 | Location Rules |
| 392 | ---------------------------------------------------------------------------------------------*/ |
| 393 | .location_rules { |
| 394 | |
| 395 | } |
| 396 | |
| 397 | table#location_rules { |
| 398 | |
| 399 | } |
| 400 | |
| 401 | table#location_rules tr { |
| 402 | |
| 403 | } |
| 404 | |
| 405 | table#location_rules tr td { |
| 406 | padding: 4px; |
| 407 | border: 0 none; |
| 408 | } |
| 409 | |
| 410 | table#location_rules tr td:first-child { |
| 411 | padding-left: 0; |
| 412 | } |
| 413 | |
| 414 | table#location_rules tr td:last-child { |
| 415 | padding-right: 0; |
| 416 | } |
| 417 | |
| 418 | table#location_rules tr td.buttons { |
| 419 | width: 40px; |
| 420 | vertical-align: middle; |
| 421 | } |
| 422 | |
| 423 | table#location_rules a.remove { |
| 424 | display: block; |
| 425 | width: 16px; |
| 426 | height: 16px; |
| 427 | background: url(../images/button_remove.png) 0 0 no-repeat; |
| 428 | float: left; |
| 429 | margin-right: 4px; |
| 430 | } |
| 431 | |
| 432 | table#location_rules a.remove:hover { |
| 433 | background-position: 0 100%; |
| 434 | } |
| 435 | |
| 436 | table#location_rules a.remove.disabled { |
| 437 | opacity: 0.4; |
| 438 | background-position: 0 0 !important; |
| 439 | cursor: default; |
| 440 | } |
| 441 | |
| 442 | table#location_rules a.add { |
| 443 | display: block; |
| 444 | width: 16px; |
| 445 | height: 16px; |
| 446 | background: url(../images/button_add.png) 0 0 no-repeat; |
| 447 | float: left; |
| 448 | } |
| 449 | |
| 450 | table#location_rules a.add:hover { |
| 451 | background-position: 0 100%; |
| 452 | } |
| 453 | |
| 454 | .location_rules p select { |
| 455 | width: 50px; |
| 456 | } |
| 457 | |
| 458 | table#location_rules tr td.value div { |
| 459 | display: none; |
| 460 | } |
| 461 | |
| 462 | |
| 463 | /*--------------------------------------------------------------------------------------------- |
| 464 | Options |
| 465 | ---------------------------------------------------------------------------------------------*/ |
| 466 | |
| 467 | .postbox#acf_options .inside { |
| 468 | margin: 0; |
| 469 | padding: 0; |
| 470 | } |
| 471 | |
| 472 | .postbox#acf_options h3 span.description { |
| 473 | font-size: 11px; |
| 474 | color: #666; |
| 475 | font-weight: normal; |
| 476 | font-style: normal; |
| 477 | padding-left: 4px; |
| 478 | } |
| 479 | |
| 480 | .postbox#acf_options ul.checkbox_list { |
| 481 | display: block; |
| 482 | float: left; |
| 483 | width: 300px; |
| 484 | } |
| 485 | |
| 486 | .postbox#acf_options ul.checkbox_list li { |
| 487 | display: block; |
| 488 | } |
| 489 | |
| 490 | ul.checkbox_list li input { |
| 491 | margin: 2px 5px 0 0; |
| 492 | vertical-align: top; |
| 493 | } |
| 494 | |
| 495 |