-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathstyle.scss
133 lines (113 loc) · 2.6 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@import '../style';
.wcpay-payment-element {
margin-bottom: 2rem;
}
/* stylelint-disable-next-line selector-id-pattern */
#express-payment-method-woopay {
width: 100%;
}
.wc-block-components-main
.wc-block-components-checkout-step--with-step-number
.wc-block-components-checkout-step__content
> :last-child {
padding: 0;
}
#contact-fields {
padding-bottom: 1.5em;
}
.wc-block-components-text-input button.wcpay-stripelink-modal-trigger {
top: 50%;
transform: translateY( -50% );
}
button.wcpay-stripelink-modal-trigger {
display: none;
position: absolute;
right: 5px;
width: 64px;
height: 40px;
background: no-repeat url( 'assets/images/payment-methods/link.svg?asset' );
background-color: transparent;
cursor: pointer;
border: none;
}
button.wcpay-stripelink-modal-trigger:hover {
background-color: transparent;
border-color: transparent;
}
.wc-block-checkout__payment-method {
.wc-block-components-radio-control__label {
width: 100%;
display: block !important;
> .payment-method-label {
display: grid !important;
justify-content: normal !important;
grid-template-columns: max-content auto;
grid-template-areas: 'label badge logos';
align-items: center;
gap: 8px;
width: 100%;
> .payment-method-label__label {
grid-area: label;
width: 100%;
}
> .payment-methods--logos {
grid-area: logos;
justify-self: end;
}
> .test-mode.badge {
grid-area: badge;
background-color: #fff2d7;
border-radius: 4px;
padding: 4px 6px;
font-size: 12px;
font-weight: 400;
line-height: 16px;
color: #4d3716;
justify-self: start;
width: max-content;
}
@include breakpoint( '<480px' ) {
grid-template-areas: 'label logos' 'badge badge';
grid-template-columns: 1fr auto;
align-items: start;
.payment-methods--logos {
justify-self: end;
}
}
}
.bnpl-message {
width: 100%;
@include breakpoint( '<480px' ) {
margin-top: 8px;
}
}
}
}
#remember-me {
margin: 36px 0 0 0;
h2 {
font-size: 18px;
font-weight: 600;
line-height: 21.6px;
letter-spacing: -0.01em;
}
}
#payment-method {
label.wc-block-components-radio-control__option-checked {
.StripeElement {
display: none;
}
}
/* stylelint-disable-next-line selector-id-pattern */
#radio-control-wc-payment-method-options-woocommerce_payments_affirm__label
img {
min-width: 50px;
}
/* stylelint-disable-next-line selector-id-pattern */
#radio-control-wc-payment-method-options-woocommerce_payments_afterpay_clearpay__label
img {
min-width: 64px;
}
}
@import '../woopay/style';
@import '../../components/loadable/style';