diff --git a/Tavern-Tales/TavernTalesSheet.css b/Tavern-Tales/TavernTalesSheet.css index 6a152c8c74..822fefe809 100644 --- a/Tavern-Tales/TavernTalesSheet.css +++ b/Tavern-Tales/TavernTalesSheet.css @@ -74,6 +74,13 @@ } + +.sheet-stats { + text-align: center; + position: relative; +} + + .sheet-combatDamage { /* margin: 0px; @@ -87,8 +94,9 @@ } .sheet-traitXP{ - position: relative; - right: -89%; + position: absolute; + right: 5px; + top: 5px; font-size: 0.5em; } @@ -97,6 +105,7 @@ font-size: 1em; padding: 0; vertical-align: text-bottom; + -moz-appearance: textfield; } @@ -335,6 +344,19 @@ input.sheet-hiddenSectionToggle:not(:checked) + span + div +/* + + + _/_/_/_/_/ _/_/ _/_/_/ _/_/_/ + _/ _/ _/ _/ _/ _/ + _/ _/_/_/_/ _/_/_/ _/_/ + _/ _/ _/ _/ _/ _/ + _/ _/ _/ _/_/_/ _/_/_/ + +*/ + + + .sheet-traitsTabAllContent, .sheet-traitsTabCombatContent, .sheet-traitsTabExplorationContent, @@ -343,48 +365,71 @@ input.sheet-hiddenSectionToggle:not(:checked) + span + div display:none; } -input.sheet-tab -{ -width: 121px; -height: 20px; -position: relative; -top: -2px; -margin: 0px; -cursor: pointer; -z-index: 1; -font-family: 'IM Fell English SC', serif; +div.sheet-tab-widget-container { + position: relative; + display: inline-block; + width: 15%; + height: 20px; + top: -2px; + margin-left: -1px; /* To make up for spaces in the html between spans */ + margin-right: -1px; + text-align: center; + vertical-align: middle; } -input.sheet-tab::before -{ -content: attr(title); -border: solid 2px #E8E8E8; -border-bottom: none; -border-top-left-radius: 1em; -border-top-right-radius: 1em; -text-align: center; -display: inline-block; -width: 121px; -height: 20px; -font-size: 14px; -font-weight: bold; -background: burlywood; +input.sheet-tab { + position: relative; + left: 0; + top: 0; + + width: 100%; + height: 100%; + margin: 0px; + cursor: pointer; + z-index: 1; + font-family: 'IM Fell English SC', serif; } +input.sheet-tab + span::before { + content: attr(title); + color: black; +} -input.sheet-tab:checked::before -{ +input.sheet-tab + span { + position: absolute; + top: 0; + left: 0; + pointer-events: none; + + border: solid 2px #E8E8E8; + border-bottom: none; + border-top-left-radius: 1em; + border-top-right-radius: 1em; + text-align: center; + display: inline-block; + width: 100%; + height: 100%; + font-size: 14px; + font-weight: bold; + background: burlywood; + color: black; + z-index: 2; +} + +input.sheet-tab:checked + span { background: wheat; - } + + + -input.sheet-tab-all:checked ~ .sheet-traitsTabAllContent, -input.sheet-tab-combat:checked ~ .sheet-traitsTabCombatContent, -input.sheet-tab-exploration:checked ~ .sheet-traitsTabExplorationContent, -input.sheet-tab-interaction:checked ~ .sheet-traitsTabInteractionContent, -input.sheet-tab-general:checked ~ .sheet-traitsTabGeneralContent { /* show the correct tab */ +input[type="checkbox"][name="attr_traitTabs"][value="All"]:checked ~ .sheet-traitsTabAllContent, +input[type="checkbox"][name="attr_traitTabs"][value="Combat"]:checked ~ .sheet-traitsTabCombatContent, +input[type="checkbox"][name="attr_traitTabs"][value="Exploration"]:checked ~ .sheet-traitsTabExplorationContent, +input[type="checkbox"][name="attr_traitTabs"][value="Interaction"]:checked ~ .sheet-traitsTabInteractionContent, +input[type="checkbox"][name="attr_traitTabs"][value="General"]:checked ~ .sheet-traitsTabGeneralContent { /* show the correct tab */ display:block; background-color: wheat; border-bottom-right-radius: 1em; @@ -394,7 +439,7 @@ input.sheet-tab-general:checked ~ .sheet-traitsTabGeneralContent { /* show the c .sheet-traits { margin: 0px; padding: 10px; - + position: relative; } @@ -410,6 +455,16 @@ input.sheet-tab-general:checked ~ .sheet-traitsTabGeneralContent { /* show the c */ +button[type="roll"].sheet-decreasedRoll:hover { + background-color: darkred; + background-position: 0 -25px; +} + +button[type="roll"].sheet-increasedRoll:hover { + background-color: lightgreen; + background-position: 0 -25px; +} + .sheet-beliefs .repcontrol, .sheet-improvements .repcontrol, @@ -420,13 +475,15 @@ input.sheet-tab-general:checked ~ .sheet-traitsTabGeneralContent { /* show the c } .repcontrol .btn { - visibility: hidden; + /* visibility: hidden; */ /* Stupid Firefox */ border: medium none; - color: white !important; + color: transparent !important; + text-shadow: none !important; background: none; box-shadow: none; float: none; display: inline-block; + } .repcontrol .btn:focus { diff --git a/Tavern-Tales/TavernTalesSheet.html b/Tavern-Tales/TavernTalesSheet.html index 94db230de5..3387fbd1b1 100644 --- a/Tavern-Tales/TavernTalesSheet.html +++ b/Tavern-Tales/TavernTalesSheet.html @@ -72,7 +72,7 @@
-
+

XP: Stats

@@ -87,7 +87,7 @@ -