summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-02-17 21:41:48 -0800
committerChristopher Ng <chrng8@gmail.com>2023-02-23 17:21:04 -0800
commite77b0f6693fd5a0aca3f395cc2cc336ca3e7cb42 (patch)
tree651c360f590ec95ba1bf803d85a15b0e21990005 /core
parentabaf6cd3a4f706a76775dee43210b4a8b91316b5 (diff)
downloadnextcloud-server-e77b0f6693fd5a0aca3f395cc2cc336ca3e7cb42.tar.gz
nextcloud-server-e77b0f6693fd5a0aca3f395cc2cc336ca3e7cb42.zip
Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/src/components/UnifiedSearch/SearchResult.vue9
1 files changed, 4 insertions, 5 deletions
diff --git a/core/src/components/UnifiedSearch/SearchResult.vue b/core/src/components/UnifiedSearch/SearchResult.vue
index 0b8b6c8b33e..82491e42168 100644
--- a/core/src/components/UnifiedSearch/SearchResult.vue
+++ b/core/src/components/UnifiedSearch/SearchResult.vue
@@ -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);
}
* {