Stripe Icon Added
This commit is contained in:
parent
51f0eec908
commit
d891fb108c
|
|
@ -6,10 +6,8 @@ return [
|
|||
'name' => 'STRIPE',
|
||||
'route' => 'admin.stripe.seller',
|
||||
'sort' => 7,
|
||||
'icon-class' => 'stripe-menu-icon',
|
||||
],
|
||||
|
||||
[
|
||||
'icon-class' => 'stripe-icon',
|
||||
], [
|
||||
'key' => 'stripe.connect',
|
||||
'name' => 'Connect Account',
|
||||
'route' => 'admin.stripe.seller',
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@ class EventServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
Event::listen('bagisto.admin.layout.head', function($viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate('stripe::checkout.style');
|
||||
});
|
||||
|
||||
Event::listen('bagisto.shop.layout.head', function($viewRenderEventManager) {
|
||||
$viewRenderEventManager->addTemplate('stripe::checkout.style');
|
||||
});
|
||||
|
|
|
|||
|
|
@ -7,12 +7,28 @@
|
|||
right: 5px;
|
||||
}
|
||||
|
||||
.stripe-menu-icon {
|
||||
.icon {
|
||||
display: inline-block;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
%menu-properties {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
display: inline-block;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.stripe-icon {
|
||||
@extend %menu-properties;
|
||||
background-image: url("../images/icons/Icon-Stripe.svg");
|
||||
}
|
||||
|
||||
.stripe-menu-icon.active {
|
||||
background-image: url("../images/icons/Icon-Stripe-Active.svg");
|
||||
.active {
|
||||
.stripe-icon {
|
||||
@extend %menu-properties;
|
||||
background-image: url("../images/icons/Icon-Stripe-Active.svg");
|
||||
}
|
||||
}
|
||||
|
||||
#stripe-pay-button label {
|
||||
|
|
@ -20,7 +36,6 @@
|
|||
color: #ffffff;
|
||||
}
|
||||
|
||||
|
||||
.more-payment-icons {
|
||||
text-align: center;
|
||||
margin-top: 15px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue