Mudanças entre as edições de "Predefinição:Itemdata/styles.css"
Ir para navegação
Ir para pesquisar
| Linha 4: | Linha 4: | ||
align-items: center; | align-items: center; | ||
justify-content: flex-start; | justify-content: flex-start; | ||
width: 40px; | |||
margin: 0 | margin: 0; | ||
padding: 0; | padding: 0; | ||
z-index: 5; | z-index: 5; | ||
position: relative; | |||
} | } | ||
| Linha 47: | Linha 47: | ||
} | } | ||
/* Quantidade | /* Quantidade centralizada abaixo */ | ||
.item-count { | .item-count { | ||
position: static; | position: static; | ||
| Linha 61: | Linha 61: | ||
box-shadow: none; | box-shadow: none; | ||
border-radius: 0; | border-radius: 0; | ||
} | } | ||
.item-wrapper:hover .item-count { | .item-wrapper:hover .item-count { | ||
background: transparent; | background: transparent; | ||
} | |||
.reward-items, | |||
.introquest-items, | |||
.conquista-recompensas { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 6px; | |||
align-items: flex-start; | |||
} | } | ||
Edição das 16h50min de 11 de junho de 2025
.item-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
width: 40px;
margin: 0;
padding: 0;
z-index: 5;
position: relative;
}
.item-wrapper img {
width: 32px;
height: 32px;
display: block;
margin: 0 auto;
}
/* Tooltip */
.item-wrapper[data-tooltip]:hover::after {
content: attr(data-tooltip);
position: absolute;
bottom: calc(100% + 8px);
left: 50%;
transform: translateX(-50%);
background: #2c2c2c;
color: #fff;
padding: 2px 5px;
font-size: 13px;
font-weight: bold;
border-radius: 4px;
white-space: nowrap;
z-index: 9999;
}
.item-wrapper[data-tooltip]:hover::before {
content: "";
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
border-width: 8px 8px 0 8px;
border-style: solid;
border-color: #2c2c2c transparent transparent transparent;
z-index: 9998;
}
/* Quantidade centralizada abaixo */
.item-count {
position: static;
margin-top: 2px;
font-size: 11px;
font-weight: bold;
background: transparent;
color: #333;
padding: 0;
line-height: 1;
white-space: nowrap;
text-align: center;
box-shadow: none;
border-radius: 0;
}
.item-wrapper:hover .item-count {
background: transparent;
}
.reward-items,
.introquest-items,
.conquista-recompensas {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: flex-start;
}