discourse-subscriptions/assets/stylesheets/discourse-donations.scss

177 lines
2.8 KiB
SCSS
Raw Normal View History

div.stripe-errors {
border: 1px solid #c33;
border-radius: 5px;
color: #600;
background-color: #fdd;
padding: 5px 10px;
}
.donations-page-description {
max-width: 700px;
font-size: 1.1em;
line-height: 24px;
}
.donations-page-payment {
2018-06-25 04:14:50 -04:00
padding: 30px 0;
2018-06-21 05:00:19 -04:00
#payment-form {
.control-label {
margin: 0 6.5px;
}
.select-kit ul {
margin: 0;
}
input[type="checkbox"] {
margin: 0;
}
2018-06-25 04:14:50 -04:00
2018-06-25 04:37:55 -04:00
.error, .stripe-error {
2018-06-25 04:14:50 -04:00
margin-top: 5px;
color: $danger;
}
2018-06-21 05:00:19 -04:00
}
}
.transaction-fee-description {
position: relative;
display: inline-block;
margin-left: 5px;
cursor: pointer;
}
.transaction-fee-description-modal {
display: block;
position: absolute;
top: -30px;
left: 20px;
background-color: $secondary;
border: 1px solid $primary-low;
padding: 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.4);
width: 400px;
z-index: 1;
}
2018-06-25 04:14:50 -04:00
.body-page .donations-page-donations {
2018-06-25 04:37:55 -04:00
margin-bottom: 20px;
2018-06-25 04:14:50 -04:00
.donation-list {
2018-06-25 04:37:55 -04:00
.subscription-list, .charge-list {
margin-bottom: 10px;
2018-06-25 04:14:50 -04:00
2018-06-25 04:37:55 -04:00
> ul {
margin: 10px 0;
list-style: none;
2018-06-27 19:32:58 -04:00
.spinner {
height: 5px;
width: 5px;
}
2018-06-25 04:14:50 -04:00
}
}
2018-06-25 04:37:55 -04:00
.underline {
border-bottom: 1px solid $primary-medium;
display: inline-block;
}
2018-06-25 04:14:50 -04:00
}
}
2018-06-27 19:32:58 -04:00
.donation-row {
span {
line-height: 25px;
}
&.canceled {
text-decoration: line-through;
}
&.updating {
color: $primary-low;
}
.new-flag {
color: $tertiary;
margin-left: 5px;
.fa {
line-height: 16px;
font-size: 8px;
}
> * {
display: inline-block;
vertical-align: middle;
}
}
}
2018-09-22 00:03:30 -04:00
.donations-category-header {
padding-top: 60px;
text-align: center;
.donations-category-contents {
width: 500px;
margin: 0 auto;
padding: 40px 40px 10px;
text-align: center;
i {
margin-right: .25em;
font-size: 1.5em;
}
h1 {
text-transform: capitalize;
display: inline;
}
}
.donations-category-metadata {
width: 500px;
margin: 0 auto;
padding-bottom: 30px;
display: flex;
justify-content: space-around;
font-size: 1.2rem;
.donations-total span:first-of-type, .donations-month span:first-of-type {
margin-right: 5px;
}
.donations-github a {
color: inherit;
}
}
.donations-category-users {
width: 500px;
margin: 0 auto;
font-size: 1.2rem;
padding-bottom: 40px;
display: flex;
align-items: center;
.donations-backers, .donations-maintainers {
flex: 1 1 auto;
}
.backer-avatar, .maintainer-avatar {
margin: 0 5px;
}
.donations-backers-title, .donations-maintainers-title {
padding-bottom: 10px;
}
}
}
.donations-category {
#main-outlet {
padding-top: 20px;
}
}