summaryrefslogtreecommitdiff
path: root/src/components/CollapsibleSectionHeader.module.css
blob: de24eec4e735e0380006f3ef4799fffaf5f371bb (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
.header {
  display: flex;
  align-items: center;

  .arrow {
    display: inline-flex;
    transform: rotate(0deg);
    transition: transform 0.3s;
    &.isOpen {
      transform: rotate(180deg);
    }

    &:focus {
      outline: var(--color-focus-blue) solid 1px;
    }
  }
}

/* TODO duplicate with connQty in Connections.module.css */
.qty {
  font-family: var(--font-normal);
  font-size: 0.75em;
  margin-left: 3px;
  padding: 2px 7px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-near-transparent);
  border-radius: 30px;
}