global.css
| 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 | /*-------------------------------------------------------------------------------------------- |
| 60 | * |
| 61 | * WP Box |
| 62 | * |
| 63 | *--------------------------------------------------------------------------------------------*/ |
| 64 | |
| 65 | .wp-box { |
| 66 | background: none repeat scroll 0 0 #FFFFFF; |
| 67 | border: 1px solid #E1E1E1; |
| 68 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 69 | position: relative; |
| 70 | } |
| 71 | .wp-box .inner { |
| 72 | padding: 10px; |
| 73 | } |
| 74 | .wp-box .footer { |
| 75 | background: none repeat scroll 0 0 #F5F5F5; |
| 76 | border-top: 1px solid #E1E1E1; |
| 77 | overflow: hidden; |
| 78 | padding: 10px; |
| 79 | position: relative; |
| 80 | } |
| 81 | .wp-box .footer ul.left { |
| 82 | float: left; |
| 83 | } |
| 84 | .wp-box .footer ul li { |
| 85 | margin: 0; |
| 86 | padding: 0; |
| 87 | } |
| 88 | .wp-box .footer ul.left li { |
| 89 | margin-right: 10px; |
| 90 | } |
| 91 | .wp-box .footer ul.right { |
| 92 | float: right; |
| 93 | } |
| 94 | .wp-box .footer ul.right li { |
| 95 | margin-left: 10px; |
| 96 | } |
| 97 | |
| 98 | .wp-box h2 { |
| 99 | margin: .25em 0 .75em; |
| 100 | padding: 0; |
| 101 | } |
| 102 | |
| 103 | .wp-box h3 { |
| 104 | margin: 1.5em 0 0; |
| 105 | } |
| 106 | |
| 107 | .wp-box p { |
| 108 | margin-top: 0.5em; |
| 109 | } |
| 110 | |
| 111 | .wp-box-half.left { |
| 112 | width: 50%; |
| 113 | float: left; |
| 114 | } |
| 115 | |
| 116 | .wp-box-half.right { |
| 117 | width: 50%; |
| 118 | height: 100%; |
| 119 | right: 0; |
| 120 | position: absolute; |
| 121 | background: none repeat scroll 0 0 #F9F9F9; |
| 122 | border-left: 1px solid #E1E1E1; |
| 123 | } |
| 124 | |
| 125 | .wp-box-half.right .inner { |
| 126 | |
| 127 | } |
| 128 | |
| 129 | .wp-box select { |
| 130 | width: 99%; |
| 131 | height: auto !important; |
| 132 | } |
| 133 | |
| 134 | .wp-box .footer-blue { |
| 135 | background-color: #8CC1E9; |
| 136 | background-image: -webkit-gradient(linear, left top, left bottom, from(#8CC1E9), to(#72A7CF)); /* Saf4+, Chrome */ |
| 137 | background-image: -webkit-linear-gradient(top, #8CC1E9, #72A7CF); /* Chrome 10+, Saf5.1+, iOS 5+ */ |
| 138 | background-image: -moz-linear-gradient(top, #8CC1E9, #72A7CF); /* Firefox 3.6-15 */ |
| 139 | background-image: -o-linear-gradient(top, #8CC1E9, #72A7CF); /* Opera 11.10+ */ |
| 140 | background-image: linear-gradient(to bottom, #8CC1E9, #72A7CF); /* Firefox 16+ */ |
| 141 | color: #FFFFFF; |
| 142 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); |
| 143 | |
| 144 | overflow: hidden; |
| 145 | padding: 10px; |
| 146 | position: relative; |
| 147 | } |
| 148 | |
| 149 | .wp-box .footer-blue a { |
| 150 | text-decoration: none; |
| 151 | text-shadow: none; |
| 152 | } |
| 153 | |
| 154 | |
| 155 | /*--------------------------------------------------------------------------------------------- |
| 156 | Table |
| 157 | ---------------------------------------------------------------------------------------------*/ |
| 158 | table.acf_input { |
| 159 | border: 0 none; |
| 160 | background: #fff; |
| 161 | } |
| 162 | |
| 163 | table.acf_input tbody tr td { |
| 164 | padding: 10px; |
| 165 | border-top: 1px solid #f5f5f5; |
| 166 | border-bottom: 0 none; |
| 167 | } |
| 168 | |
| 169 | table.acf_input tbody tr:first-child td, |
| 170 | table.acf_input tbody tr:first-child td.label { |
| 171 | border-top: 0 none; |
| 172 | } |
| 173 | |
| 174 | table.acf_input tbody tr td.label { |
| 175 | width: 24%; |
| 176 | vertical-align: top; |
| 177 | background: #F9F9F9; |
| 178 | border-top: 1px solid #f0f0f0; |
| 179 | border-right: 1px solid #E1E1E1; |
| 180 | } |
| 181 | |
| 182 | table.acf_input td.label ul.hl { |
| 183 | margin: 20px 0 0; |
| 184 | } |
| 185 | table.acf_input td.label ul.hl li { |
| 186 | margin: 0 3px 0 0; |
| 187 | |
| 188 | } |
| 189 | |
| 190 | table.acf_input td.label ul.hl li a.acf-button { |
| 191 | font-size: 12px; |
| 192 | padding: 6px 10px; |
| 193 | font-weight: normal; |
| 194 | } |
| 195 | |
| 196 | table.acf_input tbody tr td.label label{ |
| 197 | display: block; |
| 198 | font-size: 12px; |
| 199 | font-weight: bold; |
| 200 | padding: 0; |
| 201 | margin: 0; |
| 202 | color: #333; |
| 203 | |
| 204 | } |
| 205 | |
| 206 | table.acf_input tbody tr td.label label span.required { |
| 207 | color: #f00; |
| 208 | display: inline; |
| 209 | margin-right: 5px; |
| 210 | } |
| 211 | |
| 212 | |
| 213 | table.acf_input tbody tr td.label p{ |
| 214 | display: block; |
| 215 | font-size: 12px; |
| 216 | padding: 6px 0 !important; |
| 217 | margin: 0 !important; |
| 218 | font-style: normal; |
| 219 | line-height: 16px; |
| 220 | color: #666; |
| 221 | } |
| 222 | |
| 223 | table.acf_input input[type=text], |
| 224 | table.acf_input textarea, |
| 225 | table.acf_input select{ |
| 226 | width: 99.95%; |
| 227 | padding: 5px; |
| 228 | outline: none; |
| 229 | } |
| 230 | |
| 231 | table.acf_input select { |
| 232 | padding: 2px; |
| 233 | } |
| 234 | |
| 235 | table.acf_input input[type=text]:focus, |
| 236 | table.acf_input textarea:focus, |
| 237 | table.acf_input select:focus { |
| 238 | border-color:#98B6CB; |
| 239 | } |
| 240 | |
| 241 | |
| 242 | ul.radio_list { |
| 243 | position: relative; |
| 244 | overflow: hidden; |
| 245 | display: block; |
| 246 | padding: 3px 0; |
| 247 | margin: 0; |
| 248 | } |
| 249 | |
| 250 | ul.radio_list.horizontal li { |
| 251 | float: left; |
| 252 | margin-right: 20px; |
| 253 | } |
| 254 | |
| 255 | ul.checkbox_list { |
| 256 | background: transparent !important; |
| 257 | margin: 0; |
| 258 | } |
| 259 | |
| 260 | ul.radio_list input, |
| 261 | ul.checkbox_list input { |
| 262 | margin-right: 5px; |
| 263 | width: auto; |
| 264 | } |
| 265 | |
| 266 | |
| 267 | /*-------------------------------------------------------------------------------------------- |
| 268 | * |
| 269 | * Buttons |
| 270 | * |
| 271 | *--------------------------------------------------------------------------------------------*/ |
| 272 | |
| 273 | a.acf-button, |
| 274 | input[type="submit"].acf-button { |
| 275 | display: block; |
| 276 | border-radius: 3px; |
| 277 | |
| 278 | border: #21759B solid 1px; |
| 279 | border-color: #21759B #21759B #1E6A8D; |
| 280 | |
| 281 | |
| 282 | background: #21759B; |
| 283 | background-image: -webkit-gradient(linear, left top, left bottom, from(#2A95C5), to(#21759B)); /* Safari 4+, Chrome */ |
| 284 | background-image: -webkit-linear-gradient(top, #2A95C5, #21759B); /* Chrome 10+, Safari 5.1+, iOS 5+ */ |
| 285 | background-image: -moz-linear-gradient(top, #2A95C5, #21759B); /* Firefox 3.6-15 */ |
| 286 | background-image: -o-linear-gradient(top, #2A95C5, #21759B); /* Opera 11.10+ */ |
| 287 | background-image: linear-gradient(to bottom, #2A95C5, #21759B); /* Firefox 16+ */ |
| 288 | |
| 289 | color: #FFFFFF; |
| 290 | font-weight: normal; |
| 291 | text-shadow: 0 1px 0 rgba(0,0,0,0.5); |
| 292 | font-size: 13px; |
| 293 | line-height: 1em; |
| 294 | padding: 6px 11px; |
| 295 | box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 0 rgba(120, 200, 230, 0.5) inset; |
| 296 | cursor: pointer; |
| 297 | position: relative; |
| 298 | text-align: center; |
| 299 | text-decoration: none; |
| 300 | } |
| 301 | |
| 302 | a.acf-button:hover, |
| 303 | input[type="submit"].acf-button:hover { |
| 304 | |
| 305 | background-color: #3b97c9; |
| 306 | background-image: -webkit-gradient(linear, left top, left bottom, from(#3b97c9), to(#246f99)); /* Safari 4+, Chrome */ |
| 307 | background-image: -webkit-linear-gradient(top, #3b97c9, #246f99); /* Chrome 10+, Safari 5.1+, iOS 5+ */ |
| 308 | background-image: -moz-linear-gradient(top, #3b97c9, #246f99); /* Firefox 3.6-15 */ |
| 309 | background-image: -o-linear-gradient(top, #3b97c9, #246f99); /* Opera 11.10+ */ |
| 310 | background-image: linear-gradient(to bottom, #3b97c9, #246f99); /* Firefox 16+ */ |
| 311 | |
| 312 | border-color: #1B607F; |
| 313 | |
| 314 | color: #FFFFFF; |
| 315 | |
| 316 | box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 0 rgba(120, 200, 230, 0.6) inset; |
| 317 | } |
| 318 | |
| 319 | a.acf-button:active, |
| 320 | input[type="submit"].acf-button:active { |
| 321 | box-shadow: 0 1px 3px rgba(0,0,0,0.2); |
| 322 | top: 1px; |
| 323 | |
| 324 | } |
| 325 | |
| 326 | a.acf-button.grey, |
| 327 | input[type="submit"].acf-button.grey { |
| 328 | border-color: #bbb; |
| 329 | text-shadow: 0 1px 0 #fff; |
| 330 | color: #454545; |
| 331 | |
| 332 | box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 1px rgba(255, 255, 255, 1) inset; |
| 333 | |
| 334 | background: #fff; |
| 335 | background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#ececec)); /* Safari 4+, Chrome */ |
| 336 | background-image: -webkit-linear-gradient(top, #ffffff, #ececec); /* Chrome 10+, Safari 5.1+, iOS 5+ */ |
| 337 | background-image: -moz-linear-gradient(top, #ffffff, #ececec); /* Firefox 3.6-15 */ |
| 338 | background-image: -o-linear-gradient(top, #ffffff, #ececec); /* Opera 11.10+ */ |
| 339 | background-image: linear-gradient(to bottom, #ffffff, #ececec); /* Firefox 16+ */ |
| 340 | |
| 341 | } |
| 342 | |
| 343 | a.acf-button.grey:hover, |
| 344 | input[type="submit"].acf-button.grey:hover { |
| 345 | border-color: #aaa; |
| 346 | |
| 347 | box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 1px rgba(255, 255, 255, 1) inset; |
| 348 | } |
| 349 | |
| 350 | a.acf-button[disabled], |
| 351 | a.acf-button.disabled, |
| 352 | input[type="submit"].acf-button[disabled] { |
| 353 | opacity: 0.7; |
| 354 | } |
| 355 | |
| 356 | a.acf-button[disabled]:hover, |
| 357 | a.acf-button.disabled:hover, |
| 358 | input[type="submit"].acf-button[disabled]:hover { |
| 359 | |
| 360 | } |
| 361 | |
| 362 | |
| 363 | /*-------------------------------------------------------------------------- |
| 364 | * |
| 365 | * ACF add / remove |
| 366 | * |
| 367 | *-------------------------------------------------------------------------*/ |
| 368 | |
| 369 | .acf-button-add, |
| 370 | .acf-button-remove, |
| 371 | .acf-button-edit, |
| 372 | .acf-button-delete { |
| 373 | background: url(../images/sprite.png) -16px -116px no-repeat #fff; |
| 374 | display: block; |
| 375 | height: 18px; |
| 376 | width: 18px; |
| 377 | border-radius: 9px; |
| 378 | box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); |
| 379 | } |
| 380 | |
| 381 | .acf-button-edit, |
| 382 | .acf-button-delete { |
| 383 | width: 22px; |
| 384 | height: 22px; |
| 385 | border-radius: 11px; |
| 386 | } |
| 387 | |
| 388 | .acf-button-add:hover { |
| 389 | background-position: -16px -166px; |
| 390 | } |
| 391 | |
| 392 | .acf-button-remove { |
| 393 | background-position: -66px -116px; |
| 394 | } |
| 395 | |
| 396 | .acf-button-remove:hover { |
| 397 | background-position: -66px -166px; |
| 398 | } |
| 399 | |
| 400 | .acf-button-edit { |
| 401 | background-position: -14px -214px; |
| 402 | } |
| 403 | |
| 404 | .acf-button-edit:hover { |
| 405 | background-position: -14px -264px; |
| 406 | } |
| 407 | |
| 408 | .acf-button-delete { |
| 409 | background-position: -64px -214px; |
| 410 | } |
| 411 | |
| 412 | .acf-button-delete:hover { |
| 413 | background-position: -64px -264px; |
| 414 | } |
| 415 | |
| 416 | |
| 417 | |
| 418 | /*-------------------------------------------------------------------------- |
| 419 | * |
| 420 | * Retina |
| 421 | * |
| 422 | *-------------------------------------------------------------------------*/ |
| 423 | |
| 424 | @media |
| 425 | only screen and (-webkit-min-device-pixel-ratio: 2), |
| 426 | only screen and ( min--moz-device-pixel-ratio: 2), |
| 427 | only screen and ( -o-min-device-pixel-ratio: 2/1), |
| 428 | only screen and ( min-device-pixel-ratio: 2), |
| 429 | only screen and ( min-resolution: 192dpi), |
| 430 | only screen and ( min-resolution: 2dppx) { |
| 431 | |
| 432 | #icon-acf, |
| 433 | .acf-button-add, |
| 434 | .acf-button-remove, |
| 435 | .acf-button-edit, |
| 436 | .acf-button-delete { |
| 437 | background-image: url(../images/sprite@2x.png); |
| 438 | background-size: 100px 600px; |
| 439 | } |
| 440 | |
| 441 | .acf-loading { |
| 442 | background-image: url("../../../../wp-admin/images/wpspin_light-2x.gif"); |
| 443 | background-size: 16px 16px; |
| 444 | } |
| 445 | |
| 446 | } |
| 447 |