PluginProbe
Advanced Custom Fields (ACF®) / 4.1.2
Advanced Custom Fields (ACF®) v4.1.2
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 in Advanced Custom Fields (ACF®) 4.1.2, at css/global.css

529 lines 12.2 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("../../../../wp-admin/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
109
110 /*--------------------------------------------------------------------------------------------
111 *
112 * WP Box
113 *
114 *--------------------------------------------------------------------------------------------*/
115
116 .wp-box {
117 background: none repeat scroll 0 0 #FFFFFF;
118 border: 1px solid #E1E1E1;
119 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
120 position: relative;
121 }
122 .wp-box .title {
123 background: #f1f1f1;
124 background-image: -webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));
125 background-image: -webkit-linear-gradient(bottom, #ececec, #f9f9f9);
126 background-image: -moz-linear-gradient(bottom, #ececec, #f9f9f9);
127 background-image: -o-linear-gradient(bottom, #ececec, #f9f9f9);
128 background-image: linear-gradient(to top, #ececec, #f9f9f9);
129 }
130 .wp-box .title h3 {
131 font-size: 15px;
132 font-weight: normal;
133 line-height: 1;
134 margin: 0;
135 padding: 7px 10px;
136 color: #464646;
137 border-bottom: #DFDFDF solid 1px;
138 box-shadow: 0 1px 0 #FFFFFF;
139 text-shadow: 0 1px 0 #FFFFFF;
140 font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;
141 }
142 .wp-box .inner {
143 padding: 15px;
144 }
145 .wp-box .footer {
146 background: none repeat scroll 0 0 #F5F5F5;
147 border-top: 1px solid #E1E1E1;
148 overflow: hidden;
149 padding: 10px;
150 position: relative;
151 }
152 .wp-box .footer ul.left {
153 float: left;
154 }
155 .wp-box .footer ul li {
156 margin: 0;
157 padding: 0;
158 }
159 .wp-box .footer ul.left li {
160 margin-right: 10px;
161 }
162 .wp-box .footer ul.right {
163 float: right;
164 }
165 .wp-box .footer ul.right li {
166 margin-left: 10px;
167 }
168
169 .wp-box h2 {
170 margin: .25em 0 .75em;
171 padding: 0;
172 }
173
174 .wp-box h3 {
175 margin: 1.5em 0 0;
176
177 }
178
179 .wp-box p {
180 margin-top: 0.5em;
181 }
182
183 .wp-box-half.left {
184 width: 50%;
185 float: left;
186 }
187
188 .wp-box-half.right {
189 width: 50%;
190 height: 100%;
191 right: 0;
192 position: absolute;
193 background: none repeat scroll 0 0 #F9F9F9;
194 border-left: 1px solid #E1E1E1;
195 }
196
197 .wp-box-half.right .inner {
198
199 }
200
201 .wp-box select {
202 width: 99%;
203 height: auto !important;
204 }
205
206 .wp-box .footer-blue {
207 background-color: #8CC1E9;
208 background-image: -webkit-gradient(linear, left top, left bottom, from(#8CC1E9), to(#72A7CF)); /* Saf4+, Chrome */
209 background-image: -webkit-linear-gradient(top, #8CC1E9, #72A7CF); /* Chrome 10+, Saf5.1+, iOS 5+ */
210 background-image: -moz-linear-gradient(top, #8CC1E9, #72A7CF); /* Firefox 3.6-15 */
211 background-image: -o-linear-gradient(top, #8CC1E9, #72A7CF); /* Opera 11.10+ */
212 background-image: linear-gradient(to bottom, #8CC1E9, #72A7CF); /* Firefox 16+ */
213 color: #FFFFFF;
214 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
215
216 overflow: hidden;
217 padding: 10px;
218 position: relative;
219 }
220
221 .wp-box .footer-blue a {
222 text-decoration: none;
223 text-shadow: none;
224 }
225
226
227 /*---------------------------------------------------------------------------------------------
228 Table
229 ---------------------------------------------------------------------------------------------*/
230 table.acf_input {
231 border: 0 none;
232 background: #fff;
233 }
234
235 table.acf_input tbody tr td {
236 padding: 10px;
237 border-top: 1px solid #f5f5f5;
238 border-bottom: 0 none;
239 }
240
241 table.acf_input tbody tr td.label {
242 width: 24%;
243 vertical-align: top;
244 background: #F9F9F9;
245 border-top: 1px solid #f0f0f0;
246 border-right: 1px solid #E1E1E1;
247 }
248
249 table.acf_input > tbody > tr:first-child > td,
250 table.acf_input > tbody > tr:first-child > td.label {
251 border-top: 0 none;
252 }
253
254 table.acf_input td.label ul.hl {
255 margin: 20px 0 0;
256 }
257 table.acf_input td.label ul.hl li {
258 margin: 0 3px 0 0;
259
260 }
261
262 table.acf_input td.label ul.hl li a.acf-button {
263 font-size: 12px;
264 padding: 6px 10px;
265 font-weight: normal;
266 }
267
268 table.acf_input tbody tr td.label label {
269 display: block;
270 font-size: 12px;
271 font-weight: bold;
272 padding: 0;
273 margin: 0 0 6px;
274 color: #333;
275 }
276
277 table.acf_input tbody tr td.label label span.required {
278 color: #f00;
279 display: inline;
280 margin-right: 5px;
281 }
282
283
284 table.acf_input tbody tr td.label p {
285 display: block;
286 font-size: 12px;
287 padding: 0 !important;
288 margin: 3px 0 0 !important;
289 font-style: normal;
290 line-height: 16px;
291 color: #666;
292 }
293
294 table.acf_input input[type=text],
295 table.acf_input textarea,
296 table.acf_input select{
297 width: 99.95%;
298 padding: 5px;
299 outline: none;
300 }
301
302 table.acf_input select {
303 padding: 2px;
304 }
305
306 table.acf_input select option {
307 padding: 3px;
308 }
309
310 table.acf_input input[type=text]:focus,
311 table.acf_input textarea:focus,
312 table.acf_input select:focus {
313 border-color:#98B6CB;
314 }
315
316
317 ul.radio_list {
318 position: relative;
319 display: block;
320 padding: 1px;
321 margin: 0;
322 }
323
324 ul.radio_list.horizontal {
325 overflow: hidden;
326 }
327
328 ul.radio_list.horizontal li {
329 float: left;
330 margin-right: 20px;
331 }
332
333 ul.checkbox_list {
334 background: transparent !important;
335 margin: 0;
336 }
337
338 ul.radio_list li input,
339 ul.checkbox_list li input {
340 margin-right: 5px !important;
341 width: auto !important;
342 }
343
344
345 /*--------------------------------------------------------------------------------------------
346 *
347 * Buttons
348 *
349 *--------------------------------------------------------------------------------------------*/
350
351 a.acf-button,
352 input[type="submit"].acf-button {
353 display: block;
354 border-radius: 3px;
355
356 border: #21759B solid 1px;
357 border-color: #21759B #21759B #1E6A8D;
358
359
360 background: #21759B;
361 background-image: -webkit-gradient(linear, left top, left bottom, from(#2A95C5), to(#21759B)); /* Safari 4+, Chrome */
362 background-image: -webkit-linear-gradient(top, #2A95C5, #21759B); /* Chrome 10+, Safari 5.1+, iOS 5+ */
363 background-image: -moz-linear-gradient(top, #2A95C5, #21759B); /* Firefox 3.6-15 */
364 background-image: -o-linear-gradient(top, #2A95C5, #21759B); /* Opera 11.10+ */
365 background-image: linear-gradient(to bottom, #2A95C5, #21759B); /* Firefox 16+ */
366
367 color: #FFFFFF;
368 font-weight: normal;
369 text-shadow: 0 1px 0 rgba(0,0,0,0.5);
370 font-size: 13px;
371 line-height: 1em;
372 padding: 6px 11px;
373 box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 0 rgba(120, 200, 230, 0.5) inset;
374 cursor: pointer;
375 position: relative;
376 text-align: center;
377 text-decoration: none;
378 }
379
380 a.acf-button:hover,
381 input[type="submit"].acf-button:hover {
382
383 background-color: #3b97c9;
384 background-image: -webkit-gradient(linear, left top, left bottom, from(#3b97c9), to(#246f99)); /* Safari 4+, Chrome */
385 background-image: -webkit-linear-gradient(top, #3b97c9, #246f99); /* Chrome 10+, Safari 5.1+, iOS 5+ */
386 background-image: -moz-linear-gradient(top, #3b97c9, #246f99); /* Firefox 3.6-15 */
387 background-image: -o-linear-gradient(top, #3b97c9, #246f99); /* Opera 11.10+ */
388 background-image: linear-gradient(to bottom, #3b97c9, #246f99); /* Firefox 16+ */
389
390 border-color: #1B607F;
391
392 color: #FFFFFF;
393
394 box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 0 rgba(120, 200, 230, 0.6) inset;
395 }
396
397 a.acf-button:active,
398 input[type="submit"].acf-button:active {
399 box-shadow: 0 1px 3px rgba(0,0,0,0.2);
400 top: 1px;
401
402 }
403
404 a.acf-button.grey,
405 input[type="submit"].acf-button.grey {
406 border-color: #bbb;
407 text-shadow: 0 1px 0 #fff;
408 color: #454545;
409
410 box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 1px rgba(255, 255, 255, 1) inset;
411
412 background: #fff;
413 background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ececec)); /* Safari 4+, Chrome */
414 background-image: -webkit-linear-gradient(top, #ffffff, #ececec); /* Chrome 10+, Safari 5.1+, iOS 5+ */
415 background-image: -moz-linear-gradient(top, #ffffff, #ececec); /* Firefox 3.6-15 */
416 background-image: -o-linear-gradient(top, #ffffff, #ececec); /* Opera 11.10+ */
417 background-image: linear-gradient(to bottom, #ffffff, #ececec); /* Firefox 16+ */
418
419 }
420
421 a.acf-button.grey:hover,
422 input[type="submit"].acf-button.grey:hover {
423 border-color: #aaa;
424
425 box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 1px rgba(255, 255, 255, 1) inset;
426 }
427
428 a.acf-button[disabled],
429 a.acf-button.disabled,
430 input[type="submit"].acf-button[disabled] {
431 opacity: 0.7;
432 }
433
434 a.acf-button[disabled]:hover,
435 a.acf-button.disabled:hover,
436 input[type="submit"].acf-button[disabled]:hover {
437
438 }
439
440 a.acf-button-big {
441 font-size: 16px;
442 padding: 13px;
443 }
444
445 /*--------------------------------------------------------------------------
446 *
447 * ACF add / remove
448 *
449 *-------------------------------------------------------------------------*/
450
451 .acf-button-add,
452 .acf-button-remove,
453 .acf-button-edit,
454 .acf-button-delete {
455 background: url(../images/sprite.png) -16px -116px no-repeat #fff;
456 display: block;
457 height: 18px;
458 width: 18px;
459 border-radius: 9px;
460 box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
461 }
462
463 .acf-button-edit,
464 .acf-button-delete {
465 width: 22px;
466 height: 22px;
467 border-radius: 11px;
468 }
469
470 .acf-button-add:hover {
471 background-position: -16px -166px;
472 }
473
474 .acf-button-remove {
475 background-position: -66px -116px;
476 }
477
478 .acf-button-remove:hover {
479 background-position: -66px -166px;
480 }
481
482 .acf-button-edit {
483 background-position: -14px -214px;
484 }
485
486 .acf-button-edit:hover {
487 background-position: -14px -264px;
488 }
489
490 .acf-button-delete {
491 background-position: -64px -214px;
492 }
493
494 .acf-button-delete:hover {
495 background-position: -64px -264px;
496 }
497
498
499
500 /*--------------------------------------------------------------------------
501 *
502 * Retina
503 *
504 *-------------------------------------------------------------------------*/
505
506 @media
507 only screen and (-webkit-min-device-pixel-ratio: 2),
508 only screen and ( min--moz-device-pixel-ratio: 2),
509 only screen and ( -o-min-device-pixel-ratio: 2/1),
510 only screen and ( min-device-pixel-ratio: 2),
511 only screen and ( min-resolution: 192dpi),
512 only screen and ( min-resolution: 2dppx) {
513
514 #icon-acf,
515 .acf-button-add,
516 .acf-button-remove,
517 .acf-button-edit,
518 .acf-button-delete {
519 background-image: url(../images/sprite@2x.png);
520 background-size: 100px 600px;
521 }
522
523 .acf-loading {
524 background-image: url("../../../../wp-admin/images/wpspin_light-2x.gif");
525 background-size: 16px 16px;
526 }
527
528 }
529