Skip to content

Commit

Permalink
refactor: store listing filter styles so that it works with almost an…
Browse files Browse the repository at this point in the history
…y theme (#737)

* refactor: store listing filter styles so that it works almost any theme

* fix: some css adjustment for storefront theme

* fix: some css adjustment for enfoled theme
  • Loading branch information
saimonh3 authored and sabbir1991 committed Jan 20, 2020
1 parent ddd3a91 commit fbb75a8
Show file tree
Hide file tree
Showing 9 changed files with 221 additions and 194 deletions.
39 changes: 7 additions & 32 deletions assets/src/less/responsive.less
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,15 @@

@media (max-width: 767px) {
#dokan-store-listing-filter-wrap {
.left {
.store-count {
margin-top: -5px;
}
}
display: block;

.right {
justify-content: space-between;
margin-top: 15px;

.item {
&:not(:first-child) {
padding-left: 50px;
&.sort-by {
margin: 0;
}
}
}
Expand Down Expand Up @@ -255,16 +254,7 @@
@media (max-width: 430px) {
#dokan-store-listing-filter-form-wrap {
&:before {
left: -5%;
}

.right {
.item {
&:not(:first-child) {
padding: 0;
margin-left: 50px;
}
}
left: 10%;
}
}

Expand Down Expand Up @@ -466,10 +456,6 @@
#dokan-store-listing-filter-wrap {
.right {
.item {
&:not(:first-child) {
padding-left: 35px;
}

#stores_orderby {
padding: 8px 0px 8px 16px;
}
Expand All @@ -479,17 +465,6 @@
}

@media (max-width: 360px) {

#dokan-store-listing-filter-wrap {
.right {
.item {
&:not(:first-child) {
padding-left: 20px;
}
}
}
}

.dokan-single-store {
.profile-frame {
.profile-info-box.profile-layout-layout1 {
Expand Down
Loading

0 comments on commit fbb75a8

Please sign in to comment.