aboutsummaryrefslogtreecommitdiff
path: root/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/spaces/spaces.js
blob: 8657b9c77cc967ff481460f8ff3fc224e89580de (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
49
50
// Styles for /lib/components/{yabai|aerospace}/*.jsx components
import { spaceStyles } from "./space";
import { spaceOptionsStyles } from "./space-options";

export const styles = /* css */ `
.spaces {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
.simple-bar--no-bar-background .spaces {
  padding: 4px 5px;
  background-color: var(--background);
  box-shadow: var(--light-shadow);
  border-radius: var(--bar-radius);
}
.simple-bar--no-bar-background.simple-bar--no-shadow .spaces {
  box-shadow: none;
}
.simple-bar--process-aligned-to-left .spaces {
  margin-right: 4px;
}
.spaces__separator {
  align-self: center;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin: var(--item-outer-margin);
  background-color: var(--foreground);
  border-radius: 50%;
  opacity: 0.35;
}
${spaceStyles}
${spaceOptionsStyles}
.spaces__add > svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
}
.spaces__end-separator {
  align-self: center;
  flex: 0 0 4px;
  width: 4px;
  height: 4px;
  margin: var(--item-outer-margin);
  background-color: var(--main-alt);
  border-radius: 50%;
  opacity: 0.35;
}
`;