PluginProbe
Advanced Custom Fields (ACF®) / 4.4.12
Advanced Custom Fields (ACF®) v4.4.12
6.8.9 6.8.8 6.8.7 6.8.6 6.8.5 6.8.4 6.8.3 6.8.2 6.8.1 5.8.5 5.8.6 5.8.7 5.8.8 5.8.9 5.9.0 5.9.1 5.9.2 5.9.3 5.9.4 5.9.5 5.9.6 5.9.7 5.9.8 5.9.9 6.0.0 All 230 releases
advanced-custom-fields / css / global.css
global.css
598 lines 11.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /*--------------------------------------------------------------------------------------------
2 *
3 * Global
4 *
5 *--------------------------------------------------------------------------------------------*/
6
7 /* Image Replacement */
8 .ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; font-size: 0; line-height: 0; }
9 input.ir { border: 0 none; background: none; }
10
11
12 /* Horizontal List */
13 .hl { padding: 0; margin: 0; list-style: none; display: block; position: relative; }
14 .hl > li { float: left; display: block; margin: 0; padding: 0; }
15 .hl > li.right { float: right; }
16
17 .hl.center { position: relative; overflow: visible; left: 50%; float: left; }
18 .hl.center > li { position: relative; left: -50%; }
19
20
21 /* Block List */
22 .bl { padding: 0; margin: 0; list-style: none; display: block; position: relative; }
23 .bl > li { display: block; margin: 0; padding: 0; float: none; }
24
25
26 .clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
27 .clearfix:after { clear: both; }
28 .clearfix { zoom: 1; }
29
30
31 #icon-acf {
32 background: url(../images/sprite.png) 0 0 no-repeat;
33 }
34
35 .acf-loading {
36 background: url(../images/wpspin_light.gif) no-repeat scroll 50% 50% #EAEAEA;
37 border-radius: 30px;
38 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset;
39 height: 16px;
40 margin: 10px auto;
41 padding: 6px;
42 width: 16px;
43 }
44
45 .acf-remove-item {
46 -webkit-transition: all 0.4s 0s ease-in-out;
47 -moz-transition: all 0.4s 0s ease-in-out;
48 -o-transition: all 0.4s 0s ease-in-out;
49 transition: all 0.4s 0s ease-in-out;
50
51 -webkit-transform: translate(25px, 0px);
52 -moz-transform: translate(25px, 0px);
53 -o-transform: translate(25px, 0px);
54 transform: translate(25px, 0px);
55
56 opacity: 0;
57 }
58
59 .acf-alert {
60 background: #FCF8E3;
61 border: 1px solid #FBEED5;
62 border-radius: 4px 4px 4px 4px;
63 margin: 20px 0px;
64 padding: 8px 14px;
65 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
66 color: #C09853;
67 }
68
69 .acf-alert p {
70 color: inherit;
71 margin: 0.5em 0;
72 }
73
74 .acf-alert.acf-alert-error {
75 background-color: #F2DEDE;
76 border-color: #EED3D7;
77 color: #B94A48;
78 }
79
80 .acf-alert.acf-alert-success {
81 background-color: #DFF0D8;
82 border-color: #D6E9C6;
83 color: #468847;
84 }
85
86 .acf-message {
87 background: #2F353E;
88 border-radius: 4px 4px 4px 4px;
89 border: #000 solid 1px;
90 color: #fff;
91 text-shadow: 0 1px 0 #000;
92 padding: 0 10px;
93 margin: 10px 0;
94 }
95
96 .acf-message p {
97 font-size: 15px;
98 margin: 15px 0;
99 }
100
101 .acf-message .acf-button,
102 .acf-alert .acf-button{
103 font-size: 15px;
104 padding: 8px 12px;
105 margin-left: 5px;
106 }
107
108 /* icon */
109 [class^="acf-sprite"],
110 [class*=" acf-sprite"] {
111 display: block;
112 width: 16px;
113 height: 16px;
114 float: left;
115 background: url(../images/sprite.png);
116 margin: 0;
117 }
118
119
120 /* Input append / prepend */
121 .acf-input-prepend,
122 .acf-input-append {
123 font-size: 12px;
124 line-height: 15px;
125 height: 15px;
126
127 padding: 5px 7px;
128
129 background: #F4F4F4;
130 border: #DFDFDF solid 1px;
131 }
132
133 .acf-input-prepend {
134 float: left;
135 border-right: 0;
136 border-radius: 3px 0 0 3px;
137 }
138
139 .acf-input-append {
140 float: right;
141 border-left: 0;
142 border-radius: 0 3px 3px 0;
143 }
144
145 .acf-input-wrap {
146 position: relative;
147 overflow: hidden;
148 }
149
150 .acf-input-wrap input {
151 height: 27px;
152 margin: 0;
153 }
154
155 input.acf-is-prepended {
156 border-radius: 0 3px 3px 0 !important;
157 }
158
159 input.acf-is-appended {
160 border-radius: 3px 0 0 3px !important;
161 }
162
163 input.acf-is-prepended.acf-is-appended {
164 border-radius: 0 !important;
165 }
166
167
168 /*--------------------------------------------------------------------------------------------
169 *
170 * WP Box
171 *
172 *--------------------------------------------------------------------------------------------*/
173
174 .wp-box {
175 background: #FFFFFF;
176 border: 1px solid #E5E5E5;
177 position: relative;
178 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
179 }
180
181 .wp-box .title {
182 border-bottom: 1px solid #EEEEEE;
183 margin: 0;
184 padding: 15px;
185 background: #FFFFFF;
186 }
187
188 .wp-box .title h3 {
189 font-size: 14px;
190 line-height: 1em;
191 margin: 0;
192 padding: 0;
193 }
194
195 .wp-box .inner {
196 padding: 15px;
197 }
198
199 .wp-box .footer {
200 background: #F5F5F5;
201 border-top: 1px solid #E1E1E1;
202 overflow: hidden;
203 padding: 15px;
204 position: relative;
205 }
206
207 .wp-box .footer ul.left {
208 float: left;
209 }
210
211 .wp-box .footer ul li {
212 margin: 0;
213 padding: 0;
214 }
215
216 .wp-box .footer ul.left li {
217 margin-right: 10px;
218 }
219
220 .wp-box .footer ul.right {
221 float: right;
222 }
223
224 .wp-box .footer ul.right li {
225 margin-left: 10px;
226 }
227
228 .wp-box h2 {
229 color: #333333;
230 font-size: 25px;
231 line-height: 29px;
232 margin: 0.25em 0 0.75em;
233 padding: 0;
234 }
235
236 .wp-box h3 {
237 margin: 1.5em 0 0;
238
239 }
240
241 .wp-box p {
242 margin-top: 0.5em;
243 }
244
245 .wp-box-half.left {
246 width: 50%;
247 float: left;
248 }
249
250 .wp-box-half.right {
251 width: 50%;
252 height: 100%;
253 right: 0;
254 position: absolute;
255 background: none repeat scroll 0 0 #F9F9F9;
256 border-left: 1px solid #E1E1E1;
257 }
258
259 .wp-box-half.right .inner {
260
261 }
262
263 .wp-box select {
264 width: 99%;
265 height: auto !important;
266 }
267
268 .wp-box .footer-blue {
269 border-top: 0 none;
270 background-color: #52ACCC;
271 color: #FFFFFF;
272 overflow: hidden;
273 padding: 10px;
274 position: relative;
275 }
276
277 .wp-box .footer-blue a {
278 text-decoration: none;
279 text-shadow: none;
280 }
281
282
283 /*---------------------------------------------------------------------------------------------
284 Table
285 ---------------------------------------------------------------------------------------------*/
286 table.acf_input {
287 border: 0 none;
288 background: #fff;
289 }
290
291 table.acf_input tbody tr td {
292 padding: 13px 15px;
293 border-top: 1px solid #f5f5f5;
294 border-bottom: 0 none;
295 }
296
297 table.acf_input tbody tr td.label {
298 width: 24%;
299 vertical-align: top;
300 background: #F9F9F9;
301 border-top: 1px solid #f0f0f0;
302 border-right: 1px solid #E1E1E1;
303 }
304
305 table.acf_input > tbody > tr:first-child > td,
306 table.acf_input > tbody > tr:first-child > td.label {
307 border-top: 0 none;
308 }
309
310 table.acf_input td.label ul.hl {
311 margin: 20px 0 0;
312 }
313 table.acf_input td.label ul.hl li {
314 margin: 0 3px 0 0;
315
316 }
317
318 table.acf_input td.label ul.hl li a.acf-button {
319 font-size: 12px;
320 padding: 6px 10px;
321 font-weight: normal;
322 }
323
324 table.acf_input tbody tr td.label label {
325 display: block;
326 font-size: 13px;
327 line-height: 1.4em;
328 font-weight: bold;
329 padding: 0;
330 margin: 0 0 3px;
331 color: #333;
332 }
333
334 table.acf_input tbody tr td.label label span.required {
335 color: #f00;
336 display: inline;
337 margin-left: 3px;
338 }
339
340
341 table.acf_input tbody tr td.label p {
342 display: block;
343 font-size: 12px;
344 line-height: 1.4em;
345 padding: 0 !important;
346 margin: 3px 0 0 !important;
347 font-style: normal;
348 line-height: 16px;
349 color: #899194;
350 }
351
352 table.acf_input input[type="text"],
353 table.acf_input input[type="number"],
354 table.acf_input textarea,
355 table.acf_input select{
356 width: 99.95%;
357 padding: 3px 5px;
358 outline: none;
359 }
360
361 table.acf_input select {
362 padding: 2px;
363 }
364
365 table.acf_input select option {
366 padding: 3px;
367 }
368
369 table.acf_input input[type="text"]:focus,
370 table.acf_input textarea:focus,
371 table.acf_input select:focus {
372 border-color:#98B6CB;
373 }
374
375
376 ul.acf-radio-list,
377 ul.acf-checkbox-list {
378 background: transparent !important;
379 position: relative;
380 display: block;
381 padding: 1px;
382 margin: 0;
383 }
384
385 ul.acf-radio-list.horizontal,
386 ul.acf-checkbox-list.horizontal {
387 overflow: hidden;
388 }
389
390 ul.acf-radio-list.horizontal li,
391 ul.acf-checkbox-list.horizontal li {
392 float: left;
393 margin-right: 20px;
394 }
395
396 ul.acf-radio-list li input,
397 ul.acf-checkbox-list li input {
398 margin-top: -1px;
399 margin-right: 5px !important;
400 width: auto !important;
401 }
402
403
404 /*--------------------------------------------------------------------------------------------
405 *
406 * Buttons
407 *
408 *--------------------------------------------------------------------------------------------*/
409
410 .acf-button {
411 position: relative;
412 display: inline-block;
413 border-radius: 3px;
414 height: 28px;
415 padding: 0 11px 1px;
416 cursor: pointer;
417
418 -webkit-box-sizing: border-box;
419 -moz-box-sizing: border-box;
420 box-sizing: border-box;
421
422 color: #fff;
423 font-weight: normal;
424 font-size: 13px;
425 line-height: 26px;
426 text-align: center;
427 text-decoration: none;
428
429 background: #2EA2CC;
430
431 border: #0074A2 solid 1px;
432 box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
433 }
434
435 .acf-button:hover {
436 background-color: #298CBA;
437 color: #fff;
438 }
439
440 .acf-button:focus,
441 .acf-button:active {
442 outline: none;
443 line-height: 28px;
444 }
445
446 .acf-button:active {
447 box-shadow: none;
448 }
449
450 .acf-button[disabled] {
451 background: #298CBA !important;
452 border-color: #1B607F !important;
453 box-shadow: none !important;
454 color: #94CDE7 !important;
455 cursor: default !important;
456 }
457
458
459 .acf-button.grey {
460 color: #333;
461 border-color: #BBBBBB;
462 background: #F9F9F9;
463 }
464
465 .acf-button.grey:hover {
466 border-color: #999;
467 }
468
469
470 /* sizes */
471 .acf-button.large,
472 .acf-button-big {
473 height: 32px;
474 line-height: 31px;
475 font-size: 14px;
476 }
477
478
479 /*--------------------------------------------------------------------------
480 *
481 * ACF add / remove
482 *
483 *-------------------------------------------------------------------------*/
484
485 .acf-button-add,
486 .acf-button-remove,
487 .acf-button-edit,
488 .acf-button-delete {
489 background: url(../images/sprite.png) -16px -116px no-repeat #fff;
490 display: block;
491 height: 18px;
492 width: 18px;
493 border-radius: 9px;
494 box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
495
496 -webkit-transition: none;
497 -moz-transition: none;
498 -o-transition: none;
499 transition: none;
500 }
501
502 .acf-button-edit,
503 .acf-button-delete {
504 width: 22px;
505 height: 22px;
506 border-radius: 11px;
507 }
508
509 .acf-button-add:hover {
510 background-position: -16px -166px;
511 }
512
513 .acf-button-remove {
514 background-position: -66px -116px;
515 }
516
517 .acf-button-remove:hover {
518 background-position: -66px -166px;
519 }
520
521 .acf-button-edit {
522 background-position: -14px -214px;
523 }
524
525 .acf-button-edit:hover {
526 background-position: -14px -264px;
527 }
528
529 .acf-button-delete {
530 background-position: -64px -214px;
531 }
532
533 .acf-button-delete:hover {
534 background-position: -64px -264px;
535 }
536
537
538 /*--------------------------------------------------------------------------
539 *
540 * Plugin Update Info
541 *
542 *-------------------------------------------------------------------------*/
543
544 .plugins #advanced-custom-fields + .plugin-update-tr .update-message {
545 background: #EAF2FA;
546 border: #C7D7E2 solid 1px;
547 padding: 10px;
548 }
549
550 .acf-plugin-update-info {
551 font-weight: normal;
552 }
553
554 .acf-plugin-update-info h3 {
555 font-size: 12px;
556 line-height: 1em;
557 margin: 15px 0 10px;
558 }
559
560 .acf-plugin-update-info ul {
561 list-style: disc outside;
562 padding-left: 14px;
563 margin: 0;
564 }
565
566
567 /*--------------------------------------------------------------------------
568 *
569 * Retina
570 *
571 *-------------------------------------------------------------------------*/
572
573 @media
574 only screen and (-webkit-min-device-pixel-ratio: 2),
575 only screen and ( min--moz-device-pixel-ratio: 2),
576 only screen and ( -o-min-device-pixel-ratio: 2/1),
577 only screen and ( min-device-pixel-ratio: 2),
578 only screen and ( min-resolution: 192dpi),
579 only screen and ( min-resolution: 2dppx) {
580
581 #icon-acf,
582 .acf-button-add,
583 .acf-button-remove,
584 .acf-button-edit,
585 .acf-button-delete,
586 [class^="acf-sprite"],
587 [class*=" acf-sprite"] {
588 background-image: url(../images/sprite@2x.png);
589 background-size: 100px 600px;
590 }
591
592 .acf-loading {
593 background-image: url(../images/wpspin_light@2x.gif);
594 background-size: 16px 16px;
595 }
596
597 }
598