Skip to content

Commit

Permalink
finished syling for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Norc committed Jul 29, 2020
1 parent 415987b commit cdafb16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions css/card-hotbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
list-style: none;
margin: 0 2px;
padding: 0;
border: 1px dashed #999999;
border-radius: 3px;
border: 0px;
border-radius: 10px;
}

#card-hotbar .macro {
position: relative;
flex: 0 0 100px;
height: 100%;
border: 1px dashed #999999;
border-radius: 3px;
border-radius: 10px;
background: #99999980;
box-shadow: 0 0 5px #000 inset;
cursor: pointer;
Expand Down
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ async function cardHotbarInit() {
+ ` { bottom: ${cardHotbarSettings.getCHBYPos()}px; `
+ ` left: ${cardHotbarSettings.getCHBXPos()}px; `
+ ' }'

/*
+ '#card-hotbar #card-macro-list'
+ ` {`
+ ` border: 1px solid ${cardHotbarSettings.getCHBBorderColor()};`
+ ' }'

*/
+ '#card-hotbar .bar-controls'
+ ` { background: ${cardHotbarSettings.getCHBPrimaryColor()};`
+ ` border: 1px solid ${cardHotbarSettings.getCHBBorderColor()};`
+ ' }'

+ '#card-hotbar .macro'
+ ` { background: ${cardHotbarSettings.getCHBPrimaryColor()};`
+ ` border: 1px solid ${cardHotbarSettings.getCHBBorderColor()};`
+ ` border: 1px dashed ${cardHotbarSettings.getCHBBorderColor()};`
+ ' }'

+ '#card-hotbar .macro.active:hover'
Expand Down
6 changes: 3 additions & 3 deletions scripts/card-hotbar-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class cardHotbarSettings {
label: "Color Picker", // The text label used in the button
restricted: false, // Restrict this setting to gamemaster only?
config: false, // Disable display on the standard Foundry settings menu
default: "#0000FF80", // The default color of the setting
default: "#99999980", // The default color of the setting
type: String,
scope: "world", // The scope of the setting
config: false, // Disable display on the standard Foundry settings menu
Expand All @@ -65,7 +65,7 @@ export class cardHotbarSettings {
hint: "cardHotbar.settings.chbBorderColor.nameHint", // A description of the registered setting and its behavior
label: "Color Picker", // The text label used in the button
restricted: false, // Restrict this setting to gamemaster only?
default: "#0000FFff", // The default color of the setting
default: "#999999ff", // The default color of the setting
type: String,
scope: "world", // The scope of the setting
config: false, // Disable display on the standard Foundry settings menu
Expand All @@ -91,7 +91,7 @@ export class cardHotbarSettings {
hint: "cardHotbar.settings.chbBorderColorInactive.nameHint", // A description of the registered setting and its behavior
label: "Color Picker", // The text label used in the button
restricted: false, // Restrict this setting to gamemaster only?
default: "#808080ff", // The default color of the setting
default: "#000000ff", // The default color of the setting
type: String,
scope: "world", // The scope of the setting
config: false, // Disable display on the standard Foundry settings menu
Expand Down

0 comments on commit cdafb16

Please sign in to comment.