Update style Npc Sheet v2 + update Charac + delete old ui and add svg

Update Npc sheet style for v1.0
Update Character sheet rings / social / attribute
Delete old l5r-ui folder
Add asset svg
This commit is contained in:
Mandar
2020-12-19 04:44:12 +01:00
parent d3bcfba723
commit 10956e6677
106 changed files with 29486 additions and 1990 deletions

View File

@@ -17,6 +17,8 @@ $l5r5e-title: rgba(186, 187, 177, 0.5);
$l5r5e-bold: rgb(118, 79, 64);
// color label
$l5r5e-label: rgb(90, 110, 90);
// color label
$l5r5e-label-light: rgba(90, 110, 90, 0.25);
// color red
$l5r5e-red: rgb(150, 60, 65);
// color white 0.5
@@ -67,13 +69,15 @@ $l5r5e-lion: rgb(160, 140, 80);
// Mantis
$l5r5e-mantis: rgb(45, 85, 30);
// Phoenix
$l5r5e-phoenix: rgb(145, 190, 175);
$l5r5e-phoenix: rgb(145, 120, 75);
// Tortoise
$l5r5e-tortoise: rgb(180, 200, 45);
// Scorpion
$l5r5e-scorpion: rgb(155, 70, 60);
// Unicorn
$l5r5e-unicorn: rgb(120, 90, 135);
// Spider
$l5r5e-spider: rgb(0, 0, 0);
// Imperial
$l5r5e-imperial: rgb(120, 255, 180);
.Crab {
}

View File

