278 lines
5.7 KiB
CSS
278 lines
5.7 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: 33% 67%;
|
|
gap: 1rem;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
.configurable-reactions .cr-sidebar,
|
|
.configurable-reactions .cr-main {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
.configurable-reactions .cr-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.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;
|
|
flex: 0 0 40%;
|
|
min-height: 220px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.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;
|
|
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-json-editor {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
}
|
|
|
|
.configurable-reactions .cr-main textarea[name="reactionJson"] {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 180px;
|
|
font-family: var(--font-monospace, monospace);
|
|
resize: none;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.configurable-reactions .cr-status-builder,
|
|
.configurable-reactions .cr-damage-builder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.configurable-reactions .cr-chip-label {
|
|
opacity: 0.85;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.configurable-reactions .cr-chip-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 0.25rem;
|
|
min-height: 1.6rem;
|
|
padding: 0.25rem;
|
|
border: 1px solid var(--color-border-light-tertiary, #888);
|
|
border-radius: 5px;
|
|
background: rgb(0 0 0 / 0.08);
|
|
}
|
|
|
|
.configurable-reactions .cr-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
max-width: 100%;
|
|
padding: 0.12rem 0.2rem 0.12rem 0.35rem;
|
|
border: 1px solid var(--color-border-light-secondary, #777);
|
|
border-radius: 999px;
|
|
background: rgb(0 0 0 / 0.16);
|
|
font-size: 70%;
|
|
}
|
|
|
|
.configurable-reactions .cr-chip img {
|
|
width: 14px;
|
|
height: 14px;
|
|
border: none;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.configurable-reactions .cr-chip span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.configurable-reactions .cr-chip button {
|
|
width: 1rem;
|
|
min-height: 1rem;
|
|
height: 1rem;
|
|
padding: 0;
|
|
line-height: 1;
|
|
border: none;
|
|
box-shadow: none;
|
|
background: transparent;
|
|
font-size: 0.85em;
|
|
}
|
|
|
|
.configurable-reactions .cr-status-builder select,
|
|
.configurable-reactions .cr-damage-builder select {
|
|
width: 100%;
|
|
}
|
|
|