Redesign item sheet CSS
Item sheets look kind of underwhelming. Please redesign as you see fit.
Needs:
- White Marble Background
Use .border("groove", true);
and .border("groove", false);
as less shorthands. true
is to set a background, false
to make background transparent.
Relevant paths/files:
templates/item/ - html files templates/item/partials/ - the handlebar partials less/ - various lessfiles module/item/item.js - item definition - you shouldn't need this. functionality is finished. module/item/item-sheet.js - item sheet definition - you shouldn't need this. functionality is finished.
Rest is up to you, @tobbl -
Item types and their properties:
Item Type | Attribute | Attribute Type | CSS Handlebars shorthand | Localization handlebar |
---|---|---|---|---|
Item | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Price | Float | {{data.price.value}} |
{{localization 'KULT2E.interface.item.price.label'}} |
|
Weight | Int | {{data.weight.value}} |
{{localization 'KULT2E.interface.item.weight.label'}} |
|
Weapon | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Price | Float | {{data.price.value}} |
{{localization 'KULT2E.interface.item.price.label'}} |
|
Weight | Int | {{data.weight.value}} |
{{localization 'KULT2E.interface.item.weight.label'}} |
|
Scratch | Int | {{data.sc.value}} |
{{localization 'KULT2E.interface.table_header.weapons.sc.label'}} |
|
Light Wound | Int | {{data.lw.value}} |
{{localization 'KULT2E.interface.table_header.weapons.lw.label'}} |
|
Serious Wound | Int | {{data.sw.value}} |
{{localization 'KULT2E.interface.table_header.weapons.sw.label'}} |
|
Deadly Wound | Int | {{data.dw.value}} |
{{localization 'KULT2E.interface.table_header.weapons.dw.label'}} |
|
Range | Int | {{data.range.value}} |
{{localization 'KULT2E.interface.table_header.weapons.range.label'}} |
|
Type | String | {{data.type.value}} |
{{localization 'KULT2E.interface.table_header.weapons.type.label'}} |
|
Skill | String | {{data.skill.value}} |
{{localization 'KULT2E.interface.table_header.weapons.skill.label'}} |
|
Armor | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Price | Float | {{data.price.value}} |
{{localization 'KULT2E.interface.item.price.label'}} |
|
Weight | Int | {{data.weight.value}} |
{{localization 'KULT2E.interface.item.weight.label'}} |
|
Value | Int | {{data.value}} |
{{localization 'KULT2E.interface.table_header.armor.value.label'}} |
|
Skill | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Score | Int | {{data.score.value}} |
{{localization 'KULT2E.interface.table_header.skills.score.label'}} |
|
Attribute | Int | {{data.attribute.value}} |
{{localization 'KKULT2E.interface.table_header.skills.attribute.label'}} |
|
Is Weaponskill | Bool | {{data.wpn.value}} |
{{localization 'KULT2E.interface.skill.weaponskill.label'}} |
|
Advantage | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Cost | Int | {{data.score.value}} |
{{localization 'KULT2E.interface.table_header.advantages.cost.label'}} |
|
Description | String | {{item.data.description.value}} |
{{editor content=data.description.value target="data.description.value" button=true owner=owner editable=editable}} |
|
Disdvantage | Name | String | {{item.name}} |
{{localization 'KULT2E.character.name.placeholder'}} |
Cost | Int | {{data.score.value}} |
{{localization 'KULT2E.interface.table_header.disadvantages.cost.label'}} |
|
Description | String | {{item.data.description.value}} |
{{editor content=data.description.value target="data.description.value" button=true owner=owner editable=editable}} |
Edited by anthrax