mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 21:19:19 +00:00
search ui
This commit is contained in:
parent
d83dda9ebf
commit
ec3ee46088
@ -123,12 +123,11 @@
|
||||
<div class="vh-100 position-relative d-flex flex-column border-right flex-shrink-0" :style="{width: itemListWidth+'px'}">
|
||||
<drag :width="itemListWidth" @resize="resizeItemList"></drag>
|
||||
<div class="px-2 toolbar d-flex align-items-center">
|
||||
<button class="toolbar-item">
|
||||
<div class="input-icon flex-grow-1">
|
||||
<span class="icon">{% inline "search.svg" %}</span>
|
||||
</button>
|
||||
<input class="d-block toolbar-search" type="" v-model="itemSearch">
|
||||
<div class="flex-grow-1 noselect"> </div>
|
||||
<button class="toolbar-item" @click="markItemsRead()" v-if="filterSelected == 'unread'">
|
||||
<input class="d-block toolbar-search" type="" v-model="itemSearch">
|
||||
</div>
|
||||
<button class="toolbar-item ml-2" @click="markItemsRead()" v-if="filterSelected == 'unread'">
|
||||
<span class="icon">{% inline "check.svg" %}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -313,6 +313,37 @@ select.form-control:not([multiple]):not([size]) {
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
.input-icon {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-icon .icon {
|
||||
position: absolute;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 2rem;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.input-icon input {
|
||||
padding-left: 2rem !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toolbar-search {
|
||||
border: none;
|
||||
border-radius: 3px;
|
||||
padding: .25rem .5rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.toolbar-search:hover, .toolbar-search:focus {
|
||||
background-color: #f3f3f3;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* content */
|
||||
|
||||
.content {
|
||||
|
Loading…
x
Reference in New Issue
Block a user