Files
roll20-character-sheets-tester/Tavern-Tales/TavernTalesSheet.css
T
plexsoup 79fcd9c793 Tavern Tales: Fixed some Mozilla Problems
modified tabs, modified repcontrol buttons, modified option selects
2017-03-03 02:43:32 -08:00

681 lines
14 KiB
CSS

/* updated Jan 12 2016 - plexsoup */
.sheet-TavernTalesSheetBody {
color: black;
font-family: "Times New Roman", Times, serif;
/*background-color: #B8B894;*/
padding:15px;
}
.sheet-logo {
/*
width:40%;
align:right;
*/
}
.sheet-TavernTalesSheetBody .sheet-col h3 {
font-size: 3.0em;
color: black;
font-size: 1.5em;
}
.sheet-TavernTalesHeader {
display: block;
width: 100%;
}
.sheet-TavernTalesContent {
display: block;
width: 100%;
}
.sheet-TavernTalesColumn {
display: inline-block;
vertical-align: top;
width: 43%;
padding-right: 5%;
}
.sheet-ColumnThirds {
display: inline-block;
width: calc(33% - 21px);
vertical-align: top;
}
.sheet-TavernTalesFooter {
display: block;
width: 100%;
}
.sheet-Attributes th {
color: black;
font-size: 1.0em;
width: 50px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
}
.sheet-TTStatsTable {
/* width: 90%; */
}
.sheet-stats {
text-align: center;
position: relative;
}
.sheet-combatDamage {
/*
margin: 0px;
padding-top: 10px;
padding-right: 0px;
padding-bottom: 10px;
padding-left: 0px;
text-align: center;
*/
}
.sheet-traitXP{
position: absolute;
right: 5px;
top: 5px;
font-size: 0.5em;
}
.sheet-traitXP input{
height: 2em;
font-size: 1em;
padding: 0;
vertical-align: text-bottom;
-moz-appearance: textfield;
}
.sheet-TTConditions{
margin-left:20px;
width:90%;
}
.sheet-TTConditions checkbox{
margin: 4px;
padding: 4px;
}
.sheet-TTConditions input[type="text"]{
width: 80%;
}
.sheet-TTConditions textarea{
width: 80%;
height: 60px;
}
button[type="roll"].sheet-TTInfoButton {
font-size: smaller;
display: inline-block;
}
button[type="roll"].sheet-TTInfoButton::before {
content: none;
}
input.sheet-TTResourceName {
width: 150px;
}
div.sheet-TTResourceCheckboxes {
display: inline-block;
}
div.sheet-Resources {
width: calc(100% - 21px);
margin-left: 20px;
}
select.sheet-ResourcesMaxCheckboxes {
width: 50px;
}
input[type="checkbox"].sheet-HiddenCheckbox {
display: none;
}
div.sheet-TTResourceCheckboxes input[type="checkbox"] {
display: none;
}
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="1"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse1"] {
display: inline-block;
}
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="2"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse1"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="2"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse2"] {
display: inline-block;
}
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="3"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse1"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="3"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse2"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="3"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse3"] {
display: inline-block;
}
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="4"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse1"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="4"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse2"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="4"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse3"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="4"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse4"] {
display: inline-block;
}
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="5"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse1"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="5"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse2"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="5"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse3"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="5"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse4"],
input[type="checkbox"][name="attr_resourceMaxCheckboxes"][value="5"]:checked ~ div.sheet-TTResourceCheckboxes input[type="checkbox"][name="attr_resourceUse5"] {
display: inline-block;
}
.sheet-combatDamage select {
margin: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
width:90px;
}
.sheet-combatDamage .sheet-dieTypeSelect {
margin: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
width:50px;
}
.sheet-TTTraitType {
margin: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
width:50px;
}
.sheet-TTitemName {
width:30%;
display:inline-block;
}
.sheet-TTitemDesc {
width:65%;
display:inline-block;
}
.sheet-BuffEntryField {
width:100%;
height:100px;
}
div.sheet-traits input[type="text"].sheet-TTtraitName {
padding:0px;
margin:0px;
display: block;
}
.sheet-TTcharacterName {
width: 100%;
}
.sheet-TTXPTreasureTable {
width: 100%;
margin: auto;
}
.sheet-TTbioDesc {
height: 75px;
width: 100%
}
/* Make traits appear in columns (inline-block) instead of a vertical list (block) */
div.sheet-traits div {
display: inline-block;
padding: 0;
margin: 0;
}
div.sheet-traits textarea.sheet-TTtraitDesc {
padding:0px;
margin:0px;
width:100%;
height: 130px;
font-size: x-small;
}
.sheet-TTBIGTitles {
font-family: "Times New Roman", Times, serif;
text-align:right;
font-size: 1.0em;
font-weight: bold;
width:100%;
}
.sheet-TTBIGs {
margin-left:auto;
margin-right:0%;
width:75%;
height:100px;
height:1em;
}
input[type="number"] {
width: 30px;
}
/*
ooooo ooooo o8o .o8 .o8
`888' `888' `"' "888 "888
888 888 oooo .oooo888 .oooo888 .ooooo. ooo. .oo.
888ooooo888 `888 d88' `888 d88' `888 d88' `88b `888P"Y88b
888 888 888 888 888 888 888 888ooo888 888 888
888 888 888 888 888 888 888 888 .o 888 888
o888o o888o o888o `Y8bod88P" `Y8bod88P" `Y8bod8P' o888o o888o
*/
input.sheet-hiddenSectionToggle
{
float: left;
}
input.sheet-hiddenSectionToggle:checked + span + div
{
display: block;
width: 90%;
padding: 5px;
margin: 5px;
}
input.sheet-hiddenSectionToggle:not(:checked) + span + div
{
display: none;
}
.sheet-TavernTalesHideableSection {
border-color: black;
border-width: 3px;
border-style: solid;
border-radius: 8px;
background-color: #fcf4e8;
}
/*
_/_/_/_/_/ _/_/ _/_/_/ _/_/_/
_/ _/ _/ _/ _/ _/
_/ _/_/_/_/ _/_/_/ _/_/
_/ _/ _/ _/ _/ _/
_/ _/ _/ _/_/_/ _/_/_/
*/
.sheet-traitsTabAllContent,
.sheet-traitsTabCombatContent,
.sheet-traitsTabExplorationContent,
.sheet-traitsTabInteractionContent,
.sheet-traitsTabGeneralContent {
display:none;
}
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 {
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 + 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[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;
}
.sheet-traits {
margin: 0px;
padding: 10px;
position: relative;
}
/*
_/_/_/ _/ _/ _/_/_/_/_/ _/_/_/_/_/ _/_/ _/ _/ _/_/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/
_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/
_/_/_/ _/_/ _/ _/ _/_/ _/ _/ _/_/_/
*/
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,
.sheet-miscNotes .repcontrol,
.repcontrol {
min-height: 27px;
display: block;
}
.repcontrol .btn {
/* visibility: hidden; */ /* Stupid Firefox */
border: medium none;
color: transparent !important;
text-shadow: none !important;
background: none;
box-shadow: none;
float: none;
display: inline-block;
}
.repcontrol .btn:focus {
outline: 0;
}
.repcontrol .repcontrol_edit {
float: none;
}
.repcontrol .repcontrol_edit:after {
content: '(';
visibility: visible;
font-family: pictos;
background-color: white;
border: 1px solid black;
border-radius: 2px;
font-size: 12px;
height: 12px;
width: 12px;
padding: 2px 4px 2px 4px;
color: black;
margin-left: -10px;
}
.editmode ~ .repcontrol .repcontrol_edit:after {
content: ')';
}
.repcontrol .repcontrol_add:before {
content: '&';
visibility: visible;
font-family: pictos;
background-color: #fff;
border: 1px solid black;
border-radius: 2px;
font-size: 12px;
height: 12px;
width: 12px;
padding: 2px 4px 2px 4px;
color: black;
}
.repcontrol .repcontrol_edit:hover:after,
.repcontrol .repcontrol_add:hover:before
{
background-color: #EFEFEF;
}
.sheet-resources .repcontrol {
margin-top: -10px;
}
.itemcontrol {
z-index: 10;
}
.itemcontrol .repcontrol_del {
font-size: 10px;
margin-top: 3px;
padding: 0px;
height: 18px;
width: 18px;
}
.itemcontrol .repcontrol_move {
font-size: 10px;
margin-top: 3px;
padding: 0px;
height: 18px;
width: 18px;
}
/*
ooooooooo. oooo oooo
`888 `Y88. `888 `888
888 .d88' .ooooo. 888 888 .oooo.o
888ooo88P' d88' `88b 888 888 d88( "8
888`88b. 888 888 888 888 `"Y88b.
888 `88b. 888 888 888 888 o. )88b
o888o o888o `Y8bod8P' o888o o888o 8""888P'
*/
.sheet-rolltemplate-TTRoll {
width: 120%;
margin: 0;
margin-left: -45px;
margin-top: -2px;
margin-bottom: -2px;
padding: 1px;
/* background-image: url("http://i.imgur.com/kGAcTZm.jpg"); */
background-size: 100% 100%;
background-position: center center;
background-repeat: no-repeat;
}
.sheet-rolltemplate-TTRoll .sheet-rollContent .sheet-rollLimits .inlinerollresult {
background-color: inherit;
border: inherit;
}
.sheet-rolltemplate-TTRoll .sheet-rollFooter .inlinerollresult {
display: inline-block;
min-width: 1.5em;
text-align: center;
border: 2px solid darkgrey;
background-color: darkgoldenrod;
border-radius:9px;
}
.sheet-rolltemplate-TTRoll .sheet-rollFooter .sheet-sadRollResult .inlinerollresult {
border: 2px solid darkred;
color: black;
}
.sheet-rolltemplate-TTRoll .sheet-rollFooter .sheet-happyRollResult .inlinerollresult {
border: 2px solid green;
color: black;
}
.sheet-rolltemplate-TTRoll .sheet-rollContent {
width: 60%;
margin-top: 8%;
margin-bottom: 8%;
margin-left: 22%;
margin-right: 11%;
padding: 0;
border-style: none;
color: black;
font-family: "Helvetica Neue", Helvetica, sans-serif;
border-radius: 1em;
text-align: center;
/*
background-image: url("http://i.imgur.com/2yDT9iP.png");
background-size: 100% 100%;
background-position: center center;
background-repeat: no-repeat;
*/
}
.sheet-rolltemplate-TTRoll .sheet-rollHeader {
background-color: burlywood;
font-size: 1.5em;
margin: 0px;
padding: 4px;
border-top-left-radius: 1em;
border-top-right-radius: 1em;
}
.sheet-rolltemplate-TTRoll .sheet-rollBody {
margin:0px;
background: rgba(255, 255, 255, 0.66);
text-align: center;
}
/*
.sheet-rolltemplate-TTRoll tr:nth-child(3) {
background-color: burlywood;
border-bottom-right-radius: 1em;
border-bottom-left-radius: 1em;
}
*/
.sheet-rolltemplate-TTRoll .sheet-rollNotes {
text-align: center;
}
.sheet-rolltemplate-TTRoll .sheet-fineprint,
.sheet-rolltemplate-TTRoll .sheet-rollLimits {
text-align: center;
font-size: 0.8em;
}
.sheet-rolltemplate-TTRoll .sheet-exciting {
font-weight: bold;
}
.sheet-rolltemplate-TTRoll .sheet-rollFooter {
background-color: burlywood;
border-bottom-left-radius: 1em;
border-bottom-right-radius: 1em;
margin: 0px;
padding: 4px;
text-align: center;
}