Fix last bug on items and update json for 0.5.0 Pre-Release

This commit is contained in:
Mandar
2020-12-24 20:37:46 +01:00
parent 756c6bb408
commit 8362d3ddd5
5 changed files with 42 additions and 40 deletions

File diff suppressed because one or more lines are too long

View File

@@ -247,49 +247,51 @@
}
}
}
li {
.item-description {
flex: unset;
height: 0;
margin: 0;
padding: 0;
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.75);
overflow: hidden;
background: rgba(0, 0, 0, 0.05);
border: 0 none;
transition: height 0.25s ease-in;
}
div.item-description {
padding: 0;
&:hover,
&:active {
padding: 0;
}
}
.toggle-active {
height: 6rem;
overflow-y: auto;
scrollbar-width: thin;
border: 1px solid $l5r5e-title;
}
p {
&.toggle-active {
padding: 0.25rem;
}
}
&:hover,
&:active {
.item-list {
> li {
.item-description {
flex: unset;
height: 0;
margin: 0;
padding: 0;
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.75);
overflow: hidden;
background: rgba(0, 0, 0, 0.05);
border: 0 none;
transition: height 0.25s ease-in;
}
div.item-description {
padding: 0;
&:hover,
&:active {
padding: 0;
}
}
.toggle-active {
height: 6rem;
overflow-y: auto;
scrollbar-width: thin;
border: 1px solid $l5r5e-title;
}
p {
.item-description {
&.toggle-active {
padding: 0.25rem;
}
}
&:hover,
&:active {
.item-description {
height: 6rem;
overflow-y: auto;
scrollbar-width: thin;
border: 1px solid $l5r5e-title;
}
p {
.item-description {
padding: 0.25rem;
}
}
}
}
}

View File

@@ -119,8 +119,8 @@ button {
&.active,
&:hover {
background: $white;
border: 2px solid $l5r5e-border-sidebar;
box-shadow: 0 0 10px $l5r5e-white;
border: 1px solid $l5r5e-border-sidebar;
box-shadow: 0 0 10px $red;
}
}
.collapse {