Files
roll20-character-sheets-tester/Street_Fighter-neovatar/Street_Fighter-neovatar.css
T
Thomas Seliger 3cf2ab5f40 * Added worker scripts for HP, Willpower and Chi management
* Added _nobar attributes in case someone wants the value in the token but no bar
2016-02-19 13:44:06 +01:00

410 lines
11 KiB
CSS

/* version: 1.1.0 */
.charsheet label {
display: inline-block;
width: 50px;
text-align: right;
padding-bottom: 0px;
font-size: 12px;
}
.charsheet input {
display: inline-block;
width: 125px;
background-color: transparent;
}
.charsheet {
background-color: white;
}
.charsheet select {
width: 42px;
}
.sheet-col-70 {
width: 70%;
}
.sheet-col-30 {
width: 30%;
}
/* Hide actual dot/checkbox */
input[type="radio"],
input[type="checkbox"]
{
position: absolute;
opacity: 0;
width: 15px;
cursor: pointer;
z-index: 1;
margin-top: 5px;
}
/* Styles common to fake dot and checkbox */
input[type="radio"] + span::before,
input[type="checkbox"] + span::before
{
border: solid 1px rgba(125,125,125,0.2);;
line-height: 11px;
text-align: middle;
display: inline-block;
vertical-align: middle;
font-weight: normal;
margin-left: -2px;
margin-right: -2px;
-moz-box-shadow: 0 0 0px #000;
-webkit-box-shadow: 0 0 0px #000;
box-shadow: 0 0 0px #000;
background: #000000;
background: -moz-radial-gradient(#f6f6f6, #dfdfdf);
background: -webkit-radial-gradient(#f6f6f6, #dfdfdf);
background: -ms-radial-gradient(#f6f6f6, #dfdfdf);
background: -o-radial-gradient(#f6f6f6, #dfdfdf);
background: radial-gradient(#f6f6f6, #dfdfdf);
}
/* Styles unique to fake dot (checked or left of checked) */
input[type="radio"] + span::before
{
content: "•";
width: 10px;
height: 10px;
font-size: 41.9px;
font-family: "Arial";
text-indent: -3px;
font-weight: normal;
-webkit-font-smoothing: antialiased;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
/* Styles unique to fake checkbox (unchecked) */
input[type="checkbox"] + span::before
{
position:relative;
content: "";
opacity: 1.0;
width: 10px;
height: 10px;
font-size: 12px;
-moz-border-radius: 1px;
-webkit-border-radius: 1px;
border-radius: 1px;
}
/* Styles unique to fake checkbox (checked) */
input[type="checkbox"]:checked + span::before
{
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
rgba(0,0,0,1) 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
rgba(0,0,0,1) 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%);
-moz-box-shadow: 0 0 2px transparent;
-webkit-box-shadow: 0 0 2px transparent;
box-shadow: 0 0 2px transparent;
}
/* Remove dot from all radios _after_ selected one */
input[type="radio"]:checked ~ input[type="radio"] + span::before
{
content: "";
}
input.sheet-used + span::before
{
content: "X";
width: 10px;
height: 10px;
font-size: 10px;
font-weight: bold;
-moz-border-radius: 0%;
-webkit-border-radius: 0%;
border-radius: 0%;
}
input.sheet-zero:checked + span::before
{
opacity: 0;
}
input.sheet-zero:hover + span::before
{
opacity: 0.25;
font-size: 12px;
content: "✖";
text-indent: 0.5px;
}
input.sheet-zero + span::before
{
opacity: 0;
}
input.sheet-DP1Spec + span::before,
input.sheet-DP2Spec + span::before,
input.sheet-DP2Spec + span::before,
input.sheet-DP3Spec + span::before,
input.sheet-DP4Spec + span::before,
input.sheet-DP5Spec + span::before
{
opacity: 1;
margin-bottom: 10px;
}
div.sheet-DP1,
div.sheet-DP2,
div.sheet-DP2,
div.sheet-DP3,
div.sheet-DP4,
div.sheet-DP5
{
display: inline;
}
div.sheet-DP1wSpec,
div.sheet-DP2wSpec,
div.sheet-DP2wSpec,
div.sheet-DP3wSpec,
div.sheet-DP4wSpec,
div.sheet-DP5wSpec
{
display: none;
}
input.sheet-DP1Spec:checked ~ div.sheet-DP1,
input.sheet-DP2Spec:checked ~ div.sheet-DP2,
input.sheet-DP2Spec:checked ~ div.sheet-DP2,
input.sheet-DP3Spec:checked ~ div.sheet-DP3,
input.sheet-DP4Spec:checked ~ div.sheet-DP4,
input.sheet-DP5Spec:checked ~ div.sheet-DP5
{
display: none;
}
input.sheet-DP1Spec:checked ~ div.sheet-DP1wSpec,
input.sheet-DP2Spec:checked ~ div.sheet-DP2wSpec,
input.sheet-DP2Spec:checked ~ div.sheet-DP2wSpec,
input.sheet-DP3Spec:checked ~ div.sheet-DP3wSpec,
input.sheet-DP4Spec:checked ~ div.sheet-DP4wSpec,
input.sheet-DP5Spec:checked ~ div.sheet-DP5wSpec
{
display: inline;
}
input.sheet-wheel+ span,
input.sheet-wheel+ span::before
{
opacity: 1;
}
input.sheet-top { margin-top:0px; }
input.sheet-top+ span, input.sheet-top+ span::before { top:0px; }
input.sheet-mid-eighth { margin-top: 7px; }
input.sheet-mid-eighth+ span, input.sheet-mid-eighth+ span::before { top: 7px; }
input.sheet-mid-quarter { margin-top: 22px; }
input.sheet-mid-quarter+ span, input.sheet-mid-quarter+ span::before { top: 22px; }
input.sheet-mid-three-eighth { margin-top: 40px; }
input.sheet-mid-three-eighth+ span, input.sheet-mid-three-eighth+ span::before { top: 40px; }
input.sheet-middle { margin-top: 62px; }
input.sheet-middle+ span, input.sheet-middle+ span::before { top: 62px; }
input.sheet-middle-2 { margin-top: 68px; }
input.sheet-middle-2+ span, input.sheet-middle-2+ span::before { top: 68px; }
input.sheet-mid-five-eighth { margin-top: 90px; }
input.sheet-mid-five-eighth+ span, input.sheet-mid-five-eighth+ span::before { top: 90px; }
input.sheet-mid-three-quarter { margin-top: 108px; }
input.sheet-mid-three-quarter+ span, input.sheet-mid-three-quarter+ span::before { top: 108px; }
input.sheet-mid-seven-eighth { margin-top: 122px; }
input.sheet-mid-seven-eighth+ span, input.sheet-mid-seven-eighth+ span::before { top: 122px; }
input.sheet-bottom { margin-top: 130px; }
input.sheet-bottom+ span, input.sheet-bottom+ span::before { top: 130px; }
input.sheet-left-1 { margin-left: 14px; }
input.sheet-left-1+ span, input.sheet-left-1+ span::before { left: 14px; }
input.sheet-left-2 { margin-left: 1px; }
input.sheet-left-2+ span, input.sheet-left-2+ span::before { left: 1px; }
input.sheet-left-3 { margin-left: -4px; }
input.sheet-left-3+ span, input.sheet-left-3+ span::before { left: -4px; }
input.sheet-left-4 { margin-left: -5px; }
input.sheet-left-4+ span, input.sheet-left-4+ span::before { left: -5px; }
input.sheet-left-5 { margin-left: -2px; }
input.sheet-left-5+ span, input.sheet-left-5+ span::before { left: -2px; }
input.sheet-left-6 { margin-left: 1px; }
input.sheet-left-6+ span, input.sheet-left-6+ span::before { left: 1px; }
input.sheet-left-7 { margin-left: 3px; }
input.sheet-left-7+ span, input.sheet-left-7+ span::before { left: 3px; }
input.sheet-left-8 { margin-left: 2px; }
input.sheet-left-8+ span, input.sheet-left-8+ span::before { left: 2px; }
input.sheet-left-9 { margin-left: -4px; }
input.sheet-left-9+ span, input.sheet-left-9+ span::before { left: -4px; }
input.sheet-left-10 { margin-left: -16px; }
input.sheet-left-10+ span, input.sheet-left-10+ span::before { left: -16px; }
input.sheet-wheel9, input.sheet-wheel9+ span, input.sheet-wheel9+ span::before
{
transform:rotate(9deg);
-ms-transform:rotate(9deg); /* IE 9 */
-webkit-transform:rotate(9deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel27, input.sheet-wheel27+ span, input.sheet-wheel27+ span::before
{
transform:rotate(27deg);
-ms-transform:rotate(27deg); /* IE 9 */
-webkit-transform:rotate(27deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel45, input.sheet-wheel45+ span, input.sheet-wheel45+ span::before
{
transform:rotate(45deg);
-ms-transform:rotate(45deg); /* IE 9 */
-webkit-transform:rotate(45deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel63, input.sheet-wheel63+ span, input.sheet-wheel63+ span::before
{
transform:rotate(63deg);
-ms-transform:rotate(63deg); /* IE 9 */
-webkit-transform:rotate(63deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel81, input.sheet-wheel81+ span, input.sheet-wheel81+ span::before
{
transform:rotate(81deg);
-ms-transform:rotate(81deg); /* IE 9 */
-webkit-transform:rotate(81deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel99, input.sheet-wheel99+ span, input.sheet-wheel99+ span::before
{
transform:rotate(99deg);
-ms-transform:rotate(99deg); /* IE 9 */
-webkit-transform:rotate(99deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel117, input.sheet-wheel117+ span, input.sheet-wheel117+ span::before
{
transform:rotate(117deg);
-ms-transform:rotate(117deg); /* IE 9 */
-webkit-transform:rotate(117deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel135, input.sheet-wheel135+ span, input.sheet-wheel135+ span::before
{
transform:rotate(135deg);
-ms-transform:rotate(135deg); /* IE 9 */
-webkit-transform:rotate(135deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel153, input.sheet-wheel153+ span, input.sheet-wheel153+ span::before
{
transform:rotate(153deg);
-ms-transform:rotate(153deg); /* IE 9 */
-webkit-transform:rotate(153deg); /* Opera, Chrome, and Safari */
}
input.sheet-wheel171, input.sheet-wheel171+ span, input.sheet-wheel171+ span::before
{
transform:rotate(171deg);
-ms-transform:rotate(171deg); /* IE 9 */
-webkit-transform:rotate(171deg); /* Opera, Chrome, and Safari */
}
input.sheet-filler {
border-style: solid;
font-weight: bold;
font-size: 12px;
padding: 0px 0px 0px 0px;
box-shadow: none;
width: 100px;
border-color: darkgray;
border-width: 0px 0px 1px 0px;
margin: 0;
line-height: 1em;
background-color: transparent;
}
input.sheet-filler-medium {
border-style: solid;
font-weight: bold;
font-size: 12px;
padding: 0px 0px 0px 0px;
box-shadow: none;
width: 160px;
border-color: darkgray;
border-width: 0px 0px 1px 0px;
margin: 0;
line-height: 1em;
background-color: transparent;
}
input.sheet-filler-long {
border-style: solid;
font-weight: bold;
font-size: 12px;
padding: 0px 0px 0px 0px;
box-shadow: none;
width: 180px;
border-color: darkgray;
border-width: 0px 0px 1px 0px;
margin: 0;
line-height: 1em;
background-color: transparent;
}
input.sheet-cursive {
font-family: 'Shadows Into Light', cursive;
font-weight: bold;
font-size: 16px;
}
label.sheet-filler {
display: inline-block;
width: 50px;
text-align: left;
padding-bottom: 0px;
font-size: 12px;
}
.charsheet h4 {
font-size: 12px;
}
.charsheet h3 {
font-size: 16px;
font-family: 'Shadows Into Light', cursive;
}
.charsheet h1 {
font-size: 24px;
text-align: center;
width: 100%;
color: white;
background-color: #dc291b;
font-variant: small-caps;
text-transform: capitalize;
font-family: 'Shadows Into Light', cursive;
padding-top: 0px;
font-weight: bold;
}