mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
[Feature] Trigger System (#1500)
* Initial * . * Added StrangePattern trigger * Set command codeblock to expandable * Added automation setting * Added ferocity trigger * Improved StrangePatterns trigger to handle multiple matches
This commit is contained in:
parent
0b343c9f52
commit
454507ba7b
20 changed files with 450 additions and 15 deletions
55
styles/less/sheets/actions/actions.less
Normal file
55
styles/less/sheets/actions/actions.less
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
.application.daggerheart.dh-style.action-config {
|
||||
.trigger-data {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
|
||||
.trigger-data-inner {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
select {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.select-section {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.programmer-section {
|
||||
flex: 3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.hint-section {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
||||
.hint {
|
||||
flex: 1;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.expand-trigger {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.code-mirror-wrapper {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
min-height: 0;
|
||||
transition: height 0.1s ease-in-out;
|
||||
|
||||
&.revealed {
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
@import './actions/actions.less';
|
||||
|
||||
@import './actors/actor-sheet-shared.less';
|
||||
|
||||
@import './actors/adversary/actions.less';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue