-
+
@@ -3838,4 +3854,12 @@ on('change:repeating_ShipEssentialComponents',function(){
on('change:repeating_ShipSupplementalComponents',function(){
TAS.repeatingSimpleSum('ShipSupplementalComponents','ShipSupplementalComponentSpace','ShipSupplementalComponentsSpaceTotal');
});
+on("change:whispertab", function() {
+ // Check the current value of the hidden attribute.
+ getAttrs(["whispertab"], function(v) {
+ setAttrs({
+ "whisper": v["whispertab"] == 0 ? "" : "/w gm "
+ });
+ });
+});
diff --git a/Dark_Heresy_2ed/DarkHeresy2edPreview.png b/Dark_Heresy_2ed/DarkHeresy2edPreview.png
index 34742ebaeb..1c195a7360 100644
Binary files a/Dark_Heresy_2ed/DarkHeresy2edPreview.png and b/Dark_Heresy_2ed/DarkHeresy2edPreview.png differ
diff --git a/Dark_Heresy_2ed/DarkHeresy2edStyle.css b/Dark_Heresy_2ed/DarkHeresy2edStyle.css
index 800b08b22b..69bd9b10fb 100644
--- a/Dark_Heresy_2ed/DarkHeresy2edStyle.css
+++ b/Dark_Heresy_2ed/DarkHeresy2edStyle.css
@@ -1,7 +1,7 @@
/*----------- Tabs Setup -------------*/
/*this hides the contents of each tab by default*/
-.charsheet div[class^="sheet-section"] {
+.charsheet div[class^="sheet-section"] {
display: none;
}
@@ -18,21 +18,23 @@
display: block;
}
-.charsheet input.sheet-tab99:checked ~ div[class^="sheet-section"] {
+.charsheet input.sheet-tab99:checked ~ div[class^="sheet-section"] {
display: block;
}
/*this hides the radio button for each tab, makes it 100px wide and 40px tall and makes sure it's above everything else*/
+.charsheet input.sheet-eltab,
.charsheet input.sheet-tab {
width: 100px;
height: 40px;
- cursor: pointer;
+ cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
}
/*this styles the span with the tab information and slides to the left, so it appears underneath the radio button*/
+.charsheet span.sheet-eltab,
.charsheet span.sheet-tab {
text-align: center;
display: inline-block;
@@ -51,6 +53,7 @@
}
/*this modifies the span color once the radio button is selected so you know which tab is selected*/
+.charsheet input.sheet-eltab:checked + span.sheet-eltab,
.charsheet input.sheet-tab1:checked + span.sheet-tab1,
.charsheet input.sheet-tab2:checked + span.sheet-tab2,
.charsheet input.sheet-tab3:checked + span.sheet-tab3,
@@ -370,7 +373,7 @@ display: inline-block;
}
.charsheet .sheet-wrapper .sheet-armourblock label {
text-align: center;
-text-transform:uppercase;
+text-transform:uppercase;
}
.charsheet .sheet-wrapper .sheet-armourblock input {
text-align: center;
@@ -424,7 +427,7 @@ overflow: hidden;
.charsheet .sheet-wrapper .sheet-brackets {
border-left: 1px solid #aaa;
border-right: 1px solid #aaa;
-border-radius: 12px;
+border-radius: 12px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-center {
text-align: center;
@@ -458,7 +461,7 @@ width: calc(40% - 3%);
width: calc(50% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-morebig {
-width: calc(60% - 3%);
+width: calc(60% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-bigger {
width: calc(70% - 3%);
@@ -499,7 +502,7 @@ border-radius: 5px;
border: none;
height:65px;
background-color: transparent;
-white-space: normal;
+white-space: normal;
width: 100%;
margin:auto;
text-align:center;
@@ -513,7 +516,7 @@ background-color:transparent;
border:0;
font-weight:bold;
}
-.charsheet .sheet-wrapper .sheet-characteristics input {
+.charsheet .sheet-wrapper .sheet-characteristics input {
display:block;
border:1px solid gray;
background-color:transparent;
@@ -587,7 +590,7 @@ input:focus, textarea:focus
/*=== Red Horizontal Line ===*/
-.sheet-dhhr
+.sheet-dhhr
{
border-top: 0;
margin-top: 0px;