Adjustments on Textual Search for ItemsList.

This commit is contained in:
Mateus Machado Luna 2018-08-01 13:07:56 -03:00
parent a800bc1027
commit 838a4b99ca
1 changed files with 42 additions and 9 deletions

View File

@ -33,7 +33,8 @@
type="search" type="search"
autocomplete="on" autocomplete="on"
v-model="searchQuery" v-model="searchQuery"
@keyup.enter="loadTerms(0)"> @keyup.enter="loadTerms(0)"
:disabled="isEditingTerm">
<span <span
@click="loadTerms(0)" @click="loadTerms(0)"
class="icon is-right"> class="icon is-right">
@ -415,10 +416,15 @@ export default {
@import "../../scss/_variables.scss"; @import "../../scss/_variables.scss";
.terms-list-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
.order-area { .order-area {
display: inline-flex !important; display: inline-flex !important;
padding: 4px; padding: 4px;
margin-left: 30px; margin-left: auto;
.gray-icon, .gray-icon .icon { .gray-icon, .gray-icon .icon {
color: $gray4 !important; color: $gray4 !important;
@ -428,6 +434,33 @@ export default {
} }
} }
.search-area {
display: inline-flex;
align-items: center;
.input {
border: 1px solid $gray2;
}
.control {
width: 100%;
.icon {
pointer-events: all;
cursor: pointer;
color: $blue5;
height: 27px;
font-size: 18px !important;
height: 2rem !important;
}
}
a {
margin-left: 12px;
white-space: nowrap;
}
}
}
.term-item { .term-item {
font-size: 14px; font-size: 14px;
padding: 0.7em 0.9em; padding: 0.7em 0.9em;