@@ -34,7 +34,7 @@ $font-primary: "PatrickHand", sans-serif;
$font-secondary: "BrushtipTexe", sans-serif;
$font-tertiary: "BrushtipTexe", sans-serif;
$font-quaternary: "ArchitectsDaughter", sans-serif;
$font-dice: "LogotypeL5r", sans-serif;
$font-logoType: "LogotypeL5r", sans-serif;
body {
font: 16px $font-primary;
@@ -73,7 +73,7 @@ i.i_water,
i.i_fire,
i.i_air,
i.i_void {
font-family: LogotypeL5r;
font-family: $font-logoType;
line-height: 1rem;
font-style: normal;
font-weight: normal;

View File

@@ -109,9 +109,11 @@ input[type="time"] {
}
// Editors
.editor {
.editor,
.editor-content {
flex: 1;
height: 100%;
min-height: 5rem;
}
// Elements Colors

View File

@@ -1,48 +1,153 @@
&.npc {
.sheet-header {
h1 {
&:before {
top: -50%;
left: -0.5rem;
}
}
img {
flex: 0 0 75px;
height: 75px;
width: 75px;
}
fieldset {
flex: none;
flex: 1 1 100%;
min-height: 2rem;
width: 100%;
}
}
}
.npc-skill {
display: flex;
width: 100%;
line-height: 2rem;
font-size: 0.75rem;
text-align: center;
li {
flex: 1;
padding: 0.25rem;
text-transform: uppercase;
color: $white;
&:nth-child(1) {
background: $l5r5e-void;
}
&:nth-child(2) {
background: $l5r5e-earth;
}
&:nth-child(3) {
background: $l5r5e-fire;
}
&:nth-child(4) {
background: $l5r5e-air;
}
&:nth-child(5) {
flex: 1.25;
background: $l5r5e-water;
}
}
input[type="text"] {
float: right;
height: 2rem;
width: 1rem;
margin: 0;
padding: 0;
border: 0 none;
background: transparent;
color: $white;
.identity-wrapper {
flex: 1 1 100%;
h1 {
margin: 0 0 1rem 1rem;
}
.identity-list {
flex: 0 0 100%;
display: flex;
margin-bottom: 0.5rem;
li {
flex: 1;
select {
width: 100%;
background: transparent;
border: 0 none;
text-transform: capitalize;
}
input {
font-size: 1.25rem;
height: 1.5rem;
line-height: 1.5rem;
}
}
}
}
.affinities {
display: flex;
flex-wrap: wrap;
select {
position: relative;
background: transparent;
border: 0 none;
margin: 0;
padding: 0;
text-align: left;
font-weight: bold;
margin: 0 0 0.25rem 0;
color: $l5r5e-label;
option {
font-family: $font-primary;
}
option:before {
font-family: $font-logoType;
line-height: 1rem;
font-style: normal;
font-weight: normal;
vertical-align: middle;
}
option[value="earth"]:before {
content: "g";
}
option[value="water"]:before {
content: "w";
}
option[value="fire"]:before {
content: "i";
}
option[value="air"]:before {
content: "a";
}
option[value="void"]:before {
content: "v";
}
}
input {
font-size: 1rem;
flex: 1rem;
height: 1.5rem;
}
}
.social-content {
margin-bottom: 0.5rem;
.attitude {
height: 1.5rem;
padding-left: 0.25rem;
input {
height: 1rem;
}
input {
height: 1.5rem;
flex: 1;
margin-right: 0;
}
}
}
}
.npc-skill {
display: flex;
width: 100%;
line-height: 2rem;
font-size: 0.75rem;
text-align: center;
li {
flex: 1;
padding: 0.25rem;
text-transform: uppercase;
color: $white;
&:nth-child(1) {
background: $l5r5e-void;
}
&:nth-child(2) {
background: $l5r5e-earth;
}
&:nth-child(3) {
background: $l5r5e-fire;
}
&:nth-child(4) {
background: $l5r5e-air;
}
&:nth-child(5) {
flex: 1.25;
background: $l5r5e-water;
}
}
input[type="text"] {
float: right;
font-size: 1.25rem;
height: 2rem;
width: 1rem;
margin: 0;
padding: 0;
border: 0 none;
background: transparent;
color: $white;
}
}
article {
min-height: auto;
display: flex;
.items-content {
flex: 0 0 calc(100% - 0.5rem);
margin: 0.5rem 0.25rem 0;
}
}
}

View File

@@ -37,6 +37,8 @@
border-radius: 100%;
top: 0;
left: 0;
text-align: center;
font-size: 1rem;
border: 2px solid $l5r5e-title;
color: $white-light;
&:hover {
@@ -54,7 +56,7 @@
input {
top: auto;
right: 0;
bottom: -1rem;
bottom: -0.9rem;
left: auto;
background: $l5r5e-earth;
}
@@ -73,7 +75,7 @@
input {
top: auto;
right: auto;
bottom: -1rem;
bottom: -0.9rem;
left: 0;
background: $l5r5e-air;
}

View File

@@ -3,10 +3,17 @@
min-width: 600px;
&.actor {
.sheet-header {
height: 26.75rem;
height: 28rem;
}
.sheet-body {
height: calc(100% - 26.75rem);
height: calc(100% - 28rem);
}
.techniques-wrapper {
fieldset {
&:last-child {
margin: 0 0 0 0.5rem;
}
}
}
}
&.item,
@@ -34,7 +41,9 @@
flex: 0 0 100%;
align-items: flex-start;
input {
font-size: 1rem;
flex: 0 0 3rem;
font-size: 1.5rem;
height: 2rem;
}
h1 {
flex: auto;
@@ -50,7 +59,7 @@
background: transparent;
border: 0 none;
border-radius: 0;
border-bottom: 1px dotted $l5r5e-black;
border-bottom: 1px solid $l5r5e-label-light;
}
&:before {
content: "";
@@ -60,6 +69,7 @@
height: 225px;
width: 100%;
z-index: -1;
top: -1.5rem;
left: -0.25rem;
}
}
@@ -83,15 +93,18 @@
);
}
.header-fields {
position: relative;
h2 {
font-family: $font-secondary;
float: right;
width: 50%;
float: left;
width: 30%;
padding: 0 0.25rem;
margin: 0;
text-align: right;
color: $l5r5e-black;
border-bottom: $white-light;
margin: 1rem 20% 0 0;
text-align: center;
color: $white;
text-shadow: 0 0 1px $l5r5e-label;
border-bottom: 0 none;
background: $l5r5e-title;
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),
@@ -103,6 +116,19 @@
var(--notchSize) 100%,
0% calc(100%)
);
&.right {
margin: 1rem 0 0 20%;
clip-path: polygon(
0% 0,
var(--notchSize) 0%,
calc(100% - var(--notchSize)) 0%,
100% var(--notchSize),
100% 100%,
100% 100%,
var(--notchSize) 100%,
0% calc(100% - var(--notchSize))
);
}
&:before {
content: "";
position: absolute;
@@ -113,6 +139,7 @@
}
.identity-wrapper {
display: flex;
position: initial;
flex-wrap: wrap;
flex: 0 0 calc(100% - 150px - 1.05rem);
.identity-content {
@@ -132,87 +159,149 @@
}
.rings {
float: left;
width: calc(50% - 0.25rem);
padding: 0.25rem;
}
.social-content {
flex: 0 0 100%;
display: flex;
padding: 0.25rem;
width: 40%;
padding: 0;
position: relative;
top: -2.5rem;
}
.social-content,
.attributes-wrapper {
float: right;
width: calc(50% - 0.25rem);
padding: 0.5rem;
flex: none;
float: left;
width: 30%;
flex-direction: column;
display: flex;
flex-wrap: wrap;
flex-direction: row;
background: $l5r5e-title;
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),
var(--notchSize) 0%,
calc(100%) 0%,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
calc(100% - var(--notchSize)) 100%,
var(--notchSize) 100%,
0% calc(100%)
);
padding: 0.5rem 0 0 0.25rem;
border-left: 2px solid $l5r5e-title;
li {
position: relative;
&:before {
content: "";
position: absolute;
background: linear-gradient($l5r5e-title, rgba(186, 187, 177, 0));
height: 2px;
width: 100%;
top: -0.25rem;
left: -0.25rem;
}
&:nth-child(2) {
&:before {
width: 90%;
}
}
&:nth-child(3) {
&:before {
width: 80%;
}
}
&:nth-child(4) {
&:before {
width: 90%;
}
}
}
label {
display: flex;
color: $l5r5e-label;
text-transform: uppercase;
font-size: 0.75rem;
line-height: 2rem;
margin: 0 0.5rem;
height: 3rem;
margin: 0.25rem 0;
flex-direction: row-reverse;
strong {
flex: 1 0 calc(100% - 3rem);
flex: 0 0 calc(100% - 3.5rem);
}
input {
flex: 0 0 2rem;
flex: 0 0 3rem;
margin: 0 0.25rem;
height: 2.5rem;
&[disabled] {
flex: 0 0 2rem;
flex: 0 0 3rem;
background: transparent;
}
}
}
}
.attributes-wrapper {
padding: 0.5rem 0.25rem 0 0;
border-left: 0 none;
border-right: 2px solid $l5r5e-title;
li {
&:before {
left: auto;
right: -0.25rem;
}
&.void-content {
&:before {
width: 0;
}
}
}
label {
flex-direction: row;
strong {
text-align: right;
}
&:nth-child(2) {
position: relative;
flex: 50%;
right: 1.5rem;
strong {
position: absolute;
top: 0;
left: 0;
font-size: 0.65rem;
width: 3rem;
color: $l5r5e-black;
}
input {
border-top: 0 none;
font-size: 1.25rem;
padding-top: 0.75rem;
}
}
}
.endurance-content,
.composure-content {
flex: 1;
label {
&:nth-child(2) {
display: flex;
flex-direction: column;
flex-wrap: wrap;
input {
flex: 1rem;
margin: 0 0 0.25rem;
}
}
}
}
.focus-content,
.vigilante-content {
flex: 0 0 50%;
label {
flex: 1;
input {
flex: 1rem;
input {
&[disabled] {
flex: 0 0 4.75rem;
padding-right: 3rem;
}
}
}
.void-content {
display: flex;
position: absolute;
bottom: 0.25rem;
right: 35%;
width: 10rem;
label {
flex: 1;
margin: 0;
strong {
flex: 1 0 calc(100% - 5rem);
padding: 0 0.25rem;
}
input {
flex: 1rem;
&:nth-child(2) {
flex: 3rem;
padding-right: 1.25rem;
}
&:last-child {
flex: 1;
border: 0 none;
font-size: 1rem;
text-align: left;
padding-left: 0.25rem;
padding-top: 0.75rem;
position: relative;
right: 2rem;
}
}
}
}
li {
position: relative;
display: flex;
p {
display: none;
z-index: 2;
@@ -220,6 +309,8 @@
background: rgba(0, 0, 0, 0.5);
color: #fff;
padding: 0.25rem;
bottom: -75%;
right: 0;
--notchSize: 0.5rem;
clip-path: polygon(
0% 0,
@@ -239,8 +330,7 @@
}
}
}
.identity-wrapper label,
.social-content label {
.identity-wrapper label {
display: flex;
color: $l5r5e-label;
text-transform: uppercase;
@@ -329,11 +419,4 @@
}
}
}
.techniques-wrapper {
fieldset {
&:last-child {
margin: 0 0 0 0.5rem;
}
}
}
}

View File

@@ -12,11 +12,11 @@
border: 1px solid $l5r5e-title;
--notchSize: 0.75rem;
clip-path: polygon(
0 var(--notchSize),
var(--notchSize) 0,
0% var(--notchSize),
var(--notchSize) 0%,
100% 0,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
100% 0,
100% 100%,
100% 100%,
0 100%,
0 100%

View File

@@ -151,7 +151,7 @@ button {
}
.sidebar-tab {
.chat-control-icon {
cursor: url("../l5r-ui/ui/cursors/pointer.webp"), pointer;
cursor: url("../assets/cursors/pointer.webp"), pointer;
}
.action-buttons button {
cursor: default;
@@ -494,10 +494,19 @@ button {
}
// Dialog
.dialog {
.dialog-buttons {
button {
line-height: 1rem;
.dialo {
.logo-dialog {
height: 125px;
.dialog-buttons {
button {
line-height: 1rem;
}
}
.dialog-content {
height: 1rem;
p {
margin: 0;
}
}
}
}