Skip to content

Commit

Permalink
changes for advanced-Search-layout-2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amol2jcommerce committed Mar 25, 2019
1 parent 67b732c commit af75c5a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,17 @@
margin-bottom: 0;
}
}

.form.search.advanced {
.field.price {
.with-addon {
.input-text {
flex-basis: auto;
width: 100%;
}
}
}
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
Expand Down Expand Up @@ -256,4 +267,9 @@
.search-autocomplete {
margin-top: 0;
}

.form.search.advanced {
min-width: 600px;
width: 50%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -388,17 +388,6 @@
position: relative;
}
}

.form.search.advanced {
.field.price {
.with-addon {
.input-text {
flex-basis: auto;
width: 100%;
}
}
}
}
}

//
Expand Down Expand Up @@ -463,7 +452,6 @@
.form.send.confirmation,
.form.password.forget,
.form.create.account,
.form.search.advanced,
.form.form-orders-search {
min-width: 600px;
width: 50%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,19 @@
// Mobile
// _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.form.search.advanced {
.field.price {
.with-addon {
.input-text {
flex-basis: auto;
width: 100%;
}
}
}
}
}

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
.block-search {
margin-top: @indent__s;
Expand Down Expand Up @@ -275,4 +288,9 @@
.search-autocomplete {
margin-top: 0;
}

.form.search.advanced {
min-width: 600px;
width: 50%;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,6 @@
.form.send.confirmation,
.form.password.forget,
.form.create.account,
.form.search.advanced,
.form.form-orders-search {
min-width: 600px;
width: 50%;
Expand Down Expand Up @@ -604,15 +603,4 @@
position: relative;
}
}

.form.search.advanced {
.field.price {
.with-addon {
.input-text {
flex-basis: auto;
width: 100%;
}
}
}
}
}

0 comments on commit af75c5a

Please sign in to comment.