Update item for description

This commit is contained in:
Mandar
2020-12-24 17:48:06 +01:00
parent 0f1afcf740
commit 919657e1bc
15 changed files with 65 additions and 54 deletions

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,8 @@ $white-light: rgba(255, 255, 255, 0.65);
$black: rgba(0, 0, 0, 1);
$black-light: rgba(0, 0, 0, 0.75);
$dark-red: rgba(25, 0, 0, 0.75);
$red: rgba(255, 0, 0, 0.75);
$red: rgba(255, 0, 0, 1);
$red-light: rgba(255, 0, 0, 0.75);
$orange: rgba(255, 100, 0, 0.75);
$blue: rgba(0, 0, 255, 0.75);
$green: rgba(0, 255, 0, 0.75);

View File

@@ -89,14 +89,13 @@
.ring-selection {
&.ring-selected {
i {
text-shadow: 0px 2px 2px $red;
text-shadow: 0px 1px 1px $red;
}
strong {
color: $red;
text-decoration: underline;
color: $red-light;
}
input {
border: 2px solid $red !important;
border: 2px solid $red-light !important;
}
}
}

View File

@@ -95,7 +95,7 @@ fieldset {
color: $l5r5e-label;
}
.editor {
height: calc(100% - 1.5rem);
height: calc(100% - 1.25rem);
}
}

View File

@@ -22,7 +22,9 @@
.technique-edit,
.technique-delete,
.peculiarity-edit,
.peculiarity-delete {
.peculiarity-delete,
.property-edit,
.property-delete {
line-height: 1rem;
font-size: 0.75rem;
flex: 0 0 1rem;
@@ -39,9 +41,11 @@
.technique-edit,
.technique-delete,
.peculiarity-edit,
.peculiarity-delete {
.peculiarity-delete,
.property-edit,
.property-delete {
&:hover {
text-shadow: 0 0 6px $orange;
text-shadow: 0 0 3px $red;
}
}
}
@@ -151,9 +155,14 @@
input[type="text"] {
width: 2rem;
&.grip {
width: 6rem;
width: 12rem;
margin-bottom: 0.25rem;
}
}
input[name="data.zeni"] {
width: 5rem;
float: right;
}
fieldset {
input[type="text"] {
float: right;
@@ -252,4 +261,21 @@
}
}
}
p.item-description {
height: 0;
margin: 0;
padding: 0.25rem;
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.75);
overflow: hidden;
border: 1px solid $l5r5e-title;
transition: height 0.25s ease-in;
}
&:hover {
p.item-description {
height: 6rem;
overflow-y: auto;
scrollbar-width: thin;
}
}
}

View File

@@ -127,6 +127,9 @@
}
}
article {
.weapons-content {
flex: 1;
}
min-height: auto;
display: flex;
.items-content {

View File

@@ -42,9 +42,9 @@
border: 2px solid $l5r5e-title;
color: $white-light;
&:hover {
border: 2px solid $red;
text-shadow: 0 0 6px $red;
box-shadow: 0 0 6px inset $red;
border: 2px solid $red-light;
text-shadow: 0 0 3px $red;
box-shadow: 0 0 3px inset $red;
}
}
}

View File

@@ -3,7 +3,7 @@
min-width: 600px;
label {
&:hover {
text-shadow: 0 0 6px $orange;
text-shadow: 0 0 3px $red;
}
}
&.actor {
@@ -428,24 +428,6 @@
right: 0.25rem;
}
}
.quick-rules {
height: 0;
margin: 0;
padding: 0;
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.75);
overflow: hidden;
border: 1px solid $l5r5e-title;
transition: height 0.25s ease-in;
}
&:hover {
.quick-rules {
height: 6rem;
padding: 0.25rem;
overflow-y: auto;
scrollbar-width: thin;
}
}
}
.stance-content,
.weapons-content {
@@ -495,7 +477,7 @@
li {
flex: 0 0 1rem;
&:hover {
color: $orange;
color: $red-light;
}
}
}