Skip to content

Commit 5eefd23

Browse files
committed
menu more chrome style
1 parent 6eb70fb commit 5eefd23

1 file changed

Lines changed: 23 additions & 23 deletions

File tree

panel.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
font-weight: 600;
3434
}
3535

36-
.preserve {
37-
font-size: 12px;
38-
opacity: .9;
39-
}
40-
4136
table {
4237
width: 100%;
4338
border-collapse: collapse;
@@ -207,19 +202,12 @@
207202
font-size: 11px;
208203
}
209204

210-
.preserve {
211-
margin-top: 8px;
212-
padding: 8px;
213-
}
214-
215205
.header {
216206
margin-top: 8px;
217207
}
218208

219209
.controls {
220210
padding: 8px;
221-
margin: 8px;
222-
border-radius: 5px;
223211
background-color: #2d3436;
224212
}
225213

@@ -252,39 +240,45 @@
252240
.controls label {
253241
display: inline-flex;
254242
align-items: center; /* richtet Text und Checkbox mittig aus */
255-
gap: 6px; /* kleiner Abstand zwischen Box und Text */
243+
gap: 6px;
256244
}
257245

258246
#includeThirdParty {
259-
margin: 0; /* Browser-Default-Margin entfernen */
247+
margin: 0;
260248
}
261249

262250
.top {
263251
position: fixed;
264252
top: 0;
265253
width: 100%;
266-
background: Canvas; /* passt sich Light/Dark-Mode an */
267254
color: CanvasText;
268-
z-index: 1000; /* liegt über dem Rest */
269-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
255+
z-index: 1000;
270256
}
271257

272258
#list {
273-
margin-top: 104px; /* Platz für .top reservieren */
259+
margin-top: 60px;
260+
}
274261

262+
.controls {
263+
display: flex;
264+
gap: 8px;
265+
align-items: center;
266+
flex-wrap: wrap;
267+
margin-bottom: 20px;
268+
background-color: #2d3436;
269+
}
270+
.controls .preserve {
271+
margin-left: auto;
275272
}
276273
</style>
277274
</head>
278275
<body>
279276
<div class="top">
280-
281-
<div class="header">
282-
<label class="preserve"><input type="checkbox" id="preserveLog"/> Preserve log</label>
283-
</div>
284-
285277
<div class="controls">
286278
<button id="refresh" style="display: none">Refresh</button>
279+
287280
<label>Filter URL <input id="filterUrl" class="grow" placeholder="/api/"/></label>
281+
288282
<label style="display: none">Method:
289283
<select id="filterMethod">
290284
<option value="">(all)</option>
@@ -295,6 +289,7 @@
295289
<option>DELETE</option>
296290
</select>
297291
</label>
292+
298293
<label>Severity:
299294
<select id="filterSeverity">
300295
<option value="">(all)</option>
@@ -303,11 +298,16 @@
303298
<option>high</option>
304299
</select>
305300
</label>
301+
306302
<label>
307303
<input type="checkbox" id="filterThirdParty"/>
308304
include third-party
309305
</label>
306+
310307
<span id="status"></span>
308+
309+
<!-- NEU: rechts in derselben Box -->
310+
<label class="preserve"><input type="checkbox" id="preserveLog"/> Preserve log</label>
311311
</div>
312312
</div>
313313
<div id="list"></div>

0 commit comments

Comments
 (0)