summaryrefslogtreecommitdiff
path: root/src/components/Proxy.module.css
blob: 089b6866c631088508f5710ea75c132fc3d44a3b (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
.proxy {
  position: relative;
  padding: 5px;
  border-radius: 8px;
  overflow: hidden;

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

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

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

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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