Simplifier la sélection

Lorsque plusieurs tokens sont ciblés, laisser le joueur choisir parmi
ceux-là
This commit is contained in:
Vincent Vandemeulebrouck
2022-11-23 00:10:06 +01:00
parent 06024a0007
commit acc5ddac08
5 changed files with 141 additions and 46 deletions

View File

@ -332,6 +332,22 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
object-fit: cover;
object-position: 50% 0;
}
.rdd-dialog-select-target img.select-token-img {
-webkit-box-flex: 0;
-ms-flex: 0 0 48px;
flex: 0 0 48px;
height: 48px;
width: 48px;
border: 0;
margin-right: 0.5rem;
object-fit: cover;
vertical-align: baseline;
}
.rdd-dialog-select-target li.select-target {
vertical-align: baseline;
padding: 0.1rem;
}
.dice-img {
border-width: 0;
@ -488,40 +504,40 @@ input:is(.blessure-premiers_soins, .blessure-soins_complets) {
text-shadow: none;
}
.foundryvtt-reve-de-dragon .items-list {
.foundryvtt-reve-de-dragon .item-list {
list-style: none;
margin: 7px 0;
padding: 0;
overflow-y: auto;
}
.foundryvtt-reve-de-dragon .items-list .item-header {
.foundryvtt-reve-de-dragon .item-list .item-header {
font-weight: bold;
}
.foundryvtt-reve-de-dragon .items-list .item {
.foundryvtt-reve-de-dragon .item-list .item {
height: 30px;
line-height: 24px;
padding: 3px 0;
border-bottom: 1px solid #BBB;
}
.foundryvtt-reve-de-dragon .items-list .item .item-image {
.foundryvtt-reve-de-dragon .item-list .item .item-image {
-webkit-box-flex: 0;
-ms-flex: 0 0 24px;
flex: 0 0 24px;
margin-right: 5px;
}
.foundryvtt-reve-de-dragon .items-list .item img {
.foundryvtt-reve-de-dragon .item-list .item img {
display: block;
}
.foundryvtt-reve-de-dragon .items-list .item-name {
.foundryvtt-reve-de-dragon .item-list .item-name {
margin: 0;
}
.foundryvtt-reve-de-dragon .items-list .item-controls {
.foundryvtt-reve-de-dragon .item-list .item-controls {
-webkit-box-flex: 0;
-ms-flex: 0 0 86px;
flex: 0 0 86px;
@ -862,7 +878,7 @@ ul, li {
box-shadow: inset 0px 0px 1px #00000096;
border-radius: 0.25rem;
padding: 0.1rem;
flex: 1 1 5rem;
flex: 1 1 1.5rem;
display: flex !important;
align-items: center !important;
}