mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Fix filter bar on mobile & slim layout
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
| Party
|
| Party
|
||||||
a.link-plain.chat-log-tab(#whisperTab tabindex (click)="switchTab('whisper')")
|
a.link-plain.chat-log-tab(#whisperTab tabindex (click)="switchTab('whisper')")
|
||||||
| Whisper
|
| Whisper
|
||||||
a.link-plain.chat-log-tab([style.background-color]="filterColor" (click)="focus()")
|
a.link-plain.chat-log-tab.chat-log-filter-tab([style.background-color]="filterColor" (click)="focus()")
|
||||||
fa-icon.search-icon([icon]="searchIcon")
|
fa-icon.search-icon([icon]="searchIcon")
|
||||||
input.chat-log-filter(#filterInput type="text" (keyup.enter)="(unFocus())" (keyup.esc)="(unFocus())" [placeholder]="'Filter'" (keyup)="filterChat()")
|
input.chat-log-filter(#filterInput type="text" (keyup.enter)="(unFocus())" (keyup.esc)="(unFocus())" [placeholder]="'Filter'" (keyup)="filterChat()")
|
||||||
.chat-log-scroll-outer()
|
.chat-log-scroll-outer()
|
||||||
|
|||||||
@@ -160,17 +160,27 @@ $resizer-offset: $resizer-size / 2;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search-icon {
|
.search-icon {
|
||||||
padding-right: 5px;
|
position: relative;
|
||||||
|
float: left;
|
||||||
|
width: 0;
|
||||||
|
bottom: -1px;
|
||||||
|
left: 0;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-log-filter-tab {
|
||||||
|
width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-log-filter {
|
.chat-log-filter {
|
||||||
padding-bottom: 5px;
|
padding-bottom: 5px;
|
||||||
border: none;
|
border: none;
|
||||||
width: 100px;
|
|
||||||
background-color: rgba(0, 0, 0, 0);
|
background-color: rgba(0, 0, 0, 0);
|
||||||
border: none;
|
border: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
color: white;
|
color: white;
|
||||||
|
padding-left: 20px;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-log-filter::-webkit-input-placeholder {
|
.chat-log-filter::-webkit-input-placeholder {
|
||||||
@@ -200,11 +210,12 @@ $resizer-offset: $resizer-size / 2;
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: 360px) {
|
@media only screen and (max-width: 360px) {
|
||||||
.chat-log-filter {
|
.chat-log-filter-tab {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 35px;
|
bottom: 35px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
width: calc(100% - 10px);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user