Skip to content

Instantly share code, notes, and snippets.

@marcusig
Last active July 20, 2021 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcusig/51ab260175d26da02b1cebadba41b8f8 to your computer and use it in GitHub Desktop.
Save marcusig/51ab260175d26da02b1cebadba41b8f8 to your computer and use it in GitHub Desktop.
@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;
bottom: auto;
}
body.configurator_is_inline .mkl_pc .mkl_pc_container,
body.configurator_is_inline .mkl_pc.opened {
position: relative;
top: auto;
bottom: auto;
left: auto;
right: auto;
height: auto;
width: 100%;
}
body.configurator_is_inline .mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices {
position: relative;
top: auto;
bottom: auto;
left: auto;
right: auto;
height: auto;
padding: 1em;
}
.mkl_pc .mkl_pc_container footer {
position: sticky;
top: auto;
bottom: 0;
left: auto;
right: auto;
background: #f2f0eb;
}
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices .layer_choices li.choices-list li span.text.choice-name {
font-size: 0.8rem;
white-space: break-spaces;
}
}
.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices>ul>li button span.selected-choice {
font-size: 0.8rem;
text-transform: uppercase;
display: block;
opacity: .3;
letter-spacing: 1.6px;
line-height: 1;
}
/* 2021-07 - Change add to cart section */
@media (max-width: 660px) {
.mkl_pc .mkl_pc_container footer {
display: block;
height: auto;
}
.mkl_pc .mkl_pc_container footer .form.form-cart {
display: block;
padding: 1em;
}
.mkl_pc .mkl_pc_container .form.form-cart .pc-total-price {
padding-bottom: 18px;
margin-left: 50%;
width: auto;
}
span.save-your-design-modal-container {
z-index: 12;
position: absolute;
height: 50px;
top: 0;
left: 0;
}
a.save-your-design svg {
transform: translateY(10px);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment