Files
roll20-character-sheets/DCC/DCC.css
T
2014-05-29 22:46:31 -04:00

399 lines
9.7 KiB
CSS

/* CSS Reset */{}
.charsheet .sheet-wrapper div, .charsheet .sheet-wrapper span, .charsheet .sheet-wrapper label,
.charsheet .sheet-wrapper h1, .charsheet .sheet-wrapper h2, .charsheet .sheet-wrapper h3, .charsheet .sheet-wrapper h4, .charsheet .sheet-wrapper h5, .charsheet .sheet-wrapper h6, .charsheet .sheet-wrapper p,
.charsheet .sheet-wrapper table, .charsheet .sheet-wrapper caption, .charsheet .sheet-wrapper tbody, .charsheet .sheet-wrapper tfoot, .charsheet .sheet-wrapper thead, .charsheet .sheet-wrapper tr, .charsheet .sheet-wrapper th, .charsheet .sheet-wrapper td {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
color: #404040;
vertical-align: baseline;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
@font-face {
font-family: 'Corben';
font-style: normal;
font-weight: 700;
src: local('Corben'), url(http://themes.googleusercontent.com/static/fonts/corben/v6/ljkAb4w-83fUltRn9aENdbO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
@font-face {
font-family: 'Corben Regular';
font-style: normal;
font-weight: 400;
src: local('Corben Regular'), local('Corben-Regular'), url(http://themes.googleusercontent.com/static/fonts/corben/v6/uWWoJk4JhWoRrYEm4mc4D-vvDin1pK8aKteLpeZ5c0A.woff) format('woff');
}
.charsheet .sheet-wrapper label {
font-family: 'Corben';
font-size: ;
}
.charsheet .sheet-wrapper label.sheet-logo {
height: 40px;
}
.charsheet .sheet-wrapper table {
border-collapse: collapse;
border-spacing: 0;
border: 2px solid #404040;
}
.charsheet .sheet-wrapper td, .charsheet .sheet-wrapper tr, .charsheet .sheet-wrapper tbody, .charsheet .sheet-wrapper thead {
border: 1px solid #404040;
padding: 5px;
}
.charsheet .sheet-wrapper input::-webkit-outer-spin-button,
.charsheet .sheet-wrapper input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.charsheet .sheet-wrapper textarea {
resize: none;
}
.charsheet .sheet-wrapper .sheet-combatbasics .sheet-row {
height: 26px;
}
.charsheet .sheet-wrapper .sheet-combatbasics .sheet-row input, .charsheet .sheet-wrapper .sheet-combatbasics .sheet-row label, .charsheet .sheet-wrapper .sheet-combatbasics .sheet-row button, .charsheet .sheet-wrapper .sheet-combatbasics .sheet-row select {
height: 22px;
}
/* Main Styles */{}
.charsheet {
background-color: white;
}
.charsheet .sheet-wrapper h2 {
margin: 15px 0 2px;
font-weight:bold;
font-size: 15px;
font-family: 'Corben';
height: 18px;
}
.charsheet .sheet-wrapper input, .charsheet .sheet-wrapper textarea, .charsheet .sheet-wrapper select, .charsheet .sheet-wrapper input[type="number"] {
display: inline-block;
border: 1px solid #ccc;
padding: 2px;
height: 28px;
width: 100%;
font-size: 12px;
line-height: 16px;
font-weight: bold;
margin: 0;
color: #555;
background-color: white;
vertical-align: middle;
cursor: auto;
letter-spacing: normal;
word-spacing: normal;
text-transform: none;
text-indent: 0px;
text-shadow: none;
text-align: start;
-webkit-rtl-ordering: logical;
-webkit-user-select: text;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-webkit-transition: border linear .2s,box-shadow linear .2s;
-moz-transition: border linear .2s,box-shadow linear .2s;
-ms-transition: border linear .2s,box-shadow linear .2s;
-o-transition: border linear .2s,box-shadow linear .2s;
transition: border linear .2s,box-shadow linear .2s;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-writing-mode: horizontal-tb;
-moz-appearance: textfield;
}
.charsheet .sheet-wrapper select {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
.charsheet .sheet-wrapper input[disabled], .charsheet .sheet-wrapper select[disabled], .charsheet .sheet-wrapper textarea[disabled], .charsheet .sheet-wrapper input[readonly], .charsheet .sheet-wrapper select[readonly], .charsheet .sheet-wrapper textarea[readonly] {
background-color: #f5f5f5;
border-color: #ddd;
cursor: not-allowed;
}
.charsheet .sheet-wrapper textarea.sheet-inventory {
width: 98%;
height: 170px;
font-size: 13px;
line-height: 16px;
}
.charsheet .sheet-wrapper .sheet-item input.sheet-square, .charsheet .sheet-wrapper .sheet-item button.sheet-square {
width: 28px;
text-align: center;
}
.charsheet .sheet-wrapper label {
display: inline-block;
width: 100%;
font-size: 11px;
height: 28px;
line-height: 28px;
vertical-align: middle;
}
.charsheet .sheet-wrapper .sheet-3colrow .sheet-col {
width: calc(33% - 3px) !important;
margin-right: 2px !important;
}
.charsheet .sheet-wrapper .sheet-3colrow .sheet-col:last-child {
margin-right: 0 !important;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col {
width: calc(50% - 3px) !important;
margin-right: 2px !important;
}
.charsheet .sheet-wrapper .sheet-2colrow .sheet-col:last-child {
margin-right: 0 !important;
}
/* Row And Items */{}
.charsheet .sheet-wrapper .sheet-row {
height: 32px;
margin: 0 0 2px;
}
.charsheet .sheet-wrapper .sheet-header {
height: 20px;
margin: 0;
}
.charsheet .sheet-wrapper .sheet-header label {
padding: 0;
font-size: 9px;
height: 20px;
line-height: 20px;
font-weight: normal;
word-wrap:break-word;
font-family: 'Corben Regular';
}
.charsheet .sheet-wrapper .sheet-item {
display: inline-block;
width: 100%;
height: 34px;
vertical-align: middle;
margin: 0 -2px;
padding: 3px 2px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-multiline label {
line-height: 9px;
padding-top: 1px;
}
.charsheet .sheet-wrapper .sheet-item.sheet-eensy {
width: calc(3% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-tiny {
width: calc(12% - 3%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-small {
width: calc(20% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-med {
width: calc(25% - 0.5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-large {
width: calc(50% - 5%);
}
.charsheet .sheet-wrapper .sheet-item.sheet-huge {
width: calc(80% - 3%);
}
/* Base Info */{}
.sheet-baseinfo {
display: inline-block;
width: 145px;
margin-right: 3px;
}
.sheet-baseinfo.sheet-number {
width: 39px;
margin-right: 10px;
}
.sheet-baseinfo.sheet-short {
width: 60px;
}
.sheet-baseinfo.sheet-medium {
width: 100px;
}
/* Stat Blocks */{}
.charsheet .sheet-wrapper .sheet-statblock {
margin-bottom: 5px;
display: block;
visibility: visible;
-webkit-transition: .125s linear;
-moz-transition: .125s linear;
-ms-transition: .125s linear;
-o-transition: .125s linear;
transition: .125s linear;
}
.charsheet .sheet-wrapper .sheet-statblock:last-child {
margin-bottom: 0!important;
}
.charsheet .sheet-wrapper input[type=checkbox]:checked ~ label.sheet-headtwo {
background-color: #333;
}
.charsheet .sheet-wrapper input[type=checkbox]:checked ~ .sheet-statblock {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-hidden {
display: none;
visibility: hidden;
}
.charsheet .sheet-wrapper .sheet-center {
text-align: center;
}
.charsheet .sheet-wrapper .sheet-rowcol1 {
text-align: right;
}
.charsheet .sheet-wrapper input.sheet-AC, .charsheet .sheet-wrapper input.sheet-HP, .charsheet .sheet-wrapper select.sheet-AD {
margin-top: 10px;
margin-bottom: 34px;
padding: 0px;
height: 46px;
width: 48px;
font-size: 36px;
line-height: 48px;
font-weight: bold;
vertical-align: middle;
text-align: center;
}
.charsheet .sheet-wrapper select.sheet-AD {
margin-top: 22px;
margin-bottom: 20px;
width: 64px;
}
.charsheet .sheet-wrapper .sheet-ACBG {
background: url('http://i.imgur.com/6lUoOzW.png') no-repeat center top;
}
.charsheet .sheet-wrapper .sheet-HPBG {
background: url('http://i.imgur.com/37exssR.png') no-repeat center top;
}
.charsheet .sheet-wrapper .sheet-ADBG {
background: url('http://i.imgur.com/M3KREye.png') no-repeat center top;
}
.charsheet .sheet-wrapper .sheet-combatbasics {
border: 1px solid #ccc;
}
/* Hidden Roll buttons */{}
.charsheet .sheet-wrapper button[type="roll"].sheet-hidden-roll:before {
content: ""!important;
display: none;
}
.charsheet .sheet-wrapper button[type="roll"],
.charsheet .sheet-wrapper .sheet-btn {
width: 100%;
height:28px;
vertical-align: middle;
padding: 0;
display: inline-block;
margin: 0;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background-image: none;
background-color: #fff;
border: 1px solid #ccc;
white-space: nowrap;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.charsheet .sheet-wrapper button[type="roll"]:hover,
.charsheet .sheet-wrapper .sheet-btn:hover,
.charsheet .sheet-wrapper .sheet-hider input[type=checkbox]:checked ~ .sheet-btn {
background-color: #ebebeb;
border-color: #adadad;
}
.charsheet .sheet-wrapper button[type="roll"] label,
.charsheet .sheet-wrapper button[type="roll"] input {
vertical-align: middle;
text-align:center;
width: 99%;
cursor: pointer;
box-shadow: none;
transition: none;
border-radius: none;
background-color: #f5f5f5;
background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
background-image: -ms-linear-gradient(top,#fff,#e6e6e6);
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
background-image: -o-linear-gradient(top,#fff,#e6e6e6);
background-image: linear-gradient(top,#fff,#e6e6e6);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#e6e6e6',GradientType=0);
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
}