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

De Wiki Gla
Ir para navegação Ir para pesquisar
Linha 1: Linha 1:
.questlog-container {
  display: flex;
  gap: 12px;
  background-color: #1d1d1d;
  border-radius: 8px;
  box-shadow: 0 0 6px #000;
  color: #f0f0f0;
  padding: 12px;
  position: relative;
  max-width: 100%;
  font-family: sans-serif;
}


    .questlog-wrapper {
.questlog-container::after {
      display: flex;
  content: "";
      align-items: flex-start;
  position: absolute;
      gap: 10px;
  left: 32px;
      max-width: 700px;
  bottom: -12px;
    }
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: #1d1d1d;
}


    .questlog-img img {
.questlog-img {
      width: 64px;
  width: 64px;
      height: 64px;
  height: 64px;
      border-radius: 6px;
  object-fit: contain;
      object-fit: contain;
  flex-shrink: 0;
    }
}


    .questlog-bubble {
.questlog-dialog {
      position: relative;
  flex: 1;
      background-color: #2e2b27;
  max-height: 220px;
      border: 2px solid #554e44;
  overflow-y: auto;
      border-radius: 8px;
  line-height: 1.5;
      padding: 12px;
}
      box-shadow: 0 0 12px rgba(0,0,0,0.6);
      flex: 1;
    }


    /* Perninha (triângulo) */
.questlog-resp {
    .questlog-bubble::before {
  margin-top: 8px;
      content: "";
  background: rgba(255, 255, 255, 0.08);
      position: absolute;
  padding: 8px;
      top: 20px;
  border-radius: 6px;
      left: -10px;
  font-weight: bold;
      width: 0;
  color: #aef;
      height: 0;
}
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 10px solid #2e2b27;
    }


    .questlog-bubble::after {
.questlog-itens {
      content: "";
  margin-top: 8px;
      position: absolute;
  display: flex;
      top: 20px;
  flex-wrap: wrap;
      left: -12px;
  gap: 4px;
      width: 0;
}
      height: 0;
.questlog-itens img {
      border-top: 11px solid transparent;
  width: 32px;
      border-bottom: 11px solid transparent;
  height: 32px;
      border-right: 12px solid #554e44;
}
    }
 
    .questlog-text {
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 8px;
    }
 
    .questlog-resp {
      background-color: #3b362f;
      padding: 6px 10px;
      border-radius: 4px;
      font-style: italic;
      font-size: 13px;
      margin-bottom: 8px;
    }
 
    .questlog-items img {
      width: 32px;
      height: 32px;
      margin-right: 4px;
      vertical-align: middle;
    }
 
    .label {
      font-size: 11px;
      color: #aaaaaa;
      margin-bottom: 4px;
      text-transform: uppercase;
    }

Edição das 21h11min de 20 de maio de 2025

.questlog-container {
  display: flex;
  gap: 12px;
  background-color: #1d1d1d;
  border-radius: 8px;
  box-shadow: 0 0 6px #000;
  color: #f0f0f0;
  padding: 12px;
  position: relative;
  max-width: 100%;
  font-family: sans-serif;
}

.questlog-container::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: -12px;
  width: 0;
  height: 0;
  border: 12px solid transparent;
  border-top-color: #1d1d1d;
}

.questlog-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

.questlog-dialog {
  flex: 1;
  max-height: 220px;
  overflow-y: auto;
  line-height: 1.5;
}

.questlog-resp {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: 6px;
  font-weight: bold;
  color: #aef;
}

.questlog-itens {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.questlog-itens img {
  width: 32px;
  height: 32px;
}