Skip to content

Commit 061cd75

Browse files
authored
[Rebrand] Update Woo colors and logos (#9809)
1 parent 0522292 commit 061cd75

File tree

68 files changed

+832
-748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+832
-748
lines changed

assets/css/admin.rtl.css

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,93 @@
155155
padding-top: 2px;
156156
}
157157

158+
/* WCPay Fraud Risk Level meta box */
159+
.wcpay-fraud-risk-level {
160+
border-bottom: 1px solid #ddd;
161+
padding: 8px 12px;
162+
}
163+
164+
.wcpay-fraud-risk-level > p {
165+
margin: 0;
166+
}
167+
168+
.wcpay-fraud-risk-level__title {
169+
font-weight: 600;
170+
}
171+
172+
.wcpay-fraud-risk-level__bar {
173+
display: grid;
174+
gap: 4px;
175+
grid-template-columns: 50% auto;
176+
margin: 6px 0 8px;
177+
}
178+
179+
.wcpay-fraud-risk-level__bar::after,
180+
.wcpay-fraud-risk-level__bar::before {
181+
background-color: #bbb;
182+
content: '';
183+
border-radius: 4px;
184+
height: 4px;
185+
}
186+
187+
.wcpay-fraud-risk-level--normal .wcpay-fraud-risk-level__title {
188+
color: #008a20;
189+
}
190+
191+
.wcpay-fraud-risk-level--normal .wcpay-fraud-risk-level__bar {
192+
grid-template-columns: 15% auto;
193+
}
194+
195+
.wcpay-fraud-risk-level--normal .wcpay-fraud-risk-level__bar::before {
196+
background-color: #008a20;
197+
}
198+
199+
.wcpay-fraud-risk-level--elevated .wcpay-fraud-risk-level__title {
200+
color: #b16202;
201+
}
202+
203+
.wcpay-fraud-risk-level--elevated .wcpay-fraud-risk-level__bar {
204+
grid-template-columns: 60% auto;
205+
}
206+
207+
.wcpay-fraud-risk-level--elevated .wcpay-fraud-risk-level__bar::before {
208+
background-color: #b16202;
209+
}
210+
211+
.wcpay-fraud-risk-level--highest .wcpay-fraud-risk-level__bar::before {
212+
background-color: #b32d2e;
213+
}
214+
215+
.wcpay-fraud-risk-level--highest .wcpay-fraud-risk-level__bar {
216+
grid-template-columns: 100% auto;
217+
}
218+
219+
.wcpay-fraud-risk-level--highest .wcpay-fraud-risk-level__bar::before {
220+
background-color: #b32d2e;
221+
}
222+
223+
/* WCPay Fraud Risk Action meta box */
224+
#wcpay-order-fraud-and-risk-meta-box div.inside {
225+
margin-top: 0;
226+
padding: 0;
227+
}
228+
229+
.wcpay-fraud-risk-action {
230+
padding: 8px 12px 12px;
231+
}
232+
233+
.wcpay-fraud-risk-action > p {
234+
margin: 0 0 6px;
235+
}
236+
237+
.wcpay-fraud-risk-action > p:last-child {
238+
margin-bottom: 0;
239+
}
240+
158241
.wcpay-fraud-risk-meta-allow,
159242
.wcpay-fraud-risk-meta-review,
160243
.wcpay-fraud-risk-meta-blocked {
161244
font-weight: 600;
162-
font-size: 14px;
163245
}
164246

165247
.wcpay-fraud-risk-meta-allow img {

assets/css/success.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
.wc-payment-gateway-method-logo-wrapper img {
1010
margin-right: 0.5rem;
11+
max-height: 20px;
1112
}
1213

1314
.wc-payment-gateway-method-logo-wrapper.wc-payment-lpm-logo img {

assets/css/success.rtl.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@
88

99
.wc-payment-gateway-method-logo-wrapper img {
1010
margin-left: 0.5rem;
11+
max-height: 20px;
1112
}
1213

1314
.wc-payment-gateway-method-logo-wrapper.wc-payment-lpm-logo img {
1415
max-height: 26px;
1516
}
17+
18+
.wc-payment-gateway-method-logo-wrapper.wc-payment-card-logo img {
19+
max-height: 1em;
20+
}

assets/images/banner.png

-9.56 KB
Binary file not shown.

assets/images/cards/woo-card.svg

Lines changed: 63 additions & 1 deletion
Loading
Lines changed: 33 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)