Skip to content

Fixes less compilation problems in the Magento/blank theme #24001

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -53,12 +53,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 @@ -167,4 +161,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 @@ -15,7 +15,6 @@

.opc-estimated-wrapper {
&:extend(.abs-add-clearfix all);
&:extend(.abs-no-display-desktop all);
.lib-css(border-bottom, @border-width__base solid @color-gray80);
margin: 0 0 15px;
padding: 18px 15px;
Expand All @@ -37,7 +36,7 @@
&:before {
.lib-css(color, @button__color);
}

&:hover:before {
.lib-css(color, @button__hover__color);
}
Expand All @@ -53,6 +52,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 @@ -18,7 +18,6 @@
& when (@media-common = true) {
.gift-message {
.field {
&:extend(.abs-clearfix all);
margin-bottom: @indent__base;

.label {
Expand Down
49 changes: 47 additions & 2 deletions app/design/frontend/Magento/blank/web/css/source/_extends.less
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
& when (@media-common = true) {
.abs-block-title {
margin-bottom: 15px;

> strong {
.lib-heading(h3);
}
Expand All @@ -194,7 +194,7 @@
.abs-account-blocks {
.block-title {
&:extend(.abs-block-title all);

> .action {
margin-left: 15px;
}
Expand Down Expand Up @@ -849,6 +849,51 @@
}
}

//
// Account pages: title
// ---------------------------------------------

& when (@media-common = true) {
.abs-account-title {
> strong,
> span {
.lib-font-size(22);
.lib-css(font-weight, @font-weight__light);
}

.lib-css(border-bottom, 1px solid @border-color__base);
.lib-css(margin-bottom, @indent__m);
.lib-css(padding-bottom, @indent__s);
}
}

//
// Ratings: vertical alignment
// ---------------------------------------------

& when (@media-common = true) {
.abs-rating-summary {
.rating {
&-summary {
display: table-row;
}

&-label {
display: table-cell;
padding-bottom: @indent__xs;
padding-right: @indent__m;
padding-top: 1px;
vertical-align: top;
}

&-result {
display: table-cell;
vertical-align: top;
}
}
}
}

//
// Add colon
// ---------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1212,7 +1212,7 @@
}

//
// Forms: margin-bottom for small forms
// Ratings: vertical alignment
// ---------------------------------------------

& when (@media-common = true) {
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