Added script management
This commit is contained in:
parent
ba7375fe15
commit
04b1325031
7 changed files with 575 additions and 4 deletions
|
|
@ -142,6 +142,7 @@ button {
|
|||
white-space: nowrap;
|
||||
margin-top: 32px;
|
||||
margin-bottom: 8px;
|
||||
color: var(--section-color);
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0px;
|
||||
|
|
@ -467,3 +468,71 @@ dialog#connection-data {
|
|||
z-index: 8192;
|
||||
}
|
||||
}
|
||||
|
||||
#scripts {
|
||||
.group {
|
||||
font-weight: bold;
|
||||
margin-top: 32px;
|
||||
color: var(--section-color);
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.script {
|
||||
display: grid;
|
||||
grid-template-columns: min-content 1fr;
|
||||
grid-gap: 4px;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
cursor: pointer;
|
||||
|
||||
&.selected {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
div {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#editor-script {
|
||||
& > div {
|
||||
display: grid;
|
||||
grid-template-columns: 200px 1fr min-content;
|
||||
grid-gap: 16px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.label {
|
||||
margin-top: 16px;
|
||||
font-weight: bold;
|
||||
color: var(--section-color);
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
font-family: monospace;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
|
||||
button {
|
||||
margin-top: 8px;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue