|
1 | 1 | <style> |
2 | 2 | :root { |
3 | | - --bg-color: #f4f4f9; |
4 | | - --text-color: #333; |
5 | | - --card-bg: #fff; |
6 | | - --border-color: #ddd; |
7 | | - --primary: #007bff; |
8 | | - --primary-hover: #0056b3; |
9 | | - --danger: #dc3545; |
10 | | - --danger-hover: #c82333; |
11 | | - --success: #28a745; |
12 | | - --muted: #6c757d; |
13 | | - --muted-hover: #5a6268; |
| 3 | + --bg-color: #1a2035; |
| 4 | + --panel-bg: #1e2d45; |
| 5 | + --card-bg: #162035; |
| 6 | + --card-bg-hover: #1c2a42; |
| 7 | + --border-color: rgba(255,255,255,0.18); |
| 8 | + --text-color: #c8d6e8; |
| 9 | + --text-muted: #6b82a0; |
| 10 | + --text-heading: #e0eaf5; |
| 11 | + --primary: #4a9eda; |
| 12 | + --primary-hover: #5baee8; |
| 13 | + --danger: #e05c6a; |
| 14 | + --danger-hover: #f06878; |
| 15 | + --success: #3abf7e; |
| 16 | + --success-hover: #4acf8e; |
| 17 | + --accent: #4a9eda; |
| 18 | + --input-bg: #152032; |
| 19 | + --select-bg: #152032; |
14 | 20 | } |
15 | 21 |
|
16 | 22 | #pypluginstore-container { |
17 | 23 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
18 | 24 | color: var(--text-color); |
19 | 25 | padding: 20px; |
| 26 | + background: var(--bg-color); |
| 27 | + min-height: 100%; |
| 28 | + box-sizing: border-box; |
20 | 29 | } |
21 | 30 |
|
22 | 31 | #pypluginstore-container .header { |
23 | 32 | display: flex; |
24 | 33 | justify-content: space-between; |
25 | 34 | align-items: center; |
26 | | - gap: 12px; |
27 | | - margin-bottom: 20px; |
28 | | - flex-wrap: wrap; |
| 35 | + margin-bottom: 24px; |
| 36 | + padding-bottom: 16px; |
| 37 | + border-bottom: 1px solid var(--border-color); |
29 | 38 | } |
30 | 39 |
|
31 | 40 | #pypluginstore-container h1 { |
32 | 41 | margin: 0; |
33 | | - color: var(--primary); |
34 | | - } |
35 | | - |
36 | | - #PyPluginStore-status { |
37 | | - font-weight: bold; |
38 | | - color: #666; |
39 | | - } |
40 | | - |
41 | | - #pypluginstore-container .header-actions { |
| 42 | + font-size: 1.4em; |
| 43 | + font-weight: 600; |
| 44 | + color: var(--text-heading); |
| 45 | + letter-spacing: 0.02em; |
| 46 | + } |
| 47 | + |
| 48 | + #pypluginstore-status { |
| 49 | + font-weight: 500; |
| 50 | + font-size: 0.85em; |
| 51 | + color: var(--text-muted); |
| 52 | + background: rgba(74, 158, 218, 0.1); |
| 53 | + border: 1px solid rgba(74, 158, 218, 0.2); |
| 54 | + padding: 5px 12px; |
| 55 | + border-radius: 20px; |
| 56 | + } |
| 57 | + |
| 58 | + #pypluginstore-container .header-actions { |
42 | 59 | display: flex; |
43 | 60 | gap: 12px; |
44 | 61 | align-items: center; |
|
48 | 65 |
|
49 | 66 | #pypluginstore-container .filters { |
50 | 67 | display: flex; |
51 | | - gap: 20px; |
| 68 | + gap: 14px; |
52 | 69 | margin-bottom: 20px; |
53 | 70 | align-items: center; |
54 | | - background: var(--card-bg); |
55 | | - padding: 15px; |
56 | | - border-radius: 8px; |
| 71 | + background: var(--panel-bg); |
| 72 | + padding: 14px 18px; |
| 73 | + border-radius: 10px; |
57 | 74 | border: 1px solid var(--border-color); |
58 | 75 | flex-wrap: wrap; |
| 76 | + box-shadow: 0 4px 12px rgba(0,0,0,0.2); |
59 | 77 | } |
60 | 78 |
|
61 | 79 | #pypluginstore-container .filters input[type="text"] { |
62 | 80 | flex-grow: 1; |
63 | | - padding: 8px 12px; |
64 | | - border: 1px solid var(--border-color); |
65 | | - border-radius: 4px; |
66 | | - font-size: 1em; |
| 81 | + padding: 8px 14px; |
| 82 | + border: 1px solid rgba(255,255,255,0.1); |
| 83 | + border-radius: 6px; |
| 84 | + font-size: 0.9em; |
67 | 85 | min-width: 200px; |
| 86 | + background: var(--input-bg); |
| 87 | + color: var(--text-color); |
| 88 | + outline: none; |
| 89 | + transition: border-color 0.2s; |
| 90 | + } |
| 91 | + |
| 92 | + #pypluginstore-container .filters input[type="text"]:focus { |
| 93 | + border-color: var(--primary); |
| 94 | + box-shadow: 0 0 0 3px rgba(74, 158, 218, 0.15); |
| 95 | + } |
| 96 | + |
| 97 | + #pypluginstore-container .filters input[type="text"]::placeholder { |
| 98 | + color: var(--text-muted); |
68 | 99 | } |
69 | 100 |
|
70 | 101 | #pypluginstore-container .filters label { |
71 | 102 | display: flex; |
72 | 103 | align-items: center; |
73 | | - gap: 12px; |
74 | | - font-weight: bold; |
| 104 | + gap: 10px; |
| 105 | + font-weight: 500; |
| 106 | + font-size: 0.9em; |
75 | 107 | cursor: pointer; |
76 | 108 | user-select: none; |
| 109 | + color: var(--text-color); |
77 | 110 | } |
78 | 111 |
|
79 | 112 | #pypluginstore-container .sort-controls { |
|
85 | 118 | #pypluginstore-container .sort-controls label { |
86 | 119 | margin: 0; |
87 | 120 | font-weight: normal; |
88 | | - font-size: 0.95em; |
| 121 | + font-size: 0.85em; |
| 122 | + color: var(--text-muted); |
89 | 123 | } |
90 | 124 |
|
91 | 125 | #pypluginstore-container .sort-controls select { |
92 | 126 | padding: 8px 12px; |
93 | | - border: 1px solid var(--border-color); |
94 | | - border-radius: 4px; |
95 | | - font-size: 1em; |
96 | | - background: white; |
| 127 | + border: 1px solid rgba(255,255,255,0.1); |
| 128 | + border-radius: 6px; |
| 129 | + font-size: 0.88em; |
| 130 | + background: var(--select-bg); |
| 131 | + color: var(--text-color); |
97 | 132 | cursor: pointer; |
| 133 | + outline: none; |
| 134 | + transition: border-color 0.2s; |
| 135 | + } |
| 136 | + |
| 137 | + #pypluginstore-container .sort-controls select:focus { |
| 138 | + border-color: var(--primary); |
98 | 139 | } |
99 | 140 |
|
100 | 141 | /* Switch styling */ |
101 | 142 | .switch { |
102 | 143 | position: relative; |
103 | 144 | display: inline-block; |
104 | | - width: 50px; |
105 | | - height: 24px; |
| 145 | + width: 46px; |
| 146 | + height: 22px; |
106 | 147 | } |
107 | 148 |
|
108 | 149 | .switch input { |
|
118 | 159 | left: 0; |
119 | 160 | right: 0; |
120 | 161 | bottom: 0; |
121 | | - background-color: #ccc; |
122 | | - transition: .4s; |
123 | | - border-radius: 24px; |
| 162 | + background-color: rgba(255,255,255,0.1); |
| 163 | + transition: .3s; |
| 164 | + border-radius: 22px; |
| 165 | + border: 1px solid rgba(255,255,255,0.12); |
124 | 166 | } |
125 | 167 |
|
126 | 168 | .slider:before { |
127 | 169 | position: absolute; |
128 | 170 | content: ""; |
129 | | - height: 18px; |
130 | | - width: 18px; |
131 | | - left: 3px; |
132 | | - bottom: 3px; |
133 | | - background-color: white; |
134 | | - transition: .4s; |
| 171 | + height: 16px; |
| 172 | + width: 16px; |
| 173 | + left: 2px; |
| 174 | + bottom: 2px; |
| 175 | + background-color: #8ea8c0; |
| 176 | + transition: .3s; |
135 | 177 | border-radius: 50%; |
136 | 178 | } |
137 | 179 |
|
138 | 180 | input:checked + .slider { |
139 | | - background-color: var(--success); |
140 | | - } |
141 | | - |
142 | | - input:focus + .slider { |
143 | | - box-shadow: 0 0 1px var(--success); |
| 181 | + background-color: rgba(58, 191, 126, 0.3); |
| 182 | + border-color: var(--success); |
144 | 183 | } |
145 | 184 |
|
146 | 185 | input:checked + .slider:before { |
147 | | - transform: translateX(26px); |
| 186 | + transform: translateX(24px); |
| 187 | + background-color: var(--success); |
148 | 188 | } |
149 | 189 |
|
150 | 190 | #pypluginstore-container .grid { |
151 | 191 | display: grid; |
152 | 192 | grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); |
153 | | - gap: 20px; |
| 193 | + gap: 16px; |
154 | 194 | } |
155 | 195 |
|
156 | 196 | #pypluginstore-container .card { |
157 | 197 | background: var(--card-bg); |
158 | 198 | border: 1px solid var(--border-color); |
159 | | - border-radius: 8px; |
160 | | - padding: 15px; |
161 | | - box-shadow: 0 2px 4px rgba(0,0,0,0.05); |
| 199 | + border-radius: 10px; |
| 200 | + padding: 18px; |
| 201 | + box-shadow: 0 4px 16px rgba(0,0,0,0.25); |
162 | 202 | display: flex; |
163 | 203 | flex-direction: column; |
| 204 | + transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; |
| 205 | + } |
| 206 | + |
| 207 | + #pypluginstore-container .card:hover { |
| 208 | + border-color: rgba(74, 158, 218, 0.65); |
| 209 | + background: var(--card-bg-hover); |
| 210 | + box-shadow: 0 6px 24px rgba(0,0,0,0.35); |
164 | 211 | } |
165 | 212 |
|
166 | 213 | #pypluginstore-container .card-header { |
167 | | - font-size: 1.1em; |
168 | | - font-weight: bold; |
| 214 | + font-size: 1em; |
| 215 | + font-weight: 600; |
169 | 216 | margin-bottom: 10px; |
| 217 | + color: var(--text-heading); |
| 218 | + display: flex; |
| 219 | + align-items: center; |
| 220 | + flex-wrap: wrap; |
| 221 | + gap: 6px; |
170 | 222 | } |
171 | 223 |
|
172 | 224 | #pypluginstore-container .card-desc { |
173 | | - font-size: 0.9em; |
174 | | - color: #666; |
175 | | - margin-bottom: 15px; |
| 225 | + font-size: 0.85em; |
| 226 | + color: var(--text-muted); |
| 227 | + margin-bottom: 14px; |
176 | 228 | flex-grow: 1; |
| 229 | + line-height: 1.5; |
177 | 230 | } |
178 | 231 |
|
179 | 232 | #pypluginstore-container .card-meta { |
180 | | - font-size: 0.8em; |
181 | | - color: #888; |
182 | | - margin-bottom: 15px; |
| 233 | + font-size: 0.78em; |
| 234 | + color: var(--text-muted); |
| 235 | + margin-bottom: 14px; |
| 236 | + line-height: 1.7; |
| 237 | + padding-top: 10px; |
| 238 | + border-top: 1px solid var(--border-color); |
183 | 239 | } |
184 | 240 |
|
185 | 241 | #pypluginstore-container .actions { |
186 | 242 | display: flex; |
187 | | - gap: 10px; |
| 243 | + gap: 8px; |
188 | 244 | align-items: stretch; |
189 | 245 | } |
190 | 246 |
|
191 | 247 | #pypluginstore-container button, |
192 | 248 | #pypluginstore-container .btn-link { |
193 | | - padding: 8px 12px; |
| 249 | + padding: 7px 12px; |
194 | 250 | border: none; |
195 | | - border-radius: 4px; |
| 251 | + border-radius: 6px; |
196 | 252 | cursor: pointer; |
197 | | - font-weight: bold; |
| 253 | + font-weight: 600; |
198 | 254 | flex: 1; |
199 | | - transition: background 0.2s; |
200 | | - font-size: 13.3333px; /* Match default button font size */ |
| 255 | + transition: background 0.2s, box-shadow 0.2s; |
| 256 | + font-size: 0.82em; |
201 | 257 | font-family: inherit; |
202 | 258 | display: flex; |
203 | 259 | align-items: center; |
204 | 260 | justify-content: center; |
205 | 261 | text-decoration: none; |
206 | 262 | box-sizing: border-box; |
207 | | - min-height: 35px; |
| 263 | + min-height: 32px; |
| 264 | + letter-spacing: 0.02em; |
208 | 265 | } |
209 | 266 |
|
210 | | - .btn-install { background: var(--primary); color: white; } |
211 | | - .btn-install:hover { background: var(--primary-hover); } |
212 | | - |
213 | | - .btn-remove { background: var(--danger); color: white; } |
214 | | - .btn-remove:hover { background: var(--danger-hover); } |
| 267 | + #pypluginstore-container .btn-install { background: rgba(74, 158, 218, 0.25) !important; color: var(--primary) !important; border: 1px solid rgba(74, 158, 218, 0.65) !important; } |
| 268 | + #pypluginstore-container .btn-install:hover { background: rgba(74, 158, 218, 0.28) !important; } |
215 | 269 |
|
216 | | - .btn-update-current { background: var(--muted); color: white; } |
217 | | - .btn-update-current:hover { background: var(--muted-hover); } |
| 270 | + #pypluginstore-container .btn-remove { background: rgba(224, 92, 106, 0.15) !important; color: var(--danger) !important; border: 1px solid rgba(224, 92, 106, 0.65) !important; } |
| 271 | + #pypluginstore-container .btn-remove:hover { background: rgba(224, 92, 106, 0.28) !important; } |
218 | 272 |
|
219 | | - .btn-update-available { background: var(--primary); color: white; } |
220 | | - .btn-update-available:hover { background: var(--primary-hover); } |
| 273 | + #pypluginstore-container .btn-update { background: rgba(58, 191, 126, 0.15) !important; color: var(--success) !important; border: 1px solid rgba(58, 191, 126, 0.65) !important; } |
| 274 | + #pypluginstore-container .btn-update:hover { background: rgba(58, 191, 126, 0.28) !important; } |
221 | 275 |
|
222 | | - .btn-restart { background: #343a40; color: white; flex: 0 0 auto !important; } |
223 | | - .btn-restart:hover { background: #23272b; } |
224 | | - |
225 | | - .btn-info { background: #17a2b8; color: white; } |
226 | | - .btn-info:hover { background: #138496; } |
| 276 | + #pypluginstore-container .btn-info { background: rgba(107, 130, 160, 0.15) !important; color: #8ea8c0 !important; border: 1px solid rgba(107,130,160,0.65) !important; text-decoration: none !important; } |
| 277 | + #pypluginstore-container .btn-info:hover { background: rgba(107, 130, 160, 0.28) !important; } |
227 | 278 |
|
| 279 | + .btn-restart { background: #343a40; color: white; flex: 0 0 auto !important; } |
| 280 | + .btn-restart:hover { background: #23272b; } |
| 281 | + |
228 | 282 | .installed-badge { |
229 | 283 | display: inline-block; |
230 | | - background: var(--success); |
231 | | - color: white; |
232 | | - padding: 2px 6px; |
| 284 | + background: rgba(58, 191, 126, 0.18); |
| 285 | + color: var(--success); |
| 286 | + border: 1px solid rgba(58, 191, 126, 0.4); |
| 287 | + padding: 2px 8px; |
233 | 288 | border-radius: 10px; |
234 | 289 | font-size: 0.7em; |
235 | | - margin-left: 10px; |
236 | | - vertical-align: middle; |
| 290 | + font-weight: 600; |
| 291 | + letter-spacing: 0.03em; |
237 | 292 | } |
238 | 293 | </style> |
239 | 294 |
|
|
0 commit comments