aboutsummaryrefslogtreecommitdiff
path: root/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/components/data/netstats.js
blob: 384d97058f2d82960eaf9910f845a11ea9393e22 (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
// Styles for /lib/components/data/netstats.jsx component
export const netstatsStyles = /* css */ `
.netstats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--foreground);
  background-color: var(--minor);
  z-index: 0;
}
.netstats--graph {
  min-width: 120px;
  padding: 0;
}
.simple-bar--widgets-background-color-as-foreground .netstats {
  background-color: transparent;
}
.netstats__item {
  width: 9ch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 4px;
}
.netstats__value {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  margin: 0 auto;
}
.netstats__value > em {
  font-size: 0.8em;
  font-style: normal;
}
.netstats__icon {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}
.netstats__icon--download {
  fill: var(--magenta);
}
.netstats__icon--upload {
  fill: var(--blue);
}
`;