More work on hooks

This commit is contained in:
Magnus Åhall 2025-08-07 15:51:15 +02:00
parent 392aa0d11f
commit 2a04cba42a
5 changed files with 164 additions and 4 deletions

View file

@ -292,9 +292,9 @@ select:focus {
& > .add {
margin-bottom: 8px;
img {
height: 24px;
cursor: pointer;
}
}
@ -330,12 +330,56 @@ select:focus {
}
#script-hooks {
.scripts-grid {
.header {
font-weight: bold;
margin-right: 8px;
}
display: grid;
grid-template-columns: repeat(4, min-content);
align-items: center;
grid-gap: 4px 0px;
div {
white-space: nowrap;
}
.script-icon {
margin-right: 4px;
}
.script-icon, .script-unhook {
img {
display: block;
height: 24px;
}
}
.script-name, .script-ssh {
margin-right: 16px;
}
.script-ssh {
cursor: pointer;
}
}
& > .add {
margin-bottom: 8px;
img {
height: 24px;
cursor: pointer;
}
}
& > .label {
color: var(--section-color);
font-weight: bold;
font-size: 1.25em;
margin-bottom: 8px;
}
}
#select-node {