Files
roll20-character-sheets/Exalted 3/Ex3-Sheet.css
T
lithl 5c3346f841 Added i18n-labels for optgroup
Updated i18n-place to i18n-placeholder
Added styling to abbreviated text
2016-04-28 00:04:02 -05:00

603 lines
17 KiB
CSS

.charsheet {
position: absolute;
left: 0;
padding: 0 0 0 10px !important;
}
.sheet-body {
display: block;
height: 565px;
padding: 5px 0 5px 1px;
overflow-x: visible;
overflow-y: scroll;
position: relative;
}
.sheet-body::-webkit-scrollbar {
-webkit-appearance: none;
width: 8px;
height: 8px;
}
.sheet-body::-webkit-scrollbar-thumb {
border-radius: 4px;
border: 2px solid transparent;
background-color: rgba(0, 0, 0, .5);
}
.sheet-footer {
padding-top: 3px;
text-align: right;
background: url(http://i.imgur.com/R0FTYGB.jpg) no-repeat;
}
.sheet-footer button[type=roll] {
background: transparent;
border: 2px solid gray;
}
.sheet-txt-lg { font-size: 150%; }
.sheet-80pct { width: 80% !important; }
.sheet-text-right { text-align: right; }
.sheet-text-center { text-align: center; }
button[type=roll]::before { content: "" !important; }
button[type=roll].btn {
font-size: 13px;
line-height: 13px;
}
.sheet-fixedwidth { display: inline-block; }
.sheet-center-table.sheet-80pct {
margin-left: 10%;
margin-right: 10%;
}
.sheet-table {
display: table;
width: 100%;
position: relative;
}
.sheet-table-header { display: table-header-group; }
div.sheet-table-body,
fieldset.sheet-table-body + .repcontainer { display: table-row-group; }
.sheet-table-row,
.sheet-table .repcontrol,
.sheet-table-body + .repcontainer .repitem { display: table-row; }
.sheet-table-cell { display: table-cell; }
.sheet-table-header .sheet-table-cell { font-weight: bold; }
.sheet-table-cell:not(:last-child) { padding-right: 3px; }
.sheet-table .repcontrol { width: 100%; }
.sheet-table .repcontainer + .repcontrol .repcontrol_edit {
position: absolute;
right: 0;
}
.sheet-table .editmode + .repcontrol .repcontrol_edit {
right: 41px;
left: initial;
}
.sheet-table [data-groupname=repeating_intimacies].editmode + .repcontrol .repcontrol_edit,
.sheet-table [data-groupname=repeating_charms].editmode + .repcontrol .repcontrol_edit,
.sheet-table [data-groupname=repeating_spells].editmode + .repcontrol .repcontrol_edit { right: 0; }
[data-groupname=repeating_weapon].editmode .repitem .itemcontrol,
[data-groupname=repeating_armor].editmode .repitem .itemcontrol,
[data-groupname=repeating_intimacies].editmode .repitem .itemcontrol,
[data-groupname=repeating_spells].editmode .repitem .itemcontrol { height: 28px; }
[data-groupname=repeating_weapon].editmode .repitem .itemcontrol { width: calc(100% - 41px); }
[data-groupname=repeating_armor].editmode .repitem .itemcontrol { width: calc(100% - 30px); }
[data-groupname=repeating_weapon].editmode .sheet-table-cell,
[data-groupname=repeating_armor].editmode .sheet-table-cell { position: relative; }
[data-groupname=repeating_weapon].editmode .sheet-table-cell { left: -41px; }
[data-groupname=repeating_armor].editmode .sheet-table-cell { left: -30px; }
.sheet-flexbox-h > label,
.sheet-flexbox0 {
width: 100%;
line-height: 28px;
margin-bottom: 0;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
}
.sheet-flexbox-inline {
display: -webkit-inline-flex;
display: inline-flex;
width: 100%;
}
.sheet-flexbox-inline > label > span { white-space: nowrap; }
.sheet-flexbox-h input[type=text],
.sheet-flexbox-h input[type=number],
.sheet-flexbox-h select {
-webkit-flex: 1 1 40%;
flex: 1 1 40%;
margin-left: 5px;
}
.sheet-2col {
display: inline-block;
vertical-align: top;
}
.sheet-3colrow .sheet-2col:last-child { margin-right: 0; }
.sheet-3colrow .sheet-2col {
width: calc(66% - 5px);
margin-right: 30px;
}
.sheet-2col .sheet-2colrow .sheet-col {
width: calc(50% - 11px);
margin-right: 18px;
position: relative;
}
[title] { cursor: help; }
.sheet-dotted { border-bottom: 1px dotted black; }
input[type=text],
input[type=number] {
display: inline-block;
width: 165px;
font-size: 12pt;
height: 25px;
border: 0px;
border-bottom: 1px solid black;
border-radius: 0px;
background-color: transparent;
}
input[type=number] { text-align: center; }
input[type=number][disabled],
input[type=number][readonly],
select[disabled] {
background-color: rgba(128, 128, 128, 0.25);
}
input[type=text]:not(:focus),
input[type=number]:not(:focus),
[readonly]:focus {
-moz-box-shadow: 0 0 0 #000;
-webkit-box-shadow: 0 0 0 #000;
box-shadow: 0 0 0 #000;
}
h1,
hr {
background-image: url(http://i.imgur.com/TwZ84rO.jpg);
background-position: left 50%;
background-repeat: repeat-x;
background-size: auto 10px;
text-align: center;
width: 100%;
}
hr { height: 10px; }
label {
font-size: 16px;
display: inline;
cursor: pointer;
padding-right: 0;
}
h1 span {
background: #fff;
padding: 0 5px;
font-variant: small-caps;
}
*, .sheet-printed { font-family: Cimiez, Arial, sans-serif; }
input, select, option, optgroup, textarea, .btn:not([type=roll]) { font-family: Arial, sans-serif; }
.btn.pictos { font-family: Pictos; }
* { font-variant: small-caps; }
input, select, option, optgroup, textarea, .sheet-normal-caps, .btn:not([type=roll]) { font-variant: normal; }
::-webkit-input-placeholder { font-style: italic; }
:-moz-placeholder { font-style: italic; }
::-moz-placeholder { font-style: italic; }
:-ms-input-placeholder { font-style: italic; }
.sheet-trait > * {
vertical-align: middle;
}
.sheet-trait {
position: relative;
margin-bottom: 3px;
}
.sheet-6rows {
height: calc(6em + 30px);
}
.sheet-motes {
margin-top: 10px;
clear: right;
position: relative;
padding-left: 30px;
}
.sheet-motes input[type=number] {
width: 1.75em;
font-size: 16px;
}
.sheet-motes:last-child input[type=number] { width: 71px; }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sheet-motes span { display: inline-block; }
.sheet-motes span:last-child {
position: absolute;
right: 40px;
font-size: 20px;
}
textarea {
resize: none;
width: 96%;
background-color: transparent;
}
select {
width: 45px;
margin-bottom: 0;
background-color: transparent;
border: 0;
border-bottom: 1px solid black;
border-radius: 0;
}
table td,
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;
}
h2 {
text-decoration:overline underline;
}
/* Hide actual checkbox */
input[type=checkbox] {
position: absolute;
opacity: 0.0;
width: 15px;
cursor: pointer;
z-index: 10;
margin-top: 5px;
}
/* Styles for fake checkbox (checked or unchecked) */
input[type=checkbox] + span::before {
border: solid 1px #000000;
line-height: 11px;
text-align: center;
display: inline-block;
vertical-align: middle;
-moz-box-shadow: 0 0 0 #000;
-webkit-box-shadow: 0 0 0 #000;
box-shadow: 0 0 0 #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);
position: relative;
content: "";
opacity: 1.0;
width: 10px;
height: 10px;
font-size: 12px;
-moz-border-radius: 1px;
-webkit-border-radius: 1px;
border-radius: 1px;
}
/* Fake checkbox (checked) */
input[type=checkbox]:checked + span::before {
content: "✓";
color: #a00;
font-weight: bold;
-moz-box-shadow: 0 0 2px transparent;
-webkit-box-shadow: 0 0 2px transparent;
box-shadow: 0 0 2px transparent;
}
/* Crafting/MA popup */
input[type=checkbox].sheet-unnamed-toggle {
width: 100%;
height: 100%;
margin: 0;
}
input[type=checkbox].sheet-unnamed-toggle + span::before {
width: 100%;
height: calc(100% - 3px);
content: attr(title);
text-align: center;
line-height: 100%;
font-size: 18px;
}
.sheet-layer7,
.sheet-layer7::before { z-index: 7; }
.sheet-layer6,
.sheet-layer6::before { z-index: 6; }
.sheet-layer5,
.sheet-layer5::before { z-index: 5; }
.sheet-layer4,
.sheet-layer4::before { z-index: 4; }
.sheet-layer3,
.sheet-layer3::before { z-index: 3; }
input[type=checkbox].sheet-unnamed-toggle:checked + span::before {
border-bottom: 0;
}
input[type=checkbox].sheet-unnamed-toggle:not(:checked) + span + div { display: none; }
input[type=checkbox].sheet-unnamed-toggle:checked + span + div {
display: block;
position: relative;
top: -1px;
left: -142px;
border: 1px solid black;
padding: 5px;
background-color: #f6f6f6;
width: 250px;
}
.sheet-unnamed-toggle + span + div > .sheet-trait > label,
[data-groupname=repeating_crafts] input,
[data-groupname=repeating_ma] input { width: 130px; }
[data-groupname=repeating_abilities] input[type=text] { width: 120px; }
[data-groupname=repeating_specialties] input,
.sheet-crafting-projects input { margin-top: 3px; }
[data-groupname=repeating_merits] .repitem {
display: inline-block;
width: calc(50% - 20px);
margin-right: 20px;
position: relative;
}
[data-groupname=repeating_merits] input[type=text] { width: calc(100% - 120px); }
[data-groupname=repeating_weapon] input[type=text] { width: 170px; }
[data-groupname=repeating_weapon] input[type=number] { width: 40px; }
[data-groupname=repeating_intimacies] input[type=text],
[data-groupname=repeating_charms] input,
[data-groupname=repeating_spells] input[type=text],
[data-groupname=repeating_spells] input[type=number] {
width: 80px;
margin-top: 3px;
}
[data-groupname=repeating_intimacies] select,
[data-groupname=repeating_intimacies] input[type=text] { width: 100%; }
[data-groupname=repeating_weapon] input,
[data-groupname=repeating_armor] input,
[data-groupname=repeating_intimacies] select,
[data-groupname=repeating_intimacies] input[type=text],
[data-groupname=repeating_charms] select,
[data-groupname=repeating_charms] input[type=text],
[data-groupname=repeating_charms] input[type=number],
[data-groupname=repeating_spells] select,
[data-groupname=repeating_spells] input[type=text],
[data-groupname=repeating_spells] input[type=number] { margin-bottom: 3px; }
.sheet-unnamed-toggle + span + div > .sheet-trait > label {
display: inline-block;
margin: 0;
}
.repcontrol_del,
.repcontrol_move {
z-index: 11;
position: absolute;
}
.repcontrol_del { right: 0; }
.editmode + .repcontrol .repcontrol_edit {
float: none !important;
position: relative;
left: calc(100% - 52px);
}
.repcontainer { margin-bottom: 5px; }
/* Rotating click to set dots */
div.sheet-dots,
div.sheet-dots input[class^=sheet-dots],
div.sheet-dots input[class^=sheet-dots] + span {
width: 100px;
height: 20px;
}
div.sheet-damage-box { margin-left: 2px; }
div.sheet-damage-box,
div.sheet-damage-box input[class^=sheet-dots],
div.sheet-damage-box input[class^=sheet-dots] + span {
width: 20px;
height: 20px;
}
div.sheet-dots-full,
div.sheet-dots-full input[class^=sheet-dots],
div.sheet-dots-full input[class^=sheet-dots] + span {
width: 251px;
height: 20px;
}
input[class^=sheet-dots],
input[class^=sheet-dots] + span,
input[class^=sheet-dots] + span::before {
position: absolute;
top: 0;
left: 0;
}
div.sheet-dots {
display: inline-block;
position: absolute;
padding: 0;
right: 15px;
}
div.sheet-dots-full,
div.sheet-damage-box {
position: relative;
}
input[class^=sheet-dots] + span {
display: inline-block;
z-index: 0;
}
input[class^=sheet-dots] {
opacity: 0;
z-index: 1;
}
input.sheet-dots0 { z-index: 2; }
.sheet-layer3 input.sheet-dots0 { z-index: 5; }
.sheet-layer5 input.sheet-dots0 { z-index: 7; }
input.sheet-dots0:checked ~ input.sheet-dots1,
input.sheet-dots1:checked ~ input.sheet-dots2,
input.sheet-dots2:checked ~ input.sheet-dots3,
input.sheet-dots3:checked ~ input.sheet-dots4,
input.sheet-dots4:checked ~ input.sheet-dots5,
input.sheet-dots5:checked ~ input.sheet-dots6,
input.sheet-dots6:checked ~ input.sheet-dots7,
input.sheet-dots7:checked ~ input.sheet-dots8,
input.sheet-dots8:checked ~ input.sheet-dots9,
input.sheet-dots9:checked ~ input.sheet-dots10 { z-index: 3; }
.sheet-layer4 input.sheet-dots0:checked ~ input.sheet-dots1,
.sheet-layer4 input.sheet-dots1:checked ~ input.sheet-dots2,
.sheet-layer4 input.sheet-dots2:checked ~ input.sheet-dots3,
.sheet-layer4 input.sheet-dots3:checked ~ input.sheet-dots4,
.sheet-layer4 input.sheet-dots4:checked ~ input.sheet-dots5,
.sheet-layer4 input.sheet-dots5:checked ~ input.sheet-dots6,
.sheet-layer4 input.sheet-dots6:checked ~ input.sheet-dots7,
.sheet-layer4 input.sheet-dots7:checked ~ input.sheet-dots8,
.sheet-layer4 input.sheet-dots8:checked ~ input.sheet-dots9,
.sheet-layer4 input.sheet-dots9:checked ~ input.sheet-dots10 { z-index: 6; }
.sheet-layer6 input.sheet-dots0:checked ~ input.sheet-dots1,
.sheet-layer6 input.sheet-dots1:checked ~ input.sheet-dots2,
.sheet-layer6 input.sheet-dots2:checked ~ input.sheet-dots3,
.sheet-layer6 input.sheet-dots3:checked ~ input.sheet-dots4,
.sheet-layer6 input.sheet-dots4:checked ~ input.sheet-dots5,
.sheet-layer6 input.sheet-dots5:checked ~ input.sheet-dots6,
.sheet-layer6 input.sheet-dots6:checked ~ input.sheet-dots7,
.sheet-layer6 input.sheet-dots7:checked ~ input.sheet-dots8,
.sheet-layer6 input.sheet-dots8:checked ~ input.sheet-dots9,
.sheet-layer6 input.sheet-dots9:checked ~ input.sheet-dots10 { z-index: 8; }
div.sheet-dots input.sheet-dots0:checked + span::before { content: url(http://i.imgur.com/brHawNF.png); }
div.sheet-dots input.sheet-dots1:checked + span::before { content: url(http://i.imgur.com/FxaE1ej.png); }
div.sheet-dots input.sheet-dots2:checked + span::before { content: url(http://i.imgur.com/mmaaeuA.png); }
div.sheet-dots input.sheet-dots3:checked + span::before { content: url(http://i.imgur.com/XzoEKTo.png); }
div.sheet-dots input.sheet-dots4:checked + span::before { content: url(http://i.imgur.com/7Km42YB.png); }
div.sheet-dots input.sheet-dots5:checked + span::before { content: url(http://i.imgur.com/fQOCs6f.png); }
div.sheet-dots input.sheet-dots6:checked + span::before { content: url(http://i.imgur.com/5viTRx5.png); }
div.sheet-dots input.sheet-dots7:checked + span::before { content: url(http://i.imgur.com/r51uCCA.png); }
div.sheet-dots input.sheet-dots8:checked + span::before { content: url(http://i.imgur.com/QlLZpUb.png); }
div.sheet-dots input.sheet-dots9:checked + span::before { content: url(http://i.imgur.com/mnoMk57.png); }
div.sheet-dots input.sheet-dots10:checked + span::before { content: url(http://i.imgur.com/jhxHSkd.png); }
div.sheet-dots-full input.sheet-dots0:checked + span::before { content: url(http://i.imgur.com/aoLkPUD.png); }
div.sheet-dots-full input.sheet-dots1:checked + span::before { content: url(http://i.imgur.com/yuMkIYx.png); }
div.sheet-dots-full input.sheet-dots2:checked + span::before { content: url(http://i.imgur.com/v8N22sh.png); }
div.sheet-dots-full input.sheet-dots3:checked + span::before { content: url(http://i.imgur.com/f4los8X.png); }
div.sheet-dots-full input.sheet-dots4:checked + span::before { content: url(http://i.imgur.com/JcMtOks.png); }
div.sheet-dots-full input.sheet-dots5:checked + span::before { content: url(http://i.imgur.com/b5t5pWv.png); }
div.sheet-dots-full input.sheet-dots6:checked + span::before { content: url(http://i.imgur.com/DrkRvoQ.png); }
div.sheet-dots-full input.sheet-dots7:checked + span::before { content: url(http://i.imgur.com/P8edx1p.png); }
div.sheet-dots-full input.sheet-dots8:checked + span::before { content: url(http://i.imgur.com/lJPrvey.png); }
div.sheet-dots-full input.sheet-dots9:checked + span::before { content: url(http://i.imgur.com/updBVIp.png); }
div.sheet-dots-full input.sheet-dots10:checked + span::before { content: url(http://i.imgur.com/1ymfexj.png); }
div.sheet-damage-box input.sheet-dots0:checked + span::before { content: url(http://i.imgur.com/HAiWBJU.png); }
div.sheet-damage-box input.sheet-dots1:checked + span::before { content: url(http://i.imgur.com/ZA7t2og.png); }
div.sheet-damage-box input.sheet-dots2:checked + span::before { content: url(http://i.imgur.com/Skkftsx.png); }
div.sheet-damage-box input.sheet-dots3:checked + span::before { content: url(http://i.imgur.com/WwEsO6c.png); }
input.sheet-dots0,
input[class^=sheet-dots]:checked + span + input { cursor: pointer; }
.sheet-temp-will { padding-left: 12px; }
.sheet-temp-will input,
.sheet-temp-will input + span {
margin-right: 9.75px;
}
.sheet-temp-will input:last-child,
.sheet-temp-will input:last-child + span {
margin: 0;
}
.sheet-health-track { text-align: center; }
.sheet-health-level {
display: inline-block;
width: 23px;
}
.sheet-health-level:not(:last-child) { margin-right: 1px; }
.sheet-health-level select {
width: 23px;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 4px;
text-overflow: '';
cursor: pointer;
font-weight: bolder;
font-family: Cimiez, Arial, sans-serif;
color: #d00;
height: 23px;
padding: 0;
font-size: 15px;
}
.sheet-health-level select::-ms-expand { display: none; }
@font-face {
font-family: Cimiez;
src: local('Cimiez Roman PDF.ttf'),
url(http://lithl.info/cimiez.ttf) format('truetype');
}