Repository navigation
Expand file tree
/
Copy pathoptions.css
More file actions
168 lines (144 loc) · 2.45 KB
/
Copy pathoptions.css
File metadata and controls
168 lines (144 loc) · 2.45 KB
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
:root {
color-scheme: light dark;
--bg: #0b1020;
--fg: #e8ebf5;
--accent: #4c8dff;
--border: #222a3c;
--success: #2ecc71;
--warning: #ffa94d;
}
body {
margin: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--fg);
}
.prp-options {
max-width: 760px;
margin: 32px auto;
padding: 0 24px 48px;
display: flex;
flex-direction: column;
gap: 24px;
}
header h1 {
margin: 0;
font-size: 1.9rem;
}
.subtitle {
margin-top: 8px;
color: #c8cee3;
font-size: 0.95rem;
}
.card {
border: 1px solid var(--border);
border-radius: 12px;
padding: 20px;
background: rgba(255, 255, 255, 0.04);
display: grid;
gap: 16px;
}
.card h2 {
margin: 0;
font-size: 1.1rem;
}
label {
display: flex;
flex-direction: column;
gap: 6px;
font-weight: 600;
}
label input,
label select {
width: 100%;
padding: 10px 12px;
border-radius: 8px;
border: 1px solid var(--border);
background: rgba(0, 0, 0, 0.25);
color: inherit;
font: inherit;
}
label input:focus,
label select:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.custom-lang[hidden] {
display: none;
}
.toggle {
flex-direction: row;
align-items: center;
gap: 12px;
font-weight: 600;
}
.toggle input[type="checkbox"] {
width: 22px;
height: 22px;
}
.tone-grid {
display: grid;
gap: 8px 16px;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.tone-grid label {
flex-direction: row;
align-items: center;
font-weight: 500;
margin: 0;
}
.tone-grid input {
width: 18px;
height: 18px;
}
.hint {
margin: -8px 0 8px;
color: #9fabd9;
font-size: 0.9rem;
}
button {
cursor: pointer;
border-radius: 8px;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.08);
color: inherit;
padding: 10px 16px;
font-weight: 600;
}
button.primary {
background: var(--accent);
color: #0b1020;
border: none;
}
button:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.inline-link {
font-weight: 600;
color: var(--accent);
text-decoration: none;
}
.inline-link:hover,
.inline-link:focus {
text-decoration: underline;
}
#ping-result {
margin: 0;
min-height: 48px;
padding: 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.05);
color: #c8cee3;
white-space: pre-wrap;
}
footer {
display: flex;
align-items: center;
gap: 16px;
}
#status {
min-height: 24px;
color: var(--success);
font-weight: 600;
}