Skip to content

Commit

Permalink
Merge pull request #36844 from nextcloud/backport/36771/stable25
Browse files Browse the repository at this point in the history
[stable25] Add focus border for search results
  • Loading branch information
Pytal authored Feb 25, 2023
2 parents 041d8b8 + 6e6e3cd commit 7b2a3bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions core/src/components/UnifiedSearch/SearchResult.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,19 +172,18 @@ $margin: 10px;
align-items: center;
height: $clickable-area;
padding: $margin;
border-bottom: 1px solid var(--color-border);
border: 2px solid transparent;
border-radius: var(--border-radius-large) !important;
// Load more entry,
&:last-child {
border-bottom: none;
&--focused {
background-color: var(--color-background-hover);
}
&--focused,
&:active,
&:hover,
&:focus {
background-color: var(--color-background-hover);
border: 2px solid var(--color-border-maxcontrast);
}
* {
Expand Down
Loading

0 comments on commit 7b2a3bd

Please sign in to comment.