Root page override

This commit is contained in:
Magnus Åhall 2026-06-10 20:03:31 +02:00
parent 31eee4ede5
commit b3ca0d29d0
6 changed files with 70 additions and 29 deletions

View file

@ -230,6 +230,20 @@ button {
}
&.node {
&.root-node-override {
#page-root {
display: contents;
}
#page-node {
display: none;
}
}
#page-root {
display: none;
}
#page-node {
display: contents;
}
@ -343,6 +357,32 @@ n2-syncprogress {
}
}
#page-root {
& > div {
grid-area: content;
align-self: start;
margin-top: 64px;
display: grid;
justify-items: center;
/* logo */
img {
margin-bottom: 16px;
height: 32px;
}
.create {
border: 2px solid #529b00;
padding: 16px 32px;
margin-top: 64px;
background-color: #d9ffc9;
cursor: pointer;
}
}
}
/* ============================================================= */
n2-nodeui {