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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
@use '~/styles/utils/custom-media' as *;
.proxy {
padding: 5px;
position: relative;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow-card);
transition: transform 0.2s ease, box-shadow 0.2s ease;
display: flex;
flex-direction: column;
justify-content: space-between;
border: 1px solid var(--color-proxy-border);
&:focus {
border-color: var(--color-focus-blue);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
}
&:hover {
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
z-index: 1;
}
@media (--breakpoint-not-small) {
border-radius: var(--border-radius);
padding: 10px;
}
background-color: var(--color-bg-proxy);
color: var(--color-text);
&.now {
background-color: var(--color-sb-active-row-bg);
color: var(--color-sb-active-row-font);
border-color: var(--color-focus-blue);
}
&.error {
opacity: 0.5;
}
&.selectable {
transition: transform 0.2s ease-in-out;
cursor: pointer;
&:hover {
border-color: var(--card-hover-border-lightness);
}
}
}
.proxyType {
font-family: var(--font-mono);
font-size: 0.6em;
@media (--breakpoint-not-small) {
font-size: 0.7em;
}
color: #f596aa;
opacity: 0.6;
.now & {
color: inherit;
opacity: 0.8;
}
}
.udpType {
font-family: var(--font-mono);
font-size: 0.6em;
@media (--breakpoint-not-small) {
font-size: 0.7em;
}
color: #51a8dd;
opacity: 0.6;
.now & {
color: inherit;
opacity: 0.8;
}
}
.tfoType {
padding: 2px;
}
.row {
display: flex;
align-items: center;
height: auto;
font-weight: 400;
justify-content: space-between;
}
.proxyName {
width: 100%;
margin-bottom: 5px;
font-size: 0.75em;
@media (--breakpoint-not-small) {
font-size: 0.85em;
}
}
.proxySmall {
position: relative;
width: 15px;
height: 15px;
border-radius: 50%;
.now {
position: absolute;
width: 9px;
height: 9px;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
border-radius: 50%;
background-color: rgb(255, 253, 253);
}
&.selectable {
transition: transform 0.1s ease-in-out;
cursor: pointer;
&:hover {
transform: scale(1.5);
}
}
}
|