Visual fix for Firefox and end 20Q edit

This commit is contained in:
Mandar
2021-01-07 01:27:24 +01:00
parent 8aced20f95
commit edc24b64cf
8 changed files with 683 additions and 695 deletions

View File

@@ -9,11 +9,6 @@
flex: 0 0 90px;
height: 90px;
width: 90px;
.full {
flex: 0 0 content;
height: auto;
width: auto;
}
}
fieldset {
flex: 1 1 100%;

View File

@@ -44,6 +44,10 @@
line-height: 2rem;
font-size: 1rem;
}
h1 {
flex: auto;
margin: 0 0 0.25rem 0.5rem;
}
}
&.item,
.technique,
@@ -75,7 +79,7 @@
height: 2rem;
}
h1 {
flex: auto;
flex: 0 0 calc(100% - 90px - 1.25rem);
margin: 0 0 0.25rem 1rem;
input {
flex: 0 0 100%;
@@ -589,10 +593,11 @@
}
img {
&.full {
flex: 0 0 content;
flex: initial;
height: auto;
width: auto;
width: max-content;
border: 0 none;
margin: 0 auto;
}
}
.sheet-header {

View File

@@ -12,8 +12,10 @@
border-bottom: 0 none;
}
h3 {
font-size: 1rem;
font-size: 1.25rem;
color: $l5r5e-label;
text-shadow: 0 0 $l5r5e-black-light;
margin: 2rem 0 0.5rem 1rem;
}
nav {
.item {
@@ -39,28 +41,80 @@
}
}
article {
padding: 2% 2% 0 18%;
padding: 2% 2% 2% 18%;
label {
font-size: 0.85rem;
line-height: 2rem;
&.full {
display: block;
width: 100%;
line-height: 2rem;
text-align: right;
font-size: 1rem;
input {
display: inline;
width: 70%;
width: 80%;
float: right;
text-align: left;
margin-left: 0.5rem;
}
}
}
> label {
font-size: 1rem;
padding: 0 0 0 1rem;
}
table {
width: 100%;
tr {
th {
color: $l5r5e-label;
font-weight: normal;
}
td {
vertical-align: middle;
line-height: 2rem;
border: 1px solid $l5r5e-title;
font-size: 0.85rem;
padding: 0.25rem;
}
}
}
table tr td {
vertical-align: middle;
line-height: 2rem;
border: 1px solid $l5r5e-title;
font-size: 0.85rem;
padding: 0.25rem;
select {
height: 2rem;
color: $l5r5e-bold;
background: rgba(255, 255, 255, 0.25);
border: 1px solid rgba(255, 255, 255, 0.5);
border-radius: 0.25rem;
padding: 0 0.25rem;
margin: 0.25rem;
width: calc(100% - 0.5rem);
}
textarea {
color: $l5r5e-bold;
background: rgba(255, 255, 255, 0.25);
border: 1px solid rgba(255, 255, 255, 0.5);
margin: 0 0.25rem 1rem;
}
> ul {
li {
line-height: 2rem;
}
}
hr {
border-top: 1px solid $l5r5e-black-light;
}
a.entity-link,
a.inline-roll {
color: $l5r5e-label;
background: rgba(255, 255, 255, 0.25);
border: 1px solid $l5r5e-black-light;
i {
color: $l5r5e-label;
}
}
.tq-drag-n-drop {
border: 0 none;
padding: 0;
}
.third {
width: 230px;
@@ -86,20 +140,44 @@
border-radius: 1rem;
text-align: center;
}
.checklist label {
font-size: 0.85rem;
flex: 0 0 auto;
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;
.checklist {
margin: 0.25rem 0.25rem 1rem;
strong {
display: block;
width: 100%;
color: $l5r5e-bold;
}
label {
font-size: 0.85rem;
flex: 0 0 auto;
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;
&.technique {
padding: 0.25rem;
margin: 0.25rem;
border-radius: 0;
}
}
input {
margin: 0.25rem 0 0 0;
height: 0.65rem;
width: 0.65rem;
}
}
.checklist input {
margin: 0.25rem 0 0 0;
height: 0.65rem;
width: 0.65rem;
#generchar_disclaimer {
color: $l5r5e-red;
font-weight: bold;
font-size: 1.25rem;
text-align: center;
flex: 100%;
padding: 1rem 0;
}
.next {
margin: 2rem 0 4rem;
}
}
}

View File

@@ -403,6 +403,7 @@ button {
#logo {
content: url("../assets/l5r-logo.webp");
height: 80px;
width: 88px;
margin-left: 0.5rem;
opacity: 0.5;
&:hover {
@@ -413,6 +414,17 @@ button {
// navigation
#navigation {
left: 120px;
&:before {
content: "";
background: url("../assets/l5r-logo.webp") no-repeat 0 0;
background-size: cover;
height: 80px;
width: 88px;
opacity: 0.5;
&:hover {
opacity: 0.75;
}
}
#nav-toggle,
#scene-list .scene.nav-item {
cursor: default;