jam-cloud/web/app/assets/stylesheets/client/react-components/AccountSubscriptionScreen.scss

242 lines
4.3 KiB
SCSS

@import "client/common";
#account-subscription {
.button-orange {margin:0;}
div[data-react-class="AccountSubscriptionScreen"] {
height: 100%;
}
p {
line-height:1.25;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-ms-box-sizing: border-box;
-o-box-sizing: border-box;
box-sizing: border-box;
}
.profile-body {
padding-top: 20px;
}
#subscription-account-data, #subscription-elements {
display:grid;
align-items: center;
//justify-content: center;
grid-template-columns: 50% 50%;
}
#subscription-form {
}
.uncollectable-msg {
background-color:black;
color:white;
padding:20px;
margin:20px 0;
}
#change-subscription-form {
max-width:35rem;
//display:grid;
//align-items: center;
//justify-content: center;
//grid-template-columns: 8rem 8rem 8rem;
}
.payment-block {
margin-top:20px;
}
form {
max-width:25rem;
}
.actions {
float: left;
margin-top: 30px;
margin-bottom: 10px;
}
a.cancel {
margin-left:3px;
}
label, .label {
display: block;
text-align: left;
width: 100%;
margin: 0 0 0.2rem;
color: white;
font-size: 0.8rem;
font-weight: bold;
text-transform: uppercase;
clear: left;
}
input[type="text"], select {
position: relative;
width: 100%;
border: 1px solid #c2c2c2;
background: white;
padding: 0.5rem;
margin: 0 0 1rem;
outline: none;
font-family: 'Open Sans', Helvetica, sans-serif;
font-size: 1rem;
box-shadow: none;
//border-radius: 0;
color: black;
-webkit-appearance: none;
-webkit-transition: border-color 0.3s;
-moz-transition: border-color 0.3s;
-ms-transition: border-color 0.3s;
-o-transition: border-color 0.3s;
transition: border-color 0.3s;
}
input:focus {
border: 1px solid white;
color: black;
background:#d2d2d2;
z-index: 10;
}
input.error {
border-color: #e43c29;
}
div.error .recurly-hosted-field {
border: 1px solid #c2c2c2;
}
@media screen and (max-height: 599px) {
figure.logo {
width: 100%;
height: 3rem;
margin: 2rem auto 1rem;
border-radius: 0;
line-height: 3rem;
}
}
.recurly-element{
position: relative;
width: 100%;
height: 42px;
border: 2px solid #c2c2c2;
background: white;
padding: 0.5rem;
margin: 0 0 1rem;
outline: none;
font-family: 'Open Sans', Helvetica, sans-serif;
font-size: 1rem;
font-weight: bold;
box-shadow: none;
border-radius: 0;
color: #c2c2c2;
-webkit-appearance: none;
-webkit-transition: border-color 0.3s;
-moz-transition: border-color 0.3s;
-ms-transition: border-color 0.3s;
-o-transition: border-color 0.3s;
transition: border-color 0.3s;
}
.recurly-hosted-field-focus, .recurly-element-focus {
border-color: #2c0730;
color: #2c0730;
z-index: 10;
}
.item {
text-align: left;
}
.item > label {
font-weight:normal;
display: inline;
text-transform: none;
}
.items {
margin-bottom: 15px;
}
h3 {
font-weight:bold;
margin:30px 0 20px;
}
.current-subscription {
h2 {
font-weight: bold;
font-size: 22px;
margin-bottom:15px;
color:white;
width:35rem;
}
p.explainer{
width:35rem;
}
label {
text-transform: none;
font-size:1rem;
color:white;
}
button,a {
margin:0;
}
.plan-name {
font-weight:bold;
}
.subscription-plan-and-status {
margin-top:30px;
}
.subscription-actions {
margin-top:10px;
}
.subscription-plan {
display:inline-block;
width:50%;
padding-right:20px;
}
.subscription-status {
display:inline-block;
width:50%;
}
p {
margin:0;
}
.update-plan {
float:right;
}
.effective-subscription {
margin-top:30px;
margin-bottom:60px;
width:35rem;
}
.explanation {
margin-bottom:20px;
}
.update-payment-method {
float:right;
}
.play-time {
label {
margin-bottom:8px;
}
margin-top:30px;
margin-bottom:30px;
width:35rem;
}
.playtime {
font-weight:bold;
}
}
}