-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Styles equipmen section with colour coded items. sorts items based on item type and item name.
- Loading branch information
Showing
17 changed files
with
224 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { DisplayClass } from "./item.js"; | ||
|
||
export class Possession extends Item { | ||
prepareData() { | ||
this.data.data.cssClass = "equipment-possession"; | ||
} | ||
|
||
data: PossessionRootData; | ||
} | ||
|
||
export interface PossessionRootData extends BaseEntityData { | ||
data: PossessionData; | ||
} | ||
|
||
export interface PossessionData extends DisplayClass { | ||
isToolkit: boolean; | ||
isExpended: boolean; | ||
description: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { DisplayClass } from "./item.js"; | ||
|
||
export class Property extends Item { | ||
prepareData() { | ||
this.data.data.cssClass = "equipment-property"; | ||
} | ||
|
||
data: PropertyRootData; | ||
} | ||
|
||
export interface PropertyRootData extends BaseEntityData { | ||
data: PropertyData; | ||
} | ||
|
||
export interface PropertyData extends DisplayClass { | ||
isWorkshop: boolean; | ||
description: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
.beliefs, .instincts { | ||
.bits-item { | ||
& > div { | ||
width: 13%; | ||
border-right: 1px solid black; | ||
margin-bottom: 2px; | ||
|
||
.bits-item-name { | ||
width: 100%; | ||
} | ||
|
||
input[type="checkbox"] { | ||
width: 1em; | ||
height: 1em; | ||
margin: 0; | ||
} | ||
} | ||
& > textarea { | ||
width: 87%; | ||
resize: vertical; | ||
border: 0; | ||
min-height: 3em; | ||
height: 3em; | ||
} | ||
} | ||
} | ||
|
||
.traits { | ||
.trait-category { | ||
width: calc(33% - 10px); | ||
margin: 5px; | ||
|
||
i { | ||
float: right; | ||
font-size: 12px; | ||
margin-top: 6px; | ||
margin-left: 5px; | ||
color: transparentize($color: black, $amount: 0.25) | ||
} | ||
|
||
i:hover { | ||
color: #FF0000; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.