Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .product-form {
- @include display-flexbox();
- @include flex-wrap(wrap);
- @include align-items(flex-end);
- width: auto;
- }
- .product-form--payment-button-no-variants {
- max-width: 400px;
- }
- .product-form__item {
- @include flex(1 1 200px);
- margin-bottom: 10px;
- padding: 0 5px;
- label {
- display: block;
- .product-form--hide-variant-labels & {
- // sass-lint:disable no-important
- position: absolute !important;
- overflow: hidden;
- clip: rect(0 0 0 0);
- height: 1px;
- width: 1px;
- margin: -1px;
- padding: 0;
- border: 0;
- }
- }
- }
- .product-form__item--submit {
- @include flex(1 1 300px);
- }
- .product-form__item--no-variants {
- max-width: 100%;
- }
- .product-form__item--payment-button {
- @include flex-basis(100%);
- .product-single--small-image &,
- .product-single--full-image & {
- @include media-query($large-up) {
- display: inline-flex;
- @include flex-direction(row);
- @include align-items(flex-start);
- }
- }
- &.product-form__item--no-variants {
- @include flex-direction(column);
- @include align-items(stretch);
- }
- }
- .product-form__variants {
- display: none;
- .no-js & {
- display: block;
- }
- }
- .product-form__item--quantity {
- @include flex(0 0 100px);
- }
- .product-form__input {
- display: block;
- width: 100%;
- }
- .product-form__cart-submit {
- display: block;
- width: 100%;
- line-height: 1.4;
- padding-left: 5px;
- padding-right: 5px;
- white-space: normal;
- margin-top: 0px;
- min-height: 44px;
- .product-single--small-image &,
- .product-single--full-image & {
- @include flex(50%);
- margin-right: 10px;
- }
- .product-form__item--payment-button & {
- margin-top: 10px;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement