Initiative rework, with some broken css

This commit is contained in:
Vlyan
2021-01-15 20:14:50 +01:00
parent 58a4e71b32
commit 27e88be49d
23 changed files with 425 additions and 156 deletions

View File

@@ -264,6 +264,38 @@ sup {
}
}
.prepared {
&-character {
color: $l5r5e-earth;
}
&-adversary {
color: $l5r5e-fire;
}
&-minion {
color: $l5r5e-water;
}
&-icon {
font-weight: 900;
font-family: "Font Awesome 5 Free";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
&-true:before {
content: "\f06e";
}
&-false:before {
content: "\f070";
}
&-null:before {
content: "\f2a8";
}
}
}
// Fix for "search anywhere" draggable icon
.window-draggable-handle {
z-index: 2;

View File

@@ -24,25 +24,6 @@
}
}
}
.initiative {
&-wrapper {
display: block;
flex: 100%;
text-align: center;
}
button {
width: 22%;
margin: 0 0.25rem 0.25rem;
padding: 0 0.5rem;
color: #5a6e5a;
background: rgba(255, 255, 255, 0.5);
border: 1px solid #5a6e5a;
border-radius: 1rem;
}
button:focus {
box-shadow: none;
}
}
fieldset {
&.advancement {
display: block;
@@ -592,6 +573,25 @@
}
&.actor,
&.npc {
.initiative {
&-wrapper {
display: block;
flex: 100%;
text-align: center;
}
button {
width: 22%;
margin: 0 0.25rem 0.25rem;
padding: 0 0.5rem;
color: #5a6e5a;
background: rgba(255, 255, 255, 0.5);
border: 1px solid #5a6e5a;
border-radius: 1rem;
}
button:focus {
box-shadow: none;
}
}
.limited {
h1 {
margin: 0.5rem 0;

View File

@@ -568,7 +568,6 @@ button {
h3 {
font-size: 0.85rem;
}
.encounter {
i {
font-size: 23px;
@@ -576,7 +575,35 @@ button {
}
.active {
box-shadow: 0 1px 5px $l5r5e-red;
color: $l5r5e-maho;
}
&-icon {
font-weight: 900;
font-family: "Font Awesome 5 Free";
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
&-intrigue:before {
content: "\f21b";
}
&-duel:before {
content: "\f506";
}
&-skirmish:before {
content: "\f505";
}
&-mass_battle:before {
content: "\f447";
}
}
}
}