aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/presentational/WeekSelector.scss
blob: dd71feaab6d67cb07bcc199b4a237db760500643 (plain)
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
.WeekSelector {
  display: flex;
  padding: 8px;
  padding-bottom: 0;
  background-color: #F44336;
  color: white;
  align-items: center;

  .text {
    flex-grow: 1;
    text-align: center;
  }

  button {
    background-color: initial;
    border: initial;
    color: inherit;
    padding: 8px;
    border-radius: 4px;

    svg {
      font-size: 2em;
    }

    &:focus {
      background-color: #D32F2F;
      outline: none;
    }

    &:active {
      background-color: #B81111;
      outline: none;
    }

    &::-moz-focus-inner {
      /* Remove the dotted line outline from Firefox */
      border: 0;
    }
  }
}