aboutsummaryrefslogtreecommitdiff
path: root/src/components/search_bar/search_bar.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-10-29 08:36:39 +0200
committerShpuld Shpuldson <shp@cock.li>2020-10-29 08:36:39 +0200
commitcb3578fcca763a43ec946af75e6e345ed5adc14a (patch)
tree85fdd3f8bf98eae557d33ca1a82e3688e4e7f309 /src/components/search_bar/search_bar.vue
parent7007659e05842dc06eb2c13eddaba6ab657df5ea (diff)
parenta84db4bd8f04bdfc14836f55f441aa8478265291 (diff)
fix conflicts
Diffstat (limited to 'src/components/search_bar/search_bar.vue')
-rw-r--r--src/components/search_bar/search_bar.vue37
1 files changed, 20 insertions, 17 deletions
diff --git a/src/components/search_bar/search_bar.vue b/src/components/search_bar/search_bar.vue
index 4d5a1aec..f1c3fd7a 100644
--- a/src/components/search_bar/search_bar.vue
+++ b/src/components/search_bar/search_bar.vue
@@ -1,16 +1,15 @@
<template>
<div>
<div class="search-bar-container">
- <i
- v-if="loading"
- class="icon-spin4 finder-icon animate-spin-slow"
- />
<a
v-if="hidden"
href="#"
+ class="nav-icon"
:title="$t('nav.search')"
- ><i
- class="button-icon icon-search"
+ ><FAIcon
+ fixed-width
+ class="fa-scale-110 fa-old-padding"
+ icon="search"
@click.prevent.stop="toggleHidden"
/></a>
<template v-else>
@@ -27,12 +26,19 @@
class="btn search-button"
@click="find(searchTerm)"
>
- <i class="icon-search" />
+ <FAIcon
+ fixed-width
+ icon="search"
+ />
</button>
- <i
- class="button-icon icon-cancel"
- @click.prevent.stop="toggleHidden"
- />
+ <span>
+ <FAIcon
+ fixed-width
+ icon="times"
+ class="cancel-icon fa-scale-110 fa-old-padding"
+ @click.prevent.stop="toggleHidden"
+ />
+ </span>
</template>
</div>
</div>
@@ -60,13 +66,10 @@
max-width: calc(100% - 30px - 30px - 20px);
}
- .search-button {
- margin-left: .5em;
- margin-right: .5em;
- }
-
- .icon-cancel {
+ .cancel-icon {
cursor: pointer;
+ color: $fallback--text;
+ color: var(--btnTopBarText, $fallback--text);
}
}