Files
roll20-character-sheets/Outgunned/Outgunned.css
T
William Barker ae1c12f7e8 [Outgunned} Bugfix: Accommodate PROD Environment
Code changed to try to work around differences between PROD and TEST enviroments
2025-09-29 21:58:46 -04:00

1175 lines
27 KiB
CSS

@import url("https://fonts.googleapis.com/css?&family=Gabarito:wght@400..900?family=Contrail+One&family=Kite+One&display=swap");/**/
/* Defaults */
.ui-dialog .charsheet {
padding: 0;
}
.character-sheet .row {
display: flex;
max-width: 100%;
margin: 0;
}
.col-12 {
width: 100%;
padding: 0 10px;
}
.col-10 {
width: 83%;
padding: 0 10px;
}
.col-9 {
width: 75%;
padding: 0 10px;
}
.col-8 {
width: 66%;
padding: 0 10px;
}
.col-7 {
width: 58%;
padding: 0 10px;
}
.col-6 {
width: 50%;
padding: 0 10px;
}
.col-5 {
width: 41%;
padding: 0 10px;
}
.col-4 {
width: 33%;
padding: 0 10px;
}
.col-3 {
width: 25%;
padding: 0 10px;
}
.col-2 {
width: 17%;
padding: 0 10px;
}
.flex {
display: flex;
flex-wrap: nowrap;
}
.flex-1 {
flex: 1;
}
.flex-2 {
flex: 2;
}
.flex-3 {
flex: 3;
}
.flex-4 {
flex: 4;
}
.director-sheet input,
.director-sheet select,
.mission-sheet input,
.mission-sheet select,
.character-sheet input,
.character-sheet select {
font-family: 'Kite One', 'Contrail One', sans-serif;
background: #fff;
border: 1px solid transparent;
border-bottom: 1px solid #231f20;
display: inline-block;
font-size: 16px;
color: #000;
line-height: 22px;
height: 28px;
padding: 0 10px;
box-sizing: border-box;
border-radius: 0;
}
.director-sheet input.transparent,
.mission-sheet input.transparent,
.character-sheet input.transparent {
background: transparent;
line-height: 22px;
height: 28px;
padding: 6px 4px 0;
border: 0;
}
.director-sheet input:focus,
.mission-sheet input:focus,
.character-sheet input:focus {
border: 1px solid #231f20;
outline: none;
}
.charactersheet {
padding: 0;
}
.character-sheet textarea {
background-attachment: local;
background-color: #Fff;
background-image:
linear-gradient(to right, white 5px, transparent 5px),
linear-gradient(to left, white 5px, transparent 5px),
repeating-linear-gradient(white, white 35px, #3e5f76 35px, #3e5f76 36px, white 36px);
line-height: 36px;
font-size: 16px;
padding: 5px;
border: 3px solid #3e5f76;
width: calc(100% - 15px);
box-shadow: 4px 4px 0px 0px #00000057;
height: 179px;
resize: vertical;
margin: 0;
}
.charsheet .director-sheet button[type="roll"],
.charsheet .director-sheet button[type="action"],
.charsheet .mission-sheet button[type="roll"],
.charsheet .mission-sheet button[type="action"],
.charsheet .character-sheet button[type="roll"],
.charsheet .character-sheet button[type="action"] {
border: 0;
font-family: 'Gabarito';
font-weight: 900;
font-size: 22px;
background: transparent;
padding: 0 2px;
text-transform: uppercase;
color: #231f20;
cursor: pointer;
transition: .3s all ease;
margin-right: 5px;
text-shadow: none;
border-radius: 0px;
}
.charsheet .director-sheet button[type="roll"]:hover,
.charsheet .director-sheet button[type="action"]:hover,
.charsheet .mission-sheet button[type="roll"]:hover,
.charsheet .mission-sheet button[type="action"]:hover,
.charsheet .character-sheet button[type="roll"]:hover,
.charsheet .character-sheet button[type="action"]:hover {
background: #231f20;
color: #fff;
}
.charsheet .director-sheet button[type="roll"]::before,
.charsheet .director-sheet button[type="action"]::before,
.charsheet .mission-sheet button[type="roll"]::before,
.charsheet .mission-sheet button[type="action"]::before,
.charsheet .character-sheet button[type="roll"]::before,
.charsheet .character-sheet button[type="action"]::before {
color: #893fc8;
font-size: 32px;
margin-right: 5px;
font-family: 'Gabarito';
content: "";
}
.charsheet .director-sheet input[type="checkbox"],
.charsheet .mission-sheet input[type="checkbox"],
.charsheet .character-sheet input[type="checkbox"] {
width: auto;
}
.charsheet .director-sheet input.circle-input,
.charsheet .mission-sheet input.circle-input,
.charsheet .character-sheet input.circle-input {
width: 16px;
padding: 0 7px;
height: 16px;
background-color: white;
border-radius: 50%;
vertical-align: middle;
border: 1px solid #231f20;
appearance: none;
-webkit-appearance: none;
outline: none;
cursor: pointer;
font-size: 13px;
margin-right: 9.4px;
}
.charsheet .character-sheet input[type="checkbox"].mag {
display: block;
width: 16px;
height: 25px;
padding: 0px;
border: 1px solid rgb(179,37,27);
opacity: 1.0;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
-webkit-appearance: none;
outline: 0;
}
.charsheet .character-sheet input[type=checkbox].mag:checked {
color: rgb(179,37,27);
background-color: rgb(179,37,27);;
}
.charsheet .character-sheet input[type=checkbox].mag:not(:checked) {
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/OutgunnedOneBullet.png?raw=true");
}
.charsheet .character-sheet input[type="checkbox"].roulette {
width: auto;
height: 28px;
padding: 14px;
opacity: 0.6;
}
.charsheet .character-sheet input[type="checkbox"].egrit {
width: 12px;
height: 12px;
padding: 0px;
margin-right: 4px;
opacity: 0.9;
}
.charsheet .character-sheet input[type="checkbox"].adrenaline {
border-radius: 0% !important;
width: 14px;
height: 27px;
padding: 0px;
border: 1px solid transparent;
/*background-color: transparent;*/
opacity: 0.6;
}
.charsheet .director-sheet input[type="checkbox"].ammo,
.charsheet .character-sheet input[type="checkbox"].ammo {
border-radius: 0% !important;
width: 16px;
height: 25px;
padding: 0px;
border: 1px solid rgb(179,37,27);
/*background-color: transparent;*/
opacity: 0.6;
}
.charsheet .director-sheet input[type="checkbox"].ride,
.charsheet .mission-sheet input[type="checkbox"].ride,
.charsheet .character-sheet input[type="checkbox"].ride {
border-radius: 0% !important;
width: 18px;
height: 16px;
padding: 0px;
border: 1px solid transparent;
background-color: transparent;
}
.charsheet .director-sheet input[type="checkbox"].heat,
.charsheet .mission-sheet input[type="checkbox"].heat {
border-radius: 0% !important;
width: 20px;
height: 20px;
padding: 0px;
border: 0px solid transparent;
background-color: transparent;
opacity: 1.0;
box-sizing: content-box;
}
.charsheet .director-sheet label.circle-input,
.charsheet .mission-sheet label.circle-input,
.charsheet .character-sheet label.circle-input {
font-weight: 200;
font-size: 1.3em;
color: Gray;
padding: 1px 0px 2px 0px;
margin: 0px -2px 0px 5px;
}
.charsheet .director-sheet input.circle-input.heat:checked,
.charsheet .mission-sheet input.circle-input.heat:checked,
.charsheet .character-sheet input.circle-input.heat:checked {
background-color: rgb(179,37,27);
}
.charsheet .director-sheet input.circle-input:checked,
.charsheet .mission-sheet input.circle-input:checked,
.charsheet .character-sheet input.circle-input:checked {
background-color: #231f20;
}
/* Custom modules */
.character-sheet img {
opacity: 1.0;
}
.charsheet .mission-sheet .custom-checkbox-input {
display: none;
}
.charsheet .mission-sheet .custom-checkbox-text {
padding: 5px;
background-color: transparent;
color: Black;
cursor: pointer;
user-select: none;
}
.charsheet .mission-sheet .custom-checkbox-input:checked ~ .custom-checkbox-text {
background-color: rgb(179,37,27);
color: White;
}
.character-sheet {
padding: 5px 10px;
padding-bottom: 10px;
color: #231f20;
font-family: 'Gabarito', 'Contrail One', 'Kite One', sans-serif;
border: 1px solid #231f20;
width: 1170px !important;
height: 840px;
margin-bottom: 5px;
position: relative;
overflow: visible;
z-index: 1;
}
.mission-sheet {
padding: 5px 2px 10px 10px;
color: #231f20;
font-family: 'Gabarito', 'Contrail One', 'Kite One', sans-serif;
border: 1px solid #231f20;
width: 1178px !important;
height: 840px;
margin-bottom: 5px;
position: relative;
overflow: visible;
z-index: 1;
}
.director-sheet {
background-blend-mode: lighten;
background-repeat: no-repeat;
opacity: 0.9;
padding: 5px 0px 10px 10px;
color: #231f20;
font-family: 'Gabarito', 'Contrail One', 'Kite One', sans-serif;
border: 1px solid #231f20;
width: 1178px !important;
height: 840px;
margin-bottom: 5px;
position: relative;
overflow: visible;
z-index: 1;
}
.charsheet .character-sheet .secret-roll {
font-size: 15px;
text-transform: uppercase;
font-weight: 100;
color: #231f20;
display: flex;
align-items: center;
margin: 3px 0;
padding-left: 13px;
width: auto;
}
.character-sheet .secret-roll input {
margin-right: 8px;
}
.character-details {
padding: 40px 40px 30px;
}
.charsheet .character-details label {
font-size: 20px;
margin: 0;
width: auto;
margin-right: 3px;
white-space: nowrap;
vertical-align: bottom;
line-height: 16px;
text-transform: uppercase;
color: #231f20;
font-weight: normal;
}
.charsheet .row .title-label {
font-size: 30px;
text-transform: uppercase;
color: #231f20;
font-weight: normal;
}
.charsheet .col-4 .subtitle-label {
font-size: 22px;
text-transform: uppercase;
margin-top: 10px;
color: #231f20;
font-weight: normal;
}
.charsheet .center {
text-align: center;
}
.character-details input {
margin: 0 5px;
width: 100%;
}
.charsheet .contacts {
display: grid;
/* grid-template-columns: 184px 184px 184px; */
width: 552px;
grid-template-columns: repeat(3, 1fr);
grid-auto-rows: 26px;
background-color: transparent;
padding: 0px;
}
.charsheet .contacts > div {
background-color: transparent;
border: 1px solid black;
padding: 0px;
font-size: 22px;
text-align: center;
}
.character-details .flex {
margin-bottom: 15px;
align-items: flex-end;
}
.character-details .center-inputs {
align-items: baseline;
}
.character-details .center-inputs input {
text-align: center;
}
.character-details .center-inputs p {
text-align: center;
margin: 0;
text-transform: uppercase;
font-family: 'Contrail One', 'Kite One', sans-serif;
font-size: 15px;
}
.character-details .input-with-subtext {
display: flex;
flex-direction: column;
align-items: center;
}
.charsheet .character-sheet .coin-flip-button[type="roll"] {
font-size: 13px;
height: 16px;
/*line-height: 18px;*/
}
.charsheet .character-sheet .coin-flip-button[type="roll"]::before {
vertical-align: text-bottom;
}
.attribute-box {
text-align: left;
margin-bottom: 5px;
}
.attribute-label {
padding-right: 56px;
margin-left: -40px;
display: flex;
align-items: center;
justify-content: flex-end;
position: relative;
border: 2px dashed Purple;
}
.attribute-label::before {
content: "";
background: linear-gradient(90deg, rgb(35 31 32 / 75%) 0%, rgb(51 51 51 / 59%) 60%, rgba(0, 181, 255, 0) 100%);
display: block;
height: 40px;
width: 100%;
}
.attribute-label button {
font-size: 34px;
height: 40px;
line-height: 30px;
}
.skill-box {
text-align: right;
}
.skill-label {
display: flex;
align-items: center;
justify-content: flex-end;
height: 20px;
}
.skill-label button {
font-size: 16px;
height: 20px;
line-height: 16px;
}
.skill-label button::before {
vertical-align: text-top;
}
.luck-box {
display: flex;
align-items: center;
margin-bottom: 45px;
}
.luck-box-inner {
position: relative;
display: flex;
flex-direction: row-reverse;
}
.charsheet .luck-box-inner .title-label {
position: absolute;
bottom: 100%;
left: 0;
color: #231f20;
font-weight: normal;
}
.luck-box .circle-input {
margin-right: 10px;
position: relative;
z-index: 1;
}
.luck-box .circle-input:checked~.circle-input {
background-color: #231f20;
}
.feel-box {
display: flex;
align-items: center;
margin-bottom: 5px;
width: 100%;
}
.feel-box>span {
display: block;
text-transform: uppercase;
width: 22%;
align-items: center;
color: #6c6c6c;
}
.charsheet .character-sheet .feel-input {
width: 39%;
color: #231f20;
}
.feel-input label {
position: relative;
}
.character-sheet .feel-input .diamond-checkbox {
width: 100%;
text-align: right; /* new */
}
.character-sheet .feel-input .diamond-checkbox>span {
/* display: flex;
width: 100%; */
display: inline-block;
width: 100%;
font-size: 16px;
text-transform: uppercase;
text-align: right ; /* new */
align-items: center;
font-weight: 400;
position: relative;
}
.character-sheet .feel-input .diamond-checkbox i {
position: absolute;
right: 25px;
font-style: normal;
}
.character-sheet .feel-input .diamond-checkbox>span::before {
position: absolute;
right: 0;
width: 20px;
height: 22px;
}
.character-sheet .feel-input .diamond-checkbox>span::after {
content: "";
display: block;
height: 1px;
width: 100%;
margin: 13px 24px 0 3px;
background: #231f20;
}
.character-sheet .feel-input .diamond-checkbox>span.without-line::after {
display: none;
}
.character-sheet .feel-input .diamond-checkbox>span.without-line input {
width: 75%;
margin: 0;
background: transparent;
border: 1px solid transparent;
border-bottom: 1px solid #231f20;
padding: 2px 0;
font-size: 16px;
text-transform: uppercase;
font-family: 'Contrail One', 'Kite One', sans-serif;
color: #333;
}
.expertise-box {
margin-bottom: 60px;
}
.backpack-box {
padding-right: 40px;
}
/* Styles unique to fake checkbox (unchecked) */
input[type="checkbox"] + span::before {
position: relative;
content: "";
opacity: 0.25;
width: 14px;
height: 14px;
font-size: 12px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
input[type="radio"].sheet-used + span::before {
content: "✖";
width: 12px;
height: 12px;
font-size: 12px;
-moz-border-radius: 0%;
-webkit-border-radius: 0%;
border-radius: 0%;
}
input[type="radio"].sheet-rndused + span::before {
content: "✖";
width: 16px;
height: 16px;
font-size: 15px;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
padding: 2px 0px 0px 2px;
}
input.sheet-zero + span::before {
font-size: 12px;
content: "✖";
opacity: 0.25;
}
/* Roll Template */
.sheet-rolltemplate-outgunned .sheet-template-wrap,
.sheet-rolltemplate-roulette .sheet-template-wrap,
.sheet-rolltemplate-coin-flip .sheet-template-wrap {
/* background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/Outgunned_roll_bg.jpg?raw=true);
background-position: top center;
background-size: cover;
*/
border: 2px solid #000;
margin: 0;
margin-bottom: 15px;
opacity: 0.8;
}
.sheet-rolltemplate-outgunned .sheet-template-header,
.sheet-rolltemplate-roulette .sheet-template-header,
.sheet-rolltemplate-coin-flip .sheet-template-header {
width: 100%;
padding: 7px 5px;
color: #fff;
background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(51, 51, 51, 1) 60%, rgba(0, 181, 255, 0) 100%);
font-family: 'Contrail One', 'Kite One', sans-serif;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
font-size: 18px;
}
.sheet-rolltemplate-outgunned .sheet-template-header a,
.sheet-rolltemplate-roulette .sheet-template-header a,
.sheet-rolltemplate-coin-flip .sheet-template-header a {
color: #fff;
}
.sheet-rolltemplate-outgunned .sheet-template-subtitle,
.sheet-rolltemplate-roulette .sheet-template-subtitle,
.sheet-rolltemplate-coin-flip .sheet-template-subtitle {
color: #231f20;
font-size: 20px;
padding: 5px 0;
padding-bottom: 6px;
line-height: 26px;
text-align: center;
text-transform: uppercase;
font-family: 'Kite One', 'Contrail One', sans-serif;
font-weight: bold;
background: rgb(255 255 255 / 70%);
}
.sheet-rolltemplate-outgunned .sheet-template-subtitle.sheet-green,
.sheet-rolltemplate-roulette .sheet-template-subtitle.sheet-green,
.sheet-rolltemplate-coin-flip .sheet-template-subtitle.sheet-green {
color: green;
}
.sheet-rolltemplate-roulette .sheet-template-subtitle.sheet-red,
.sheet-rolltemplate-coin-flip .sheet-template-subtitle.sheet-red {
color: red;
}
.sheet-rolltemplate-roulette .sheet-template-center,
.sheet-rolltemplate-coin-flip .sheet-template-center {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 10px;
}
.sheet-rolltemplate-roulette .sheet-template-center img,
.sheet-rolltemplate-coin-flip .sheet-template-center img {
max-width: 150px;
margin: auto;
}
.sheet-rolltemplate-outgunned .sheet-template-grid {
text-align: center;
padding: 0 5px;
padding-bottom: 8px;
}
.sheet-rolltemplate-outgunned .sheet-template-grid-item-box {
background: rgb(255 255 255 / 60%);
padding: 0 8px;
}
.sheet-rolltemplate-outgunned .sheet-template-grid-item {
display: inline-block;
vertical-align: middle;
}
.sheet-rolltemplate-outgunned .sheet-template-grid-item-flex {
display: flex;
align-items: center;
background: rgb(255 255 255 / 60%);
}
.sheet-rolltemplate-outgunned .sheet-template-roll-between {
height: 30px;
width: 30px;
background-color: rgb(255 255 255 / 50%);
border: 1px solid #000;
border-radius: 5px;
background-size: cover;
box-shadow: 4px 4px 0px 0px rgb(0 0 0 / 60%);
margin: 3px 0;
overflow: hidden;
display: inline-block;
}
.sheet-rolltemplate-outgunned .sheet-template-roll-between>span {
width: 100%;
display: inline-block;
margin: 0;
border: 0;
padding: 0;
text-align: center;
line-height: 32px;
background: transparent;
font-family: 'Contrail One', 'Kite One', sans-serif;
font-size: 22px;
color: #333;
}
.sheet-rolltemplate-outgunned .sheet-template-roll-success>span {
display: block;
}
.sheet-rolltemplate-outgunned .sheet-template-roll-between>span.fullcrit,
.sheet-rolltemplate-outgunned .sheet-template-roll-between>span.fullfail {
border: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-label {
font-size: 16px;
padding: 0 5px;
text-align: left;
text-transform: uppercase;
color: #231f20;
margin: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-label span {
background: none;
border: 0;
padding: 0;
display: inline;
font-size: 14px;
margin: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-small-label {
padding: 6px;
color: #231f20;
text-align: center;
font-size: 13px;
margin: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-small-label.sheet-red {
color: red;
}
.sheet-rolltemplate-outgunned span.inlinerollresult.fullcrit {
border: 0;
counter-increment: hit;
}
.sheet-rolltemplate-outgunned span.inlinerollresult.fullfail {
border: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-dice-stats {
display: flex;
justify-content: space-between;
background-color: rgb(255 255 255 / 60%);
}
.sheet-rolltemplate-outgunned .sheet-template-dice-stats>div {
padding: 6px;
color: #231f20;
text-align: center;
font-size: 13px;
}
.sheet-rolltemplate-outgunned .sheet-template-dice-stats span,
.sheet-rolltemplate-outgunned .sheet-template-clear-result span {
display: inline;
border: 0;
background: transparent;
padding: 0;
}
.sheet-rolltemplate-outgunned .sheet-template-dice-stats span:first-child:after {
content: ":";
}
.sheet-rolltemplate-outgunned .sheet-template-dice-actions {
display: flex;
justify-content: space-between;
background-color: rgb(255 255 255 / 60%);
padding-top: 5px;
}
.sheet-rolltemplate-outgunned .sheet-template-dice-actions>div {
flex: 1;
}
.sheet-rolltemplate-outgunned .sheet-template-dice-actions>div:last-child {
border-left: 1px solid transparent;
}
.sheet-rolltemplate-outgunned .sheet-template-button a {
background: #231f20;
border: 0;
width: 100%;
text-align: center;
box-sizing: border-box;
text-transform: uppercase;
padding: 5px 10px;
}
/* Repeating sections */
.repcontrol {
display: flex;
margin-top: 3px;
}
.repcontrol .repcontrol_edit {
margin-left: auto;
order: 1;
}
.repcontrol button {
background: #fff;
color: #3e5f76;
border-radius: 0;
border-color: #3e5f76;
transition: all 0.2s;
font-family: pictos;
font-size: 0;
/* font-weight: bold; */
line-height: 8px;
padding: 6px 4px 1px;
}
.repcontrol button:hover {
color: green;
border-color: green;
background: #ddd;
}
.repcontrol button.repcontrol_edit::after {
content: "(";
}
.repcontrol button.repcontrol_add::after {
content: "&";
}
.repcontrol button.repcontrol_edit::after,
.repcontrol button.repcontrol_add::after {
font-size: 20px;
}
.repcontainer.editmode+.repcontrol button.repcontrol_edit::after {
content: ")";
}
.itemcontrol {
z-index: 20;
}
.fieldset-labels {
display: flex;
flex-wrap: nowrap;
}
.fieldset-labels .mini-title {
justify-content: flex-start;
margin-right: 6px;
height: 14px;
}
.repitem {
display: flex;
align-items: flex-start;
}
.gear-rep-list .repitem {
align-items: center;
}
.repitem input,
.repitem select {
width: 100%;
margin-bottom: 7px;
padding: 5px 10px;
border: 1px solid #231f20;
}
.repitem .gear-input {
padding: 8px 10px;
margin-right: -2px;
z-index: 1;
}
.character-sheet .repitem textarea {
height: 76px;
}
.repitem input[type="checkbox"] {
width: auto;
transform: scale(1.5);
flex: unset;
margin-right: 10px;
margin-top: 10px;
}
.rep-box-vertical .repitem {
flex-wrap: wrap;
margin-bottom: 10px;
}
.rep-box-vertical .repitem label {
margin-bottom: 0;
}
.rep-box-vertical .repitem input {
margin-bottom: 0;
border-radius: 0;
}
.rep-box-vertical .repitem textarea {
height: 78px;
border-radius: 0;
border-top: 0;
border-bottom: 0;
}
.mag-max-clips {
margin-top: -28px;
text-align: center;
}
/* Icons */
.diamond-checkboxes {
display: flex;
/*flex-direction: row-reverse;*/
flex-direction: row-reverse;
}
.director-sheet .diamond-checkbox,
.mission-sheet .diamond-checkbox,
.character-sheet .diamond-checkbox {
cursor: pointer;
margin: 0;
width: 21px;
padding-right: 1px;
}
.director-sheet .diamond-checkbox-black,
.mission-sheet .diamond-checkbox-black,
.character-sheet .diamond-checkbox-black {
cursor: pointer;
margin: 0;
width: 16px;
padding-right: 1px;
}
.director-sheet .diamond-checkbox .diamond-down,
.director-sheet .diamond-checkbox .diamond-up,
.mission-sheet .diamond-checkbox .diamond-down,
.mission-sheet .diamond-checkbox .diamond-up,
.character-sheet .diamond-checkbox .diamond-down,
.character-sheet .diamond-checkbox .diamond-up {
height: 28px;
width: 20px;
}
.diamond-down::before,
.diamond-up::before {
content: "";
display: inline-block;
height: 28px;
/* width: 25px; */
width: 20px;
background-repeat: no-repeat;
background-position: center;
}
.diamond-checkboxes input.diamond-input, .feel-box input.diamond-input {
display: none;
}
.diamond-checkbox > .diamond-down::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/OutgunnedDiamondEmptyRed.png?raw=true);
}
input.diamond-input:checked + .diamond-checkbox > .diamond-down::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/OutgunnedDiamondRed.png?raw=true); /* diamond-black-down */
}
.diamond-checkbox > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondEmptyBlack.png?raw=true);
}
.diamond-checkbox-black > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondEmptyBlack.png?raw=true);
}
input.diamond-input:checked + .diamond-checkbox > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
input.diamond-input:checked + .diamond-checkbox-black > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
input.diamond-input:checked ~ .diamond-checkbox > .diamond-down::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/OutgunnedDiamondRed.png?raw=true); /* diamond-black-down */
}
input.diamond-input:checked ~ .diamond-checkbox > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
input.diamond-input:checked ~ .diamond-checkbox-black > .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
.diamond-checkbox .diamond-input:checked + .diamond-down::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/OutgunnedDiamondRed.png?raw=true); /* diamond-black-down */
}
.diamond-checkbox .diamond-input:checked + .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
.diamond-checkbox-black .diamond-input:checked + .diamond-up::before {
background-image: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/refs/heads/master/Outgunned/Graphics/DiamondBlack.png?raw=true);
}
/* TAB HANDLING */
.charsheet input[type=radio].character-sheet,
.charsheet input[type=radio].mission-sheet,
.charsheet input[type=radio].director-sheet{
display: none;
float: left;
}
.charsheet input[type=radio].character-sheet + label,
.charsheet input[type=radio].mission-sheet + label,
.charsheet input[type=radio].director-sheet + label{
content: '';
border: solid 1px black;
background: white;
color: black;
font-weight: bold;
width: auto;
text-align: center;
padding: 0 2px;;
float: left;
}
.charsheet input[type=radio]:hover + label{
background: #990000;
}
.charsheet input[type=radio]:checked + label{
background: black;
color: white;
}
.charsheet div.character-sheet, .charsheet div.mission-sheet, .charsheet div.director-sheet {
display: none;
}
.charsheet input.character-sheet:checked ~ div.character-sheet, .charsheet input.mission-sheet:checked ~ div.mission-sheet, .charsheet input.director-sheet:checked ~ div.director-sheet {
display: block;
}