-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CNFT1-2939] List view sort options (#1769)
* sorting preferences * saving list sorting
- Loading branch information
1 parent
523cc08
commit 40987d4
Showing
23 changed files
with
660 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 20 additions & 50 deletions
70
...ization-ui/src/apps/search/layout/result/header/options/list/SearchResultsListOptions.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 7 additions & 19 deletions
26
...src/apps/search/layout/result/header/options/list/search-results-list-options.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,14 @@ | ||
@use 'styles/colors.scss'; | ||
|
||
.option { | ||
.sortArrow { | ||
width: 1.75rem; | ||
height: 1.75rem; | ||
margin: 0; | ||
fill: colors.$primary; | ||
} | ||
.options { | ||
--modal-min-width: max-content; | ||
} | ||
|
||
.optionItem { | ||
padding: 0.625rem 2.75rem !important; | ||
gap: 0.5rem !important; | ||
.opener { | ||
color: colors.$primary; | ||
|
||
&.active { | ||
padding: 0.625rem 1rem !important; | ||
|
||
.check { | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
margin: 0 !important; | ||
fill: colors.$primary; | ||
} | ||
.icon { | ||
width: 1.75rem; | ||
height: 1.75rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
apps/modernization-ui/src/design-system/icon/icon.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.icon { | ||
width: 1rem; | ||
height: 1rem; | ||
fill: currentColor; | ||
} |
Oops, something went wrong.