foundry-sw5e/less/character.less

176 lines
3.5 KiB
Text
Raw Normal View History

2020-06-24 14:19:28 -04:00
@import "./variables.less";
/* ----------------------------------------- */
/* Basic Structure */
/* ----------------------------------------- */
.sw5e.sheet.actor.character {
2020-09-11 17:11:11 -04:00
min-width: 720px;
min-height: 680px;
2020-06-24 14:19:28 -04:00
/* ----------------------------------------- */
/* Sheet Header */
/* ----------------------------------------- */
.sheet-header {
2020-09-11 17:11:11 -04:00
// Character Profile image (larger)
2020-06-24 14:19:28 -04:00
img.profile {
2020-09-11 17:11:11 -04:00
flex: 0 0 160px;
max-width: 160px;
height: 160px;
2020-06-24 14:19:28 -04:00
}
2020-09-11 17:11:11 -04:00
// Character Level
2020-06-24 14:19:28 -04:00
.charlevel {
2020-09-11 17:11:11 -04:00
flex: 0 0 20px;
height: 20px;
font-size: 18px;
color: @colorTan;
white-space: nowrap;
}
2020-06-24 14:19:28 -04:00
2020-09-11 17:11:11 -04:00
// Experience Tracking
.experience {
flex: 0 0 32px;
margin-bottom: -5px;
align-items: center;
font-size: 18px;
span.max {
color: @colorTan;
flex: none;
margin-left: 3px;
2020-06-24 14:19:28 -04:00
}
2020-09-11 17:11:11 -04:00
}
.xpbar {
flex: 0 0 8px;
width: 100%;
margin-bottom: 5px;
background: @colorTan;
border: 1px solid #000;
border-radius: 3px;
.bar {
height: 4px;
margin: 1px;
display: block;
background: #afebff;
2020-06-24 14:19:28 -04:00
border: 1px solid #000;
2020-09-11 17:11:11 -04:00
border-radius: 2px;
2020-06-24 14:19:28 -04:00
}
}
2020-09-11 17:11:11 -04:00
// Header Attributes
2020-06-24 14:19:28 -04:00
.attributes {
a.rest {
border: 1px solid @colorBeige;
border-radius: 2px;
background: rgba(0, 0, 0, 0.05);
2020-09-11 17:11:11 -04:00
padding: 0 3px;
margin: 0 3px;
2020-06-24 14:19:28 -04:00
}
.hit-dice {
font-size: 24px;
}
2020-09-11 17:11:11 -04:00
.initiative .attribute-footer input {
width: 32px;
}
}
.summary .proficiency {
text-align: right;
padding-right: 5px;
2020-06-24 14:19:28 -04:00
}
}
/* ----------------------------------------- */
/* Sheet Body */
/* ----------------------------------------- */
2020-09-11 17:11:11 -04:00
// Custom Resources
.resource .attribute-value {
input {
flex: 0 0 25%;
2020-06-24 14:19:28 -04:00
}
2020-09-11 17:11:11 -04:00
label.recharge {
height: 32px;
position: relative;
font-family: "Signika", sans-serif;
font-size: 11px;
text-align: center;
color: @colorOlive;
input[type="checkbox"] {
height: 14px;
width: 14px;
margin: 0;
top: -6px;
}
2020-06-24 14:19:28 -04:00
}
}
ul.skills-list {
flex: 0 0 212px;
li.skill {
padding: 3px;
h4 {
flex: 1px;
margin: 0;
font-size: 13px;
}
}
}
.item-detail.player-class {
flex: 0 0 180px;
text-align: right;
padding-right: 10px;
}
/* ----------------------------------------- */
/* Item Controls */
/* ----------------------------------------- */
.inventory,
.powerbook {
.item-controls {
flex: 0 0 68px;
.item-toggle {
color: @colorBeige;
&.active {
color: @colorOlive;
}
&.fixed {
color: @colorCrimson;
&:hover {
text-shadow: none;
}
}
}
}
}
/* ----------------------------------------- */
/* Biography */
/* ----------------------------------------- */
.characteristics {
flex: 0 0 180px;
height: 100%;
padding: 0 3px 3px;
label {
flex: 0 0 20px;
.bungeeInline();
font-size: 16px;
font-weight: normal;
line-height: 20px;
text-align: center;
}
textarea {
.openSans();
border: 1px solid @colorFaint;
resize: none;
}
}
2020-07-06 14:01:57 -03:00
}