Mudanças entre as edições de "Predefinição:Reward/styles.css"
Ir para navegação
Ir para pesquisar
Etiqueta: Reversão manual |
|||
| Linha 1: | Linha 1: | ||
.item-wrapper[data-tooltip]:hover::after { | |||
content: attr(data-tooltip); | |||
position: absolute; | |||
bottom: 100%; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
background: #333; | |||
color: #fff; | |||
padding: 6px 8px; | |||
font-size: 12px; | |||
white-space: pre-line; | |||
border-radius: 4px; | |||
box-shadow: 0 2px 4px rgba(0,0,0,0.2); | |||
z-index: 99; | |||
opacity: 1; | |||
} | |||
.item-wrapper[data-tooltip]:hover::before { | |||
content: ""; | |||
position: absolute; | |||
bottom: calc(100% - 4px); | |||
left: 50%; | |||
transform: translateX(-50%); | |||
border: 6px solid transparent; | |||
border-top-color: #333; | |||
z-index: 98; | |||
} | |||
.reward-wrapper { | .reward-wrapper { | ||
display: inline-block; | display: inline-block; | ||
Edição das 20h26min de 8 de junho de 2025
.item-wrapper[data-tooltip]:hover::after {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: #333;
color: #fff;
padding: 6px 8px;
font-size: 12px;
white-space: pre-line;
border-radius: 4px;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
z-index: 99;
opacity: 1;
}
.item-wrapper[data-tooltip]:hover::before {
content: "";
position: absolute;
bottom: calc(100% - 4px);
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: #333;
z-index: 98;
}
.reward-wrapper {
display: inline-block;
margin: 8px 0;
font-family: Arial, sans-serif;
}
.reward-title {
font-weight: bold;
font-size: 16px;
text-transform: uppercase;
color: #444;
margin-bottom: 4px;
}
.reward-items {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
}
.item-wrapper {
display: inline-block;
position: relative;
margin: 0 4px;
overflow: visible;
}
.item-wrapper img {
vertical-align: bottom;
}
.item-count {
position: absolute;
bottom: -4px;
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;
white-space: nowrap;
z-index: 2;
}
.item-wrapper:hover .item-count {
background: rgba(0, 0, 0, 0.9);
}