summaryrefslogtreecommitdiff
path: root/src/components/Proxy.module.css
blob: 1277e1ffe0bfedc96b8178c5397000cb19632785 (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
51
52
53
54
55
56
57
58
59
60
61
62
63
.proxy {
  position: relative;
  padding: 5px;
  border-radius: 8px;
  overflow: hidden;

  max-width: 280px;
  @media (--breakpoint-not-small) {
    min-width: 150px;
    border-radius: 10px;
    padding: 10px;
  }

  background-color: var(--color-bg-proxy-selected);
  &.now {
    background-color: var(--color-focus-blue);
    color: #ddd;
  }
  &.error {
    opacity: 0.5;
  }
}

.proxyType {
  font-family: var(--font-mono);
  display: inline;
  padding: 0 0.3em;
  font-size: 0.6em;
  @media (--breakpoint-not-small) {
    font-size: 1em;
  }
}

.proxyDisable {
  display: inline;
}
.proxyName {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
  font-size: 0.85em;
  display: inline;
  @media (--breakpoint-not-small) {
    font-size: 1.1em;
  }
}

.proxyLatencyWrap {
  padding: 0 0.3em;
  height: 30px;
  /* display: flex; */
  align-items: flex-end;
}

.proxySmall {
  .now {
    outline: pink solid 1px;
  }
  width: 12px;
  height: 12px;
  border-radius: 8px;
}