This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.mkl_pc .mkl_pc_container span.screen-reader-text { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container .mkl-pc-show-form svg { | |
width: 30px; | |
display: inline-block; | |
vertical-align: middle; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices > ul > li.roll-selection ul.layer_choices { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Fix the focus state on the choices */ | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices > ul > li ul > li > button:hover, .mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices > ul > li ul > li > button:focus { | |
border-radius: 6px !important; | |
} | |
/* Improve the "loader" */ | |
.mkl_pc.loading .loader { | |
background: #ffffff73; | |
display: flex; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 660px) { | |
.mkl_pc .mkl_pc_container .mkl-pc-show-form { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart { | |
position: relative; | |
padding: 0; | |
background: transparent; | |
box-shadow: none; | |
border-radius: 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input#quantity_60a34591cc126 { | |
background: #180f1f; | |
padding: 19px 23px; | |
margin: 0; | |
} | |
button.btn.btn-primary.button.configurator-add-to-cart.edgtf-btn.edgtf-btn-outline.edgtf-btn-small.edgtf-btn-stripe.primary { | |
padding: 8px 30px; | |
-webkit-clip-path: polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 0px)); | |
clip-path: polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 0px)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'mkl_pc_get_configurator_data_js_output', function( $output, $id ) { | |
if ( class_exists( 'GTranslate' ) && is_user_logged_in() && current_user_can( 'edit_posts' ) ) { | |
// Add compatibility with GTranslate premium, enabling users to manually update translations. | |
$output = 'var PC = PC || {};'."\n"; | |
$output .= 'PC.productData = PC.productData || {};'."\n"; | |
$output .= "fetch('/wp-admin/admin-ajax.php?action=pc_get_data&data=init&fe=1&id={$id}&ver=" . time() . "').then(r => r.json()).then(data => {PC.productData.prod_$id = data;});"; | |
} | |
return $output; | |
}, 20, 2 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 660px) { | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar { | |
position: relative; | |
top: auto; | |
bottom: auto; | |
height: auto; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_viewer { | |
position: relative; | |
height: 350px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Fix the input qty field */ | |
.mkl_pc .mkl_pc_container .quantity input.qty { | |
width: 80px; | |
border-radius: 0; | |
padding: 1.2rem 1rem; | |
} | |
/* Small bar color */ | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices + .form::before { | |
background: #0ad1be; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'mkl_pc/add_to_cart_button/default_label', function() { | |
return 'New add to cart label'; | |
} ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'mkl_pc_show_form', '__return_true' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 660px) { | |
.mkl_pc .mkl_pc_container .mkl-pc-show-form { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart { | |
position: relative; | |
padding: 0; | |
background: transparent; | |
box-shadow: none; | |
border-radius: 0; |