Fix marge on sheet + fix nav on 20Q + clean imgs

This commit is contained in:
Mandar
2021-01-05 01:28:46 +01:00
parent 4977b029ec
commit 51585973b0
18 changed files with 89 additions and 68 deletions

File diff suppressed because one or more lines are too long

View File

@@ -25,10 +25,12 @@ $l5r5e-label-light: rgba(90, 110, 90, 0.25);
$l5r5e-red: rgb(150, 60, 65);
// color white 0.5
$l5r5e-white: rgba(255, 255, 255, 0.5);
// color white 0.5
// color white 0.2
$l5r5e-white-light: rgba(255, 255, 255, 0.25);
// color black 0.5
$l5r5e-black: rgba(0, 0, 0, 0.5);
// color black 0.25
$l5r5e-black-light: rgba(0, 0, 0, 0.25);
// color border sidebar
$l5r5e-border-sidebar: rgb(195, 165, 130);

View File

@@ -1,7 +1,7 @@
/** Global **/
body {
background: url("../assets/imgs/background.webp") no-repeat center;
background: url("../assets/imgs/bg-table.webp") no-repeat center;
background-size: cover;
> * {
scrollbar-width: thin;
@@ -13,8 +13,9 @@ body {
.window-content {
z-index: 1;
position: relative;
background: url("../assets/imgs/bgL5R.webp") no-repeat;
background: rgb(255, 250, 230) url("../assets/imgs/bg-l5r.webp") no-repeat;
background-size: cover;
overflow-y: scroll;
scrollbar-width: thin;
}
.window-resizable-handle {
@@ -23,7 +24,7 @@ body {
}
&.twenty-questions-dialog {
.window-content {
background: url("../assets/imgs/bg20Q.webp") no-repeat;
background: rgb(255, 250, 230) url("../assets/imgs/bg-scroll.webp") no-repeat;
background-size: cover;
}
}

View File

@@ -20,6 +20,9 @@
min-height: 2rem;
width: 100%;
}
.header-fields {
padding: 0 0.25rem;
}
.identity-wrapper {
flex: 1 1 100%;
h1 {
@@ -90,6 +93,9 @@
}
}
}
.sheet-body {
padding: 0.25rem;
}
.npc-skill {
display: flex;
width: 100%;

View File

@@ -8,10 +8,10 @@
}
&.actor {
.sheet-header {
height: 28rem;
height: 27rem;
}
.sheet-body {
height: calc(100% - 28rem);
height: calc(100% - 27rem);
}
.techniques-wrapper {
fieldset {
@@ -94,7 +94,7 @@
&:before {
content: "";
position: absolute;
background: url("../assets/imgs/brushL5r.webp") no-repeat 0 0;
background: url("../assets/imgs/brush.webp") no-repeat 0 0;
background-size: contain;
height: 225px;
width: 100%;
@@ -128,12 +128,13 @@
flex: 0 0 100%;
h2 {
font-family: $font-secondary;
font-size: 1rem;
float: left;
width: 30%;
padding: 0 0.25rem;
padding: 0.25rem 0.25rem 0;
margin: 1rem 20% 0 0;
text-align: center;
color: $l5r5e-red;
color: $l5r5e-black-light;
text-shadow: 0 0 1px $l5r5e-label-light;
border-bottom: 0 none;
background: $l5r5e-title;
@@ -274,7 +275,7 @@
color: $l5r5e-label;
text-transform: uppercase;
font-size: 0.75rem;
height: 3rem;
height: 2.5rem;
margin: 0.25rem 0;
flex-direction: row-reverse;
strong {
@@ -283,10 +284,10 @@
input {
flex: 0 0 3rem;
margin: 0 0.25rem;
height: 2.5rem;
height: 2rem;
&[disabled] {
flex: 0 0 3rem;
background: transparent;
background: $l5r5e-white-light;
}
}
}
@@ -334,7 +335,7 @@
.composure-content {
input {
&[disabled] {
flex: 0 0 4.75rem;
flex: 0 0 5rem;
padding-right: 3rem;
}
}
@@ -355,7 +356,7 @@
position: absolute;
right: 2.9rem;
font-size: 1rem;
bottom: 0.8rem;
bottom: 0.6rem;
color: $l5r5e-bold;
}
}
@@ -383,12 +384,14 @@
display: none;
z-index: 2;
position: absolute;
background: rgba(0, 0, 0, 0.5);
color: #fff;
height: auto;
background: $l5r5e-black;
color: $white;
line-height: 1.5rem;
text-align: center;
width: 100%;
padding: 0.25rem;
bottom: -1rem;
right: 0;
bottom: -2.25rem;
right: -0.25rem;
--notchSize: 0.5rem;
clip-path: polygon(
0% 0,

View File

@@ -1,23 +1,15 @@
&.twenty-questions-dialog {
.sheet-tabs {
float: left;
position: fixed;
flex-direction: column;
width: 9%;
height: 100%;
margin: 7% 4.75%;
padding: 0;
background: url("../assets/imgs/bg-20nav.webp") no-repeat;
background-size: cover;
width: 5%;
height: 52vw;
margin: 1%;
line-height: 5rem;
padding: 0.25rem;
border-bottom: 0 none;
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),
var(--notchSize) 0%,
calc(100% - var(--notchSize)) 0%,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
calc(100% - var(--notchSize)) 100%,
var(--notchSize) 100%,
0% calc(100% - var(--notchSize))
);
}
h3 {
font-size: 1rem;
@@ -25,15 +17,29 @@
}
nav {
.item {
background-color: $l5r5e-white-light;
&.active,
&:hover {
clip-path: none;
background-color: rgba(73, 12, 11, 0.85);
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),
var(--notchSize) 0%,
calc(100% - var(--notchSize)) 0%,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
calc(100% - var(--notchSize)) 100%,
var(--notchSize) 100%,
0% calc(100% - var(--notchSize))
);
}
&:hover {
background-color: $l5r5e-label;
}
}
}
article {
float: left;
width: 80%;
padding: 2% 2% 0 18%;
label {
&.full {
display: block;
@@ -50,7 +56,11 @@
width: 100%;
}
table tr td {
vertical-align: top;
vertical-align: middle;
line-height: 2rem;
border: 1px solid $l5r5e-title;
font-size: 0.85rem;
padding: 0.25rem;
}
.third {
width: 230px;

View File

@@ -280,7 +280,7 @@ button {
}
.message-sender {
color: $l5r5e-red;
text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25);
text-shadow: 1px 1px 0px $l5r5e-black-light;
}
.message {
background-color: $l5r5e-chat-color-light;