mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-10 23:42:39 +08:00
💄 Style the new TabNavigation component
This commit is contained in:
parent
7ecbd6a1ca
commit
be216f3e50
3 changed files with 20 additions and 0 deletions
|
@ -6,6 +6,7 @@ $color-gray-800: #2F2F2F;
|
||||||
$color-gray-700: #757575;
|
$color-gray-700: #757575;
|
||||||
$color-gray-600: #949494;
|
$color-gray-600: #949494;
|
||||||
$color-gray-500: #BBBBBB;
|
$color-gray-500: #BBBBBB;
|
||||||
|
$color-gray-400: #CCCCCC;
|
||||||
$color-gray-200: #E0E0E0;
|
$color-gray-200: #E0E0E0;
|
||||||
$color-gray: #646970;
|
$color-gray: #646970;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
.ppcp-r-tabs {
|
||||||
|
--wp-components-color-accent: #{$color-blueberry};
|
||||||
|
--wp-admin-border-width-focus: 3px;
|
||||||
|
|
||||||
|
.components-tab-panel__tabs {
|
||||||
|
box-shadow: 0 -1px 0 0 $color-gray-400 inset;
|
||||||
|
margin-bottom: 48px;
|
||||||
|
gap: 12px;
|
||||||
|
|
||||||
|
.components-button {
|
||||||
|
padding: 16px 20px;
|
||||||
|
|
||||||
|
&.is-active {
|
||||||
|
background-color: #fff4;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -11,6 +11,7 @@
|
||||||
@import './components/reusable-components/payment-method-icons';
|
@import './components/reusable-components/payment-method-icons';
|
||||||
@import './components/reusable-components/settings-wrapper';
|
@import './components/reusable-components/settings-wrapper';
|
||||||
@import './components/reusable-components/select-box';
|
@import './components/reusable-components/select-box';
|
||||||
|
@import './components/reusable-components/tab-navigation';
|
||||||
@import './components/reusable-components/navigation';
|
@import './components/reusable-components/navigation';
|
||||||
@import './components/screens/onboarding/step-welcome';
|
@import './components/screens/onboarding/step-welcome';
|
||||||
@import './components/screens/onboarding/step-business';
|
@import './components/screens/onboarding/step-business';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue