Last active
February 26, 2022 05:40
-
-
Save marcusig/88930cb907935a864efb36391e18f70e to your computer and use it in GitHub Desktop.
CSS tweaks for gamepcbestel.nl
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(min-width: 1000px) { | |
.mkl_pc { | |
/* Change this value to change the sidebar width */ | |
--toolbar_width: 500px; | |
} | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layers button { | |
white-space: normal; | |
word-break: break-word; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list li.active span.text.choice-name { | |
/* Change this color to change the active choice text color */ | |
color: #e62222; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layers button.layer-item span.selected-choice { | |
/* Change this color to change the color of the selected choice in the layer header */ | |
color: #e62222; | |
} | |
@media(min-width: 800px) { | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list li i.mkl-pc-thumbnail { | |
width: 80px; | |
height: 80px; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list li { | |
width: calc(25% - .6em); | |
} | |
} | |
/* More mobile tweaks */ | |
@media (max-width: 800px) { | |
.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; | |
bottom: auto; | |
width: 100%; | |
flex-direction: column; | |
align-items: center; | |
left: auto; | |
padding-right: 5px; | |
text-align: center; | |
/* justify-items: center; */ | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart .quantity { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container footer .form.form-cart .pc_configurator_form button { | |
margin-top: 6px; | |
} | |
.mkl_pc .mkl_pc_container .form.form-cart .pc-total-price { | |
margin: 0; | |
margin-right: 5px; | |
text-align: center; | |
} | |
body:not(.configurator_is_inline) .mkl_pc .mkl_pc_viewer { | |
display: none; | |
} | |
.mkl_pc .mkl_pc_container .mkl_pc_toolbar { | |
top: 40px; | |
bottom: 100px; | |
} | |
.mkl_pc .mkl_pc_container footer .footer__section-right { | |
width: 100%; | |
padding: 10px; | |
} | |
.mkl_pc .mkl_pc_container footer { | |
height: 100px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment