Remember last device, open all folders on search

This commit is contained in:
Magnus Åhall 2026-02-26 15:58:01 +01:00
parent 7feeacea42
commit 5635c2af1a
2 changed files with 36 additions and 7 deletions

View file

@ -1,5 +1,6 @@
:root {
--header-background: #acbb78;
--header-border: 1px solid #869a41;
--line-color: #ccc;
--line-color-record: #eee;
@ -22,7 +23,7 @@
--record-NXDOMAIN: #aa0000;
--record-other: #888;
--record-hover: #fffff4;
--record-hover: #fafafa;
}
html {
@ -34,6 +35,9 @@ html {
*:after {
box-sizing: inherit;
}
*:focus {
outline: none;
}
[onClick] {
cursor: pointer;
@ -103,18 +107,21 @@ select,
button {
font-size: 1em;
padding: 4px 8px;
border-radius: 4px;
border: 1px solid #444;
}
#application-header {
display: grid;
grid-template-columns: min-content 1fr min-content min-content;
grid-template-columns: min-content min-content 1fr min-content;
align-items: center;
border-bottom: 1px solid #a4bc52;
justify-items: end;
border-bottom: var(--header-border);
background-color: var(--header-background);
.device-select {
padding: 16px 16px 16px 32px;
padding: 16px;
border-right: var(--header-border);
.device-name {
font-weight: bold;
@ -127,11 +134,13 @@ button {
grid-template-columns: min-content min-content;
grid-gap: 0px 8px;
&>* {
display: none;
}
&.show {
border-right: var(--header-border);
&>* {
display: initial;
}
@ -269,6 +278,10 @@ button {
padding-left: 8px;
border-bottom: 1px solid var(--header-line);
&.mouse-over {
background-color: var(--record-hover);
}
img {
display: block;
padding-left: 4px;
@ -332,6 +345,8 @@ button {
border-left: 1px solid var(--header-line);
align-content: center;
cursor: pointer;
display: grid;
justify-items: center;
&.mouse-over {
background-color: var(--record-hover);