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-list {
.item-description { > li {
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-description { .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; height: 6rem;
overflow-y: auto; overflow-y: auto;
scrollbar-width: thin; scrollbar-width: thin;
border: 1px solid $l5r5e-title; border: 1px solid $l5r5e-title;
} }
p { p {
.item-description { &.toggle-active {
padding: 0.25rem; 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, &.active,
&:hover { &:hover {
background: $white; background: $white;
border: 2px solid $l5r5e-border-sidebar; border: 1px solid $l5r5e-border-sidebar;
box-shadow: 0 0 10px $l5r5e-white; box-shadow: 0 0 10px $red;
} }
} }
.collapse { .collapse {

View File

@@ -2,7 +2,7 @@
"name": "l5r5e", "name": "l5r5e",
"title": "Legend of the Five Rings (5th Edition)", "title": "Legend of the Five Rings (5th Edition)",
"description": "This is a game system, multilanguage in En/FR/ES, for Legend of the Five Rings (5th Edition) by <a href='https://edge-studio.net/'>Edge Studio</a> <p> - Join the official Discord server: <a href='https://discord.gg/foundryvtt'> Official Discord</a></p><p> - Rejoignez la communauté Francophone: <a href='https://discord.gg/pPSDNJk'>Francophone Discord</a></p>", "description": "This is a game system, multilanguage in En/FR/ES, for Legend of the Five Rings (5th Edition) by <a href='https://edge-studio.net/'>Edge Studio</a> <p> - Join the official Discord server: <a href='https://discord.gg/foundryvtt'> Official Discord</a></p><p> - Rejoignez la communauté Francophone: <a href='https://discord.gg/pPSDNJk'>Francophone Discord</a></p>",
"version": "0.1.0", "version": "0.5.0",
"minimumCoreVersion": "0.7.5", "minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9",
"author": "Team L5R", "author": "Team L5R",
@@ -96,5 +96,5 @@
], ],
"url": "https://gitlab.com/teaml5r/l5r5e", "url": "https://gitlab.com/teaml5r/l5r5e",
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json", "manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v0.1.0/raw/l5r5e.zip?job=build" "download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v0.5.0/raw/l5r5e.zip?job=build"
} }

View File

@@ -1,6 +1,6 @@
<fieldset class="stances-content flexrow"> <fieldset class="stances-content flexrow">
<legend class="section-header">{{ localize 'l5r5e.conflict.stance' }}</legend> <legend class="section-header">{{ localize 'l5r5e.conflict.stance' }}</legend>
<ul> <ul class="item-list">
{{#each data.rings as |ringValue ringId|}} {{#each data.rings as |ringValue ringId|}}
{{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.stance ringId=ringId }} {{> 'systems/l5r5e/templates/actors/character/stance.html' stance=../data.stance ringId=ringId }}
{{/each}} {{/each}}