Files
roll20-character-sheets-tester/TheElephantAndMacawBanner/the_elephant_and_macaw_banner.css
T

1149 lines
20 KiB
CSS

/*----------------- MAIN CONTAINER DEFINITIONS ------------------*/
@import url('https://fonts.googleapis.com/css?family=Acme&Paytone+One|Lustria&display=swap');
.sheet-main-container {
min-width: 600px;
max-width: 800px;
min-height: 600px;
}
.sheet-main-container input {
height: 28px;
}
.sheet-main-container select {
width: auto;
height: 28px;
margin: 0px;
}
.sheet-main-container input[type=text] {
width: 100%;
}
.sheet-main-container input[type=number] {
width: 4.2em;
}
.sheet-main-container input[readonly], .sheet-main-container input[disabled] {
font-weight: bold;
color: blue;
}
.sheet-main-container textarea {
box-sizing: border-box;
margin: 0px;
}
.sheet-main-container button {
margin: 0px !important;
}
/*----------------- GENERAL CSS ------------------*/
.sheet-primary-font {
font-family: Lustria;
}
.sheet-secondary-font {
font-family: Paytone One;
}
.sheet-flex-row {
display: flex;
flex-direction: row;
}
.sheet-flex-column {
display: flex;
flex-direction: column;
}
.sheet-grow {
flex-grow: 1;
}
.sheet-label {
font-weight: bold;
font-size: 18px;
margin-right: 5px;
}
.sheet-smaller-label {
font-weight: bold;
font-size: 15px;
}
.sheet-italic-label {
font-style: italic;
font-size: 14px;
}
.sheet-secondary-label {
font-size: 16px;
}
.sheet-row-item-margin {
margin-right: 5px !important;
}
.sheet-box-margin {
margin-bottom: 10px;
}
.sheet-black-box {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background-color: black;
color: white;
padding: 1px 10px 1px 10px;
}
.shield-label {
font-size: 10px;
}
/*----------------- SHEET PARTS ------------------*/
.sheet-logo {
margin-bottom: 10px;
margin-top: -20px;
position: relative;
}
.sheet-middle {
display: grid;
grid-template-columns: 65% 35%;
column-gap: 10px;
}
.sheet-header-box {
display: flex;
align-items: stretch;
}
.sheet-header-outer-box {
overflow: hidden;
width: auto;
height: 100%;
box-sizing: border-box;
}
.sheet-header-row {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: flex-start;
}
.sheet-header-name {
flex-grow: 1;
margin-right: 10px;
}
.sheet-characteristics input, .sheet-gear input, .sheet-equip input {
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid black;
border-radius: 0;
padding: 0px;
}
.sheet-history textarea {
border: none;
height: 100px !important;
}
.sheet-shadow-bottom-left {
position: relative;
}
div.sheet-shadow-bottom-left::after {
content: '';
position: absolute;
left: -12px;
width: 0;
height: 0;
border-top: 5px solid black;
border-left: 5px solid transparent;
}
.sheet-physical-condition {
display: flex;
flex-direction: column;
}
.sheet-footer {
text-align: right;
font-style: italic;
}
.sheet-repeatable-item {
display: flex;
flex-direction: column;
margin-bottom: 5px;
}
.sheet-repeatable-row {
display: flex;
flex-direction: row;
align-items: flex-end;
}
.sheet-repeatable-row-box {
display: flex;
flex-direction: column;
align-items: center;
}
.sheet-hidden-section-label {
font-size: 12px;
}
.sheet-header-row input, .sheet-skills input {
border: none;
}
/*----------------- INITIATIVE ------------------*/
.sheet-initiative {
display: grid;
grid-template-columns: auto auto;
gap: 5px;
}
.sheet-initiative-box {
display: flex;
align-items: center;
}
/*----------------- SKILLS ------------------*/
.sheet-skills-box-middle {
background-color: #d2d3d5;
border-right: 2px solid black;
border-left: 2px solid black;
}
.sheet-skills-box-bottom {
position: relative;
border-bottom: 2px solid black;
border-left: 2px solid black;
border-right: 2px solid black;
height: 10px;
width: 100%;
box-sizing: border-box;
background-color: #d2d3d5;
}
.sheet-skills-grid {
display: grid;
grid-template-columns: 3fr 1fr 1fr 1fr 21px;
column-gap: 5px;
width: 100%;
}
.sheet-skills-header-column {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-skills-label {
display: flex;
flex-direction: row;
align-items: center;
justify-content: flex-start;
}
.sheet-skills-label-box {
align-self: end;
}
.sheet-untrained_skill {
width: 200px;
margin-bottom: 10px;
}
.sheet-skill-points {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-skill-general-mod {
margin-bottom: 5px;
}
.sheet-skill-points input {
text-align: center;
padding: 0px !important;
}
.sheet-skill-points-box {
display: flex;
flex-direction: row;
align-items: stretch;
background-color: white;
position: relative;
}
.sheet-skill-points-box span {
white-space: nowrap;
}
.sheet-skills-negative-corner {
border: 1px solid black;
border-radius: 50%;
width: 15px;
height: 15px;
position: absolute;
background-color: #d2d3d5;
}
.sheet-skills-inner-box {
position: relative;
border: 1px solid black;
height: 100%;
width: 100%;
box-sizing: border-box;
background-color: white;
}
.sheet-skill-points-label {
border-left: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
padding-left: 10px;
padding-right: 10px;
display: flex;
align-items: center;
}
.sheet-skill-bonus-label {
font-size: 12px;
}
.sheet-skills-bonus-border {
border-bottom: 1px solid black;
}
.sheet-skill-name-box {
position: relative;
left: -12px;
}
.sheet-skill-hidden {
display: flex;
align-items: center;
margin: 5px;
}
.sheet-skill-hidden input {
margin-left: 5px;
margin-right: 20px;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid black;
border-radius: 0;
padding: 0px;
background-color: #d2d3d5;
height: auto;
}
/*----------------- SKILLS LEVEL CIRCLE ------------------*/
.sheet-circle-box {
margin: 0px 5px 0px 5px;
justify-self: center;
align-self: center;
}
.sheet-circle-box span {
border: 1px solid black;
border-radius: 50%;
width: 25px;
height: 25px;
display: inline-block;
background-color: white;
}
.sheet-circle-box:hover span {
opacity: 0.7;
}
.sheet-hidden-input {
opacity: 0;
z-index: 1;
position: absolute;
margin: 0px !important;
width: 25px !important;
height: 25px !important;
}
.sheet-hidden-zero-input {
display: none;
}
.sheet-control-input[value="on"]~span {
background-color: black;
}
/*----------------- PHYSICAL CONDITION ------------------*/
.sheet-physical-condition-content {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.sheet-physical-condition textarea {
height: 50px;
}
.sheet-physical-condition-label {
padding-right: 10px;
padding-left: 10px;
}
.sheet-endurance-box {
display: flex;
align-items: center;
justify-content: flex-start;
margin-bottom: 10px;
}
.sheet-endurance-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-endurance-shield {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/TheElephantAndMacawBanner/assets/endurance_shield.png');
width: 47px;
min-height: 47px !important;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
border: 0 !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-endurance-shield input {
text-align: center;
border: none;
background: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
border-radius: 0px;
color: black;
padding: 1px;
height: auto;
}
.sheet-critical-damage {
align-items: center;
display: flex;
margin-bottom: 10px;
}
.sheet-critical-radio, .sheet-radio-zero {
opacity: 0;
z-index: 1;
position: relative;
width: 15px !important;
height: 15px !important;
margin-right: -15px;
}
.sheet-critical-radio+span {
border: 1px solid black;
width: 15px;
height: 15px;
display: inline-block;
background-color: red;
position: relative;
margin-right: 5px;
}
.sheet-radio-zero+span::after {
font-family: 'Pictos';
content: '*';
width: 15px;
height: 15px;
display: inline-block;
border-radius: 50%;
border: 1px solid black;
color: white;
background-color: black;
text-align: center;
margin-right: 5px;
bottom: 1.5px;
position: relative;
font-size: smaller;
}
.sheet-critical-radio:hover+span, .sheet-radio-zero:hover+span {
opacity: 0.7;
}
.sheet-critical-damage input:checked~.sheet-critical-radio+span {
background-color: white;
}
/*----------------- DEFENCE ------------------*/
.sheet-defence {
display: flex;
flex-direction: column;
align-items: stretch;
flex-grow: 1;
}
.sheet-defence-energy {
display: flex;
align-items: stretch;
justify-content: space-between;
}
.sheet-defence-outer-box {
overflow: hidden;
width: 100%;
box-sizing: border-box;
}
.sheet-defence-inner-box {
position: relative;
border: 2px solid black;
width: 100%;
height: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
}
.sheet-defence-content {
display: grid;
grid-template-columns: auto auto;
align-items: center;
justify-items: flex-end;
padding: 5px;
gap: 5px;
}
.sheet-defence-box {
display: grid;
grid-template-rows: auto auto;
grid-auto-flow: column;
align-items: center;
justify-items: center;
column-gap: 5px;
}
.sheet-defence-row {
display: flex;
align-items: flex-end;
}
.sheet-defence-symbol {
width: 30px;
text-align: center;
}
.sheet-defence-box input {
border: 1px solid black;
width: 30px !important;
text-align: center;
}
.sheet-defence-row-span {
grid-row: 1 / 3;
}
.sheet-defence-shield {
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
border: 0 !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-active-defence {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/TheElephantAndMacawBanner/assets/active_defense.png');
width: 55px;
min-height: 55px !important;
}
.sheet-passive-defence {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/TheElephantAndMacawBanner/assets/passive_defense.png');
width: 55px;
min-height: 55px !important;
}
.sheet-defence-shield input {
text-align: center;
font-size: 16px;
border: none;
background: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
border-radius: 0px;
color: black;
padding: 1px;
height: auto;
}
.sheet-defence-label {
text-align: center;
border: 1px solid black;
font-weight: bold;
min-width: 70px;
margin-right: 10px;
}
.sheet-margin-top {
margin-top: 10px;
}
/*----------------- ENERGY ------------------*/
.sheet-energy {
display: flex;
flex-direction: column;
align-items: stretch;
flex-grow: 1;
margin-left: 5px;
}
.sheet-energy-content {
display: flex;
align-items: center;
justify-content: center;
}
.sheet-energy-shield {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/TheElephantAndMacawBanner/assets/energy.png');
width: 65px;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
min-height: 70px !important;
border: 0 !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.sheet-energy-shield input {
text-align: center;
border: none;
background: none;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-appearance: none;
-moz-appearance: none;
border-radius: 0px;
color: black;
width: 3em !important;
height: auto !important;
font-size: 16px;
padding: 1px;
}
.sheet-horizontal-div {
width: 50%;
border-top: 2px solid black;
}
/*----------------- MONEY AND GEAR ------------------*/
.sheet-money {
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid black;
}
.sheet-money input {
margin-left: 5px;
padding: 0px;
border: 1px solid black;
width: 80px !important;
text-align: center;
}
.sheet-gear-hidden {
margin-bottom: 5px;
font-size: 12px;
}
/*----------------- WEAPONS AND ARMORS ------------------*/
.sheet-equip-damage-box {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 10px;
}
.sheet-damage-label {
display: flex;
justify-content: flex-end;
border-left: solid white 1px;
padding-left: 5px;
margin-left: 5px;
font-style: italic;
}
.sheet-equip-hidden {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
column-gap: 10px;
}
.sheet-equipped {
margin-right: 5px;
}
.sheet-equip-hidden input {
font-size: 12px;
}
.sheet-equip input {
margin-bottom: 5px;
}
.sheet-equip-totals {
display: flex;
border-top: 1px solid black;
margin-top: 10px;
padding-top: 10px;
align-items: center;
}
.sheet-equip-totals input {
background: none;
border: 1px solid black;
width: 30px !important;
height: 20px !important;
text-align: center;
}
.sheet-equip-totals-grid {
display: grid;
grid-template-columns: auto auto;
column-gap: 5px;
margin-left: 5px;
justify-items: center;
width: auto;
}
/*----------------- NEGATIVE BORDER BOX ------------------*/
.sheet-outer-box {
overflow: hidden;
width: 100%;
height: 100%;
box-sizing: border-box;
}
.sheet-inner-box {
position: relative;
border: 2px solid black;
height: 100%;
width: 100%;
box-sizing: border-box;
}
.sheet-content-box {
display: flex;
flex-direction: column;
padding: 5px;
}
.sheet-negative-corner {
border: 2px solid black;
border-radius: 50%;
width: 15px;
height: 15px;
position: absolute;
background-color: white;
}
.sheet-negative-corner-thinner {
border: 1px solid black;
border-radius: 50%;
width: 15px;
height: 15px;
position: absolute;
background-color: white;
}
.sheet-box-middle {
border-right: 2px solid black;
border-left: 2px solid black;
}
.sheet-box-bottom {
position: relative;
border-bottom: 2px solid black;
border-left: 2px solid black;
border-right: 2px solid black;
height: 10px;
width: 100%;
box-sizing: border-box;
}
.sheet-top-left-corner {
top: -12px;
left: -12px;
}
.sheet-top-right-corner {
top: -12px;
right: -12px;
}
.sheet-bottom-left-corner {
bottom: -12px;
left: -12px;
}
.sheet-bottom-right-corner {
bottom: -12px;
right: -12px;
}
/*----------------- SETTINGS TAB ------------------*/
.sheet-settings-grid {
display: grid;
grid-template-columns: auto auto;
width: max-content;
gap: 5px;
}
/*----------------- HELP TAB ------------------*/
.sheet-help-content {
padding: 20px;
}
.sheet-help-title {
text-align: center;
font-weight: bold;
font-size: 20px;
margin-bottom: 30px;
}
.sheet-help-default {
font-size: 15px !important;
}
.sheet-help-bold {
font-weight: bold;
font-size: 16px !important;
}
.sheet-help-roll {
font-size: 15px !important;
font-style: italic;
text-align: center;
margin: 10px;
}
.sheet-help-credits {
font-style: italic;
}
.sheet-help-margin-top {
margin-top: 20px;
}
/*----------------- TABS CONTROL ------------------*/
.sheet-tab-panel {
display: flex;
flex-direction: row;
margin: 10px;
}
.sheet-tab-panel input {
border: 0px;
width: 25px;
height: 25px;
background: transparent !important;
text-shadow: none !important;
box-shadow: none !important;
padding: 0px;
margin-right: -25px;
z-index: 1;
opacity: 0;
}
.sheet-tab-panel div {
display: flex;
align-items: center;
justify-content: center;
font-family: 'Pictos';
font-size: 25px;
width: 25px;
height: 25px;
margin-right: 10px;
}
.sheet-tab-panel input:hover+div {
opacity: 0.5;
}
.sheet-tab-panel input:checked+div {
color: goldenrod;
}
/*Configure the tab buttons*/
.sheet-profiletab, .sheet-configurationtab, .sheet-helptab {
display: none;
}
/* show the selected tab */
.sheet-tabcontrol[value="profile"]~div.sheet-profiletab, .sheet-tabcontrol[value="configuration"]~div.sheet-configurationtab, .sheet-tabcontrol[value="help"]~div.sheet-helptab {
display: block;
}
/*----------------- ROLL BUTTON ------------------*/
.sheet-main-container button[type=roll] {
border: 0px;
font-size: 25px;
width: 25px;
height: 25px;
background: transparent !important;
text-shadow: none !important;
box-shadow: none !important;
padding: 0px;
}
.sheet-main-container button[type=roll]::before {
content: 'F';
font-family: 'dicefontd6' !important;
}
.sheet-main-container button[type=roll]:hover {
opacity: 0.5;
}
/*------------- REPEATABLE SECTIONS BUTTONS -------------*/
.repcontrol>.btn {
background-color: transparent;
font-size: 2px;
background-image: none;
text-shadow: none;
box-shadow: none;
display: inline-block;
position: relative;
border: 0px;
}
.repcontrol>.btn:hover {
opacity: 0.5;
}
.repcontrol>.btn.repcontrol_add::before {
content: "&";
color: black;
font-size: 20px;
font-family: 'Pictos' !important;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.repcontrol>.btn.repcontrol_edit::before {
content: "(";
color: black;
font-size: 20px;
font-family: 'Pictos' !important;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
/* change the 'Done' text after clicking 'Modify' */
.editmode~.repcontrol>.repcontrol_edit::before {
content: ')';
}
/*------------- REPEATABLE SECTIONS TOGGLE SHOW/HIDE -------------*/
.sheet-showhidebutton {
display: flex;
align-items: center;
justify-content: center;
}
.sheet-showhidebutton input[type=checkbox] {
width: 20px;
position: absolute;
opacity: 0;
}
.sheet-showhidebutton:hover {
opacity: 0.5;
}
.sheet-showhidebutton input[type=checkbox]:checked~span::before {
content: '▲';
}
.sheet-showhidebutton span {
color: black;
font-size: 20px;
}
.sheet-showhidebutton span::before {
content: '▼';
}
.sheet-toggle-checkbox {
display: none;
}
.sheet-showhide {
display: none;
}
.sheet-toggle-checkbox:checked~.sheet-showhide {
display: block;
}
.sheet-main-container .repcontainer[data-groupname="repeating_skills"]>.repitem .itemcontrol, .sheet-main-container .repcontainer[data-groupname="repeating_gear"]>.repitem .itemcontrol, .sheet-main-container .repcontainer[data-groupname="repeating_equip"]>.repitem .itemcontrol {
z-index: 99;
font-family: 'Pictos'
}
.sheet-main-container .repcontainer[data-groupname="repeating_skills"]>.repitem .repcontrol_del, .sheet-main-container .repcontainer[data-groupname="repeating_gear"]>.repitem .repcontrol_del, .sheet-main-container .repcontainer[data-groupname="repeating_equip"]>.repitem .repcontrol_del {
font-family: 'Pictos';
background-color: #d13235;
background-image: none;
position: absolute;
z-index: 99 !important;
top: 0;
right: 0
}
/*------------- SHEET ROLL TEMPLATE -------------*/
.sheet-rolltemplate-main .sheet-template-container {
display: flex;
flex-direction: column;
border: 2px solid black;
background-color: white;
padding: 2px;
}
.sheet-rolltemplate-main .sheet-template-label {
font-weight: bold;
font-family: Lustria;
}
.sheet-rolltemplate-main .sheet-template-value {
font-family: Paytone One;
font-style: italic;
margin-left: 5px;
}
.sheet-rolltemplate-main .sheet-template-header {
display: flex;
justify-content: center;
align-items: center;
background-color: black;
color: white;
text-align: center;
}
.sheet-rolltemplate-main .sheet-template-check {
display: grid;
gap: 5px;
justify-items: center;
}
.sheet-rolltemplate-main .sheet-template-separator {
border-bottom: 1px solid black;
padding-bottom: 5px;
margin-bottom: 5px;
}
.sheet-rolltemplate-main .sheet-template-roll {
display: grid;
gap: 10px;
justify-items: center;
}
.sheet-rolltemplate-main .sheet-template-difficulty {
display: flex;
justify-content: center;
}
.sheet-rolltemplate-main .sheet-template-difficulty .sheet-template-label {
margin-right: 5px;
}
.sheet-rolltemplate-main .sheet-template-result {
display: grid;
gap: 5px;
justify-items: center;
}
.sheet-rolltemplate-main .sheet-template-target span {
background: none;
border: 2px solid black;
}
.sheet-rolltemplate-main .sheet-template-success {
color: green;
}
.sheet-rolltemplate-main .sheet-template-fail {
color: red;
}
.sheet-rolltemplate-main .sheet-template-result .importantroll::after {
content: 'teste';
position: relative;
display: inline-block;
}
.sheet-rolltemplate-main .sheet-template-result .fullfail::after {
display: inline-block;
}
.sheet-rolltemplate-main .sheet-template-result .fullcrit::after {
display: inline-block;
}