Skip to content

Instantly share code, notes, and snippets.

@edjw
Last active August 29, 2023 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edjw/0899714f1b44129932c59d968899b0e6 to your computer and use it in GitHub Desktop.
Save edjw/0899714f1b44129932c59d968899b0e6 to your computer and use it in GitHub Desktop.
iraiser styles
/* Layout */
#type-b.arya.loaded #container {
display: flex !important;
flex-direction: column !important;
flex-wrap: wrap !important;
align-content: center !important;
}
#type-b.arya #container #main {
max-width: 100% !important;
}
#type-b.arya.one-column-layout #container #main_wrapinner {
flex-direction: column !important;
align-items: center;
gap: 1rem;
}
#type-b.arya.logo-left #header #header_wrapinner.container {
flex-direction: row !important;
}
#type-b.arya.one-column-layout.form_left #container #main_wrapinner #widgets {
width: auto !important;
margin: 0 auto !important;
}
#type-b.arya.one-column-layout #container #main_wrapinner #widgets,
#type-b.arya.one-column-layout #container #main_wrapinner #form-steps {
max-width: 600px !important;
}
#type-b.arya.one-column-layout #container #main_wrapinner {
width: auto !important;
}
#type-b.arya #container #form-error,
#type-b.arya #container .container,
#type-b.arya #container #bottom .container {
width: auto !important;
}
/* General appearance styles */
#type-b.arya #header #logo img {
/* Make the img background transparent */
mix-blend-mode: multiply;
filter: contrast(1);
max-width: 200px;
}
@media (min-width: 640px) {
#type-b.arya #header #logo img {
max-width: auto !important;
}
}
div#container {
background-color: #f7f7f7;
}
div#form-info {
background-color: #f7f7f7 !important;
padding: 0 !important;
}
div#form-info h2 {
font-size: 36px;
font-weight: 900;
}
div#form-info p {
line-height: 1.3;
}
#type-b.arya #container #banner-info,
#type-b.arya #container #form-info {
text-align: left !important;
}
#type-b.arya #container #step-2,
#type-b.arya #container #step-3 {
box-shadow: 0px 8px 6px #00000038;
}
#type-b.arya #container #step-2 .step-container,
#type-b.arya #container #step-3 .step-container {
padding: 8px 24px !important;
background-color: #fff;
}
#type-b.arya #container #step-2 .step-title,
#type-b.arya #container #step-3 .step-title {
background-color: white !important;
}
#type-b.arya #container #step-3 .step-title {
padding-top: 36px;
}
#type-b.arya.one-column-layout #container #main_wrapinner #step-2 .step-title,
#type-b.arya.one-column-layout #container #main_wrapinner #step-2 .step-content,
#type-b.arya.one-column-layout #container #main_wrapinner #step-3 .step-title,
#type-b.arya.one-column-layout #container #main_wrapinner #step-2 .step-content,
#type-b.arya.one-column-layout #container #main_wrapinner #step-3 .step-content,
#type-b.arya.one-column-layout #container #main_wrapinner .step-content {
border: none !important;
padding-left: 0 !important;
}
#type-b.arya.one-column-layout #container #main_wrapinner #step-2 .step-title,
#type-b.arya.one-column-layout #container #main_wrapinner #step-3 .step-title {
display: flex;
justify-content: flex-start;
}
#type-b.arya.one-column-layout #container #main_wrapinner #step-2 .step-title h2,
#type-b.arya.one-column-layout #container #main_wrapinner #step-3 .step-title h2 {
font-weight: 800;
border-bottom: 6px solid rgb(255, 222, 19);
padding-left: 0;
}
div#powered {
display: none !important;
}
/* Form styling */
#type-b.arya #step-2 .line {
flex-direction: column !important;
align-items: flex-start !important;
}
#type-b.arya #step-2 p {
max-width: 100% !important;
}
#type-b.arya p#c-civ {
width: auto !important;
float: none !important;
}
#type-b.arya p#c-civ+p#c-fname {
width: auto !important;
float: none !important;
}
#type-b.arya p#c-pcode+p#c-city {
margin-left: 0 !important;
}
#type-b.arya input,
#type-b.arya input#city,
#type-b.arya input#postcode,
#type-b.arya select#country,
#type-b.arya .select2-container .select2-selection--single,
#type-b.arya input[type="text"],
#type-b.arya select,
#type-b.arya textarea {
border-radius: 0 !important;
}
#type-b.arya #container #step-3 .payment_mode-card #card-expiry {
float: none !important;
flex-direction: column;
}
#type-b.arya #container #step-3 .payment_mode-card #card-scode {
float: none !important;
}
label {
display: block !important;
font-weight: 600;
}
label span.help {
display: none !important;
}
/* Processing costs box */
#type-b.arya #step-2 .action_block,
#type-b.arya #step-3 .action_block,
#type-b.arya #greetings-comp .action_block {
border-radius: 0 !important;
}
#type-b.arya #step-1 .action_block[data-icon="heart"]>p::after,
#type-b.arya #step-2 .action_block[data-icon="heart"]>p::after,
#type-b.arya #step-3 .action_block[data-icon="heart"]>p::after,
#type-b.arya #greetings-comp .action_block[data-icon="heart"]>p::after,
#type-b.arya #step-1 .action_block[data-icon="heart"]::before,
#type-b.arya #step-2 .action_block[data-icon="heart"]::before,
#type-b.arya #step-3 .action_block[data-icon="heart"]::before,
#type-b.arya #greetings-comp .action_block[data-icon="heart"]::before {
display: none !important;
}
#type-b.arya #container #step-3 .payment_mode .payment_body,
#type-b.arya #container #step-3 .payment_mode .payment_body .line>*+* {
display: flex;
flex-direction: column;
margin-top: 24px;
}
#stripe_creditcard_cardNumber_container_once {
max-width: 280px !important;
}
p#card-number {
padding-bottom: 0 !important;
}
p#card-submit {
margin-top: 24px !important;
}
/* Submit button styling */
#type-b.arya #greetings-comp .submit input:not(.apple_pay_styled_button),
#type-b.arya #step-3 a.button,
#type-b.arya #step-3 input.button:not(.apple_pay_styled_button),
#type-b.arya input[type="submit"]:not(.apple_pay_styled_button) {
background-color: rgb(255, 222, 19);
border: none !important;
color: rgb(37, 37, 37);
text-transform: none !important;
border-radius: 45px !important;
font-weight: 900;
}
/* Footer */
#type-b.arya #bottom {
background-color: #ffffff !important;
color: rgb(37, 37, 37) !important;
padding-top: 32px !important;
padding-left: 32px !important;
margin-top: 128px !important;
display: flex;
justify-content: center;
}
#type-b.arya #container #bottom .container {
margin: 0 !important;
width: auto !important;
}
#type-b.arya #footer {
background-color: rgb(37, 37, 37) !important;
color: #f7f7f7 !important;
position: relative !important;
}
#type-b.arya #footer #footer_wrapinner #copyright p {
display: flex;
flex-direction: row;
justify-content: center;
column-gap: 16px;
font-size: 16px;
}
#type-b.arya #footer #footer_wrapinner #copyright a {
text-decoration: none !important;
}
#bottom>div.container>div.step-info.mobile_show.step-info-3>h4 {
display: none !important;
}
#bottom>div.container>div.step-info.mobile_show.step-info-3>div>div {
text-align: left !important;
}
/* Donation picker styles */
/* Comment this out for any debugging */
div#step-1 {
display: none !important;
}
#type-b.arya #container #step-1 .step-content #once[aria-hidden="true"],
#type-b.arya #container #step-1 .step-content #regular[aria-hidden="true"] {
display: block !important;
}
#banner-info {
background-color: #ffffff;
opacity: 0.8;
}
div#textDonationMessage,
div#interactiveDonationMessage {
display: flex;
flex-direction: column;
align-items: flex-start;
row-gap: 16px;
background-color: rgb(255, 222, 19);
color: #252525;
width: 100%;
margin-bottom: 20px !important;
}
@media (min-width: 640px) {
div#textDonationMessage,
div#interactiveDonationMessage {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
}
div#textDonationMessage {
padding: 28px 20px !important;
}
div#interactiveDonationMessage {
padding: 12px 20px !important;
}
div#textDonationMessage div.donationSentenceWrapper,
div#interactiveDonationMessage div.donationSentenceWrapper {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
row-gap: 1rem;
}
div.donationSentenceWrapper span {
font-weight: bold;
}
div#interactiveDonationMessage div.donationSentenceWrapper input.new-donation-amount {
width: 100px;
border: none;
margin-left: 12px;
}
div#interactiveDonationMessage div.donationSentenceWrapper select.donation-frequency-select {
width: 120px;
margin-right: 12px;
}
div#textDonationMessage button.change-donation {
border: none;
background-color: transparent;
text-decoration: underline;
font-size: 15px;
font-weight: 400;
cursor: pointer;
}
div#interactiveDonationMessage button.confirm-donation {
background-color: black;
color: white;
border: 1px solid black;
border-radius: 5px;
padding: 8px 12px !important;
text-decoration: none;
max-width: 160px;
text-align: center;
cursor: pointer;
font-weight: 400;
font-size: 15px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment