Skip to content

Commit

Permalink
[WIP] Fixes a bunch of less compilation problems and resolves some sm…
Browse files Browse the repository at this point in the history
…all intended layout changes which didn't work due to mistakes being made and not being properly tested I guess.
  • Loading branch information
hostep committed Jul 30, 2019
1 parent fc7fb0d commit 82a0612
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@

//

.modals-overlay {
&:extend(.abs-modal-overlay all);
}

.modal-popup,
.modal-slide {
.action-close {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@
}

.block-content {
&:extend(.abs-add-clearfix-desktop all);

.box {
&:extend(.abs-blocks-2columns all);
}

.actions-toolbar {
clear: both;
.lib-actions-toolbar(
Expand Down Expand Up @@ -188,4 +182,16 @@
&:extend(.abs-add-clearfix-desktop all);
}
}

.column {
.block-addbysku {
.block-content {
&:extend(.abs-add-clearfix-desktop all);

.box {
&:extend(.abs-blocks-2columns all);
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// _____________________________________________

& when (@media-common = true) {

.search {
.fieldset {
.control {
Expand All @@ -31,7 +31,7 @@
}
}
}

.block-search {
margin-bottom: 0;

Expand Down Expand Up @@ -136,8 +136,6 @@
}

.form.search.advanced {
&:extend(.abs-forms-general-desktop all);

.fields.range {
.field {
&:first-child {
Expand Down Expand Up @@ -275,4 +273,8 @@
.search-autocomplete {
margin-top: 0;
}

.form.search.advanced {
&:extend(.abs-forms-general-desktop all);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
// ---------------------------------------------

.opc-estimated-wrapper {
&:extend(.abs-no-display-desktop all);
&:extend(.abs-add-clearfix all);
.lib-css(background, @checkout-step-content-mobile__background);
.lib-css(border-bottom, @checkout-step-title__border);
Expand Down Expand Up @@ -54,6 +53,6 @@

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
.opc-estimated-wrapper {
display: none;
&:extend(.abs-no-display-desktop all);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@

.file-uploader-preview {
.action-remove {
&:extend(.abs-action-reset all);
.lib-icon-font (
@icon-delete__content,
@_icon-font: @icons__font-name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
}

.field.choice {
&:extend(.clearer all);
border-bottom: 1px solid @color-gray92;
box-sizing: border-box;
margin-bottom: @indent__s;
Expand Down Expand Up @@ -178,10 +177,6 @@

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
.page-product-downloadable {
.product-add-form {
&:extend(.clearer all);
}

.product-options-wrapper {
float: left;
width: 55%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
& when (@media-common = true) {
.gift-message {
.field {
&:extend(.abs-clearfix all);
margin-bottom: @indent__base;

.label {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@
margin-right: 30px;

&.print {
&:extend(.abs-action-print all);
display: none;
margin: 0;
}
Expand Down Expand Up @@ -585,6 +584,7 @@

.order-actions-toolbar {
.action.print {
&:extend(.abs-action-print all);
display: block;
float: right;
}
Expand Down Expand Up @@ -705,7 +705,7 @@
}
}

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
.order-links {
.item {
margin: 0 @tab-control__margin-right 0 0;
Expand Down
1 change: 0 additions & 1 deletion lib/web/css/source/components/_modals.less
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@

// Modals overlay
.modals-overlay {
&:extend(.abs-modal-overlay all);
.lib-css(z-index, @overlay__z-index);
}

Expand Down

0 comments on commit 82a0612

Please sign in to comment.