addons.scss
9 years ago
blank-slate.scss
8 years ago
buttons.scss
9 years ago
dashboard.scss
10 years ago
donors.scss
8 years ago
fonts.scss
9 years ago
forms.scss
8 years ago
give-admin.scss
8 years ago
grids.scss
8 years ago
importer.scss
8 years ago
logs.scss
10 years ago
payment-history.scss
8 years ago
reports.scss
8 years ago
settings.scss
8 years ago
shortcodes.scss
9 years ago
system-info.scss
8 years ago
updates.scss
8 years ago
util.scss
8 years ago
welcome.scss
9 years ago
settings.scss
648 lines
| 1 | /** |
| 2 | * Give Settings SCSS |
| 3 | * |
| 4 | * @package Give |
| 5 | * @subpackage SCSS/Admin |
| 6 | * @copyright Copyright (c) 2016, WordImpress |
| 7 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 8 | */ |
| 9 | |
| 10 | //-------------------------------------------------------------- |
| 11 | // General Settings |
| 12 | //-------------------------------------------------------------- |
| 13 | |
| 14 | .give-settings-page { |
| 15 | |
| 16 | .give-settings-heading-sep { |
| 17 | font-size: 14px; |
| 18 | line-height: 32px; |
| 19 | width: 15px; |
| 20 | } |
| 21 | |
| 22 | .nav-tab-wrapper { |
| 23 | margin-bottom: 5px; |
| 24 | overflow: visible; |
| 25 | } |
| 26 | |
| 27 | .cmb2-wrap .cmb-type-checkbox input[type="checkbox"]="checkbox""] { |
| 28 | display: block; |
| 29 | margin-bottom: 5px; |
| 30 | } |
| 31 | |
| 32 | div.give-submit-wrap { |
| 33 | margin: 20px 0; |
| 34 | } |
| 35 | |
| 36 | .give_forms_page_give-payment-history .postbox .hndle { |
| 37 | cursor: default; |
| 38 | } |
| 39 | |
| 40 | .give-input-field { |
| 41 | width: 25em; |
| 42 | } |
| 43 | |
| 44 | table table input[type="text"]="text""] { |
| 45 | width: 15em; |
| 46 | } |
| 47 | |
| 48 | .give-repeat-setting-field { |
| 49 | margin: 10px 0; |
| 50 | } |
| 51 | |
| 52 | .give-remove-setting-field { |
| 53 | width: 25px; |
| 54 | height: 25px; |
| 55 | padding: 0; |
| 56 | text-align: center; |
| 57 | line-height: 22px; |
| 58 | font-size: 21px; |
| 59 | font-weight: 300; |
| 60 | cursor: pointer; |
| 61 | margin-left: 20px; |
| 62 | display: inline-block; |
| 63 | } |
| 64 | |
| 65 | .give-remove-setting-field:hover { |
| 66 | background-color: red; |
| 67 | color: white; |
| 68 | border-radius: 30px; |
| 69 | } |
| 70 | |
| 71 | .give-forminp p:first-child .give-remove-setting-field { |
| 72 | display: none; |
| 73 | } |
| 74 | |
| 75 | .export-options-table { |
| 76 | tr.give-import-option:nth-child(odd) { |
| 77 | background: #f4f3f3; |
| 78 | th { |
| 79 | vertical-align: middle; |
| 80 | } |
| 81 | } |
| 82 | .give-import-dropdown:nth-child(2), |
| 83 | tr.give-import-option th:first-child { |
| 84 | width: 250px; |
| 85 | } |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | .give-setting-tab-header { |
| 90 | clear: both; |
| 91 | overflow: hidden; |
| 92 | margin: 30px 0; |
| 93 | |
| 94 | h2 { |
| 95 | margin-top: 8px; |
| 96 | } |
| 97 | |
| 98 | p { |
| 99 | margin-bottom: 0; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | .give-radio-inline { |
| 104 | ul { |
| 105 | margin-top: 0; |
| 106 | } |
| 107 | |
| 108 | li { |
| 109 | display: inline-block; |
| 110 | margin: 0 0 0 15px; |
| 111 | } |
| 112 | |
| 113 | li:first-child { |
| 114 | margin-left: 0; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | // Tools page: fix ajax search user list hide bug |
| 119 | .give-tools-setting-page .bulkactions { |
| 120 | overflow: visible; |
| 121 | } |
| 122 | |
| 123 | //Ugly but necessary to override WP core styles. |
| 124 | .form-table td.give-radio-inline fieldset li > label { |
| 125 | margin: 5px 0 0 !important; |
| 126 | } |
| 127 | |
| 128 | p.give-field-description, |
| 129 | div.give-field-description, |
| 130 | .cmb2-metabox-description { |
| 131 | color: #aaaaaa; |
| 132 | font-style: italic; |
| 133 | font-size: 13px !important; |
| 134 | } |
| 135 | |
| 136 | .cmb-type-give-title label, |
| 137 | .give-setting-tab-header h2 { |
| 138 | float: left; |
| 139 | display: inline-block; |
| 140 | width: 220px; |
| 141 | font-style: italic; |
| 142 | color: #AAA; |
| 143 | margin: 0; |
| 144 | font-size: 14px; |
| 145 | } |
| 146 | |
| 147 | .postbox-container #_give_donation_levels_repeat > .cmb-repeatable-grouping:not(:last-of-type) { |
| 148 | border-bottom: 1px solid #e9e9e9; |
| 149 | border-top: none; |
| 150 | } |
| 151 | |
| 152 | .cmb-type-enabled-gateways .cmb-td > p:first-of-type { |
| 153 | display: none; |
| 154 | } |
| 155 | |
| 156 | // CMB2 Checkbox Revised Styles |
| 157 | .cmb-type-checkbox .cmb-td { |
| 158 | width: 80%; |
| 159 | label { |
| 160 | font-size: 13px; |
| 161 | } |
| 162 | } |
| 163 | |
| 164 | /* Responsive Settings Rows */ |
| 165 | .give_settings { |
| 166 | .cmb2-wrap .cmb-row { |
| 167 | display: table-row; |
| 168 | > .cmb-th, > .cmb-td { |
| 169 | display: table-cell; |
| 170 | float: none; |
| 171 | } |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /* Custom Title Separators */ |
| 176 | .cmb2-id-give-title { |
| 177 | label { |
| 178 | font-style: italic; |
| 179 | color: #AAA; |
| 180 | cursor: default; |
| 181 | } |
| 182 | > div.cmb-th { |
| 183 | padding-bottom: 10px; |
| 184 | } |
| 185 | > div.cmb-td { |
| 186 | padding-bottom: 5px; |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | //-------------------------------------------------------------- |
| 191 | // Payment Gateways |
| 192 | //-------------------------------------------------------------- |
| 193 | .give-payment-gatways-list li.ui-sortable-handle { |
| 194 | |
| 195 | span.give-drag-handle { |
| 196 | padding: 3px 4px 0 0; |
| 197 | font-size: 15px; |
| 198 | font-weight: normal; |
| 199 | color: #bdbdbd; |
| 200 | cursor: move; |
| 201 | |
| 202 | &:hover { |
| 203 | color: #333; |
| 204 | } |
| 205 | |
| 206 | } |
| 207 | |
| 208 | } |
| 209 | |
| 210 | //-------------------------------------------------------------- |
| 211 | // Emails |
| 212 | //-------------------------------------------------------------- |
| 213 | |
| 214 | .give-email-tags-wrap { |
| 215 | margin: 5px 0 0; |
| 216 | code { |
| 217 | font-style: normal; |
| 218 | padding: 1px 2px; |
| 219 | font-size: 12px; |
| 220 | } |
| 221 | span { |
| 222 | display: block; |
| 223 | color: #AAA; |
| 224 | font-style: italic; |
| 225 | margin: 0 0 2px; |
| 226 | font-size: 13px; |
| 227 | } |
| 228 | .give_price_tag { |
| 229 | display: none; |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | .give-settings-email-settings-section { |
| 234 | // Nothing in table nav so hide it. |
| 235 | .tablenav { |
| 236 | display: none; |
| 237 | } |
| 238 | .give-setting-tab-header-emails { |
| 239 | margin: 0 0 20px; |
| 240 | hr { |
| 241 | display: none; |
| 242 | } |
| 243 | } |
| 244 | .tablenav.bottom + .give-setting-tab-header-emails { |
| 245 | margin: 20px 0; |
| 246 | hr { |
| 247 | display: block; |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | } |
| 252 | |
| 253 | // Email notification list. |
| 254 | .giveemailnotifications { |
| 255 | .check-column { |
| 256 | padding: 13px 10px 0 20px !important; |
| 257 | } |
| 258 | |
| 259 | td.check-column input { |
| 260 | //width: 1em; |
| 261 | display: none; |
| 262 | } |
| 263 | |
| 264 | th.check-column { |
| 265 | .give-email-notification-status { |
| 266 | color: white; |
| 267 | cursor: pointer; |
| 268 | |
| 269 | &[data-edit="1"]="1""] i.dashicons { |
| 270 | border-radius: 1em; |
| 271 | padding: 2px; |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | .give-email-notification-enabled .dashicons-yes, |
| 276 | .give-email-notification-disabled:hover .dashicons-no-alt { |
| 277 | background: #46b450; |
| 278 | } |
| 279 | |
| 280 | .give-email-notification-enabled .dashicons-lock { |
| 281 | color: #46b450; |
| 282 | } |
| 283 | |
| 284 | .give-email-notification-disabled .dashicons-no-alt, |
| 285 | .give-email-notification-enabled:hover .dashicons-yes { |
| 286 | background: #bbbbbb; |
| 287 | } |
| 288 | |
| 289 | .give-email-notification-disabled .dashicons-lock { |
| 290 | color: #bbbbbb; |
| 291 | } |
| 292 | |
| 293 | .dashicons-no-alt:hover:before { |
| 294 | content: "\f147" !important; |
| 295 | } |
| 296 | |
| 297 | .dashicons-yes:hover:before { |
| 298 | content: "\f335" !important; |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | .spinner.is-active { |
| 303 | margin: 0 0 0 2px; |
| 304 | float: none; |
| 305 | } |
| 306 | |
| 307 | } |
| 308 | |
| 309 | //-------------------------------------------------------------- |
| 310 | // System Info page styles |
| 311 | //-------------------------------------------------------------- |
| 312 | |
| 313 | #system-info-textarea { |
| 314 | width: 800px; |
| 315 | height: 600px; |
| 316 | font-family: Menlo, Monaco, monospace; |
| 317 | background: #FFF; |
| 318 | white-space: pre; |
| 319 | overflow: auto; |
| 320 | display: block; |
| 321 | /*rtl:ignore*/ |
| 322 | direction: ltr; |
| 323 | } |
| 324 | |
| 325 | #give-download-sysinfo { |
| 326 | margin: 0; |
| 327 | } |
| 328 | |
| 329 | //-------------------------------------------------------------- |
| 330 | // API |
| 331 | //-------------------------------------------------------------- |
| 332 | |
| 333 | #api { |
| 334 | .tablenav .actions { |
| 335 | overflow: visible; |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | a.give-delete { |
| 340 | color: #a00; |
| 341 | } |
| 342 | |
| 343 | //-------------------------------------------------------------- |
| 344 | // License |
| 345 | //-------------------------------------------------------------- |
| 346 | .give-settings-wrap-licenses { |
| 347 | .give-license-deactivate { |
| 348 | margin: 1px 0 0 10px; |
| 349 | height: 30px; |
| 350 | } |
| 351 | |
| 352 | .give-license-field { |
| 353 | background: #FFF url('../images/close.png') no-repeat; |
| 354 | background-position: 98.5% center; |
| 355 | background-size: 18px; |
| 356 | } |
| 357 | |
| 358 | .give-license-active, .give-license-active:focus { |
| 359 | background-image: url('../images/tick.png'); |
| 360 | background-color: #FFF; |
| 361 | background-repeat: no-repeat; |
| 362 | background-position: 98.5% center; |
| 363 | outline: none; |
| 364 | background-size: 16px; |
| 365 | width: 100%; |
| 366 | } |
| 367 | |
| 368 | } |
| 369 | |
| 370 | /* Addon grid design */ |
| 371 | .give-settings-page { |
| 372 | .give-settings-wrap-licenses { |
| 373 | display: block; |
| 374 | position: relative; |
| 375 | float: left; |
| 376 | width: 30.5%; |
| 377 | min-height: 180px; |
| 378 | margin: 20px 1% 20px 0; |
| 379 | } |
| 380 | |
| 381 | .give-license-key { |
| 382 | label { |
| 383 | margin: 0 0 0 10px; |
| 384 | padding: 10px 0; |
| 385 | display: block; |
| 386 | font-size: 14px; |
| 387 | font-weight: 600; |
| 388 | cursor: default; |
| 389 | } |
| 390 | } |
| 391 | |
| 392 | .give-license-block { |
| 393 | margin: 0 10px; |
| 394 | } |
| 395 | |
| 396 | input[type="text"]="text""].give-license-field, |
| 397 | input[type="password"]="password""].give-license-field { |
| 398 | width: 100%; |
| 399 | } |
| 400 | |
| 401 | .give-license-block input[type="submit"]="submit""] { |
| 402 | position: absolute; |
| 403 | top: 3px; |
| 404 | right: 10px; |
| 405 | height: 24px; |
| 406 | line-height: 22px; |
| 407 | padding: 0 8px 1px; |
| 408 | font-size: 11px; |
| 409 | } |
| 410 | |
| 411 | //License status notice. |
| 412 | .give-license-status-notice { |
| 413 | background: #fff; |
| 414 | border-left: 4px solid #fff; |
| 415 | -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
| 416 | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
| 417 | margin: 5px 0 2px; |
| 418 | padding: 1px 12px; |
| 419 | |
| 420 | p { |
| 421 | padding: 10px 0; |
| 422 | margin: 0; |
| 423 | } |
| 424 | |
| 425 | a { |
| 426 | color: #444; |
| 427 | cursor: pointer; |
| 428 | &:hover { |
| 429 | text-decoration: none; |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | } |
| 434 | |
| 435 | .give-license-status-notice.give-license-expires-soon { |
| 436 | border-color: #00a0d2; |
| 437 | } |
| 438 | |
| 439 | //Inactive or Expired. |
| 440 | .give-license-status-notice.give-inactive, |
| 441 | .give-license-status-notice.give-license-expired { |
| 442 | border-color: #e24e4e; |
| 443 | } |
| 444 | |
| 445 | .give-license-status-notice.give-license-error, |
| 446 | .give-license-status-notice.give-license-no_activations_left, |
| 447 | .give-license-status-notice.give-license-missing, |
| 448 | .give-license-status-notice.give-license-invalid, |
| 449 | .give-license-status-notice.give-license-site_inactive, |
| 450 | .give-license-status-notice.give-license-item_name_mismatch { |
| 451 | border-color: orange; |
| 452 | } |
| 453 | |
| 454 | .give-license-status-notice.give-license-lifetime-notice, |
| 455 | .give-license-status-notice.give-license-expiration-date { |
| 456 | border-color: #46b450; |
| 457 | } |
| 458 | |
| 459 | .give-license-status-notice.give-license-expires-soon a:hover, |
| 460 | .give-license-status-notice.give-license-expired a:hover { |
| 461 | text-decoration: none; |
| 462 | } |
| 463 | } |
| 464 | |
| 465 | /* Responsive fixes: Addon grid design */ |
| 466 | @media screen and (max-width: 1100px) { |
| 467 | .give-settings-page .give-settings-wrap-licenses { |
| 468 | width: 45%; |
| 469 | min-height: 150px; |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | @media screen and (max-width: 600px) { |
| 474 | .give-settings-page .give-settings-wrap-licenses { |
| 475 | width: 100%; |
| 476 | max-width: 320px; |
| 477 | } |
| 478 | } |
| 479 | |
| 480 | /* Tables */ |
| 481 | |
| 482 | .give-table { |
| 483 | |
| 484 | thead { |
| 485 | th { |
| 486 | padding: 8px 10px !important; |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | } |
| 491 | |
| 492 | //Fix double <hr>s for change to `give_title` in 1.3.5 |
| 493 | .give_settings .cmb-td hr + hr { |
| 494 | display: none; |
| 495 | } |
| 496 | |
| 497 | //Set a min-height for TinyMCE so it's not too small when hidden in a tab and then revealed |
| 498 | .post-type-give_forms .mce-container iframe, .post-type-give_forms .wp-editor-area { |
| 499 | min-height: 400px; |
| 500 | } |
| 501 | |
| 502 | // Widget Page |
| 503 | .give-field-description { |
| 504 | color: #aaaaaa; |
| 505 | font-style: italic; |
| 506 | margin: 0; |
| 507 | padding-top: .5em; |
| 508 | } |
| 509 | |
| 510 | // Setting page tab |
| 511 | h2.give-nav-tab-wrapper { |
| 512 | overflow: hidden; |
| 513 | height: 35px; |
| 514 | } |
| 515 | |
| 516 | @media screen and (max-width: 600px) { |
| 517 | .give-nav-tab-wrapper { |
| 518 | position: relative; |
| 519 | padding-top: 0 !important; |
| 520 | |
| 521 | > a { |
| 522 | width: 100%; |
| 523 | box-sizing: border-box; |
| 524 | margin: 0; |
| 525 | background-color: #ffffff; |
| 526 | border: 1px solid #cccccc; |
| 527 | &:hover { |
| 528 | border-bottom: 1px solid #ccc; |
| 529 | } |
| 530 | } |
| 531 | |
| 532 | div.give-sub-nav-tab-wrapper { |
| 533 | position: absolute; |
| 534 | top: 0; |
| 535 | right: 0; |
| 536 | |
| 537 | #give-show-sub-nav { |
| 538 | height: 28px; |
| 539 | width: 30px; |
| 540 | border-radius: 0; |
| 541 | margin: 0; |
| 542 | > span.dashicons { |
| 543 | margin: 6px auto 0; |
| 544 | display: block; |
| 545 | } |
| 546 | |
| 547 | } |
| 548 | |
| 549 | nav.give-sub-nav-tab { |
| 550 | top: 35px; |
| 551 | right: 0; |
| 552 | left: auto; |
| 553 | |
| 554 | a { |
| 555 | background: #ffffff; |
| 556 | &:hover { |
| 557 | background: #e5e5e5; |
| 558 | } |
| 559 | } |
| 560 | } |
| 561 | } |
| 562 | |
| 563 | } |
| 564 | |
| 565 | .give-mobile-hidden { |
| 566 | display: none; |
| 567 | } |
| 568 | } |
| 569 | |
| 570 | .give-sub-nav-tab-wrapper { |
| 571 | position: relative; |
| 572 | display: inline-block; |
| 573 | z-index: 9999; |
| 574 | float: left; |
| 575 | |
| 576 | nav.give-sub-nav-tab { |
| 577 | border: 1px solid #ccc; |
| 578 | border-bottom: 0; |
| 579 | position: absolute; |
| 580 | top: 35px; |
| 581 | right: 0; |
| 582 | |
| 583 | a { |
| 584 | float: left; |
| 585 | background: white; |
| 586 | padding: 6px 10px; |
| 587 | clear: both; |
| 588 | text-decoration: none; |
| 589 | border-bottom: 1px solid #ccc; |
| 590 | min-width: 170px; |
| 591 | color: #555; |
| 592 | font-size: 14px; |
| 593 | } |
| 594 | |
| 595 | a:hover { |
| 596 | background: #ffffff; |
| 597 | } |
| 598 | } |
| 599 | } |
| 600 | |
| 601 | // By default hide setting tab wrapper. |
| 602 | .give-sub-nav-tab-wrapper { |
| 603 | display: none; |
| 604 | } |
| 605 | |
| 606 | #give-show-sub-nav { |
| 607 | text-decoration: none; |
| 608 | padding: 3px 4px; |
| 609 | border-bottom: 1px solid #ccc; |
| 610 | line-height: 0; |
| 611 | background: white; |
| 612 | border-radius: 4px; |
| 613 | margin-top: 5px; |
| 614 | |
| 615 | > span.dashicons { |
| 616 | font-size: 16px; |
| 617 | height: 16px; |
| 618 | width: 16px; |
| 619 | } |
| 620 | } |
| 621 | |
| 622 | #give-show-sub-nav:hover, #give-show-sub-nav:active { |
| 623 | outline: none; |
| 624 | box-shadow: inset 0px 0px 4px #ddd; |
| 625 | } |
| 626 | |
| 627 | //-------------------------------------------------------------- |
| 628 | // Image preview container |
| 629 | //-------------------------------------------------------------- |
| 630 | .give-image-thumb { |
| 631 | position: relative; |
| 632 | margin-top: 14px; |
| 633 | |
| 634 | span.give-delete-image-thumb { |
| 635 | position: absolute; |
| 636 | background: red; |
| 637 | color: white; |
| 638 | border-radius: 30px; |
| 639 | left: -10px; |
| 640 | top: -10px; |
| 641 | cursor: pointer; |
| 642 | } |
| 643 | |
| 644 | img { |
| 645 | max-width: 250px; |
| 646 | border: 4px solid white; |
| 647 | } |
| 648 | } |