army sheet : some css pass
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -3,9 +3,11 @@
|
|||||||
&.army {
|
&.army {
|
||||||
.sheet-header {
|
.sheet-header {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.readiness {
|
.readiness {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -21,18 +23,22 @@
|
|||||||
flex: 25%;
|
flex: 25%;
|
||||||
display: inline-grid;
|
display: inline-grid;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
color: $l5r5e-label;
|
color: $l5r5e-label;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
flex: 100%;
|
flex: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: "";
|
content: "";
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
@@ -45,21 +51,25 @@
|
|||||||
opacity: 0.25;
|
opacity: 0.25;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(1) {
|
&:nth-child(1) {
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(0deg);
|
transform: rotate(0deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2) {
|
&:nth-child(2) {
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(90deg);
|
transform: rotate(90deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3) {
|
&:nth-child(3) {
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(180deg);
|
transform: rotate(180deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4) {
|
&:nth-child(4) {
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(-90deg);
|
transform: rotate(-90deg);
|
||||||
@@ -67,106 +77,119 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
flex: 0 0 100%;
|
flex: 0 0 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.tab {
|
.tab {
|
||||||
&.army {
|
&.army {
|
||||||
.warlord,
|
.warlord,
|
||||||
.commander {
|
.commander {
|
||||||
display: flex;
|
|
||||||
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;
|
display: flex;
|
||||||
position: relative;
|
|
||||||
li {
|
fieldset {
|
||||||
flex: 33%;
|
margin-top: 0.25rem;
|
||||||
display: inline-grid;
|
margin-bottom: 0.25rem;
|
||||||
position: relative;
|
|
||||||
padding: 0.25rem;
|
|
||||||
flex-direction: column-reverse;
|
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
text-align: center;
|
color: $l5r5e-label;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
label {
|
||||||
background: transparent;
|
flex: 100%;
|
||||||
border: 0 none;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
p {
|
||||||
content: "";
|
width: 100%;
|
||||||
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) {
|
textarea {
|
||||||
&:after {
|
height: calc(100% - 22px);
|
||||||
transform: rotate(0deg);
|
}
|
||||||
|
|
||||||
|
.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;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(2) {
|
input {
|
||||||
&:after {
|
background: transparent;
|
||||||
transform: rotate(90deg);
|
border: 0 none;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
&:nth-child(3) {
|
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(180deg);
|
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 {
|
&.others {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
.editor-content {
|
|
||||||
min-height: 8rem;
|
.editor-content {
|
||||||
max-height: 14rem;
|
min-height: 8rem;
|
||||||
|
max-height: 14rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -405,6 +405,39 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&.army-cohort {
|
||||||
|
.sheet-body {
|
||||||
|
height: calc(100% - 92px - 3.6rem);
|
||||||
|
}
|
||||||
|
article {
|
||||||
|
&.attributes {
|
||||||
|
height: 10.5rem;
|
||||||
|
input[type="text"] {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.flx50 {
|
||||||
|
flex: 0 0 calc(50% - 0.5rem);
|
||||||
|
}
|
||||||
|
.flx100 {
|
||||||
|
flex: 0 0 calc(100% - 0.5rem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.army-fortification {
|
||||||
|
.sheet-body {
|
||||||
|
height: calc(100% - 92px);
|
||||||
|
}
|
||||||
|
article {
|
||||||
|
&.infos {
|
||||||
|
height: calc(100% - 4.5rem);
|
||||||
|
}
|
||||||
|
&.attributes {
|
||||||
|
height: 3.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.item-list {
|
.item-list {
|
||||||
> li {
|
> li {
|
||||||
.item-description {
|
.item-description {
|
||||||
|
|||||||
@@ -7,15 +7,15 @@
|
|||||||
<section class="sheet-body">
|
<section class="sheet-body">
|
||||||
{{!-- properties Tab --}}
|
{{!-- properties Tab --}}
|
||||||
<article class="attributes" data-group="primary" data-tab="description">
|
<article class="attributes" data-group="primary" data-tab="description">
|
||||||
<label class="attribute army-cohort-types">
|
<label class="attribute army-cohort-types flx50">
|
||||||
{{localize 'l5r5e.army.cohort.leader'}}
|
{{localize 'l5r5e.army.cohort.leader'}}
|
||||||
<input class="select-on-focus" type="text" name="data.leader" value="{{data.data.leader}}" data-dtype="String"/>
|
<input class="select-on-focus" type="text" name="data.leader" value="{{data.data.leader}}" data-dtype="String"/>
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute army-cohort-types">
|
<label class="attribute army-cohort-types flx50">
|
||||||
{{localize 'l5r5e.equipment'}}
|
{{localize 'l5r5e.equipment'}}
|
||||||
<input class="select-on-focus" type="text" name="data.equipment" value="{{data.data.equipment}}" data-dtype="String"/>
|
<input class="select-on-focus" type="text" name="data.equipment" value="{{data.data.equipment}}" data-dtype="String"/>
|
||||||
</label>
|
</label>
|
||||||
<label class="attribute army-cohort-types">
|
<label class="attribute army-cohort-types flx100">
|
||||||
{{localize 'l5r5e.army.cohort.abilities'}}
|
{{localize 'l5r5e.army.cohort.abilities'}}
|
||||||
<input class="select-on-focus" type="text" name="data.abilities" value="{{data.data.abilities}}" data-dtype="String"/>
|
<input class="select-on-focus" type="text" name="data.abilities" value="{{data.data.abilities}}" data-dtype="String"/>
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user