mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
287 lines
6.9 KiB
Plaintext
287 lines
6.9 KiB
Plaintext
@ffGray: #a7a5a6;
|
|
@aller-prefix: 'http://vader.binaryelysium.com/fonts';
|
|
|
|
.headInput() {
|
|
font-size: 18px;
|
|
font-variant: small-caps;
|
|
display: inline-block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.hr() {
|
|
border: 0;
|
|
height: 1px;
|
|
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
|
|
background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
|
|
background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
|
|
background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
|
|
}
|
|
|
|
.btn-clear() {
|
|
.btn;
|
|
.btn-default;
|
|
.fontSansSerif();
|
|
border: 0px solid transparent;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.rollButton() {
|
|
min-width: 0;
|
|
padding: 5px 10px;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
border-radius: 3px;
|
|
padding: 1px 1px;
|
|
font-weight: normal;
|
|
&:before {
|
|
content: "t";
|
|
}
|
|
}
|
|
|
|
|
|
.loreInput() {
|
|
width: 100%;
|
|
font-style: italic;
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'aller';
|
|
src: url('@{aller-prefix}/aller_rg-webfont.eot');
|
|
src: url('@{aller-prefix}/aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('@{aller-prefix}/aller_rg-webfont.woff') format('woff'),
|
|
url('@{aller-prefix}/aller_rg-webfont.ttf') format('truetype'),
|
|
url('@{aller-prefix}/aller_rg-webfont.svg#allerregular') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'aller';
|
|
src: url('@{aller-prefix}/aller_bd-webfont.eot');
|
|
src: url('@{aller-prefix}/aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('@{aller-prefix}/aller_bd-webfont.woff') format('woff'),
|
|
url('@{aller-prefix}/aller_bd-webfont.ttf') format('truetype'),
|
|
url('@{aller-prefix}/aller_bd-webfont.svg#allerbold') format('svg');
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'aller';
|
|
src: url('@{aller-prefix}/aller_it-webfont.eot');
|
|
src: url('@{aller-prefix}/aller_it-webfont.eot?#iefix') format('embedded-opentype'),
|
|
url('@{aller-prefix}/aller_it-webfont.woff') format('woff'),
|
|
url('@{aller-prefix}/aller_it-webfont.ttf') format('truetype'),
|
|
url('@{aller-prefix}/aller_it-webfont.svg#alleritalic') format('svg');
|
|
font-weight: normal;
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Jura';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Jura Regular'), local('Jura-Regular'), url(https://themes.googleusercontent.com/static/fonts/jura/v5/pqMzP52_r6zHbOILcX8h-A.woff) format('woff');
|
|
}
|
|
|
|
.fontSerif() {
|
|
font-family: 'aller', palatino, Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
|
|
}
|
|
.fontSansSerif() {
|
|
font-family: Jura, Calibri, Candara, Segoe, "Segoe UI", Optima, "Liberation Sans", Arial, sans-serif;
|
|
}
|
|
|
|
.fontMono() {
|
|
font-family: "Inconsolata", "Lucida Console", "Lucida Sans Typewriter", Monaco, "Bitstream Vera Sans Mono", monospace;
|
|
}
|
|
|
|
.fontFantasy() {
|
|
font-family: Copperplate, "Copperplate Gothic Light", fantasy;
|
|
}
|
|
.hexagon() {
|
|
&:before {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0px;
|
|
left: -7px;
|
|
bottom: 0;
|
|
border-top: 7px solid transparent;
|
|
border-right: 8px solid #a1a8c2;
|
|
border-bottom: 7px solid transparent;
|
|
}
|
|
&:after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: -7px;
|
|
border-top: 7px solid transparent;
|
|
border-left: 8px solid #a1a8c2;
|
|
border-bottom: 7px solid transparent;
|
|
}
|
|
}
|
|
|
|
/*
|
|
@-webkit-keyframes fadeAnim {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
@-moz-keyframes fadeAnim {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
@-o-keyframes fadeAnim {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
@keyframes fadeAnim {
|
|
0% { opacity: 0; }
|
|
100% { opacity: 1; }
|
|
}
|
|
*/
|
|
|
|
.fadeInAnimation() {
|
|
-webkit-animation: fadeAnim 0.5s 1; /* Safari 4+ */
|
|
-moz-animation: fadeAnim 0.5s 1; /* Fx 5+ */
|
|
-o-animation: fadeAnim 0.5s 1; /* Opera 12+ */
|
|
animation: fadeAnim 0.5s 1; /* IE 10+ */
|
|
}
|
|
|
|
.fadeOutAnimation() {
|
|
-webkit-animation: fadeAnim 0.5s 1 reverse; /* Safari 4+ */
|
|
-moz-animation: fadeAnim 0.5s 1 reverse; /* Fx 5+ */
|
|
-o-animation: fadeAnim 0.5s 1 reverse; /* Opera 12+ */
|
|
animation: fadeAnim 0.5s 1 reverse; /* IE 10+ */
|
|
}
|
|
|
|
.fadeIn() {
|
|
.fadeInAnimation();
|
|
}
|
|
.fadeOut() {
|
|
.fadeOutAnimation();
|
|
}
|
|
|
|
.unstyleRoll20Inputs() {
|
|
-webkit-border-radius: 0;
|
|
-moz-border-radius: 0;
|
|
border-radius: 0;
|
|
outline: 0;
|
|
-moz-box-shadow: none;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.input() {
|
|
.unstyleRoll20Inputs();
|
|
background-color: transparent;
|
|
border: 1px solid @ffGray;
|
|
border-width: 0 0 1px 0;
|
|
}
|
|
.inputLine() {
|
|
-ms-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
border: 1px solid @ffGray;
|
|
border-width: 0 0 1px 0;
|
|
padding: 0;
|
|
font-size: 13px;
|
|
background: transparent;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.hideCheckboxRadios() {
|
|
/* Hide actual radio/checkbox */
|
|
opacity: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: relative;
|
|
top: 5px;
|
|
left: 6px;
|
|
margin: -10px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
/** apply to input[type=radio/checkbox] */
|
|
|
|
.fakeRadioCheckBoxDims() {
|
|
.hideCheckboxRadios();
|
|
& + span:before {
|
|
/* Fake radio/checkbox */
|
|
margin-right: 4px;
|
|
line-height: 14px;
|
|
text-align: center;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
.fakeRadioCheckBoxStyle() {
|
|
.fakeRadioCheckBoxDims();
|
|
|
|
& + span:before {
|
|
border: solid 1px #a8a8a8;
|
|
-moz-box-shadow: 0 0 2px #ccc;
|
|
-webkit-box-shadow: 0 0 2px #ccc;
|
|
box-shadow: 0 0 2px #ccc;
|
|
|
|
background: #f6f6f6;
|
|
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);
|
|
}
|
|
}
|
|
|
|
.fakeRadio() {
|
|
& + span::before {
|
|
content: "";
|
|
width: 12px;
|
|
height: 12px;
|
|
font-size: 24px;
|
|
|
|
-moz-border-radius: 50%;
|
|
-webkit-border-radius: 50%;
|
|
border-radius: 50%;
|
|
}
|
|
&:checked + span::before
|
|
{
|
|
content: "•";
|
|
}
|
|
}
|
|
|
|
.fakeCheckboxStyle() {
|
|
& + span::before {
|
|
content: "";
|
|
width: 14px;
|
|
height: 14px;
|
|
font-size: 12px;
|
|
|
|
|
|
-moz-border-radius: 3px;
|
|
-webkit-border-radius: 3px;
|
|
border-radius: 3px;
|
|
}
|
|
}
|
|
|
|
.fakeCheckboxBlue() {
|
|
top: 0;
|
|
& + span::before {
|
|
content: "";
|
|
.check();
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
&:checked + span::before {
|
|
.check-on();
|
|
height: 16px;
|
|
width: 16px;
|
|
}
|
|
}
|
|
|