stopwatch04

This commit is contained in:
Will McGugan
2022-08-20 20:29:19 +01:00
parent 47a3536172
commit bda9790a2a
12 changed files with 245 additions and 110 deletions

View File

@@ -4,27 +4,15 @@ Stopwatch {
height: 5;
min-width: 50;
margin: 1;
padding: 1 1;
transition: background 300ms linear;
padding: 1;
}
Stopwatch.started {
text-style: bold;
background: $success;
color: $text-success;
}
TimeDisplay {
content-align: center middle;
opacity: 60%;
height: 3;
}
Stopwatch.started TimeDisplay {
opacity: 100%;
}
Button {
width: 16;
}
@@ -42,6 +30,16 @@ Button {
dock: right;
}
Stopwatch.started {
text-style: bold;
background: $success;
color: $text-success;
}
Stopwatch.started TimeDisplay {
opacity: 100%;
}
Stopwatch.started #start {
display: none
}