add middle option between cowboy and program
This commit is contained in:
+38
-22
@@ -37,14 +37,6 @@
|
||||
|
||||
|
||||
/* Hacky overrides of outer Foundry stuff */
|
||||
form.program-style{
|
||||
background: url("../assets/img/CrumpledPlainPaper10b.webp") !important;
|
||||
}
|
||||
|
||||
form.cowboy-style{
|
||||
background: url("../assets/img/StainedPlainPaper10b.webp") !important;
|
||||
background-size: 100% !important;
|
||||
}
|
||||
|
||||
/* Override default foundry CSS to remove padding, so that our background image can take up the whole window */
|
||||
.deltagreen section.window-content{
|
||||
@@ -56,6 +48,44 @@ form.cowboy-style{
|
||||
padding: 6px 6px 6px 6px !important;
|
||||
}
|
||||
|
||||
/* Character Sheet Style Options */
|
||||
|
||||
form.outlaw-style,
|
||||
form.cowboy-style{
|
||||
background: url("../assets/img/StainedPlainPaper10b.webp") !important;
|
||||
background-size: 100% !important;
|
||||
}
|
||||
|
||||
form.program-style{
|
||||
background: url("../assets/img/CrumpledPlainPaper10b.webp") !important;
|
||||
}
|
||||
|
||||
.cowboy-style{
|
||||
font-family: "SpecialElite", sans-serif !important;
|
||||
}
|
||||
|
||||
.outlaw-style,
|
||||
.program-style{
|
||||
font-family: "PublicSans", sans-serif !important;
|
||||
}
|
||||
|
||||
.outlaw-style
|
||||
.cowboy-style .tabs .item {
|
||||
background: rgba(173, 151, 101, 0.3);
|
||||
}
|
||||
|
||||
.program-style .tabs .item {
|
||||
background: rgba(138, 136, 133, 0.3);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
#pause img {
|
||||
content: url(../assets/img/DG_Pause_Icon.webp);
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
.old-paper-background{
|
||||
background: url("../assets/img/StainedPlainPaper10.webp") !important;
|
||||
@@ -89,21 +119,7 @@ form.cowboy-style{
|
||||
}
|
||||
|
||||
|
||||
.cowboy-style{
|
||||
font-family: "SpecialElite", sans-serif !important;
|
||||
}
|
||||
|
||||
.program-style{
|
||||
font-family: "PublicSans", sans-serif !important;
|
||||
}
|
||||
|
||||
.program-style .tabs .item {
|
||||
background: rgba(138, 136, 133, 0.3);
|
||||
}
|
||||
|
||||
.cowboy-style .tabs .item {
|
||||
background: rgba(173, 151, 101, 0.3);
|
||||
}
|
||||
|
||||
.rollable:hover, .rollable:focus {
|
||||
color: #000;
|
||||
|
||||
@@ -244,13 +244,14 @@ Hooks.once('init', async function() {
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
if(characterSheetStyle === "cowboy"){
|
||||
return "special-elite-font";
|
||||
}
|
||||
else{
|
||||
return "public-sans-font";
|
||||
}
|
||||
|
||||
*/
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('getCharacterSheetStyle', function() {
|
||||
@@ -260,6 +261,9 @@ Hooks.once('init', async function() {
|
||||
if(characterSheetStyle === "cowboy"){
|
||||
return "cowboy-style";
|
||||
}
|
||||
else if(characterSheetStyle === "outlaw"){
|
||||
return "outlaw-style";
|
||||
}
|
||||
else{
|
||||
return "program-style";
|
||||
}
|
||||
|
||||
+2
-1
@@ -8,7 +8,8 @@ export const registerSystemSettings = function () {
|
||||
type: String,
|
||||
choices: {
|
||||
// If choices are defined, the resulting setting will be a select menu
|
||||
cowboy: "The Cowboys/Outlaws",
|
||||
cowboy: "The Cowboys",
|
||||
outlaw: "The Outlaws",
|
||||
program: "The Program",
|
||||
},
|
||||
default: "program", // The default value for the setting
|
||||
|
||||
Reference in New Issue
Block a user