Files
l5rx-chiaroscuro/system/styles/scss/army.scss

201 lines
5.9 KiB
SCSS

/** Sheets **/
&.sheet {
&.army {
.sheet-header {
height: auto;
h1 {
flex: 1;
}
.readiness {
flex: 0 0 100%;
display: flex;
flex-wrap: wrap;
ul {
display: flex;
position: relative;
padding: 0.25rem;
height: 80px;
li {
flex: 25%;
display: inline-grid;
position: relative;
strong {
color: $l5r5e-label;
text-align: center;
}
label {
flex: 100%;
}
input {
background: transparent;
border: 0 none;
text-align: center;
}
&:after {
content: "";
width: 2rem;
height: 2rem;
position: absolute;
right: calc(50% - 0.9rem);
top: calc(50% - 0.2rem);
background: transparent url("../assets/icons/circle.svg") no-repeat 0 0;
background-size: contain;
opacity: 0.25;
z-index: -1;
}
&:nth-child(1) {
&:after {
transform: rotate(0deg);
}
}
&:nth-child(2) {
&:after {
transform: rotate(90deg);
}
}
&:nth-child(3) {
&:after {
transform: rotate(180deg);
}
}
&:nth-child(4) {
&:after {
transform: rotate(-90deg);
}
}
}
}
align-items: flex-start;
h2 {
flex: 0 0 100%;
}
}
}
.tab {
&.army {
.warlord,
.commander {
display: flex;
.fa-sign-in-alt {
transform: rotate(90deg);
}
fieldset {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
strong {
color: $l5r5e-label;
}
label {
flex: 100%;
}
p {
width: 100%;
}
textarea {
height: calc(100% - 22px);
}
.actor-remove-control {
font-size: 12px;
}
}
}
.standing {
flex: 0 0 100%;
display: flex;
flex-wrap: wrap;
h2 {
flex: 0 0 100%;
}
ul {
display: flex;
position: relative;
li {
flex: 33%;
display: inline-grid;
position: relative;
padding: 0.25rem;
flex-direction: column-reverse;
strong {
text-align: center;
}
input {
background: transparent;
border: 0 none;
text-align: center;
}
&:after {
content: "";
width: 2rem;
height: 2rem;
position: absolute;
right: calc(50% - 0.95rem);
top: calc(50% - 0.2rem);
background: transparent url("../assets/icons/circle.svg") no-repeat 0 0;
background-size: contain;
opacity: 0.25;
z-index: -1;
}
&:nth-child(1) {
&:after {
transform: rotate(0deg);
}
}
&:nth-child(2) {
&:after {
transform: rotate(90deg);
}
}
&:nth-child(3) {
&:after {
transform: rotate(180deg);
}
}
}
}
}
}
&.others {
flex-direction: column;
.editor-content {
min-height: 8rem;
max-height: 14rem;
}
}
}
}
}