diff --git a/CortexPrime-Hammerheads/CortexPrime-Hammerhead.css b/CortexPrime-Hammerheads/CortexPrime-Hammerhead.css index cae36aa690..3f8dc0918a 100644 --- a/CortexPrime-Hammerheads/CortexPrime-Hammerhead.css +++ b/CortexPrime-Hammerheads/CortexPrime-Hammerhead.css @@ -272,7 +272,7 @@ input[name="attr_Portrait"]:not([value="PC0"]) ~ .sheet-physical { position: absolute; - top: 190px; + top: 165px; left: 280px; line-height: 25px; z-index: 10; @@ -280,7 +280,7 @@ input[name="attr_Portrait"]:not([value="PC0"]) ~ .sheet-mental { position: absolute; - top: 243px; + top: 218px; left: 290px; line-height: 25px; z-index: 10; @@ -288,7 +288,7 @@ input[name="attr_Portrait"]:not([value="PC0"]) ~ .sheet-social { position: absolute; - top: 295px; + top: 270px; left: 280px; line-height: 25px; z-index: 10; @@ -373,6 +373,47 @@ input[name="attr_tooltipSwitch"][value="on"] ~ div h3.sheet-tooltip:hover .sheet visibility: visible; } +/* Edit Stress */ + +.charsheet label { + all: unset; + position: absolute; + font-size: 4px; + padding: 1ch; + color: rgba(61, 161, 106, 0.02); + border: 2px solid rgba(61, 161, 106, 0.32); + background-color: rgba(61, 161, 106, 0.02); + z-index: 15; + min-width: 90px; +} + +.charsheet label:hover { + font-size: 11px; + color: #ffffff; + background-color: rgba(61, 161, 106, 0.62); + border: 1px solid #3da069; +} + +label[for="sheet-editStress"] { + float: right; + align-content: right; + right: 4ch; +} + +.sheet-wrapper select { + all: unset; + width: auto; +} + +.sheet-editStress { + display: none; +} + + +input[name="attr_editStress"]:checked + div .sheet-editStress { + display: block; +} + /* Edit */ .sheet-editPane { @@ -381,7 +422,8 @@ input[name="attr_tooltipSwitch"][value="on"] ~ div h3.sheet-tooltip:hover .sheet width: 670px; z-index: 45; position: absolute; - top: 15px;left: 10vh; + top: 15px; + left: 15vh; padding: 14px; display: none; } @@ -390,7 +432,7 @@ input[name="attr_tooltipSwitch"][value="on"] ~ div h3.sheet-tooltip:hover .sheet float: right; } -input[name="attr_Edit"]:checked + div { +input[name="attr_Edit"]:checked + div.sheet-editPane { display: block !important; } @@ -563,5 +605,13 @@ input[name="attr_Edit"]:checked + div { display: block !important; visibility: visible !important; } - - } \ No newline at end of file + +.charsheet label { + font-size: 9px !important; + color: #ffffff; + background-color: rgba(61, 161, 106, 0.62) !important; + border: 1px solid #3da069 !important; + padding: 4px !important; +} + +} \ No newline at end of file diff --git a/CortexPrime-Hammerheads/CortexPrime-Hammerhead.html b/CortexPrime-Hammerheads/CortexPrime-Hammerhead.html index 685c02d41c..8f16ef5b07 100644 --- a/CortexPrime-Hammerheads/CortexPrime-Hammerhead.html +++ b/CortexPrime-Hammerheads/CortexPrime-Hammerhead.html @@ -28,8 +28,17 @@ PC20 -