admin.css
831 lines
| 1 | /** |
| 2 | * Strong Testimonials admin stylesheet |
| 3 | */ |
| 4 | .icon-blue { |
| 5 | color: #0073aa; } |
| 6 | |
| 7 | .error { |
| 8 | color: red !important; } |
| 9 | |
| 10 | .required-phrase { |
| 11 | color: red; |
| 12 | font-style: normal; |
| 13 | font-weight: 400; |
| 14 | font-size: 0.9em; } |
| 15 | |
| 16 | .required-phrase:before, |
| 17 | label.required:after { |
| 18 | content: '*'; |
| 19 | display: inline-block; |
| 20 | color: red; |
| 21 | font-size: 27px; |
| 22 | line-height: 19px; |
| 23 | height: 19px; |
| 24 | font-weight: 600; |
| 25 | vertical-align: middle; |
| 26 | position: relative; |
| 27 | top: 1px; } |
| 28 | |
| 29 | .has-input { |
| 30 | display: inline-block; } |
| 31 | |
| 32 | .error-message { |
| 33 | display: inline-block; |
| 34 | margin-left: 0.5em; } |
| 35 | |
| 36 | button.nogo { |
| 37 | margin: 0 3px; } |
| 38 | |
| 39 | li.warning { |
| 40 | background: lightyellow; } |
| 41 | |
| 42 | .between-inputs { |
| 43 | margin-left: 0.3em; |
| 44 | margin-right: 0.3em; } |
| 45 | |
| 46 | .intro p { |
| 47 | font-size: 14px; } |
| 48 | |
| 49 | .wrap.wpmtst h2 { |
| 50 | margin: 2em 0 1em; } |
| 51 | |
| 52 | .wrap.wpmtst p { |
| 53 | font-size: 14px; } |
| 54 | |
| 55 | .wrap.wpmtst .notice p { |
| 56 | font-size: 13px; } |
| 57 | |
| 58 | .wpmtst .list-wrap { |
| 59 | padding: .5em; } |
| 60 | |
| 61 | .wp-core-ui .button-primary.active, |
| 62 | .wp-core-ui .button-primary.active:hover, |
| 63 | .wp-core-ui .button-primary.active:focus, |
| 64 | .wp-core-ui .button-primary:active { |
| 65 | vertical-align: baseline; } |
| 66 | |
| 67 | /* Firefox fix */ |
| 68 | a.widget-action:focus { |
| 69 | outline: none; } |
| 70 | |
| 71 | /* Slug field */ |
| 72 | input#post_name { |
| 73 | width: 98%; } |
| 74 | |
| 75 | fieldset > div { |
| 76 | min-height: 30px; } |
| 77 | |
| 78 | /* Help sections |
| 79 | ---------------------------------------------------------*/ |
| 80 | div.help { |
| 81 | margin-left: 0; } |
| 82 | |
| 83 | div.help.minor { |
| 84 | font-size: 0.9em; |
| 85 | text-align: left; } |
| 86 | |
| 87 | /* Settings table |
| 88 | ---------------------------------------------------------*/ |
| 89 | .wpmtst i.fa.example { |
| 90 | color: #0073aa; } |
| 91 | |
| 92 | .stackem ul { |
| 93 | margin: 14px 0 0 0; } |
| 94 | |
| 95 | .stackem li { |
| 96 | margin-top: 16px; |
| 97 | margin-bottom: 16px; } |
| 98 | |
| 99 | .stackem label { |
| 100 | display: inline-block; |
| 101 | line-height: 28px; |
| 102 | margin-right: 0.5em; |
| 103 | vertical-align: baseline; } |
| 104 | |
| 105 | .stackem label.inline { |
| 106 | display: inline-block; } |
| 107 | |
| 108 | .stackem p.description { |
| 109 | margin-top: 0; |
| 110 | margin-left: 22px; } |
| 111 | |
| 112 | .stackem p.description.warning { |
| 113 | color: #CD0000; } |
| 114 | |
| 115 | .stackem .notice { |
| 116 | background: none; |
| 117 | border: none; |
| 118 | box-shadow: none; |
| 119 | display: inline-block; |
| 120 | font-size: .9em; |
| 121 | font-style: italic; |
| 122 | margin: 0 .2em; |
| 123 | padding: 0; |
| 124 | color: #868686; } |
| 125 | |
| 126 | .stackem span.link { |
| 127 | display: inline-block; |
| 128 | margin: 0 .3em; |
| 129 | font-size: .9em; |
| 130 | line-height: 28px; } |
| 131 | |
| 132 | .stackem label.disabled { |
| 133 | color: #888; } |
| 134 | |
| 135 | div.radio { |
| 136 | line-height: 1.5em; } |
| 137 | |
| 138 | div.radio:hover { |
| 139 | color: #000; } |
| 140 | |
| 141 | #screenshot-screen-options, |
| 142 | #help-section { |
| 143 | display: none; } |
| 144 | |
| 145 | .screenshot > div { |
| 146 | display: inline-block; |
| 147 | box-shadow: inset 0px 0px 40px rgba(0, 0, 0, 0.8); } |
| 148 | |
| 149 | .help-text { |
| 150 | padding: 0.5em 0; } |
| 151 | |
| 152 | /* form table */ |
| 153 | .wpmtst .form-table { |
| 154 | vertical-align: middle; } |
| 155 | |
| 156 | .wpmtst .form-table .actions { |
| 157 | /*vertical-align: top;*/ } |
| 158 | |
| 159 | .wpmtst .form-table td { |
| 160 | padding-top: 15px; |
| 161 | /* override PopupMaker's override */ } |
| 162 | |
| 163 | .wpmtst .form-table td:nth-child(1) { |
| 164 | width: 200px; } |
| 165 | |
| 166 | .wpmtst .form-table .parent { |
| 167 | border-bottom: 0; |
| 168 | vertical-align: top; } |
| 169 | |
| 170 | .wpmtst .form-table .child { |
| 171 | border-top: 0; } |
| 172 | |
| 173 | .wpmtst .form-table p { |
| 174 | /*margin-bottom: 1em;*/ } |
| 175 | |
| 176 | .wpmtst .form-table td p:last-child { |
| 177 | margin-bottom: 0; } |
| 178 | |
| 179 | .wpmtst .form-table input, |
| 180 | .wpmtst .form-table select, |
| 181 | .wpmtst .form-table textarea { |
| 182 | /*line-height: 1.5em;*/ } |
| 183 | |
| 184 | .wpmtst .form-table input[type="button"] { |
| 185 | line-height: 26px; |
| 186 | height: 28px; } |
| 187 | |
| 188 | .wpmtst select { |
| 189 | min-width: 120px; } |
| 190 | |
| 191 | .wpmtst option { |
| 192 | padding-left: 5px; } |
| 193 | |
| 194 | .wpmtst .form-table div.box { |
| 195 | border: 1px solid #DDD; |
| 196 | display: inline-block; |
| 197 | padding: 10px; } |
| 198 | |
| 199 | .wpmtst .form-table .row { |
| 200 | line-height: 2.5em; } |
| 201 | |
| 202 | .wpmtst .form-table .alpha { |
| 203 | width: 120px; } |
| 204 | |
| 205 | .wpmtst .form-table .alpha.alpha-110 { |
| 206 | width: 110px; } |
| 207 | |
| 208 | .wpmtst .form-table .alpha + div { |
| 209 | display: inline-block; } |
| 210 | |
| 211 | .wpmtst label.success-action { |
| 212 | display: inline-block; |
| 213 | width: 11em; |
| 214 | padding: 10px 0; } |
| 215 | |
| 216 | /* compact */ |
| 217 | .wpmtst .form-table.compact th { |
| 218 | vertical-align: top; } |
| 219 | |
| 220 | .wpmtst .form-table.compact td { |
| 221 | vertical-align: middle; } |
| 222 | |
| 223 | /*.wpmtst .form-table.compact td:nth-child(3) {*/ |
| 224 | .wpmtst .form-table.compact td.actions { |
| 225 | width: 100px; |
| 226 | vertical-align: bottom; } |
| 227 | |
| 228 | /*.wpmtst .form-table.compact td:nth-child(3) input.button {*/ |
| 229 | .wpmtst .form-table.compact td.actions input.button { |
| 230 | margin-right: 0; |
| 231 | margin-bottom: 3px; } |
| 232 | |
| 233 | .wpmtst .form-table.compact input[type="text"] { |
| 234 | width: 100%; } |
| 235 | |
| 236 | .wpmtst .form-table.compact input.error { |
| 237 | border-color: red; |
| 238 | border-radius: 2px; |
| 239 | box-shadow: none; } |
| 240 | |
| 241 | .wpmtst .form-table.compact label.error { |
| 242 | color: red; |
| 243 | display: block; } |
| 244 | |
| 245 | /* end: form-table */ |
| 246 | .code { |
| 247 | background: #FFF; } |
| 248 | |
| 249 | .code.wide { |
| 250 | padding: 2px 5px; |
| 251 | margin: 3px; |
| 252 | border-radius: 2px; } |
| 253 | |
| 254 | .submit-buttons input.button { |
| 255 | margin-right: 10px; } |
| 256 | |
| 257 | .custom-input { |
| 258 | line-height: 1.3em; } |
| 259 | |
| 260 | .indent { |
| 261 | margin-left: 2em; } |
| 262 | |
| 263 | .outdent { |
| 264 | margin-left: -2em; } |
| 265 | |
| 266 | .hilite { |
| 267 | background: lightyellow; |
| 268 | border-radius: 4px; |
| 269 | display: inline-block; |
| 270 | padding: .25em .75em; |
| 271 | box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); } |
| 272 | |
| 273 | p.description.hilite { |
| 274 | margin-bottom: 2em; } |
| 275 | |
| 276 | ul.compact { |
| 277 | margin: 0; } |
| 278 | |
| 279 | ul.compact li { |
| 280 | display: inline-block; |
| 281 | margin: 6px 30px 6px 0; } |
| 282 | |
| 283 | /* Add-on license table |
| 284 | ------------------------------------------------*/ |
| 285 | #licenses-form .form-table { |
| 286 | width: auto; |
| 287 | max-width: 1024px; } |
| 288 | |
| 289 | #licenses-form .form-table label { |
| 290 | /* to match text inputs */ |
| 291 | line-height: 27px; } |
| 292 | |
| 293 | #licenses-form .form-table th, |
| 294 | #licenses-form .form-table td { |
| 295 | vertical-align: top; } |
| 296 | |
| 297 | #licenses-form th.for-license-key, |
| 298 | #licenses-form th.for-license-status { |
| 299 | width: 350px; } |
| 300 | |
| 301 | #licenses-form .form-table th { |
| 302 | padding: 15px; } |
| 303 | |
| 304 | #licenses-form .form-table td { |
| 305 | white-space: nowrap; |
| 306 | padding: 15px; } |
| 307 | |
| 308 | #licenses-form .form-table th:first-child, |
| 309 | #licenses-form .form-table td:first-child { |
| 310 | padding-left: 0; } |
| 311 | |
| 312 | #licenses-form .form-table input[type="text"] { |
| 313 | font-family: Consolas, Monaco, monospace; |
| 314 | width: 100%; } |
| 315 | |
| 316 | #licenses-form .form-table label { |
| 317 | padding-left: 0; |
| 318 | text-indent: 0; } |
| 319 | |
| 320 | #licenses-form .doing-ajax:before { |
| 321 | display: inline-block; |
| 322 | font: normal 22px/29px dashicons; |
| 323 | content: "\F463"; |
| 324 | text-align: center; |
| 325 | vertical-align: middle; |
| 326 | -webkit-animation-name: rotate; |
| 327 | -webkit-animation-duration: 1.5s; |
| 328 | -webkit-animation-iteration-count: infinite; |
| 329 | -webkit-animation-timing-function: linear; |
| 330 | -moz-animation-name: rotate; |
| 331 | -moz-animation-duration: 1.5s; |
| 332 | -moz-animation-iteration-count: infinite; |
| 333 | -moz-animation-timing-function: linear; |
| 334 | animation-name: rotate; |
| 335 | animation-duration: 1.5s; |
| 336 | animation-iteration-count: infinite; |
| 337 | animation-timing-function: linear; } |
| 338 | |
| 339 | #licenses-form span.license-status { |
| 340 | display: inline-block; |
| 341 | font-size: 0.9em; |
| 342 | line-height: 28px; |
| 343 | height: 27px; |
| 344 | margin: 1px 10px 1px 0; |
| 345 | padding: 0 8px; |
| 346 | text-transform: uppercase; |
| 347 | border-radius: 3px; |
| 348 | vertical-align: middle; } |
| 349 | |
| 350 | #licenses-form span.active { |
| 351 | background: green; |
| 352 | color: #FFF; } |
| 353 | |
| 354 | #licenses-form span.inactive { |
| 355 | background: #999; |
| 356 | color: #FFF; } |
| 357 | |
| 358 | #licenses-form span.ib { |
| 359 | display: inline-block; |
| 360 | vertical-align: middle; } |
| 361 | |
| 362 | .activation-error { |
| 363 | color: red; } |
| 364 | |
| 365 | /* Descriptions |
| 366 | ------------------------------------------------*/ |
| 367 | .form-table th .description, |
| 368 | .form-table td .description { |
| 369 | font-size: 14px; |
| 370 | font-style: italic; |
| 371 | /*text-indent: 24px;*/ } |
| 372 | |
| 373 | .description.inline { |
| 374 | display: inline-block; |
| 375 | margin-left: 1em; } |
| 376 | |
| 377 | .description a { |
| 378 | text-decoration: underline; } |
| 379 | |
| 380 | .description a:hover { |
| 381 | text-decoration: none; } |
| 382 | |
| 383 | .radio .description { |
| 384 | padding-left: 20px; } |
| 385 | |
| 386 | li.checkbox { |
| 387 | margin-bottom: 10px; } |
| 388 | |
| 389 | .checkbox .description { |
| 390 | padding-left: 24px; } |
| 391 | |
| 392 | ul.description { |
| 393 | font-style: italic; |
| 394 | color: #666; |
| 395 | margin-top: 4px; |
| 396 | list-style-type: disc; |
| 397 | margin-left: 21px; |
| 398 | margin-bottom: 0; } |
| 399 | |
| 400 | /* Widget |
| 401 | ------------------------------------------------*/ |
| 402 | .wpmtst-widget-form { |
| 403 | margin-bottom: 1em; } |
| 404 | |
| 405 | .widget-inside p { |
| 406 | margin: .5em 0; } |
| 407 | |
| 408 | input[disabled], |
| 409 | input[readonly] { |
| 410 | color: #999; |
| 411 | background: rgba(0, 0, 0, 0.04); } |
| 412 | |
| 413 | /* Categories admin list |
| 414 | ------------------------------------------------*/ |
| 415 | .widefat th.column-ID { |
| 416 | width: 2.2em; } |
| 417 | |
| 418 | /* Post list table |
| 419 | ------------------------------------------------*/ |
| 420 | td.column-shortcode, |
| 421 | td.column-id { |
| 422 | white-space: nowrap; |
| 423 | font-family: Consolas, Monaco, monospace; } |
| 424 | |
| 425 | th.sortable.column-id a span { |
| 426 | float: right; } |
| 427 | |
| 428 | td.column-id { |
| 429 | text-align: right; } |
| 430 | |
| 431 | /* Star rating in list table |
| 432 | --------------------------------------------------*/ |
| 433 | .column-rating { |
| 434 | width: auto !important; } |
| 435 | |
| 436 | /* Views list table |
| 437 | --------------------------------------------------*/ |
| 438 | .wp-list-table.fixed.wpm-testimonial_page_testimonial-views { |
| 439 | table-layout: auto; } |
| 440 | |
| 441 | .wpmtst2 > h1 { |
| 442 | margin-bottom: 15px; } |
| 443 | |
| 444 | /* WordPress fixes |
| 445 | --------------------------------------------------*/ |
| 446 | /* settings page */ |
| 447 | @media screen and (max-width: 782px) { |
| 448 | .wpm-testimonial_page_testimonial-settings .form-table td input[type="text"] { |
| 449 | display: inline-block; |
| 450 | width: auto; } } |
| 451 | |
| 452 | /* Animation |
| 453 | --------------------------------------------------*/ |
| 454 | |
| 455 | @keyframes rotate { |
| 456 | from { |
| 457 | transform: rotate(0deg); } |
| 458 | to { |
| 459 | transform: rotate(360deg); } } |
| 460 | |
| 461 | /* Admin > Shortcode example table |
| 462 | --------------------------------------------------*/ |
| 463 | .form-table.shortcodes tbody tr:hover { |
| 464 | background: #FFF; } |
| 465 | |
| 466 | .form-table.shortcodes th { |
| 467 | padding-left: 10px; |
| 468 | width: auto; } |
| 469 | |
| 470 | .form-table.shortcodes td { |
| 471 | border: 1px solid #DDD; } |
| 472 | |
| 473 | .form-table.shortcodes td.shortcode { |
| 474 | font-family: Consolas, Monaco, monospace; } |
| 475 | |
| 476 | .form-table.shortcodes td p { |
| 477 | margin: 1em 0; } |
| 478 | |
| 479 | .form-table.shortcodes td p:first-child { |
| 480 | margin-top: 0; } |
| 481 | |
| 482 | .form-table.shortcodes td p:last-child { |
| 483 | margin-bottom: 0; } |
| 484 | |
| 485 | /* special */ |
| 486 | .form-table.shortcodes tr.important { |
| 487 | background: #FFF; } |
| 488 | |
| 489 | .form-table.shortcodes tr.important td { |
| 490 | border: 1px solid #CCC; } |
| 491 | |
| 492 | /* Misc |
| 493 | --------------------------------------------------*/ |
| 494 | .slug-example { |
| 495 | font-weight: bold; |
| 496 | color: #0073aa; } |
| 497 | |
| 498 | .form-table.width-auto { |
| 499 | width: auto; } |
| 500 | |
| 501 | .form-table td p:first-child { |
| 502 | margin-top: 6px; } |
| 503 | |
| 504 | .current-dashicon { |
| 505 | display: inline-block; |
| 506 | background: #0073aa; |
| 507 | color: #FFF; |
| 508 | border-radius: 2px; |
| 509 | text-align: center; |
| 510 | vertical-align: middle; |
| 511 | width: 28px; |
| 512 | height: 28px; |
| 513 | position: relative; |
| 514 | top: -3px; } |
| 515 | |
| 516 | .current-dashicon .dashicons { |
| 517 | vertical-align: middle; |
| 518 | line-height: 1.3; } |
| 519 | |
| 520 | /* |
| 521 | Back these out to have normal "reset" buttons |
| 522 | */ |
| 523 | /* wp-includes/css/buttons.css:109 */ |
| 524 | /* |
| 525 | .wp-core-ui input[type="reset"], |
| 526 | .wp-core-ui input[type="reset"]:hover, |
| 527 | .wp-core-ui input[type="reset"]:active, |
| 528 | .wp-core-ui input[type="reset"]:focus { |
| 529 | background: none; |
| 530 | border: none; |
| 531 | -webkit-box-shadow: none; |
| 532 | box-shadow: none; |
| 533 | padding: 0 2px 1px; |
| 534 | width: auto; |
| 535 | } |
| 536 | */ |
| 537 | .wp-core-ui input[type="reset"], |
| 538 | .wp-core-ui input[type="reset"]:hover, |
| 539 | .wp-core-ui input[type="reset"]:active, |
| 540 | .wp-core-ui input[type="reset"]:focus { |
| 541 | background: #F7F7F7; |
| 542 | border: 1px solid #CCC; |
| 543 | box-shadow: 0 1px 0 #CCC; |
| 544 | padding: 0 10px 1px; |
| 545 | width: auto; } |
| 546 | |
| 547 | /* wp-admin/css/forms.css:102 */ |
| 548 | /* |
| 549 | .wp-core-ui input[type="reset"]:hover, |
| 550 | .wp-core-ui input[type="reset"]:active { |
| 551 | color: #00a0d2; |
| 552 | } |
| 553 | */ |
| 554 | /* Based on section 2.0 in wp-includes/css/buttons.css:125 */ |
| 555 | .wp-core-ui input[type="reset"]:hover, |
| 556 | .wp-core-ui input[type="reset"]:focus { |
| 557 | background: #fafafa; |
| 558 | border-color: #999; |
| 559 | color: #23282d; } |
| 560 | |
| 561 | .wp-core-ui input[type="reset"]:focus { |
| 562 | border-color: #5b9dd9; |
| 563 | box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); } |
| 564 | |
| 565 | .wp-core-ui input[type="reset"]:active { |
| 566 | background: #eee; |
| 567 | border-color: #999; |
| 568 | box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5); |
| 569 | transform: translateY(1px); } |
| 570 | |
| 571 | input.button.restore-default { |
| 572 | font: normal 20px/1 dashicons; |
| 573 | padding: 1px 3px; } |
| 574 | |
| 575 | .wpmtst .subsubsub { |
| 576 | float: none; |
| 577 | margin-left: 16px; } |
| 578 | |
| 579 | .regular-text.half { |
| 580 | width: 12.5em; } |
| 581 | |
| 582 | .regular-text.third { |
| 583 | width: 20em; } |
| 584 | |
| 585 | input.code { |
| 586 | font-size: 13px; |
| 587 | font-family: Consolas, Monaco, monospace; } |
| 588 | |
| 589 | .wrap h2.nav-tab-wrapper { |
| 590 | margin-top: 6px; } |
| 591 | |
| 592 | .tab-header { |
| 593 | padding: 1em 0; } |
| 594 | |
| 595 | .striped > tbody > tr.readonly { |
| 596 | background: lightyellow; } |
| 597 | |
| 598 | ul.standard { |
| 599 | list-style: disc; |
| 600 | padding-left: 1.5em; } |
| 601 | |
| 602 | .form-table p.error { |
| 603 | margin: 0.5em 0; } |
| 604 | |
| 605 | /* shortcodes page */ |
| 606 | .wpmtst.shortcode { |
| 607 | vertical-align: middle; } |
| 608 | |
| 609 | .wpmtst.shortcodes.has-stars table { |
| 610 | margin-bottom: 1em; } |
| 611 | |
| 612 | .wpmtst.shortcodes.has-stars td:nth-child(2) { |
| 613 | width: 70%; |
| 614 | /*white-space: nowrap;*/ } |
| 615 | |
| 616 | .wpmtst.shortcodes td { |
| 617 | padding: 10px; } |
| 618 | |
| 619 | .wpmtst.shortcodes tr.important td { |
| 620 | border: 1px solid #DDD; } |
| 621 | |
| 622 | .wpmtst.shortcodes tr:hover { |
| 623 | background: #FFF; } |
| 624 | |
| 625 | /* inner table */ |
| 626 | .wpmtst.shortcodes td.has-inner { |
| 627 | padding: 0; } |
| 628 | |
| 629 | .wpmtst.shortcodes table.inner { |
| 630 | margin: 0; |
| 631 | vertical-align: middle; |
| 632 | width: 100%; } |
| 633 | |
| 634 | .wpmtst.shortcodes table.inner, |
| 635 | .wpmtst.shortcodes table.inner tr, |
| 636 | .wpmtst.shortcodes table.inner td { |
| 637 | border: 0; } |
| 638 | |
| 639 | .wpmtst.shortcodes table.inner tr:first-child td { |
| 640 | border-bottom: 1px solid #DDD; } |
| 641 | |
| 642 | .wp-list-table .type-wpm-testimonial .row-actions span.id span { |
| 643 | color: #777; } |
| 644 | |
| 645 | .wpm-testimonial_page_about-strong-testimonials .wpmst-mascot { |
| 646 | width: 160px; |
| 647 | margin-left: 1rem; |
| 648 | float: right; } |
| 649 | |
| 650 | /* notices */ |
| 651 | .wpmtst-notice-wrap { |
| 652 | border: none; |
| 653 | padding: 0; |
| 654 | box-shadow: none; |
| 655 | background: transparent; |
| 656 | } |
| 657 | |
| 658 | .wpmtst-notice { |
| 659 | padding: 2rem; |
| 660 | } |
| 661 | |
| 662 | .wpmtst-notice--feedback { |
| 663 | background: #fff; |
| 664 | border-radius: 10px; |
| 665 | border: 3px solid transparent; |
| 666 | box-shadow: -3px 2px 70px 0px rgba(128, 144, 174, 0.16); |
| 667 | padding-right: 140px !important; |
| 668 | box-sizing: border-box; |
| 669 | position: relative; |
| 670 | overflow: hidden; |
| 671 | margin-bottom: 20px; |
| 672 | } |
| 673 | |
| 674 | .wpmtst-notice--feedback p { |
| 675 | color: #888; |
| 676 | } |
| 677 | |
| 678 | .wpmtst-notice--feedback__bg { |
| 679 | background: url(../img/notice-bg-1.png) no-repeat 50% 50%; |
| 680 | width: 400px; |
| 681 | height: 400px; |
| 682 | position: absolute; |
| 683 | right: -225px; |
| 684 | top: -100px; |
| 685 | background-size: 100%; |
| 686 | } |
| 687 | |
| 688 | .wpmtst-notice--upsell { |
| 689 | background: #fbc556; |
| 690 | border-radius: 10px; |
| 691 | border: 3px solid transparent; |
| 692 | box-shadow: none; |
| 693 | padding-right: 140px !important; |
| 694 | box-sizing: border-box; |
| 695 | position: relative; |
| 696 | overflow: hidden; |
| 697 | margin-bottom: 20px; |
| 698 | } |
| 699 | |
| 700 | .wpm-testimonial_page_about-strong-testimonials .wpmtst-notice--upsell .button { |
| 701 | padding: 0 1.5rem; |
| 702 | height: 2.5rem; |
| 703 | line-height: 2.5rem; |
| 704 | } |
| 705 | |
| 706 | .wpmtst-notice--upsell p { |
| 707 | color: #8d6e30; |
| 708 | } |
| 709 | |
| 710 | .wpmtst-notice--upsell__bg { |
| 711 | background: url(../img/notice-bg-2.png) no-repeat 50% 50%; |
| 712 | width: 380px; |
| 713 | height: 400px; |
| 714 | position: absolute; |
| 715 | right: -260px; |
| 716 | top: -80px; |
| 717 | background-size: 100%; |
| 718 | } |
| 719 | |
| 720 | @media screen and (min-width: 1100px) { |
| 721 | .wpmtst-notice-wrap { |
| 722 | display: flex; |
| 723 | justify-content: space-between; |
| 724 | } |
| 725 | |
| 726 | .edit-php.post-type-wpm-testimonial .wpmtst-notice--feedback, |
| 727 | .wpm-testimonial_page_testimonial-views .wpmtst-notice--feedback { |
| 728 | width: calc(50% - 15px); |
| 729 | } |
| 730 | .edit-php.post-type-wpm-testimonial .wpmtst-notice--upsell, |
| 731 | .wpm-testimonial_page_testimonial-views .wpmtst-notice--upsell { |
| 732 | width: calc(50% - 15px); |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | @media screen and (min-width: 1400px) { |
| 737 | .wpmtst-notice--feedback { |
| 738 | padding-right: 320px !important; |
| 739 | } |
| 740 | .wpmtst-notice--feedback p { |
| 741 | font-size: 14px; |
| 742 | font-weight: 600; |
| 743 | } |
| 744 | .wpmtst-notice--feedback__bg { |
| 745 | right: -60px; |
| 746 | } |
| 747 | .wpmtst-notice--upsell { |
| 748 | padding-right: 320px !important; |
| 749 | } |
| 750 | .wpmtst-notice--upsell p { |
| 751 | font-size: 14px; |
| 752 | font-weight: 600; |
| 753 | } |
| 754 | .wpmtst-notice--upsell__bg { |
| 755 | right: -60px; |
| 756 | } |
| 757 | } |
| 758 | |
| 759 | |
| 760 | /* addons box */ |
| 761 | .wpmtst-addons-container { |
| 762 | display: flex; |
| 763 | justify-content: space-between; |
| 764 | flex-wrap: wrap; |
| 765 | } |
| 766 | |
| 767 | .wpmtst-addon { |
| 768 | width: 100%; |
| 769 | margin-bottom: 1rem; |
| 770 | background-color: #fff; |
| 771 | border: 1px solid #ddd; |
| 772 | box-sizing: border-box; |
| 773 | } |
| 774 | |
| 775 | @media screen and (min-width: 1100px) { |
| 776 | .wpmtst-addons-container { |
| 777 | margin-right: -20px; |
| 778 | } |
| 779 | .wpmtst-addon { |
| 780 | width: calc( 50% - 20px ); |
| 781 | margin-right: 20px; |
| 782 | } |
| 783 | } |
| 784 | |
| 785 | @media screen and (min-width: 1400px) { |
| 786 | .wpmtst-addon { |
| 787 | width: calc( 33% - 20px ); |
| 788 | } |
| 789 | } |
| 790 | |
| 791 | |
| 792 | .wpmtst-addon .wpmtst-addon-box { |
| 793 | display: flex; |
| 794 | padding: 20px 20px 10px; |
| 795 | text-align: left; |
| 796 | } |
| 797 | .wpmtst-addon .wpmtst-addon-box .wpmtst-addon-content { |
| 798 | padding-left: 20px; |
| 799 | } |
| 800 | .wpmtst-addon .wpmtst-addon-box img { |
| 801 | display: block; |
| 802 | max-width: 128px; |
| 803 | max-height: 128px; |
| 804 | } |
| 805 | .wpmtst-addon .wpmtst-addon-box h3 { |
| 806 | margin-top: 0; |
| 807 | text-align: left; |
| 808 | } |
| 809 | .wpmtst-addon .wpmtst-addon-actions { |
| 810 | padding: 12px 20px; |
| 811 | background-color: #fafafa; |
| 812 | border-top: 1px solid #ddd; |
| 813 | overflow: hidden; |
| 814 | text-align: center; |
| 815 | } |
| 816 | |
| 817 | /* alerts */ |
| 818 | .wpmtst-alert { |
| 819 | background: #f4daa4; |
| 820 | border-radius: 5px; |
| 821 | color: #8d6e30; |
| 822 | padding: 1rem 8rem 1rem 1rem; |
| 823 | position: relative; |
| 824 | } |
| 825 | |
| 826 | .wpmtst-alert__upgrade-btn { |
| 827 | position: absolute; |
| 828 | right: 0.5rem; |
| 829 | top: 50%; |
| 830 | transform: translateY(-50%) !important; |
| 831 | } |