Files
Noel da Costa a18cc53a6b Added a tab for setting scores manually
- Added tab
- Added fields for that tab
- Added display for Roll tab
2021-03-01 14:54:57 +00:00

514 lines
12 KiB
CSS

.sheet-container-fluid,
.sheet-container {
margin-right: auto;
margin-left: auto; }
.sheet-container-fluid {
padding-right: 2rem;
padding-left: 2rem; }
.sheet-row {
box-sizing: border-box;
display: -webkit-box !important;
display: -ms-flexbox !important;
display: flex !important;
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-right: -0.5rem;
margin-left: -0.5rem;
margin-bottom: 2px;
padding-bottom: 2px; }
.sheet-row.sheet-underline {
border-bottom: 1px solid #8080801a; }
.sheet-row.reverse {
-webkit-box-orient: horizontal;
-webkit-box-direction: reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse; }
.sheet-col.reverse {
-webkit-box-orient: vertical;
-webkit-box-direction: reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse; }
.sheet-col-xs,
.sheet-col-xs-1,
.sheet-col-xs-2,
.sheet-col-xs-3,
.sheet-col-xs-4,
.sheet-col-xs-5,
.sheet-col-xs-6,
.sheet-col-xs-7,
.sheet-col-xs-8,
.sheet-col-xs-9,
.sheet-col-xs-10,
.sheet-col-xs-11,
.sheet-col-xs-12,
.sheet-col-xs-offset-0,
.sheet-col-xs-offset-1,
.sheet-col-xs-offset-2,
.sheet-col-xs-offset-3,
.sheet-col-xs-offset-4,
.sheet-col-xs-offset-5,
.sheet-col-xs-offset-6,
.sheet-col-xs-offset-7,
.sheet-col-xs-offset-8,
.sheet-col-xs-offset-9,
.sheet-col-xs-offset-10,
.sheet-col-xs-offset-11,
.sheet-col-xs-offset-12 {
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
position: relative; }
.sheet-col-xs:not(.sheet-padless),
.sheet-col-xs-1:not(.sheet-padless),
.sheet-col-xs-2:not(.sheet-padless),
.sheet-col-xs-3:not(.sheet-padless),
.sheet-col-xs-4:not(.sheet-padless),
.sheet-col-xs-5:not(.sheet-padless),
.sheet-col-xs-6:not(.sheet-padless),
.sheet-col-xs-7:not(.sheet-padless),
.sheet-col-xs-8:not(.sheet-padless),
.sheet-col-xs-9:not(.sheet-padless),
.sheet-col-xs-10:not(.sheet-padless),
.sheet-col-xs-11:not(.sheet-padless),
.sheet-col-xs-12:not(.sheet-padless),
.sheet-col-xs-offset-0:not(.sheet-padless),
.sheet-col-xs-offset-1:not(.sheet-padless),
.sheet-col-xs-offset-2:not(.sheet-padless),
.sheet-col-xs-offset-3:not(.sheet-padless),
.sheet-col-xs-offset-4:not(.sheet-padless),
.sheet-col-xs-offset-5:not(.sheet-padless),
.sheet-col-xs-offset-6:not(.sheet-padless),
.sheet-col-xs-offset-7:not(.sheet-padless),
.sheet-col-xs-offset-8:not(.sheet-padless),
.sheet-col-xs-offset-9:not(.sheet-padless),
.sheet-col-xs-offset-10:not(.sheet-padless),
.sheet-col-xs-offset-11:not(.sheet-padless),
.sheet-col-xs-offset-12:not(.sheet-padless) {
padding-right: 0.5rem;
padding-left: 0.5rem; }
.sheet-col-xs {
-webkit-box-flex: 1;
-ms-flex-positive: 1;
flex-grow: 1;
-ms-flex-preferred-size: 0;
flex-basis: 0;
max-width: 100%; }
.sheet-col-xs-1 {
-ms-flex-preferred-size: 8.33333333%;
flex-basis: 8.33333333%;
max-width: 8.33333333%; }
.sheet-col-xs-2 {
-ms-flex-preferred-size: 16.66666667%;
flex-basis: 16.66666667%;
max-width: 16.66666667%; }
.sheet-col-xs-3 {
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%; }
.sheet-col-xs-4 {
-ms-flex-preferred-size: 33.33333333%;
flex-basis: 33.33333333%;
max-width: 33.33333333%; }
.sheet-col-xs-5 {
-ms-flex-preferred-size: 41.66666667%;
flex-basis: 41.66666667%;
max-width: 41.66666667%; }
.sheet-col-xs-6 {
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%; }
.sheet-col-xs-7 {
-ms-flex-preferred-size: 58.33333333%;
flex-basis: 58.33333333%;
max-width: 58.33333333%; }
.sheet-col-xs-8 {
-ms-flex-preferred-size: 66.66666667%;
flex-basis: 66.66666667%;
max-width: 66.66666667%; }
.sheet-col-xs-9 {
-ms-flex-preferred-size: 75%;
flex-basis: 75%;
max-width: 75%; }
.sheet-col-xs-10 {
-ms-flex-preferred-size: 83.33333333%;
flex-basis: 83.33333333%;
max-width: 83.33333333%; }
.sheet-col-xs-11 {
-ms-flex-preferred-size: 91.66666667%;
flex-basis: 91.66666667%;
max-width: 91.66666667%; }
.sheet-col-xs-12 {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%; }
.sheet-col-xs-offset-0 {
margin-left: 0; }
.sheet-col-xs-offset-1 {
margin-left: 8.33333333%; }
.sheet-col-xs-offset-2 {
margin-left: 16.66666667%; }
.sheet-col-xs-offset-3 {
margin-left: 25%; }
.sheet-col-xs-offset-4 {
margin-left: 33.33333333%; }
.sheet-col-xs-offset-5 {
margin-left: 41.66666667%; }
.sheet-col-xs-offset-6 {
margin-left: 50%; }
.sheet-col-xs-offset-7 {
margin-left: 58.33333333%; }
.sheet-col-xs-offset-8 {
margin-left: 66.66666667%; }
.sheet-col-xs-offset-9 {
margin-left: 75%; }
.sheet-col-xs-offset-10 {
margin-left: 83.33333333%; }
.sheet-col-xs-offset-11 {
margin-left: 91.66666667%; }
.sheet-start-xs {
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
text-align: start; }
.sheet-center-xs {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center; }
.sheet-end-xs {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
text-align: end; }
.sheet-top-xs {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start; }
.sheet-middle-xs {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; }
.sheet-bottom-xs {
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end; }
.sheet-around-xs {
-ms-flex-pack: distribute;
justify-content: space-around; }
.sheet-between-xs {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between; }
.sheet-first-xs {
-webkit-box-ordinal-group: 0;
-ms-flex-order: -1;
order: -1; }
.sheet-last-xs {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1; }
.sheet-3colrow .sheet-col, .sheet-row .sheet-col {
margin-right: 5px !important;
box-sizing: border-box !important; }
/**********************
Headers
***********************/
h1 {
font-family: "Contrail One";
background: #ae6a00;
background: linear-gradient(0deg, #ae6a00 8%, #ae2400 38%, #ae6a00 84%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent; }
h2 {
font-family: "Contrail One";
font-size: 2rem;
background: #ae6a00;
background: linear-gradient(0deg, #ae6a00 8%, #ae2400 38%, #ae6a00 84%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent; }
/**********************
Tabs
***********************/
/* Hide actual radio */
input[type="radio"] {
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1; }
div.sheet-rollSwitch-button {
border: 1px solid grey;
border-radius: 5px;
padding: 1rem;
background: linear-gradient(0deg, black, transparent);
color: white;
display: block;
cursor: pointer; }
input.sheet-pageToggle:not([value="1"]) ~ .sheet-tab1 {
display: none; }
input.sheet-pageToggle:not([value="2"]) ~ .sheet-tab2 {
display: none; }
input.sheet-pageToggle:not([value="3"]) ~ .sheet-tab3 {
display: none; }
/**********************
Roll-up
***********************/
input.sheet-rollSwitch[value="0"] ~ .sheet-tab-score-roll, input.sheet-rollSwitch[value="0"] ~ .sheet-tab-score-input {
display: none; }
input.sheet-rollSwitch[value="1"] ~ .sheet-tab-score-input {
display: none; }
input.sheet-rollSwitch[value="2"] ~ .sheet-tab-score-roll {
display: none; }
/**********************
Layout
***********************/
.sheet-panel {
background: silver;
border: 1px solid transparent;
border-radius: 5px;
color: #ae6a00;
padding: 1rem;
margin: 2px;
box-sizing: border-box; }
.repcontainer .repitem {
background: linear-gradient(90deg, silver, transparent);
margin-bottom: 3px; }
span.sheet-emphasis {
color: #ae2400;
font-weight: bold;
border: 1px solid #ccc;
border-radius: 3px;
padding: 3px 4px 5px 7px;
min-width: 11px;
display: block;
background: #f5f5f5;
vertical-align: 7%;
line-height: 18px; }
label {
font-family: 'Contrail One';
margin: 0; }
label.sheet-ability {
width: 20px;
display: inline-block; }
label.sheet-emphasis {
color: #ae2400;
font-weight: bold; }
label.sheet-tab {
display: inline;
border-radius: 3px;
border: 1px solid transparent;
color: white;
padding: 0;
text-align: center;
margin: 0 0.5rem 0 0;
background: -webkit-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
background: -moz-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
background: -o-linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
background: linear-gradient(0deg, #aeaeae 0%, #094379 64%, #0072ff 100%);
-webkit-transition: background 0.4s ease-out;
-moz-transition: background 0.4s ease-out;
-o-transition: background 0.4s ease-out;
transition: background 0.4s ease-out;
background-size: 1px 40px;
cursor: pointer; }
label.sheet-tab span {
padding: 0 0.5rem 0 0.75rem;
text-align: center; }
label.sheet-tab:hover {
background-position: 100px; }
/**********************
Sheet Container
***********************/
.sheet-container {
border: 1px dashed #ae2400;
border-radius: 5px;
padding: 1rem;
box-sizing: border-box; }
.sheet-container .bottom-margin {
margin-bottom: 1rem; }
.sheet-container .sheet-row {
display: block; }
.sheet-container .sheet-label {
font-family: "Contrail One";
display: inline; }
.sheet-container select {
font-family: "Arial" sans-serif; }
.sheet-container input:not(.sheet-short), .sheet-container select:not(.sheet-short) {
margin: 0;
width: 100% !important;
font-family: "Shadows Into Light"; }
.sheet-rolls-container {
border: 1px dashed #ae2400;
border-radius: 5px;
padding: 1rem;
box-sizing: border-box; }
.sheet-rolls-container .bottom-margin {
margin-bottom: 1rem; }
.sheet-rolls-container .sheet-row {
display: block; }
.sheet-rolls-container .sheet-label {
font-family: "Contrail One";
display: inline; }
/**********************
Sub Container
***********************/
.sheet-options-flag ~ .sheet-options,
.sheet-check-flag ~ .sheet-check-options {
display: none; }
.sheet-options-flag:checked ~ .sheet-options,
.sheet-check-flag:checked ~ .sheet-options {
display: inherit; }
.sheet-options-flag:checked ~ .sheet-options,
.sheet-check-flag:checked ~ .sheet-check-options {
min-height: 3rem;
vertical-align: top;
display: inline-block;
padding: 0.5rem; }
.sheet-options-flag:checked ~ .sheet-display {
display: none; }
.sheet-options-flag:checked ~ .sheet-active-flag {
margin-bottom: 50px; }
.sheet-options-flag:checked ~ .sheet-display {
display: none; }
.sheet-options-flag:not(:checked) ~ .sheet-display .sheet-title {
background-color: #EFEFEF;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
display: inline-block;
font-size: 9px;
font-weight: bold;
line-height: 16px;
padding-bottom: 3px;
padding-left: 4px;
padding-right: 4px;
padding-top: 3px;
text-align: left; }
.sheet-options-flag:not(:checked) ~ .sheet-display .sheet-subheader {
background-color: #EFEFEF;
border-bottom-right-radius: 5px;
border-top-left-radius: 5px;
display: inline-block;
font-size: 9px;
font-weight: bold;
height: 16px;
padding-bottom: 3px;
padding-left: 4px;
padding-right: 4px;
padding-top: 3px;
text-align: left; }
.sheet-options-flag + span {
position: absolute;
top: 6px;
right: -6px;
white-space: nowrap;
width: 18px;
height: 18px;
font-size: 20px;
font-family: pictos;
color: #A0A0A0;
cursor: pointer;
margin-top: 0px;
display: none; }
.repcontainer:hover .sheet-options-flag + span {
display: block; }
.sheet-options-flag {
opacity: 0;
position: absolute;
top: 13px;
right: -6px;
width: 18px;
height: 18px !important;
z-index: 2; }
.sheet-options-flag:not(:checked) ~ .sheet-display,
.sheet-options-flag:checked ~ .sheet-options,
.sheet-check-flag:not(:checked) ~ .sheet-display,
.sheet-check-flag:checked ~ .sheet-check-options {
width: 95%;
display: inline-block; }
.sheet-options-flag:checked + span,
.sheet-check-flag:checked + span {
color: black;
display: block; }