Throw some initial version of code at the wall for the tabbed character sheet
This commit is contained in:
parent
eb6d7fee94
commit
b72f22380f
10 changed files with 213 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<div class="HeroSkillsCardV1">
|
||||
<div class="HeroSkillsCardV1 {{ rc-toClasses classes }}" {{ rc-toAttributes attrs }}>
|
||||
<div class="label col-header list-header gait-skills-header">
|
||||
<span>{{ rc-i18n "RipCrypt.Apps.grit-skills" }}</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div class="HeroSummaryCardV1">
|
||||
<div class="HeroSummaryCardV1 {{ rc-toClasses classes }}" {{ rc-toAttributes attrs }}>
|
||||
{{!-- * Header --}}
|
||||
<div class="header">
|
||||
<div class="image">Logo Image</div>
|
||||
|
|
|
|||
9
templates/Apps/TabbedHeroSheet/style.css
Normal file
9
templates/Apps/TabbedHeroSheet/style.css
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.ripcrypt.ripcrypt--TabbedHeroSheet {
|
||||
> .window-content {
|
||||
gap: 4px;
|
||||
background: var(--base-background);
|
||||
> .tab:not(.visible) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
26
templates/Apps/TabbedHeroSheet/tabs.hbs
Normal file
26
templates/Apps/TabbedHeroSheet/tabs.hbs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<nav>
|
||||
<button
|
||||
type="button"
|
||||
data-action="tab"
|
||||
data-group="root"
|
||||
data-tab="HeroSummaryCardV1"
|
||||
>
|
||||
Stats
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-action="tab"
|
||||
data-group="root"
|
||||
data-tab="HeroSkillsCardV1"
|
||||
>
|
||||
Skills
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-action="tab"
|
||||
data-group="root"
|
||||
data-tab="HeroCraftCardV1"
|
||||
>
|
||||
Craft
|
||||
</button>
|
||||
</nav>
|
||||
|
|
@ -5,3 +5,4 @@
|
|||
@import url("./HeroSummaryCardV1/style.css");
|
||||
@import url("./HeroSkillsCardV1/style.css");
|
||||
@import url("./RichEditor/style.css");
|
||||
@import url("./TabbedHeroSheet/style.css");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue