summaryrefslogtreecommitdiff
path: root/src/components/proxies/Settings.module.scss
blob: d3eb540b69b78e498b8fdc6adb44cc04e1d98a39 (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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
.labeledInput {
  max-width: 85vw;
  width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 13px 0;
}

.urlInputWrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 240px;
}

.urlInput {
  width: 100%;
  padding: 4px 24px 4px 8px;
  border: 1px solid var(--color-separator);
  border-radius: 4px;
  background: var(--color-bg-1, transparent);
  color: inherit;
  font-size: 12px;
  outline: none;

  &:focus {
    border-color: var(--color-focus-blue, #409eff);
  }
}

.urlClearBtn {
  position: absolute;
  right: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary, #909399);
  padding: 0;
  line-height: 1;
  font-size: 14px;
  display: flex;
  align-items: center;

  &:hover {
    color: var(--color-text, inherit);
  }
}

.timeoutInputWrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeoutInput {
  width: 70px;
  padding: 4px 8px;
  border: 1px solid var(--color-separator);
  border-radius: 4px;
  background: var(--color-bg-1, transparent);
  color: inherit;
  font-size: 12px;
  text-align: right;
  outline: none;

  &:focus {
    border-color: var(--color-focus-blue, #409eff);
  }
}

.timeoutUnit {
  font-size: 12px;
  color: var(--color-text-secondary, #909399);
}

hr {
  height: 1px;
  background-color: var(--color-separator);
  border: none;
  outline: none;
  margin: 1rem 0px;
}