.charitable-preview.charitable-builder-template- { /* everything wraps in this */ font-family: SF Pro Display, -apple-system, BlinkMacSystemFont, sans-serif; } /* this narrows things down a little to the preview area div.charitable-preview-row/tabs */ { /* field items in preview area */ } /* wide spread changes in div.charitable-preview-row vs tabs */ .charitable-field { display: flex; } div.charitable-preview-row { background-color: transparent; padding: 50px; color: white; } div.charitable-preview-row.no-padding, div.charitable-preview-row.no-padding div.column { padding: 0 !important; } div.charitable-preview-row h1, div.charitable-preview-row h2, div.charitable-preview-row h3, div.charitable-preview-row h4, div.charitable-preview-row h5, div.charitable-preview-row h6 { color: ; } div.charitable-preview-row h1:empty, div.charitable-preview-row h2:empty, div.charitable-preview-row h3:empty, div.charitable-preview-row h4:empty, div.charitable-preview-row h5:empty, div.charitable-preview-row h6:empty { display: none; } .tab-content h1, .tab-content h2, .tab-content h3, .tab-content h4, .tab-content h5, .tab-content h6 { color: black; font-size: 32px; line-height: 38px; } .tab-content { color: ; } .tab-content > * { color: #92908F; } div.charitable-preview-row > * { color: ; } div.charitable-preview-row h5 { font-size: 24px; line-height: 28px; } .placeholder { padding: 0; } /* aligns */ .charitable-preview-align-left > div { margin-left: 0; margin-right: auto; } .charitable-preview-align-center > div, .charitable-preview-align-center .charitable-header { margin-left: auto; margin-right: auto; } .charitable-preview-align-right > div { margin-left: auto; margin-right: 0; } /* column specifics */ .charitable-field-column:nth-child(even) { flex: 2; border: 0; padding-top: 0px; } .charitable-field-column:nth-child(odd) { border: 0; flex: 1 1 26%; padding-top: 0px; padding-bottom: 0px; } /* section specifics */ .charitable-field-column:nth-child(even) .charitable-field-section { background-color: ; padding: 20px; } .charitable-field-column:nth-child(odd) .charitable-field-section { background-color: transparent; } /* header specifics */ .charitable-header .charitable-preview-align-center { text-align: center; } /* headlines in general */ div.charitable-preview-row h5.charitable-field-preview-headline { font-weight: 400; font-size: 32px; line-height: 34px; } div.charitable-preview-row .charitable-field-column:nth-child(even) h5.charitable-field-preview-headline { color: white; } .tab-content h5.charitable-field-preview-headline { color: black !important; font-weight: 500 !important; text-transform: inherit; font-size: 32px !important; line-height: 38px !important; margin-top: 20px; margin-bottom: 20px; } .charitable-header h5.charitable-field-preview-headline { color: !important; font-weight: 500 !important; text-transform: inherit; font-size: 42px !important; line-height: 48px !important; margin-top: 20px; margin-bottom: 20px; } /* field: campaign title */ .charitable-field-campaign-title h1 { margin: 5px 0 5px 0; color: ; font-size: 55px; line-height: 58px; font-weight: 100; } /* field: campaign description */ .charitable-field-campaign-description .charitable-campaign-builder-placeholder-preview-text { padding: 0; color: ; } .charitable-field-campaign-description .charitable-campaign-builder-placeholder-preview-text, .charitable-field-campaign-description .charitable-campaign-builder-placeholder-preview-text p { font-size: 15px; line-height: 28px; font-weight: 400; } /* field: text */ .charitable-field-text .charitable-campaign-builder-placeholder-preview-text { padding: 0; } .charitable-field-text h5.charitable-field-preview-headline { } /* field: button */ .charitable-field.charitable-field-donate-button .charitable-field-preview-donate-button span.placeholder.button { background-color: !important; border-color: !important; text-transform: uppercase; border-radius: 0px; margin-top: 0; margin-bottom: 0; width: 100%; font-weight: 400; min-height: 50px; height: 50px; font-size: 16px; line-height: 50px; } /* field: photo */ .charitable-field.charitable-field-photo .primary-image { border: transparent; } .charitable-field.charitable-field-photo img { width: 100%; border: 0; border-radius: 15px; } /* field: photo */ div.charitable-preview-row .primary-image-container { margin: 0; padding: 0; } .tab-content .primary-image-container { margin: 0; padding: 0; } /* field: progress bar */ .charitable-field.charitable-field-progress-bar .progress-bar-info-row div.campaign-percent-raised { color: #FFFFFF; font-size: 21px; line-height: 21px; font-weight: 100; padding-left: 0; } .charitable-field.charitable-field-progress-bar .progress-bar-info-row div.campaign-goal { color: white; font-weight: 100; font-size: 21px; line-height: 21px; } .charitable-field.charitable-field-progress-bar .progress { border: 0; padding: 0; background-color: #E0E0E0; border-radius: 20px; margin-top: 15px; } .charitable-field.charitable-field-progress-bar .progress-bar { background-color: white; height: 13px !important; border-radius: 20px; text-align: right; opacity: 1.0; } .charitable-field.charitable-field-progress-bar .progress-bar span { display: none; } /* field: social linking */ .charitable-field-preview-social-linking { display: table; } .charitable-field-preview-social-linking .charitable-field-preview-social-linking-headline-container { display: block; float: left; padding: 0; } .charitable-field-preview-social-linking .charitable-field-row { display: block; float: left; width: auto; margin: 0 0 0 0; } .charitable-field-preview-social-linking h5.charitable-field-preview-headline { font-size: 14px !important; line-height: 16px !important; color: ; font-weight: 300 !important; margin: 0 15px 0 0; padding: 5px 5px 5px 0; } .charitable-field-preview-social-linking .charitable-placeholder { padding: 10px; } /* field: social sharing */ .charitable-field-preview-social-sharing { display: table; } .charitable-field-preview-social-sharing .charitable-field-preview-social-sharing-headline-container { display: block; float: left; padding: 0; } .charitable-field-preview-social-sharing .charitable-field-row { display: block; float: left; width: auto; margin: 0 0 0 0; } .charitable-field-preview-social-sharing h5.charitable-field-preview-headline { font-size: 14px !important; line-height: 16px !important; color: ; font-weight: 300 !important; margin: 0 15px 0 0; padding: 5px 5px 5px 0; } .charitable-field-preview-social-sharing .charitable-placeholder { padding: 10px; } /* field: social links and sharing */ .charitable-field.charitable-field-social-links .charitable-field-row .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-field-row .charitable-placeholder { padding: 10px; } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-twitter .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-twitter .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/twitter-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-facebook .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-facebook .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/facebook-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-linkedin .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-linkedin .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/linkedin-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-instagram .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-instagram .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/instagram-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-pinterest .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-pinterest .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/pinterest-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-tiktok .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-tiktok .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/tiktok-white.svg'); } .charitable-field.charitable-field-social-links .charitable-social-linking-preview-mastodon .charitable-placeholder, .charitable-field.charitable-field-social-sharing .charitable-social-sharing-preview-mastodon .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/mastodon-white.svg'); } .charitable-field-preview-social-linking .charitable-social-linking-preview-youtube .charitable-placeholder, .charitable-field-preview-social-sharing .charitable-social-sharing-preview-youtube .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/youtube-white.svg'); } .charitable-field-preview-social-linking .charitable-social-linking-preview-threads .charitable-placeholder, .charitable-field-preview-social-sharing .charitable-social-sharing-preview-threads .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/threads-white.svg'); } .charitable-field-preview-social-linking .charitable-social-linking-preview-bluesky .charitable-placeholder, .charitable-field-preview-social-sharing .charitable-social-sharing-preview-bluesky .charitable-placeholder { background-image: url('../../../../../assets/images/campaign-builder/fields/social-links/bluesky-white.svg'); } /* field: campaign summary */ .charitable-field-preview-campaign-summary { padding-left: 0; padding-right: 0; } .charitable-field-preview-campaign-summary div { font-weight: 400; font-size: 14px; line-height: 16px; } .charitable-field-preview-campaign-summary div span { color: white; font-weight: 100; font-size: 32px; line-height: 38px; } .charitable-field-preview-campaign-summary .campaign-summary-item { border: 0; margin-top: 5px; margin-bottom: 5px; text-transform: capitalize; } .charitable-field-preview-campaign-summary .campaign-summary-item.campaign_hide_percent_raised { width: 34%; } .charitable-field-preview-campaign-summary .campaign-summary-item.campaign_hide_amount_donated { width: 43%; } .charitable-field-preview-campaign-summary .campaign-summary-item.campaign_hide_number_of_donors { width: 23%; } .charitable-field-preview-campaign-summary .campaign-summary-item.campaign_hide_time_remaining { width: 100%; } /* field: donate amount */ .charitable-field-donate-amount label, .charitable-field-donate-amount input.custom-donation-input[type="text"] { color: ; border: 1px solid !important; } .charitable-field-donate-amount ul li.suggested-donation-amount.selected { background-color: ; } .charitable-field-donate-amount ul li.suggested-donation-amount.selected span.amount { color: ; } /* tabs: container */ .charitable-preview-tab-container { background-color: white; } /* tabs: tab nav */ article nav { width: auto; } article nav li { border: 1px solid ; background-color: transparent; margin: 0 15px 0 0; } article nav li a { color: black; display: block; font-weight: 500; font-size: 14px; line-height: 15px; text-transform: none; } article nav li.active { background-color: ; } article nav li.active a { color: white; } /* missing addons? */ .charitable-field-charitable-videos { margin-top: 20px; margin-bottom: 20px; min-height: 500px; background-color: rgba(0,0,0,.7); display: table; } .charitable-field-charitable-videos .charitable-missing-addon-content { background-color: transparent; vertical-align: middle; display: table-cell; height: 100; } .charitable-field-charitable-videos .charitable-missing-addon-content h2 { color: white; } .charitable-field-charitable-videos .charitable-missing-addon-bg { background-size: cover; } // @codingStandardsIgnoreEnd