Skip to content

Commit

Permalink
#4136 search leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
prachi00 committed Oct 19, 2022
1 parent c734cb1 commit cad1b0b
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/search/SearchResultItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="search-result-item mb-2">
<div class="search-result-item">
<div class="media">
<div class="media-left">
<b-skeleton
Expand Down
15 changes: 12 additions & 3 deletions styles/components/_search.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@
width: 90%;
}
}

.dropdown-menu {
padding-top: 13px;

.dropdown-item {
padding: 0px;
}
}
}


Expand Down Expand Up @@ -140,6 +148,10 @@
.link-item {
border: 1px solid transparent;
cursor: pointer;
padding: 10px 16px;
&:hover:not(:last-child) {
background-color: $k-accentlight;
}
}

.name {
Expand All @@ -153,9 +165,6 @@
.tabs:not(:last-child) {
margin-bottom: 0.5rem;
}
.b-tabs .tab-content {
padding: 0 0.5rem;
}
}

.search-navbar-container-mobile {
Expand Down
3 changes: 0 additions & 3 deletions styles/global.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
body {
.autocomplete .dropdown-item {
padding-right: 1px;
}
.select select,
.select select option,
.taginput .taginput-container.is-focusable,
Expand Down
8 changes: 8 additions & 0 deletions styles/themes/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,19 @@ html.dark-mode {
-1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff,
0px -1px 0 #fff, 4px 4px #fff;
}

.link-item {
&:hover:not(:last-child) {
background-color: $k-accent;
}
}

}

.dropdown-content {
box-shadow: $primary-shadow-dark;
border-radius: 0;
border: 1px solid $white;
}

.footer-container {
Expand Down
1 change: 1 addition & 0 deletions styles/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ html.light-mode {
background-color: $white;
box-shadow: $primary-shadow;
border-radius: 0;
border: 1px solid $black;

.dropdown-item:not(.is-active) {
color: $text-light-theme;
Expand Down

0 comments on commit cad1b0b

Please sign in to comment.