1
1
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:
Eugene Pankov 2021-04-05 11:17:13 +02:00
parent 2df848f4c0
commit dc53668685
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
3 changed files with 20 additions and 8 deletions

View File

@ -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;
}

View File

@ -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',
})),
]),
])]

View File

@ -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()') &times;
.mr-2
button.btn.btn-link((click)='close.emit()')
i.fa.fa-fw.fa-times