sabox-admin-style.css
512 lines
| 1 | /* ADMIN PLUGIN STYLE |
| 2 | -------------------------------------------------------------- */ |
| 3 | .wrap .saboxplugin { |
| 4 | max-width: 960px; |
| 5 | } |
| 6 | |
| 7 | .wrap .saboxplugin p.description { |
| 8 | margin: 20px 0px 5px; |
| 9 | } |
| 10 | |
| 11 | .wrap .saboxplugin ::-moz-selection { |
| 12 | background: #80828F; |
| 13 | color: #fff; |
| 14 | } |
| 15 | |
| 16 | .wrap .saboxplugin ::selection { |
| 17 | background: #80828F; |
| 18 | color: #fff; |
| 19 | } |
| 20 | |
| 21 | .wrap .saboxplugin #saboxplugin-hide { |
| 22 | border-top: 1px dashed #E1E1E1; |
| 23 | margin: 1.5em 0; |
| 24 | display: none; |
| 25 | } |
| 26 | |
| 27 | .wrap .saboxplugin .saboxplugin-border { |
| 28 | border-bottom: 1px dashed #E1E1E1; |
| 29 | margin: 2em 0; |
| 30 | } |
| 31 | |
| 32 | /* UI SLIDE OVERWRITE |
| 33 | -------------------------------------------------------------- */ |
| 34 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount, |
| 35 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount2, |
| 36 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount3, |
| 37 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount4, |
| 38 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount5, |
| 39 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount6 { |
| 40 | background-color: transparent; |
| 41 | border: medium none; |
| 42 | -webkit-box-shadow: none; |
| 43 | -moz-box-shadow: none; |
| 44 | box-shadow: none; |
| 45 | font-size: 24px; |
| 46 | color: #666666; |
| 47 | } |
| 48 | |
| 49 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider, |
| 50 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider2, |
| 51 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider3, |
| 52 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider4, |
| 53 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider5, |
| 54 | .wrap .saboxplugin .sabox-inline-slide .sabox-slider6 { |
| 55 | width: 40%; |
| 56 | margin: 20px 0; |
| 57 | } |
| 58 | |
| 59 | .wrap .saboxplugin .sabox-inline-slide .ui-state-default, |
| 60 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content .ui-state-default, |
| 61 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-header .ui-state-default { |
| 62 | border: 1px solid #73C77B; |
| 63 | background-color: #8CE196; |
| 64 | font-weight: 400; |
| 65 | color: #555; |
| 66 | outline: 0 none; |
| 67 | cursor: pointer; |
| 68 | } |
| 69 | |
| 70 | .wrap .saboxplugin .sabox-inline-slide .ui-state-default:before, |
| 71 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content .ui-state-default:before, |
| 72 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-header .ui-state-default:before { |
| 73 | content: "\2630"; |
| 74 | display: inline-block; |
| 75 | -webkit-font-smoothing: antialiased; |
| 76 | color: #fff; |
| 77 | font-weight: 700; |
| 78 | text-shadow: 0 1px #73C77B; |
| 79 | line-height: 1.8; |
| 80 | } |
| 81 | |
| 82 | .wrap .saboxplugin .sabox-inline-slide .ui-state-default a, |
| 83 | .wrap .saboxplugin .sabox-inline-slide .ui-state-default a:link, |
| 84 | .wrap .saboxplugin .sabox-inline-slide .ui-state-default a:visited { |
| 85 | color: #fff; |
| 86 | text-decoration: none; |
| 87 | } |
| 88 | |
| 89 | .wrap .saboxplugin .sabox-inline-slide .ui-state-focus, |
| 90 | .wrap .saboxplugin .sabox-inline-slide .ui-state-hover, |
| 91 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content .ui-state-focus, |
| 92 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content .ui-state-hover, |
| 93 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-header .ui-state-focus, |
| 94 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-header .ui-state-hover { |
| 95 | background: #9BEBA3; |
| 96 | } |
| 97 | |
| 98 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-all, |
| 99 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-top, |
| 100 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-left, |
| 101 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-tl { |
| 102 | border-top-left-radius: 0; |
| 103 | } |
| 104 | |
| 105 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-all, |
| 106 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-top, |
| 107 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-right, |
| 108 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-tr { |
| 109 | border-top-right-radius: 0; |
| 110 | } |
| 111 | |
| 112 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-bottom, |
| 113 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-left, |
| 114 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-bl { |
| 115 | border-bottom-left-radius: 0; |
| 116 | } |
| 117 | |
| 118 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-all, |
| 119 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-bottom, |
| 120 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-right, |
| 121 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-br { |
| 122 | border-bottom-right-radius: 0; |
| 123 | } |
| 124 | |
| 125 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-all, |
| 126 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-bottom, |
| 127 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-left, |
| 128 | .wrap .saboxplugin .sabox-inline-slide .ui-corner-bl { |
| 129 | border-bottom-left-radius: 0; |
| 130 | } |
| 131 | |
| 132 | .wrap .saboxplugin .sabox-inline-slide .ui-slider-horizontal { |
| 133 | height: 1.3em; |
| 134 | } |
| 135 | |
| 136 | .wrap .saboxplugin .sabox-inline-slide .ui-slider .ui-slider-handle { |
| 137 | width: 1.8em; |
| 138 | height: 1.8em; |
| 139 | cursor: pointer; |
| 140 | text-align: center; |
| 141 | } |
| 142 | |
| 143 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content { |
| 144 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); |
| 145 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); |
| 146 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); |
| 147 | border: 1px solid #B2BFCA; |
| 148 | background: #F1F2F7; |
| 149 | color: #222 |
| 150 | } |
| 151 | |
| 152 | /* COLOR PICKER OVERWRITE |
| 153 | -------------------------------------------------------------- */ |
| 154 | .wrap .saboxplugin .wp-color-result:after, .wp-color-result { |
| 155 | border-radius: 0; |
| 156 | -webkit-box-shadow: none !important; |
| 157 | -moz-box-shadow: none !important; |
| 158 | box-shadow: none !important; |
| 159 | outline: 0; |
| 160 | } |
| 161 | |
| 162 | .wrap .saboxplugin .wp-color-result:after { |
| 163 | font-size: 12px; |
| 164 | border-left: 1px solid #D3D6DB; |
| 165 | line-height: 42px; |
| 166 | padding: 0px 7.5px; |
| 167 | } |
| 168 | |
| 169 | .wrap .saboxplugin .wp-color-result { |
| 170 | border: 1px solid #D3D6DB; |
| 171 | height: 42px; |
| 172 | padding-left: 40px; |
| 173 | outline: 0 none; |
| 174 | background-color: #D3D6DB; |
| 175 | } |
| 176 | |
| 177 | .wrap .saboxplugin .wp-color-result:hover:after { |
| 178 | border-color: #AFAEAE; |
| 179 | border-left: 1px solid #D3D6DB; |
| 180 | } |
| 181 | |
| 182 | .wrap .saboxplugin .wp-picker-container .button { |
| 183 | color: #FFF; |
| 184 | background-color: #80828F; |
| 185 | border: medium none; |
| 186 | height: 44px; |
| 187 | -webkit-box-shadow: none; |
| 188 | -moz-box-shadow: none; |
| 189 | box-shadow: none; |
| 190 | border-radius: 0; |
| 191 | padding: 0 15px 1px; |
| 192 | } |
| 193 | |
| 194 | .wrap .saboxplugin .wp-picker-container input.wp-color-picker[type="text"] { |
| 195 | height: 44px; |
| 196 | } |
| 197 | |
| 198 | .wrap .saboxplugin .saboxplugin-icon:before { |
| 199 | content: "\f336"; |
| 200 | display: inline-block; |
| 201 | -webkit-font-smoothing: antialiased; |
| 202 | font: 50px/0.6 "dashicons"; |
| 203 | vertical-align: middle; |
| 204 | color: #FA5148; |
| 205 | padding-right: 5px; |
| 206 | } |
| 207 | |
| 208 | .wrap .saboxplugin textarea[name=saboxplugin] { |
| 209 | resize: none; |
| 210 | border: medium none; |
| 211 | background-color: #FFF; |
| 212 | -webkit-box-shadow: none; |
| 213 | -moz-box-shadow: none; |
| 214 | box-shadow: none; |
| 215 | color: #777; |
| 216 | padding: 0px; |
| 217 | font-size: 13px; |
| 218 | line-height: 1.4; |
| 219 | overflow: hidden; |
| 220 | width: 99%; |
| 221 | } |
| 222 | |
| 223 | .wrap .saboxplugin .saboxplugin-question { |
| 224 | display: inline-block; |
| 225 | vertical-align: middle; |
| 226 | padding: 10px 0; |
| 227 | margin-right: 40px; |
| 228 | color: #666666; |
| 229 | width: 100%; |
| 230 | max-width: 700px; |
| 231 | min-width: 247px; |
| 232 | line-height: 1.6; |
| 233 | font-size: 18px; |
| 234 | } |
| 235 | |
| 236 | .wrap .saboxplugin .saboxplugin-switch { |
| 237 | display: inline-block; |
| 238 | vertical-align: top; |
| 239 | padding: 10px 0; |
| 240 | } |
| 241 | |
| 242 | .wrap .saboxplugin .sab-toggle { |
| 243 | position: absolute; |
| 244 | margin-left: -9999px; |
| 245 | visibility: hidden; |
| 246 | } |
| 247 | |
| 248 | .wrap .saboxplugin .sab-toggle + label { |
| 249 | display: block; |
| 250 | position: relative; |
| 251 | cursor: pointer; |
| 252 | outline: none; |
| 253 | user-select: none; |
| 254 | } |
| 255 | |
| 256 | .wrap .saboxplugin input.sab-toggle-yes-no + label { |
| 257 | padding: 2px; |
| 258 | width: 120px; |
| 259 | height: 40px; |
| 260 | } |
| 261 | |
| 262 | .wrap .saboxplugin input.sab-toggle-yes-no + label:before, |
| 263 | .wrap .saboxplugin input.sab-toggle-yes-no + label:after { |
| 264 | display: block; |
| 265 | position: absolute; |
| 266 | top: 0; |
| 267 | left: 0; |
| 268 | bottom: 0; |
| 269 | right: 0; |
| 270 | color: #fff; |
| 271 | font-family: "Open Sans", serif; |
| 272 | font-size: 20px; |
| 273 | text-align: center; |
| 274 | line-height: 42px; |
| 275 | } |
| 276 | |
| 277 | .wrap .saboxplugin input.sab-toggle-yes-no + label:before { |
| 278 | background-color: #D3D6DB; |
| 279 | content: attr(data-off); |
| 280 | transition: transform 0.5s; |
| 281 | backface-visibility: hidden; |
| 282 | -webkit-backface-visibility: hidden; |
| 283 | } |
| 284 | |
| 285 | .wrap .saboxplugin input.sab-toggle-yes-no + label:after { |
| 286 | background-color: #8CE196; |
| 287 | content: attr(data-on); |
| 288 | transition: transform 0.5s; |
| 289 | transform: rotateY(180deg); |
| 290 | backface-visibility: hidden; |
| 291 | -webkit-backface-visibility: hidden; |
| 292 | } |
| 293 | |
| 294 | .wrap .saboxplugin input.sab-toggle-yes-no:checked + label:before { |
| 295 | transform: rotateY(180deg); |
| 296 | } |
| 297 | |
| 298 | .wrap .saboxplugin input.sab-toggle-yes-no:checked + label:after { |
| 299 | transform: rotateY(0); |
| 300 | } |
| 301 | |
| 302 | .wrap .saboxplugin .sab-title-div { |
| 303 | height: 50px; |
| 304 | clear: both; |
| 305 | } |
| 306 | |
| 307 | .wrap .saboxplugin .sab-title-div .sab-title { |
| 308 | font-size: 18px; |
| 309 | line-height: 26px; |
| 310 | padding-top: 16px; |
| 311 | padding-right: 15px; |
| 312 | display: block; |
| 313 | float: left; |
| 314 | } |
| 315 | |
| 316 | .wrap .saboxplugin .sab-box { |
| 317 | background: #fff; |
| 318 | border: 1px solid #E5E5E5; |
| 319 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
| 320 | padding: 15px; |
| 321 | margin-top: 40px; |
| 322 | position: relative; |
| 323 | overflow: hidden; |
| 324 | } |
| 325 | |
| 326 | .wrap .saboxplugin .sab-box p { |
| 327 | margin: 5px 0 5px 70px; |
| 328 | color: #777; |
| 329 | } |
| 330 | |
| 331 | .wrap .saboxplugin .sab-box-legend, .wrap .saboxplugin .sab-box-version { |
| 332 | position: absolute; |
| 333 | left: 0; |
| 334 | top: 0; |
| 335 | height: 100%; |
| 336 | } |
| 337 | |
| 338 | .wrap .saboxplugin .sab-box-version { |
| 339 | background: none repeat scroll 0% 0% #80828F; |
| 340 | padding: 10px 15px; |
| 341 | } |
| 342 | |
| 343 | .wrap .saboxplugin .sab-icon-help, .wrap .saboxplugin .sab-icon-version { |
| 344 | color: #FFF; |
| 345 | font-size: 25px; |
| 346 | } |
| 347 | |
| 348 | .wrap .saboxplugin .sab-infos { |
| 349 | display: block; |
| 350 | margin: 0 auto; |
| 351 | padding-left: 70px; |
| 352 | font-weight: 700; |
| 353 | color: #777; |
| 354 | } |
| 355 | |
| 356 | .wrap .saboxplugin .sab-infos span { |
| 357 | color: #777; |
| 358 | font-weight: 400; |
| 359 | } |
| 360 | |
| 361 | .wrap .saboxplugin .sab-infos-title { |
| 362 | font-weight: 700; |
| 363 | color: #777; |
| 364 | } |
| 365 | |
| 366 | .wrap .saboxplugin .sab-icon-version:before { |
| 367 | content: "\f348"; |
| 368 | display: inline-block; |
| 369 | -webkit-font-smoothing: antialiased; |
| 370 | font: normal 30px/1.5 'dashicons'; |
| 371 | vertical-align: top; |
| 372 | } |
| 373 | |
| 374 | .clearfix:after, |
| 375 | .clearfix:before { |
| 376 | content: ' '; |
| 377 | display: table; |
| 378 | line-height: 0; |
| 379 | clear: both; |
| 380 | } |
| 381 | |
| 382 | .ie7 .clearfix { |
| 383 | zoom: 1; |
| 384 | } |
| 385 | |
| 386 | /* MEDIA QUERIES |
| 387 | -------------------------------------------------------------- */ |
| 388 | @media (min-width: 900px) and (max-width: 1199px) { |
| 389 | |
| 390 | .wrap .saboxplugin .saboxplugin-question { |
| 391 | max-width: 480px; |
| 392 | font-size: 20px; |
| 393 | } |
| 394 | |
| 395 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount, |
| 396 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount2, |
| 397 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount3, |
| 398 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount4 { |
| 399 | font-size: 20px; |
| 400 | } |
| 401 | |
| 402 | .wrap .saboxplugin .postbox .inside { |
| 403 | padding: 0px 20px 12px; |
| 404 | } |
| 405 | |
| 406 | .wrap .saboxplugin .meta-box-sortables .postbox .handlediv:before { |
| 407 | right: 40px; |
| 408 | } |
| 409 | |
| 410 | } |
| 411 | |
| 412 | @media screen and (max-width: 899px) { |
| 413 | |
| 414 | .wrap .saboxplugin .saboxplugin-question { |
| 415 | max-width: 390px; |
| 416 | font-size: 18px; |
| 417 | line-height: 2; |
| 418 | } |
| 419 | |
| 420 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount, |
| 421 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount2, |
| 422 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount3, |
| 423 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount4 { |
| 424 | font-size: 18px; |
| 425 | } |
| 426 | |
| 427 | .wrap .saboxplugin .saboxplugin-question { |
| 428 | max-width: 1000px; |
| 429 | text-align: left; |
| 430 | min-width: 100px; |
| 431 | } |
| 432 | |
| 433 | .wrap .saboxplugin .saboxplugin-switch { |
| 434 | display: block; |
| 435 | } |
| 436 | |
| 437 | .wrap .saboxplugin input.sab-toggle-yes-no + label { |
| 438 | width: auto; |
| 439 | } |
| 440 | |
| 441 | .wrap .saboxplugin textarea[name="saboxplugin"] { |
| 442 | width: 100%; |
| 443 | height: 60px; |
| 444 | text-align: center; |
| 445 | } |
| 446 | |
| 447 | .wrap .saboxplugin p.description { |
| 448 | text-align: center; |
| 449 | } |
| 450 | |
| 451 | .wrap .saboxplugin .postbox .inside { |
| 452 | padding: 0px 20px 12px; |
| 453 | } |
| 454 | |
| 455 | .wrap .saboxplugin .sabox-inline-slide .ui-widget-content { |
| 456 | width: 100%; |
| 457 | } |
| 458 | |
| 459 | } |
| 460 | |
| 461 | @media screen and (max-width: 783px) { |
| 462 | |
| 463 | .wrap .saboxplugin .saboxplugin-icon:before { |
| 464 | font: 40px/0.8 "dashicons"; |
| 465 | } |
| 466 | |
| 467 | .wp-core-ui .button { |
| 468 | padding: 0 14px; |
| 469 | } |
| 470 | |
| 471 | .wrap .saboxplugin #poststuff .inside { |
| 472 | margin: 0; |
| 473 | } |
| 474 | |
| 475 | .wrap .saboxplugin .meta-box-sortables .postbox .handlediv:before { |
| 476 | right: 12px; |
| 477 | font: 400 20px/1.2 'dashicons'; |
| 478 | padding: 8px 10px; |
| 479 | } |
| 480 | |
| 481 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount, |
| 482 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount2, |
| 483 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount3, |
| 484 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount4 { |
| 485 | vertical-align: baseline; |
| 486 | } |
| 487 | |
| 488 | } |
| 489 | |
| 490 | @media screen and (max-width: 600px) { |
| 491 | |
| 492 | .wrap .saboxplugin .saboxplugin-question { |
| 493 | text-align: center; |
| 494 | line-height: 1.2; |
| 495 | } |
| 496 | |
| 497 | .wrap .saboxplugin .saboxplugin-switch { |
| 498 | text-align: center; |
| 499 | } |
| 500 | |
| 501 | .wrap .saboxplugin .saboxplugin-border { |
| 502 | margin: 0; |
| 503 | } |
| 504 | |
| 505 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount, |
| 506 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount2, |
| 507 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount3, |
| 508 | .wrap .saboxplugin .sabox-inline-slide .sabox-amount4 { |
| 509 | text-align: center; |
| 510 | } |
| 511 | |
| 512 | } |