File size: 1,073 Bytes
898f3cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
Stopwatch {
    background: $boost;
    height: 5;
    margin: 1;
    min-width: 50;
    padding: 1;
}

Screen{
    layout: grid;
    grid-size: 3 3;
    grid-gutter: 1;

}

TimeDisplay {
    text-align: center;
    color: $foreground-muted;
    height: 3;
}

TimeDisplay#hover{
color:green;
}

Button {
    width: 10;
}

#start {
    dock: left;
}

#stop {
    dock: left;
    display: none;
}

#reset {
    dock: right;
}

.started {
    background: $success-muted;
    color: $text;
}

.started TimeDisplay {
    color: $foreground;
}

.started #start {
    display: none
}

.started #stop {
    display: block
}

.started #reset {
    visibility: hidden
}

#dialog{

row-span:2;
             column-span:1;
    align: center middle;
             grid-gutter: 1 2;
             grid-rows: 1fr 3;
             padding: 0 1;
             width: 60;
             height: 30;
             border: thick $background 80%;
             background: $surface;
}


#dialog-buttons{
    grid-size:2;
}