summaryrefslogtreecommitdiff
path: root/widget/bar/Bar.scss
blob: f57d7a73784a37a25b1b577f91e0f6f1a78ed932 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
window.Bar {
  border: none;
  box-shadow: none;
  background-color: #000;
  color: #fff;

  >box {
    padding: 0;
  }
}

box.Workspaces {
  padding-left: 3px;

  >button {
    min-width: 10px;
    min-height: 10px;
    border-radius: 5px;

    border: none;
    margin: 5px 2px;
    padding: 0;
    background: #ccc;

    transition: min-width .1s ease;

    &.active {
      min-width: 25px;
    }

    &.focused {
      background: #AD49E1;
    }
  }
}

box.Tray {
  margin-right: 5px;

  button {
    margin: 0;
    padding: 1px;
    border: none;
    border-radius: 0;
    min-width: 10px;
    min-height: 10px;

    background: #000;
  }
}

box.AudioVolume {
  margin-right: 20px;
  min-width: 140px;

  image {
    margin-right: 5px;
  }

  scale {
    margin: 0;
    padding: 0;
  }

  trough {
    border-radius: 20px;
  }

  highlight {
    border-radius: 20px;
    min-height: 10px;
  }

  slider {
    margin: 0;
    min-height: 0;
    min-width: 0;
    opacity: 0;
  }
}