Files
roll20-character-sheets/Exalted 3/Ex3-Sheet.css
T
Alanith bdfe8648ea Update Ex3-Sheet.css
Fixed Checkboxes displaying "?" instead of "✓"
2015-10-04 18:27:11 -04:00

265 lines
5.4 KiB
CSS

.charsheet {
border: 0px solid transparent;
border-radius: 1px;
box-shadow:
inset 0 0 150px #ffd700,
0 0 1px #fff
}
.charsheet label{
background: #a5ebff;
position: fixed;
}
.charsheet label {
display: inline-block;
width: 75px;
text-align: right;
padding-bottom: 0px;
font-family: "arial";
}
.charsheet input[type=text] {
display: inline-block;
width: 165px;
font-family: "arial";
font-size: 12px;
height: 20px;
border: 0px;
border-radius: 0px;
background-color: transparent;
-moz-box-shadow: 0px 1px 0px #000;
-webkit-box-shadow: 0px 1px 0px #000;
box-shadow: 0px 1px 0px #000;
}
.charsheet textarea {
display: inline-block;
width:100%;
margin:1px 0px;
resize:none;
font-family: "arial";
color: #000000;
}
.charsheet {
font-family: "arial";
}
.charsheet select {
width: 45px;
}
.charsheet table td, .charsheet table th {
font-size: 13px;
font-weight: bolder;
font-family: "arial";
text-align: left;
width: 0%;
border: 0px #000000;
padding: 2px;
vertical-align: middle;
color: #000000;
margin:0px 0px;
}
.charsheet hr {
border: 0;
height: 1px;
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,100.75), rgba(0,0,0,0));
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,100.75), rgba(0,0,0,0));
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,100.75), rgba(0,0,0,0));
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,100.75), rgba(0,0,0,0));
}
.charsheet h2 {
text-decoration:overline underline;
}
/* Hide actual dot/checkbox */
input[type="radio"],
input[type="checkbox"]
{
position: absolute;
opacity: 0.0;
width: 15px;
cursor: pointer;
z-index: 10;
margin-top: 5px;
}
/* Styles common to fake dot and checkbox */
input[type="radio"] + span::before,
input[type="checkbox"] + span::before
{
border: solid 1px #000000;
line-height: 11px;
text-align: middle;
display: inline-block;
vertical-align: middle;
-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: 35px;
font-family: "Arial";
-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
{
content: "✓";
color: #a00;
-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: "?";
width: 12px;
height: 12px;
font-size: 12px;
-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: 1;
}
input.sheet-zero+ span::before
{
font-size: 12px;
content: "?";
opacity: 0.25;
}
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;
}
h4.sheet-SCorI1,
h4.sheet-SCorI2,
h4.sheet-CorC1,
h4.sheet-CorC2
{
display: block;
}
input.sheet-SCorI1,
input.sheet-SCorI2,
input.sheet-CorC1,
input.sheet-CorC2
{
width: 120px;
}
input.sheet-SCorI1:checked ~ h4.sheet-SCorI1,
input.sheet-SCorI2:checked ~ h4.sheet-SCorI2
{
display: none;
}
input.sheet-CorC1:checked ~ h4.sheet-CorC1,
input.sheet-CorC2:checked ~ h4.sheet-CorC2
{
display: none;
}