summaryrefslogtreecommitdiffstats
path: root/src/components/Timer.module.css
blob: b748c9e09a81530626ff9f81d284beab162480f4 (plain) (blame)
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
.cont {
  h2 {
    margin-top: 0.4em;
    margin-bottom: 1rem;
  }
  input {
    width: 2em;
    font-size: 1.5em;
    padding: 0.3em;
  }
}
.custom-option {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 2fr 1fr;
  margin-bottom: 1em;
}
.units {
  display: inline-flex;
  gap: 1.5em;
  span {
    font-size: 2em;
  }
}
.not-selected-unit {
  font-weight: lighter;
}
.selected-unit {
  font-weight: bold;
  text-decoration: underline;
}
.darkgray {
  color: darkgray;
}
.custom-option-btn {
  composes: generic-button from "./Button.module.css";
  background-color: green;
  height: 2em;
}
.extra-stop-btn {
  composes: generic-button from "./Button.module.css";
  background-color: red;
  padding: 0.5em;
  margin-top: 0.5em;
}

.time-left {
  margin-bottom: 1em;
  h2 {
    display: inline;
    color: lightblue;
  }
}

.options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.option {
  composes: generic-button from "./Button.module.css";
  height: calc((100vw - 2rem) / 3 / 1.5);
}