discourse-subscriptions/assets/stylesheets/common/discourse-patrons.scss

95 lines
1.4 KiB
SCSS
Raw Normal View History

.discourse-patrons-section-columns {
2019-09-11 07:14:48 -04:00
display: flex;
justify-content: space-between;
@include breakpoint(medium) {
flex-direction: column;
}
.section-column {
min-width: calc(50% - 0.5em);
max-width: 100%;
&:last-child {
margin-left: 0.5em;
}
&:first-child {
margin-right: 0.5em;
}
@include breakpoint(medium) {
min-width: 100%;
&:last-child {
order: 2;
}
&:first-child {
order: 1;
}
}
}
}
2019-09-12 03:47:08 -04:00
.desc {
color: dark-light-choose($primary-medium, $secondary-medium);
font-size: 0.8em;
}
2019-09-12 02:16:38 -04:00
#stripe-elements {
border: 1px $primary-low-mid solid;
padding: 10px;
background-color: $primary-very-low;
2019-09-12 02:16:38 -04:00
}
2019-09-11 17:14:16 -04:00
#card-element {
2019-09-11 07:14:48 -04:00
padding: 20px 0;
}
2019-09-12 04:51:40 -04:00
.discourse-patrons-payment-details {
border: 1px $primary-low-mid solid;
background-color: $primary-low;
}
.discourse-patrons-section-columns {
2019-09-11 07:14:48 -04:00
margin: 20px;
padding: 20px;
2019-09-12 03:47:08 -04:00
.discourse-patrons-billing {
.ember-text-field {
margin-bottom: 0;
}
.field {
margin-bottom: 10px;
}
}
2019-09-11 07:14:48 -04:00
}
2019-09-12 03:47:08 -04:00
.discourse-patrons-fields {
2019-09-12 01:52:30 -04:00
.field {
width: 25%;
}
}
2019-09-11 07:14:48 -04:00
#card-action {
margin: 20px 0;
}
2019-09-12 05:04:10 -04:00
.discourse-patrons-confirmation-billing {
margin-right: 40px;
}
.discourse-patrons-confirmation {
2019-09-11 07:14:48 -04:00
width: 100%;
td {
padding: 10px;
2019-09-12 05:04:10 -04:00
white-space: nowrap;
2019-09-11 07:14:48 -04:00
}
}
2019-09-12 02:16:38 -04:00
.btn-discourse-patrons {
white-space: nowrap;
}