Mudanças entre as edições de "Predefinição:Reward/styles.css"

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 20: Linha 20:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 12px;
     gap: 6px;
}
}


.reward-item {
.item-wrapper {
     display: flex;
     position: relative;
     align-items: center;
     display: inline-block;
    gap: 6px;
}
}


.reward-item img {
.item-wrapper img {
     vertical-align: middle;
     width: 48px;
     width: 36px;
    height: 48px;
     height: 36px;
     object-fit: contain;
     border-radius: 6px;
}
}


.reward-amount {
.item-count {
    position: absolute;
    bottom: -4px; /* ajusta pra sair da imagem */
    right: -4px;
    font-size: 10px;
     font-weight: bold;
     font-weight: bold;
     font-size: 13px;
     background: rgba(0, 0, 0, 0.75);
     color: #333;
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1;
     box-shadow: 0 0 2px #000;
}
}

Edição das 23h01min de 22 de maio de 2025

.reward-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Inter', sans-serif;
    margin: 8px 0;
    gap: 6px;
}

.reward-title {
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    color: #555;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
}

.reward-items {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.item-wrapper {
    position: relative;
    display: inline-block;
}

.item-wrapper img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
}

.item-count {
    position: absolute;
    bottom: -4px; /* ajusta pra sair da imagem */
    right: -4px;
    font-size: 10px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 1px 4px;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 0 0 2px #000;
}