Skip to content

Commit

Permalink
Fixed extends and removed unnecessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Igloczek authored and gelanivishal committed Jul 18, 2018
1 parent 1de3379 commit 3d27dff
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// _____________________________________________

@checkout-tooltip__hover__z-index: @tooltip__z-index;
@checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;

@checkout-tooltip-icon-arrow__font-size: 10px;
@checkout-tooltip-icon-arrow__left: -( @checkout-tooltip-content__padding + @checkout-tooltip-icon-arrow__font-size - @checkout-tooltip-content__border-width);
Expand Down Expand Up @@ -138,7 +137,7 @@
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @checkout-tooltip-breakpoint__screen-m) {
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.field-tooltip {
.field-tooltip-content {
&:extend(.abs-checkout-tooltip-content-position-top-mobile all);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
}

.toolbar {
&:extend(.abs-add-clearfix-desktop all);
&:extend(.abs-add-clearfix-mobile all);

.pages {
float: right;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

@modal-popup-title__font-size: 26px;
@modal-popup-title-mobile__font-size: @font-size__base;
@modal-popup-breakpoint-screen__m: @screen__m;

@modal-slide__first__indent-left: 44px;
@modal-slide-mobile__background-color: @color-gray-light01;
Expand Down Expand Up @@ -149,7 +148,7 @@
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @modal-popup-breakpoint-screen__m) {
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.modal-popup {
&.modal-slide {
.modal-inner-wrap[class] {
Expand Down Expand Up @@ -180,7 +179,7 @@
// Desktop
// _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @modal-popup-breakpoint-screen__m) {
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
.modal-popup {
&.modal-slide {
.modal-footer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

@modal-popup-title__font-size: 26px;
@modal-popup-title-mobile__font-size: @font-size__base;
@modal-popup-breakpoint-screen__m: @screen__m;

@modal-slide__first__indent-left: 44px;
@modal-slide-mobile__background-color: @color-gray-light01;
Expand Down Expand Up @@ -148,7 +147,7 @@
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @modal-popup-breakpoint-screen__m) {
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.modal-popup {
&.modal-slide {
.modal-inner-wrap[class] {
Expand Down Expand Up @@ -179,7 +178,7 @@
// Desktop
// _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @modal-popup-breakpoint-screen__m) {
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
.modal-popup {
&.modal-slide {
.modal-footer {
Expand Down

0 comments on commit 3d27dff

Please sign in to comment.