admin.css
489 lines
| 1 | /* Post Views Counter settings */ |
| 2 | .post-views-counter-settings { |
| 3 | margin-right: 300px; |
| 4 | } |
| 5 | |
| 6 | .post-views-counter-settings form { |
| 7 | float: left; |
| 8 | min-width: 463px; |
| 9 | width: auto; |
| 10 | } |
| 11 | |
| 12 | .post-views-counter-settings fieldset .description { |
| 13 | font-size: 13px; |
| 14 | margin-bottom: 8px; |
| 15 | margin-top: 4px; |
| 16 | display: block; |
| 17 | } |
| 18 | |
| 19 | .post-views-counter-settings p.help, .post-views-counter-settings p.description, .post-views-counter-settings span.description { |
| 20 | font-size: 13px; |
| 21 | font-style: italic; |
| 22 | } |
| 23 | |
| 24 | .post-views-counter-settings div.ip-box { |
| 25 | margin-bottom: 3px; |
| 26 | } |
| 27 | |
| 28 | .df-credits { |
| 29 | float: right; |
| 30 | width: 280px; |
| 31 | background: #fff; |
| 32 | margin: 20px -300px 20px 20px; |
| 33 | position: relative; |
| 34 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05); |
| 35 | } |
| 36 | |
| 37 | .df-credits .inner { |
| 38 | padding-left: 10px; |
| 39 | padding-right: 10px; |
| 40 | } |
| 41 | |
| 42 | .df-credits h3 { |
| 43 | font-size: 14px; |
| 44 | line-height: 1.4; |
| 45 | margin: 0; |
| 46 | padding: 8px 12px; |
| 47 | border-bottom: 1px solid #eee; |
| 48 | } |
| 49 | |
| 50 | .df-credits .df-link { |
| 51 | font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif; |
| 52 | font-style: italic; |
| 53 | padding-bottom: 10px; |
| 54 | margin: 0; |
| 55 | } |
| 56 | |
| 57 | .df-credits .df-link a { |
| 58 | vertical-align: middle; |
| 59 | padding: 5px 0 0 4px; |
| 60 | } |
| 61 | |
| 62 | .df-credits hr { |
| 63 | border: solid #eee; |
| 64 | border-width: 1px 0 0; |
| 65 | clear: both; |
| 66 | height: 0; |
| 67 | } |
| 68 | |
| 69 | /* Single post edit screen */ |
| 70 | #misc-publishing-actions #post-views #post-views-display:before { |
| 71 | display: inline-block; |
| 72 | font: 400 20px/1 dashicons; |
| 73 | left: -1px; |
| 74 | padding: 0 2px 0 0; |
| 75 | position: relative; |
| 76 | text-decoration: none !important; |
| 77 | vertical-align: top; |
| 78 | color: #888; |
| 79 | content: "\f185"; |
| 80 | top: -1px; |
| 81 | } |
| 82 | |
| 83 | /* Listing edit screen */ |
| 84 | .edit-php .widefat th#post_views { |
| 85 | width: 5.5em; |
| 86 | } |
| 87 | .edit-php .widefat th.column-post_views .dashicons, |
| 88 | .edit-php .widefat th.column-post_views .dashicons:before { |
| 89 | font-size: 1.1em; |
| 90 | vertical-align: middle; |
| 91 | } |
| 92 | .edit-php .widefat th .dash-title { |
| 93 | display:none; |
| 94 | } |
| 95 | .edit-php .metabox-prefs .dash-icon { |
| 96 | display:none; |
| 97 | } |
| 98 | .edit-php .widefat td .dashicons, |
| 99 | .edit-php .widefat td .dashicons:before { |
| 100 | font-size: 1.1em; |
| 101 | } |
| 102 | .edit-php #inline-edit-post_views input { |
| 103 | width: auto; |
| 104 | } |
| 105 | |
| 106 | /* |
| 107 | * checkBo lightweight jQuery plugin v0.1.4 by @ElmahdiMahmoud |
| 108 | * Licensed under the MIT license - https://github.com/elmahdim/checkbo/blob/master/LICENSE |
| 109 | * |
| 110 | * Custom checkbox and radio |
| 111 | * Author URL: elmahdim.com |
| 112 | */ |
| 113 | .cb-checkbox .cb-inner, .cb-checkbox i { |
| 114 | width:18px; |
| 115 | height:18px; |
| 116 | -moz-border-radius:3px; |
| 117 | -webkit-border-radius:3px; |
| 118 | border-radius:3px |
| 119 | } |
| 120 | .cb-checkbox.cb-sm i, .cb-checkbox.cb-sm .cb-inner { |
| 121 | width:14px; |
| 122 | height:14px |
| 123 | } |
| 124 | .cb-checkbox.cb-md i, .cb-checkbox.cb-md .cb-inner { |
| 125 | width:24px; |
| 126 | height:24px; |
| 127 | -moz-border-radius:4px; |
| 128 | -webkit-border-radius:4px; |
| 129 | border-radius:4px |
| 130 | } |
| 131 | .cb-checkbox.cb-lg i, .cb-checkbox.cb-lg .cb-inner { |
| 132 | width:30px; |
| 133 | height:30px; |
| 134 | -moz-border-radius:6px; |
| 135 | -webkit-border-radius:6px; |
| 136 | border-radius:6px |
| 137 | } |
| 138 | .cb-radio .cb-inner { |
| 139 | width:18px; |
| 140 | height:18px |
| 141 | } |
| 142 | .cb-radio.cb-sm .cb-inner { |
| 143 | width:14px; |
| 144 | height:14px |
| 145 | } |
| 146 | .cb-radio.cb-md .cb-inner { |
| 147 | width:24px; |
| 148 | height:24px |
| 149 | } |
| 150 | .cb-radio.cb-lg .cb-inner { |
| 151 | width:30px; |
| 152 | height:30px |
| 153 | } |
| 154 | .cb-checkbox, .cb-radio { |
| 155 | color:inherit; |
| 156 | cursor:pointer; |
| 157 | overflow:hidden; |
| 158 | font-size:inherit; |
| 159 | font-weight:normal; |
| 160 | display:inline-block; |
| 161 | line-height:18px; |
| 162 | margin-right: 8px; |
| 163 | } |
| 164 | .form-table td fieldset label.cb-checkbox, |
| 165 | .form-table td fieldset label.cb-radio { |
| 166 | margin-right: 8px !important; |
| 167 | } |
| 168 | .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled * { |
| 169 | cursor:default |
| 170 | } |
| 171 | .cb-checkbox input[type="checkbox"], .cb-radio input[type="radio"], .cb-switcher input[type="checkbox"], .cb-switcher input[type="radio"] { |
| 172 | display:none |
| 173 | } |
| 174 | .cb-checkbox.disabled, .cb-checkbox.disabled *, .cb-radio.disabled, .cb-radio.disabled *, .cb-switcher.disabled, .cb-switcher.disabled * { |
| 175 | cursor:default |
| 176 | } |
| 177 | .cb-checkbox.disabled { |
| 178 | color:#ddd |
| 179 | } |
| 180 | .cb-checkbox.disabled .cb-inner { |
| 181 | color:#ddd |
| 182 | } |
| 183 | .cb-checkbox.disabled:hover .cb-inner { |
| 184 | border-color:#ddd |
| 185 | } |
| 186 | .cb-checkbox.disabled.checked .cb-inner { |
| 187 | background-color:#ddd; |
| 188 | border-color:#ddd |
| 189 | } |
| 190 | .cb-radio.disabled { |
| 191 | color:#ddd |
| 192 | } |
| 193 | .cb-radio.disabled .cb-inner { |
| 194 | border-color:#ddd |
| 195 | } |
| 196 | .cb-radio.disabled i { |
| 197 | background-color:transparent |
| 198 | } |
| 199 | .cb-radio.disabled.checked .cb-inner { |
| 200 | border-color:#ddd |
| 201 | } |
| 202 | .cb-radio.disabled.checked .cb-inner i { |
| 203 | background-color:#ddd |
| 204 | } |
| 205 | .cb-radio.disabled:hover .cb-inner { |
| 206 | border-color:#ddd |
| 207 | } |
| 208 | .cb-checkbox .cb-inner { |
| 209 | float:left; |
| 210 | overflow:hidden; |
| 211 | margin:0 5px 0 0; |
| 212 | position:relative; |
| 213 | background:#f2f2f2; |
| 214 | display:inline-block; |
| 215 | border:1px solid #d6d6d6; |
| 216 | -moz-transition:all 0.5s ease; |
| 217 | -o-transition:all 0.5s ease; |
| 218 | -webkit-transition:all 0.5s ease; |
| 219 | transition:all 0.5s ease |
| 220 | } |
| 221 | .cb-checkbox i { |
| 222 | top:1px; |
| 223 | left:2px; |
| 224 | display:block; |
| 225 | position:absolute |
| 226 | } |
| 227 | .cb-checkbox i:before, .cb-checkbox i:after { |
| 228 | height:0; |
| 229 | width:2px; |
| 230 | content:""; |
| 231 | display:block; |
| 232 | position:absolute; |
| 233 | background-color:#fff; |
| 234 | -moz-transition:all 0.2s ease; |
| 235 | -o-transition:all 0.2s ease; |
| 236 | -webkit-transition:all 0.2s ease; |
| 237 | transition:all 0.2s ease |
| 238 | } |
| 239 | .cb-checkbox i:before { |
| 240 | top:0; |
| 241 | left:0; |
| 242 | -moz-transform:rotate(-45deg); |
| 243 | -ms-transform:rotate(-45deg); |
| 244 | -webkit-transform:rotate(-45deg); |
| 245 | transform:rotate(-45deg) |
| 246 | } |
| 247 | .cb-checkbox i:after { |
| 248 | left:7px; |
| 249 | bottom:5px; |
| 250 | -moz-transition-delay:0.3s; |
| 251 | -o-transition-delay:0.3s; |
| 252 | -webkit-transition-delay:0.3s; |
| 253 | transition-delay:0.3s; |
| 254 | -moz-transform:rotate(30deg); |
| 255 | -ms-transform:rotate(30deg); |
| 256 | -webkit-transform:rotate(30deg); |
| 257 | transform:rotate(30deg) |
| 258 | } |
| 259 | .cb-radio .cb-inner { |
| 260 | float:left; |
| 261 | overflow:hidden; |
| 262 | margin:0 5px 0 0; |
| 263 | position:relative; |
| 264 | display:inline-block; |
| 265 | border:1px solid #d7d7d7; |
| 266 | background-color:#f2f2f2; |
| 267 | -moz-border-radius:100%; |
| 268 | -webkit-border-radius:100%; |
| 269 | border-radius:100%; |
| 270 | -moz-transition:all 0.1s ease; |
| 271 | -o-transition:all 0.1s ease; |
| 272 | -webkit-transition:all 0.1s ease; |
| 273 | transition:all 0.1s ease |
| 274 | } |
| 275 | .cb-radio i { |
| 276 | top:50%; |
| 277 | left:50%; |
| 278 | width:6px; |
| 279 | height:6px; |
| 280 | margin-top:-3px; |
| 281 | margin-left:-3px; |
| 282 | position:absolute; |
| 283 | background-color:transparent; |
| 284 | -moz-border-radius:100%; |
| 285 | -webkit-border-radius:100%; |
| 286 | border-radius:100%; |
| 287 | -moz-transform:scale(0.05, 5); |
| 288 | -ms-transform:scale(0.05, 5); |
| 289 | -webkit-transform:scale(0.05, 5); |
| 290 | transform:scale(0.05, 5); |
| 291 | -moz-transition:all 0.2s ease; |
| 292 | -o-transition:all 0.2s ease; |
| 293 | -webkit-transition:all 0.2s ease; |
| 294 | transition:all 0.2s ease |
| 295 | } |
| 296 | .cb-checkbox.cb-sm, .cb-radio.cb-sm { |
| 297 | line-height:14px |
| 298 | } |
| 299 | .cb-checkbox.cb-md, .cb-radio.cb-md { |
| 300 | line-height:24px |
| 301 | } |
| 302 | .cb-checkbox.cb-lg, .cb-radio.cb-lg { |
| 303 | line-height:30px |
| 304 | } |
| 305 | .cb-checkbox.cb-sm i:before { |
| 306 | top:4px; |
| 307 | left:1px |
| 308 | } |
| 309 | .cb-checkbox.cb-sm i:after { |
| 310 | left:5px |
| 311 | } |
| 312 | .cb-checkbox.cb-md i:before { |
| 313 | top:10px; |
| 314 | left:5px |
| 315 | } |
| 316 | .cb-checkbox.cb-md i:after { |
| 317 | bottom:6px; |
| 318 | left:11px |
| 319 | } |
| 320 | .cb-checkbox.checked .cb-inner { |
| 321 | border-color:#0073aa; |
| 322 | background-color:#00a0d2; |
| 323 | box-shadow: 0 1px 0 rgba(120, 200, 230, 0.5) inset, 0 1px 0 rgba(0, 0, 0, 0.15); |
| 324 | } |
| 325 | .cb-checkbox.checked:hover .cb-inner { |
| 326 | background-color:#0091cd |
| 327 | } |
| 328 | .cb-checkbox.checked.cb-sm i:before { |
| 329 | top:4px; |
| 330 | left:1px |
| 331 | } |
| 332 | .cb-checkbox.checked.cb-sm i:after { |
| 333 | height:9px |
| 334 | } |
| 335 | .cb-checkbox.checked.cb-md i:before { |
| 336 | top:10px; |
| 337 | left:4px; |
| 338 | height:8px |
| 339 | } |
| 340 | .cb-checkbox.checked.cb-md i:after { |
| 341 | bottom:6px; |
| 342 | left:11px; |
| 343 | height:16px |
| 344 | } |
| 345 | .cb-checkbox.checked.cb-lg i:before { |
| 346 | top:11px; |
| 347 | left:6px; |
| 348 | height:12px |
| 349 | } |
| 350 | .cb-checkbox.checked.cb-lg i:after { |
| 351 | left:14px; |
| 352 | bottom:7px; |
| 353 | height:20px |
| 354 | } |
| 355 | .cb-checkbox.checked i:before { |
| 356 | top:6px; |
| 357 | left:2px; |
| 358 | height:6px |
| 359 | } |
| 360 | .cb-checkbox.checked i:after { |
| 361 | height:12px |
| 362 | } |
| 363 | .cb-radio.checked .cb-inner { |
| 364 | background:#fff; |
| 365 | box-shadow:0 0 3px #efefef |
| 366 | } |
| 367 | .cb-radio.checked i { |
| 368 | -moz-transform:scale(1.1, 1.1); |
| 369 | -ms-transform:scale(1.1, 1.1); |
| 370 | -webkit-transform:scale(1.1, 1.1); |
| 371 | transform:scale(1.1, 1.1); |
| 372 | background-color:#00a0d2 |
| 373 | } |
| 374 | .cb-checkbox:hover .cb-inner, .cb-radio:hover .cb-inner { |
| 375 | border-color:#0073aa |
| 376 | } |
| 377 | .cb-switcher { |
| 378 | display:inline-block; |
| 379 | border:1px solid #eee; |
| 380 | background-color:#fff; |
| 381 | width:95px; |
| 382 | height:35px; |
| 383 | position:relative; |
| 384 | -moz-border-radius:20px; |
| 385 | -webkit-border-radius:20px; |
| 386 | border-radius:20px; |
| 387 | -moz-transition:background 0.4s ease; |
| 388 | -o-transition:background 0.4s ease; |
| 389 | -webkit-transition:background 0.4s ease; |
| 390 | transition:background 0.4s ease |
| 391 | } |
| 392 | .cb-switcher, .cb-switcher * { |
| 393 | cursor:pointer |
| 394 | } |
| 395 | .cb-switcher ::-moz-selection { |
| 396 | background-color:transparent |
| 397 | } |
| 398 | .cb-switcher ::selection { |
| 399 | background-color:transparent |
| 400 | } |
| 401 | .cb-switcher .cb-state { |
| 402 | z-index:1; |
| 403 | text-align:center; |
| 404 | font-size:12px |
| 405 | } |
| 406 | .cb-switcher .cb-state, .cb-switcher:before { |
| 407 | width:34px; |
| 408 | height:34px; |
| 409 | line-height:34px; |
| 410 | position:absolute; |
| 411 | left:0; |
| 412 | top:-1px; |
| 413 | -moz-border-radius:100%; |
| 414 | -webkit-border-radius:100%; |
| 415 | border-radius:100%; |
| 416 | -moz-transition:all 0.4s ease; |
| 417 | -o-transition:all 0.4s ease; |
| 418 | -webkit-transition:all 0.4s ease; |
| 419 | transition:all 0.4s ease |
| 420 | } |
| 421 | .cb-switcher:before { |
| 422 | content:""; |
| 423 | background-color:#eee; |
| 424 | -moz-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1); |
| 425 | -webkit-box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1); |
| 426 | box-shadow:1px 1px 1px rgba(0, 0, 0, 0.1) |
| 427 | } |
| 428 | .cb-switcher.checked { |
| 429 | background-color:#00a0d2 |
| 430 | } |
| 431 | .cb-switcher.checked .cb-state, .cb-switcher.checked:before { |
| 432 | left:60px; |
| 433 | color:#00a0d2 |
| 434 | } |
| 435 | .cb-switcher.checked:before { |
| 436 | background-color:#fff; |
| 437 | -moz-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1); |
| 438 | -webkit-box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1); |
| 439 | box-shadow:-1px 1px 1px rgba(0, 0, 0, 0.1) |
| 440 | } |
| 441 | .cb-switcher.checked .inner-switcher:before { |
| 442 | border-top-color:#0073aa |
| 443 | } |
| 444 | .cb-switcher.checked .inner-switcher:after { |
| 445 | border-bottom-color:#0073aa |
| 446 | } |
| 447 | .cb-switcher .inner-switcher:before, .cb-switcher .inner-switcher:after { |
| 448 | content:""; |
| 449 | position:absolute; |
| 450 | left:50%; |
| 451 | width:0; |
| 452 | height:0; |
| 453 | z-index:2; |
| 454 | margin-left:-20px; |
| 455 | border-left:20px solid transparent; |
| 456 | border-right:20px solid transparent; |
| 457 | -moz-transition:border 0.4s ease; |
| 458 | -o-transition:border 0.4s ease; |
| 459 | -webkit-transition:border 0.4s ease; |
| 460 | transition:border 0.4s ease |
| 461 | } |
| 462 | .cb-switcher .inner-switcher:before { |
| 463 | border-top:17px solid #fff; |
| 464 | top:0 |
| 465 | } |
| 466 | .cb-switcher .inner-switcher:after { |
| 467 | border-bottom:17px solid #fff; |
| 468 | bottom:0 |
| 469 | } |
| 470 | .cb-state { |
| 471 | color:#ccc; |
| 472 | display:inline-block |
| 473 | } |
| 474 | .cb-switcher-group .cb-state { |
| 475 | position:relative; |
| 476 | top:7px |
| 477 | } |
| 478 | .is-hidden { |
| 479 | display:none !important; |
| 480 | visibility:hidden !important |
| 481 | } |
| 482 | output { |
| 483 | display: block; |
| 484 | font-size: 30px; |
| 485 | font-weight: bold; |
| 486 | text-align: center; |
| 487 | margin: 30px 0; |
| 488 | width: 100%; |
| 489 | } |