mirror of
https://github.com/Eugeny/tabby.git
synced 2025-01-02 23:45:45 +03:00
search ui tweaks
This commit is contained in:
parent
2df848f4c0
commit
dc53668685
@ -293,7 +293,7 @@ checkbox i.on {
|
||||
}
|
||||
|
||||
search-panel {
|
||||
background: rgba(39, 49, 60, 0.65) !important;
|
||||
background: rgba(39, 49, 60, 0.95) !important;
|
||||
}
|
||||
|
||||
|
||||
|
@ -22,11 +22,20 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit
|
||||
static styles: string[] = [require<string>('../components/terminalTab.component.scss')]
|
||||
static animations: AnimationTriggerMetadata[] = [trigger('slideInOut', [
|
||||
transition(':enter', [
|
||||
style({ transform: 'translateY(-25%)' }),
|
||||
animate('100ms ease-in-out', style({ transform: 'translateY(0%)' })),
|
||||
style({
|
||||
transform: 'translateY(-25%)',
|
||||
opacity: '0',
|
||||
}),
|
||||
animate('100ms ease-out', style({
|
||||
transform: 'translateY(0%)',
|
||||
opacity: '1',
|
||||
})),
|
||||
]),
|
||||
transition(':leave', [
|
||||
animate('100ms ease-in-out', style({ transform: 'translateY(-25%)' })),
|
||||
animate('100ms ease-out', style({
|
||||
transform: 'translateY(-25%)',
|
||||
opacity: '0',
|
||||
})),
|
||||
]),
|
||||
])]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
input.search-input.form-control(
|
||||
type='search',
|
||||
type='text',
|
||||
[(ngModel)]='query',
|
||||
(ngModelChange)='onQueryChange()',
|
||||
[class.text-danger]='notFound',
|
||||
@ -11,14 +11,14 @@ input.search-input.form-control(
|
||||
|
||||
button.btn.btn-link(
|
||||
(click)='findPrevious()',
|
||||
ngbTooltip='Next',
|
||||
ngbTooltip='Search up',
|
||||
placement='bottom'
|
||||
)
|
||||
i.fa.fa-fw.fa-arrow-up
|
||||
|
||||
button.btn.btn-link(
|
||||
(click)='findNext()',
|
||||
ngbTooltip='Next',
|
||||
ngbTooltip='Search down',
|
||||
placement='bottom'
|
||||
)
|
||||
i.fa.fa-fw.fa-arrow-down
|
||||
@ -48,4 +48,7 @@ button.btn.btn-link(
|
||||
)
|
||||
i.fa.fa-fw.fa-text-width
|
||||
|
||||
button.close.text-light.pl-3.pr-2((click)='close.emit()') ×
|
||||
.mr-2
|
||||
|
||||
button.btn.btn-link((click)='close.emit()')
|
||||
i.fa.fa-fw.fa-times
|
||||
|
Loading…
Reference in New Issue
Block a user