summaryrefslogtreecommitdiff
path: root/packages/web/src/components/toolbar/index.css
blob: 653c32632c4e9109cd03e5dadea9323c9ca4456a (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
41
42
43
44
45
46
47
48
@layer components {
  ntv-toolbar {
    display: flex;
    border-radius: 99999px;
    background: var(--color-neutral-900);
    width: min-content;
  }

  ntv-toolbar > section {
    display: flex;
    gap: 0.25rem;
    padding: 0.325rem;
  }

  ntv-toolbar button {
    border-radius: 99999px;
    background: var(--color-neutral-800);
    padding: 0 0.5rem;
    height: 1.25rem;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
  }

  ntv-toolbar button:hover {
    background: var(--color-green-400);
    color: var(--color-neutral-900);
  }

  ntv-toolbar button[data-icon] {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1;
    height: 1.25rem;
  }

  ntv-toolbar input {
    border: 1px solid var(--color-neutral-700);
    border-radius: 4px;
    background: var(--color-neutral-900);
    width: 2.5rem;
    height: 1.25rem;
    color: white;
    font-size: 0.75rem;
    text-align: center;
  }
}