Skip to content

Commit

Permalink
fix: added appType search criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Feb 25, 2024
1 parent 493956e commit 7da2186
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
22 changes: 22 additions & 0 deletions src/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,25 @@
}
}
}

@mixin search-criteria-select-button {
:host ::ng-deep {
.row-gap-05 {
row-gap: 0.125rem !important;
}
.search-criteria-container .p-selectbutton .p-button {
text-align: center;
padding: 0.3rem 0.8rem;
border: var(--input-border);
&.p-highlight {
color: var(--primary-text-color);
background-color: var(--primary-color);
}
&:hover {
color: var(--primary-text-color);
border-color: var(--emphasis-high);
background-color: var(--button-hover-bg);
}
}
}
}
18 changes: 1 addition & 17 deletions src/app/product-store/app-search/app-search.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@include card-badges;
@include correct-data-view-control;
@include correct-search-criteria;
@include search-criteria-select-button;

:host ::ng-deep {
.danger-action-text {
Expand All @@ -18,23 +19,6 @@
}
}

.row-gap-05 {
row-gap: 0.125rem !important;
}
.search-criteria-container .p-selectbutton .p-button {
text-align: center;
padding: 0.3rem 0.8rem;
border: var(--input-border);
&.p-highlight {
color: var(--primary-text-color);
background-color: var(--primary-color);
}
&:hover {
color: var(--primary-text-color);
border-color: var(--emphasis-high);
background-color: var(--button-hover-bg);
}
}
.h-05rem {
height: 0.5rem;
}
Expand Down

0 comments on commit 7da2186

Please sign in to comment.