Last active
August 8, 2022 20:44
-
-
Save MariaJackson1/c338d5acb073dd1681ea07a6238a5138 to your computer and use it in GitHub Desktop.
Give Donation Form
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ================ Give Donate Modal ============= */ | |
| .donate-form-content { | |
| font-family: 'Playfair Display', serif; | |
| font-size: 56px; | |
| line-height: 1.3; | |
| font-weight: bold; | |
| color: #222; | |
| text-align: center; | |
| } | |
| form[id*='give-form'], #give-recurring-form, | |
| form.give-form { | |
| margin-bottom: 0 !important; | |
| } | |
| div[id*="give-form"].give-form-wrap { | |
| background: #f8f8f8; | |
| border-radius: 3px; | |
| padding: 15px; | |
| } | |
| form[id*="give-form"] { | |
| max-width: 500px; | |
| } | |
| form[id*="give-form"] .give-total-wrap { | |
| display: inline-block; | |
| float: left; | |
| clear: none; | |
| margin: 16px 0; | |
| position: relative; | |
| } | |
| form[id*="give-form"] ul#give-donation-level-button-wrap { | |
| float: right; | |
| max-width: 62%; | |
| clear: none; | |
| border-left: 1px solid #DDD; | |
| padding-left: 20px; | |
| position: relative; | |
| } | |
| /* Heart icon */ | |
| form[id*="give-form"] ul#give-donation-level-button-wrap:before { | |
| content: "\e604"; | |
| font-family: 'give-icomoon'; | |
| font-style: normal; | |
| font-weight: normal; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| color: #68bb6c; | |
| font-size: 20px; | |
| background: transparent; | |
| padding: 3px 0; | |
| position: absolute; | |
| top: 16px; | |
| left: -10px; | |
| } | |
| form[id*="give-form"] #give-donation-level-button-wrap > li { | |
| list-style-type: none; | |
| list-style-image: none; | |
| width: 46%; | |
| margin: 0 2% 2%; | |
| float: left; | |
| } | |
| /* Last li containing the button is full width if using custom amount enabled form */ | |
| form[id*="give-form"] #give-donation-level-button-wrap > li:last-child { | |
| width:100%; | |
| } | |
| form[id*="give-form"] ul#give-donation-level-button-wrap li button { | |
| width: 100%; | |
| margin: 0; | |
| background: #ffffff; | |
| color: #333; | |
| border: 1px solid #DDD; | |
| border-radius: 3px; | |
| } | |
| form[id*="give-form"] .give-btn-modal, | |
| [id*='give-form'].give-display-modal .give-btn { | |
| display: block; | |
| float: none; | |
| clear: both; | |
| width: 100%; | |
| color: #FFF; | |
| background: #009966; | |
| border: none; | |
| font-family: 'Open Sans'; | |
| font-size: 18px; | |
| padding: 1em; | |
| } | |
| /** | |
| * Horizontally Center the Give Form | |
| * | |
| */ | |
| .give-form-wrap { | |
| text-align: center; | |
| } | |
| .give-donation-amount { | |
| margin: 0 auto; | |
| display: inline-block; | |
| } | |
| /*If the form has multi-level buttons*/ | |
| #give-donation-level-button-wrap>li { | |
| float: none; | |
| display: inline-block; | |
| } | |
| /* | |
| legend.give-payment-mode-label { | |
| color: white; | |
| } | |
| label.give-gateway-option { | |
| color: white; | |
| } | |
| #give_checkout_user_info legend { | |
| color: white; | |
| text-align: center; | |
| } | |
| div.give-submit-button-wrap.give-clearfix { | |
| display: flex; | |
| justify-content: center; | |
| margin-top: 5%; | |
| } | |
| input.give-submit.give-btn { | |
| background: #009966; | |
| } | |
| .give-submit.give-btn { | |
| font-family: 'Open Sans'; | |
| font-size: 16px; | |
| }*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment