mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-31 11:40:47 +00:00
feat(idle): improve idle time dialog appearance
This commit is contained in:
parent
0ce2f9924f
commit
ca7e8b50fc
3 changed files with 13 additions and 7 deletions
|
|
@ -36,11 +36,13 @@
|
|||
type="button">
|
||||
<mat-icon *ngIf="!isCreate">track_changes</mat-icon>
|
||||
<mat-icon *ngIf="isCreate">add</mat-icon>
|
||||
<!-- <mat-icon>free_breakfast</mat-icon>-->
|
||||
Task& Break
|
||||
<!-- <mat-icon style="margin-left: -4px;">free_breakfast</mat-icon>-->
|
||||
Task+Break
|
||||
<mat-icon >free_breakfast</mat-icon>
|
||||
</button>
|
||||
|
||||
<button (click)="trackAsBreak()"
|
||||
color="primary"
|
||||
mat-raised-button
|
||||
type="button">
|
||||
<mat-icon>free_breakfast</mat-icon>
|
||||
|
|
@ -48,7 +50,8 @@
|
|||
</button>
|
||||
|
||||
<button (click)="skipTrack()"
|
||||
mat-raised-button
|
||||
color=""
|
||||
mat-button
|
||||
type="button">
|
||||
<mat-icon>skip_next</mat-icon>
|
||||
Skip
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
@import "../../../../variables";
|
||||
|
||||
.dialog-content {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
p,
|
||||
.track-to-label,
|
||||
.time {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.time {
|
||||
|
|
|
|||
|
|
@ -57,6 +57,8 @@ export class IdleService {
|
|||
});
|
||||
|
||||
// window.setTimeout(() => {
|
||||
// console.log('I am here!');
|
||||
//
|
||||
// this.handleIdle(800000);
|
||||
// }, 700);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue