200 lines
4.2 KiB
CSS
200 lines
4.2 KiB
CSS
.configurable-reactions .cr-config {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.configurable-reactions .cr-header,
|
|
.configurable-reactions .cr-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-grid {
|
|
display: grid;
|
|
grid-template-columns: 310px 1fr;
|
|
gap: 1rem;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.configurable-reactions .cr-sidebar,
|
|
.configurable-reactions .cr-main {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.configurable-reactions .cr-button-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
margin: 0.75rem 0;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 0.35rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile,
|
|
.configurable-reactions .cr-flow-node {
|
|
display: grid;
|
|
grid-template-columns: 2rem 1fr auto;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
border: 1px solid var(--color-border-light-tertiary, #888);
|
|
border-radius: 6px;
|
|
padding: 0.45rem;
|
|
background: rgb(0 0 0 / 0.08);
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile {
|
|
cursor: grab;
|
|
grid-template-columns: 2rem 1fr;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile i,
|
|
.configurable-reactions .cr-flow-node > i {
|
|
text-align: center;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile span,
|
|
.configurable-reactions .cr-flow-node strong,
|
|
.configurable-reactions .cr-flow-node small,
|
|
.configurable-reactions .cr-flow-node code {
|
|
display: block;
|
|
}
|
|
|
|
.configurable-reactions .cr-palette-tile code,
|
|
.configurable-reactions .cr-flow-node code {
|
|
opacity: 0.75;
|
|
font-size: 0.75rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.configurable-reactions .cr-builder-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.35fr;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-card,
|
|
.configurable-reactions .cr-drop-card,
|
|
.configurable-reactions .cr-reaction-summary {
|
|
border: 1px solid var(--color-border-light-tertiary, #888);
|
|
border-radius: 6px;
|
|
padding: 0.65rem;
|
|
background: rgb(0 0 0 / 0.04);
|
|
}
|
|
|
|
.configurable-reactions .cr-basics {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto auto;
|
|
align-items: end;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-drop-card {
|
|
min-height: 170px;
|
|
transition: outline-color 0.15s ease, background-color 0.15s ease;
|
|
}
|
|
|
|
.configurable-reactions .cr-drop-active {
|
|
outline: 2px dashed var(--color-border-highlight, #ff6400);
|
|
background: rgb(255 100 0 / 0.12);
|
|
}
|
|
|
|
.configurable-reactions .cr-empty-drop {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 90px;
|
|
border: 1px dashed var(--color-border-light-tertiary, #888);
|
|
border-radius: 6px;
|
|
opacity: 0.8;
|
|
text-align: center;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-action-flow,
|
|
.configurable-reactions .cr-assignment-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.configurable-reactions .cr-action-node {
|
|
grid-template-columns: 2rem 1fr 2rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-assignment-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
border: 1px solid var(--color-border-light-tertiary, #888);
|
|
border-radius: 4px;
|
|
padding: 0.35rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-assignment-list small {
|
|
display: block;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.configurable-reactions .cr-main textarea[name="reactionJson"] {
|
|
width: 100%;
|
|
min-height: 340px;
|
|
font-family: var(--font-monospace, monospace);
|
|
resize: vertical;
|
|
}
|
|
|
|
.configurable-reactions .cr-reaction-summary {
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.configurable-reactions .form-group.stacked {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.configurable-reactions .cr-spell-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
width: fit-content;
|
|
margin-top: 0.25rem;
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: 999px;
|
|
background: rgb(0 0 0 / 0.12);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-inline-drop {
|
|
margin-top: 0.25rem;
|
|
opacity: 0.8;
|
|
font-style: italic;
|
|
}
|
|
|
|
.configurable-reactions .cr-action-buttons {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
justify-content: end;
|
|
}
|