Skip to content

Commit

Permalink
Fix and Improve Badge & Directory Type Colors on Listing and Pricing …
Browse files Browse the repository at this point in the history
…Pages (#1815)
  • Loading branch information
RabbiIslamRony authored Aug 25, 2024
1 parent 469fcbd commit b0ba6e0
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 13 deletions.
7 changes: 5 additions & 2 deletions assets/css/all-listings.css
Original file line number Diff line number Diff line change
Expand Up @@ -11016,11 +11016,13 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
.directorist-content-active .directorist-type-nav__list a {
text-decoration: unset;
}
.directorist-content-active .directorist-type-nav__list__current .directorist-type-nav__link {
.directorist-content-active .directorist-type-nav__list .current .directorist-type-nav__link,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-type-nav__link {
color: var(--directorist-color-primary);
border-color: var(--directorist-color-primary);
}
.directorist-content-active .directorist-type-nav__list__current .directorist-icon-mask::after {
.directorist-content-active .directorist-type-nav__list .current .directorist-icon-mask::after,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-icon-mask::after {
background-color: var(--directorist-color-primary);
}

Expand Down Expand Up @@ -16490,6 +16492,7 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
margin: 0;
padding: 0;
border-radius: 100%;
color: var(--directorist-color-white);
}
.directorist-content-active .directorist-listing-single.directorist-listing-card .directorist-badge .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge .directorist-icon-mask:after {
width: 12px;
Expand Down
7 changes: 5 additions & 2 deletions assets/css/all-listings.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -11016,11 +11016,13 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
.directorist-content-active .directorist-type-nav__list a {
text-decoration: unset;
}
.directorist-content-active .directorist-type-nav__list__current .directorist-type-nav__link {
.directorist-content-active .directorist-type-nav__list .current .directorist-type-nav__link,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-type-nav__link {
color: var(--directorist-color-primary);
border-color: var(--directorist-color-primary);
}
.directorist-content-active .directorist-type-nav__list__current .directorist-icon-mask::after {
.directorist-content-active .directorist-type-nav__list .current .directorist-icon-mask::after,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-icon-mask::after {
background-color: var(--directorist-color-primary);
}

Expand Down Expand Up @@ -16490,6 +16492,7 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
margin: 0;
padding: 0;
border-radius: 100%;
color: var(--directorist-color-white);
}
.directorist-content-active .directorist-listing-single.directorist-listing-card .directorist-badge .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge .directorist-icon-mask:after {
width: 12px;
Expand Down
7 changes: 5 additions & 2 deletions assets/css/public-main.css
Original file line number Diff line number Diff line change
Expand Up @@ -11016,11 +11016,13 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
.directorist-content-active .directorist-type-nav__list a {
text-decoration: unset;
}
.directorist-content-active .directorist-type-nav__list__current .directorist-type-nav__link {
.directorist-content-active .directorist-type-nav__list .current .directorist-type-nav__link,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-type-nav__link {
color: var(--directorist-color-primary);
border-color: var(--directorist-color-primary);
}
.directorist-content-active .directorist-type-nav__list__current .directorist-icon-mask::after {
.directorist-content-active .directorist-type-nav__list .current .directorist-icon-mask::after,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-icon-mask::after {
background-color: var(--directorist-color-primary);
}

Expand Down Expand Up @@ -16490,6 +16492,7 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
margin: 0;
padding: 0;
border-radius: 100%;
color: var(--directorist-color-white);
}
.directorist-content-active .directorist-listing-single.directorist-listing-card .directorist-badge .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge .directorist-icon-mask:after {
width: 12px;
Expand Down
7 changes: 5 additions & 2 deletions assets/css/public-main.rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -11016,11 +11016,13 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
.directorist-content-active .directorist-type-nav__list a {
text-decoration: unset;
}
.directorist-content-active .directorist-type-nav__list__current .directorist-type-nav__link {
.directorist-content-active .directorist-type-nav__list .current .directorist-type-nav__link,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-type-nav__link {
color: var(--directorist-color-primary);
border-color: var(--directorist-color-primary);
}
.directorist-content-active .directorist-type-nav__list__current .directorist-icon-mask::after {
.directorist-content-active .directorist-type-nav__list .current .directorist-icon-mask::after,
.directorist-content-active .directorist-type-nav__list .directorist-type-nav__list__current .directorist-icon-mask::after {
background-color: var(--directorist-color-primary);
}

Expand Down Expand Up @@ -16490,6 +16492,7 @@ input.directorist-toggle-input:checked + .directorist-toggle-input-label span.di
margin: 0;
padding: 0;
border-radius: 100%;
color: var(--directorist-color-white);
}
.directorist-content-active .directorist-listing-single.directorist-listing-card .directorist-badge .directorist-icon-mask:after, .directorist-content-active .directorist-listing-single.directorist-listing-list .directorist-badge .directorist-icon-mask:after {
width: 12px;
Expand Down
4 changes: 2 additions & 2 deletions assets/js/admin-main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/range-slider.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/search-form.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion assets/src/scss/component/_archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
text-decoration: unset;
}

@include e(current) {
.current,
.directorist-type-nav__list__current {
.directorist-type-nav__link {
color: var(--directorist-color-primary);
border-color: var(--directorist-color-primary);
Expand Down
1 change: 1 addition & 0 deletions assets/src/scss/component/listings/_listing-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@
margin: 0;
padding: 0;
border-radius: 100%;
color: var(--directorist-color-white);
.directorist-icon-mask:after {
width: 12px;
height: 12px;
Expand Down

0 comments on commit b0ba6e0

Please sign in to comment.