increased contrast of roll buttons

This commit is contained in:
Bodo Huesemann
2022-05-22 22:35:05 +02:00
parent cab37c68b8
commit d153787ab5
3 changed files with 32 additions and 5 deletions
+4
View File
@@ -4,6 +4,10 @@ This is a rewrite based on the early 2e (basic) and 1e edition that also include
# Release History
## 02.13.00 (Build 17)
### CSS
- enhanced contrast of roll buttons
## 02.12.01 (Build 16)
### Bugfixes
- Fixed stance damagebonus should be dependent on the stance damage active checkbox (error was introduced with the grievous selectbox)
+8 -4
View File
@@ -887,13 +887,15 @@
.ui-dialog .charsheet :is(button[type="roll"],
button[type="roll"][class~="table-rolls"],
button[type="action"][class~="parsed-rolls"]) {
color: rgb(40,40,40);
font-weight: bold;
font-size: 1.3em;
background: transparent;
border: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
opacity: 1;
opacity: 0.8;
padding: 0px;
margin: 0px 0px;
outline: none;
@@ -911,8 +913,10 @@
/* change D12 to target-appropriate crosshairs */
font-family: "Pictos Custom" !important;
content: "[" !important;
color: inherit;
opacity: 0.3;
font-size: 1.1em;
color: rgb(40,40,40);
font-weight: normal;
opacity: 0.8;
}
.ui-dialog .charsheet :is(button[type="roll"][class~="table-rolls"],
@@ -1069,7 +1073,7 @@
background-color: var(--yellow);
border: 5px solid transparent;
border-image-source: var(--borderred);
border-image-slice: 24 24 24 24;
border-image-slice: 20 20 20 20;
border-image-repeat: repeat;
}
+20 -1
View File
@@ -1,4 +1,4 @@
<input type="hidden" name="attr_version" value="02-12-01" />
<input type="hidden" name="attr_version" value="02-13-00" />
<input type="hidden" class="sheet-tabstoggle" name="attr_sheetTab" />
<input type="checkbox" name="attr_parsedrolls" value="1" class="hidden config-parsed-rolls" checked="checked" hidden
readonly />
@@ -2548,6 +2548,25 @@
});
}
}
if (build < 17) {
attrs["build"] = 17;
let releaselog = {msg:""};
hlog(`Release 02.13.00 - ${new Date().toLocaleString()}`, releaselog);
if (v.sheettab === "isPC"){
getAttrs(['releaselog'], function(values){
hlog(`
### CSS
- enhanced contrast of roll buttons
`, releaselog);
hlog("==============", releaselog);
attrs['releaselog'] = releaselog.msg + values['releaselog'];
if (Object.keys(attrs).length) {
setAttrs(attrs);
}
});
}
}
/*
if (build === 9) {