Merge branch 'master' into dev_gennpc
# Conflicts: # system/styles/l5r5e.css
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
@import "../scss/dices-chat";
|
||||
@import "../scss/sheets";
|
||||
@import "../scss/npc";
|
||||
@import "../scss/army";
|
||||
@import "../scss/nav";
|
||||
@import "../scss/rings";
|
||||
@import "../scss/skills";
|
||||
|
||||
205
system/styles/scss/army.scss
Normal file
205
system/styles/scss/army.scss
Normal file
@@ -0,0 +1,205 @@
|
||||
/** Sheets **/
|
||||
&.sheet {
|
||||
&.army {
|
||||
.sheet-header {
|
||||
height: 9.5rem;
|
||||
|
||||
h1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.readiness {
|
||||
flex: 0 0 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
ul {
|
||||
display: flex;
|
||||
position: relative;
|
||||
padding: 0.25rem;
|
||||
height: 4rem;
|
||||
|
||||
li {
|
||||
flex: 25%;
|
||||
display: inline-grid;
|
||||
position: relative;
|
||||
|
||||
strong {
|
||||
color: $l5r5e-label;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
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: 0.1rem;
|
||||
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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
.sheet-body {
|
||||
height: calc(100% - 9.5rem);
|
||||
.tab {
|
||||
height: calc(100% - 3.5rem);
|
||||
&.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -333,9 +333,34 @@ a.compendium-link {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
// Color for playlist
|
||||
#playlists .sound-control {
|
||||
i.fas.fa-random,
|
||||
i.far.fa-arrow-alt-circle-right,
|
||||
i.fas.fa-compress-arrows-alt,
|
||||
i.fas.fa-ban {
|
||||
color: #ff6400;
|
||||
}
|
||||
|
||||
i.fas.fa-square {
|
||||
color: #dd0000;
|
||||
}
|
||||
|
||||
i.fas.fa-play,
|
||||
i.fas.fa-play-circle {
|
||||
color: #00dd00;
|
||||
}
|
||||
|
||||
i.fas.fa-pause,
|
||||
i.fas.fa-backward,
|
||||
i.fas.fa-forward {
|
||||
color: #0096ff;
|
||||
}
|
||||
}
|
||||
|
||||
// Fix for "search anywhere" draggable icon
|
||||
.window-draggable-handle {
|
||||
z-index: 2;
|
||||
z-index: 20 !important;
|
||||
}
|
||||
|
||||
// Fix forien-quest
|
||||
|
||||
@@ -98,6 +98,8 @@
|
||||
}
|
||||
// Advancement Sheet, Armor Sheet, Item Sheet, Peculiarity Sheet, Property Sheet, Technique Sheet, Weapon Sheet
|
||||
&.advancement,
|
||||
&.army-cohort,
|
||||
&.army-fortification,
|
||||
&.armor,
|
||||
&.bond,
|
||||
&.item,
|
||||
@@ -403,6 +405,55 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
&.army-cohort {
|
||||
.sheet-body {
|
||||
height: calc(100% - 92px - 3.6rem);
|
||||
}
|
||||
article {
|
||||
.fa-sign-in-alt {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
&.attributes {
|
||||
height: 7rem;
|
||||
input[type="text"] {
|
||||
width: 100%;
|
||||
}
|
||||
.actor-remove-control {
|
||||
font-size: 12px;
|
||||
}
|
||||
.flx50 {
|
||||
flex: 0 0 calc(50% - 0.5rem);
|
||||
}
|
||||
.flx100 {
|
||||
flex: 0 0 calc(100% - 0.5rem);
|
||||
}
|
||||
.editor-content {
|
||||
min-height: 8rem;
|
||||
max-height: 14rem;
|
||||
}
|
||||
}
|
||||
&.abilities {
|
||||
align-self: stretch;
|
||||
height: calc(100% - 8rem);
|
||||
width: 100%;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.army-fortification {
|
||||
.sheet-body {
|
||||
height: calc(100% - 92px);
|
||||
}
|
||||
article {
|
||||
&.infos {
|
||||
height: calc(100% - 4.5rem);
|
||||
}
|
||||
&.attributes {
|
||||
height: 3.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.item-list {
|
||||
> li {
|
||||
.item-description {
|
||||
|
||||
@@ -784,8 +784,10 @@ button {
|
||||
}
|
||||
img {
|
||||
border: none;
|
||||
max-width: 28px;
|
||||
max-height: 28px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
max-width: 32px;
|
||||
max-height: 32px;
|
||||
}
|
||||
.goodvalue {
|
||||
color: #4e8c69;
|
||||
|
||||
Reference in New Issue
Block a user