Amélioration fiche d'item

This commit is contained in:
ZigmundKreud
2021-11-08 14:40:29 +01:00
parent b6ad8a846e
commit 0c24f49470
44 changed files with 1007 additions and 571 deletions

View File

@@ -6,7 +6,15 @@
overflow-y: auto;
.item-header {
font-family: @font-handwrite;
font-family: @font-primary;
font-size: 1em;
//font-weight: 500;
color: @colorOlive;
background-color: lightgray;
.item-name {
font-family: @font-tertiary;
font-size: 1.5em;
}
}
.item {
@@ -19,14 +27,40 @@
.item-image {
flex: 0 0 30px;
margin-right: 5px;
padding: 0;
margin: 0 5px 0 0;
height:30px;
width:30px;
min-height:30px;
min-width:30px;
img {
padding: 0;
margin: 0;
border: none;
height:30px;
width:30px;
min-height:30px;
min-width:30px;
}
&.roll-weapon,
&.roll-career {
background-color: transparent;
background-image: url("../../../icons/svg/dice-target.svg") !important;
background-size: 30px 30px;
background-repeat: no-repeat;
background-position: center;
cursor: pointer;
&:hover {
background-color: gray;
img {
visibility: hidden;
}
}
}
}
.item-name {
.item-name,
.item-field {
margin: 0;
}
@@ -43,19 +77,5 @@
.item-control {
color: @colorOlive;
}
//.item-buttons {
// display: flex;
// flex-wrap: wrap;
// flex-direction: row;
// align-items: center;
// flex: 2;
// justify-content: flex-start;
//}
//.item-button {
// line-height: 1;
// font-size: 11px;
// flex: none;
// width: auto;
//}
}
}