Skip to content

Commit

Permalink
PAYMENTS-4944 fix missing add method styles
Browse files Browse the repository at this point in the history
  • Loading branch information
leeBigCommerce committed Jan 15, 2020
1 parent e65bee0 commit caa4b22
Showing 1 changed file with 98 additions and 0 deletions.
98 changes: 98 additions & 0 deletions assets/scss/components/stencil/paymentMethods/_paymentMethods.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@
}
}

&-brand {
font-size: fontSize("smallest");
font-weight: fontWeight("semibold");

@include breakpoint("large") {
font-size: fontSize("base");
}
}

&-meta {
padding-left: spacing("half");
margin-left: auto;
Expand Down Expand Up @@ -139,3 +148,92 @@
text-align: center;
}
}

// Payment Method Form - Add
// -----------------------------------------------------------------------------

.paymentMethodForm {
@include breakpoint("small") {
max-width: 60%;
}

&-column {
@include breakpoint("small") {
display: flex;

&:first-child .form-field {
margin-bottom: spacing("half");
}
}
}

&-heading {
color: color("greys", "darker");
font-family: fontFamily("sans");
margin-top: spacing("single");
text-transform: capitalize;
}

&-subheading {
display: flex;
font-weight: fontWeight("semibold");
}

&-cards {
@include breakpoint("small") {
margin-left: auto;
}
}

&-cards-icon {
margin-right: spacing("eighth");
width: remCalc(34px);
}

&-inputs {
position: relative;

@include breakpoint("small") {
&:last-child {
padding-left: spacing("single");
width: 30%;
}

&:first-child {
width: 70%;
}
}
}

&-inputs-icon {
position: absolute;
right: remCalc(9px);
top: remCalc(39px);

&.icon {
fill: color("greys", "light");
height: remCalc(21px);
width: remCalc(21px);
}
}

&-details {
margin-bottom: 0;

@include breakpoint("small") {
display: inline-block;
margin: 0 spacing("double") 0 0;
}
}

&-details-term {
font-weight: fontWeight("normal");
margin-bottom: spacing("half");
}

&-details-description {
font-size: fontSize("smaller");
font-weight: fontWeight("semibold");
letter-spacing: letterSpacing("large");
}
}

0 comments on commit caa4b22

Please sign in to comment.