Potions et élémentaires

This commit is contained in:
2026-05-02 08:26:28 +02:00
parent a234ba5d14
commit d6b5891519
248 changed files with 7020 additions and 350 deletions
+127
View File
@@ -313,3 +313,130 @@
}
}
}
/* ============================================= */
/* Potion Item Sheet */
/* ============================================= */
.potion-content {
.potion-header-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
padding: 0.5rem;
background: rgba(139, 0, 0, 0.08);
border-radius: 4px;
border: 1px solid rgba(139, 0, 0, 0.2);
margin-bottom: 0.5rem;
}
.potion-statut-badge {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.2rem 0.6rem;
border-radius: 12px;
font-size: 0.85rem;
font-weight: bold;
&.statut-efficace { background: rgba(0,128,0,0.15); color: #155215; border: 1px solid #4a904a; }
&.statut-heroique { background: rgba(180,120,0,0.15); color: #7a5000; border: 1px solid #c89000; }
&.statut-inefficace { background: rgba(100,100,100,0.15); color: #555; border: 1px solid #888; }
&.statut-poison { background: rgba(100,0,100,0.15); color: #4a004a; border: 1px solid #880088; }
&.statut-inconnue { background: rgba(50,50,50,0.1); color: #666; border: 1px solid #aaa; }
}
}
/* Potion in chat */
.potion-rune-info {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
padding: 0.4rem;
background: rgba(0,0,0,0.04);
border-radius: 4px;
margin-bottom: 0.35rem;
.potion-rune-name { font-weight: bold; }
.potion-rune-seuil { font-size: 0.85rem; color: #666; }
.potion-haut-parler { font-size: 0.85rem; color: #555; font-style: italic; }
}
.potion-result-gm {
border: 1px dashed rgba(139,0,0,0.4);
background: rgba(139,0,0,0.05);
border-radius: 4px;
padding: 0.4rem;
.potion-result-title {
font-size: 0.95rem;
margin: 0 0 0.3rem;
}
.potion-heroique { color: #8B6900; }
.potion-efficace { color: #155215; }
.potion-inefficace { color: #555; }
.potion-poison { color: #660066; }
}
.potion-result-player {
font-style: italic;
color: #666;
font-size: 0.9rem;
}
/* Potion dialog */
.potion-dialog {
.potion-dialog-section {
margin-bottom: 0.75rem;
}
.potion-dialog-title {
font-size: 0.9rem;
font-weight: bold;
border-bottom: 1px solid rgba(0,0,0,0.15);
padding-bottom: 0.2rem;
margin-bottom: 0.4rem;
}
.potion-runes-table {
width: 100%;
font-size: 0.85rem;
border-collapse: collapse;
margin-bottom: 0.5rem;
th, td {
padding: 0.2rem 0.4rem;
border-bottom: 1px solid rgba(0,0,0,0.08);
}
.potion-rune-row:hover { background: rgba(0,0,0,0.04); }
.potion-rune-radio { cursor: pointer; }
.rune-mini-img {
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 4px;
border-radius: 2px;
border: 1px solid rgba(139, 69, 19, 0.5);
object-fit: cover;
}
}
.potion-summary {
background: rgba(0,0,0,0.05);
border-radius: 4px;
padding: 0.4rem 0.6rem;
font-size: 0.85rem;
.summary-row { margin-bottom: 0.2rem; }
.summary-label { font-weight: bold; min-width: 150px; }
}
.potion-info-note {
color: #888;
font-style: italic;
gap: 0.4rem;
align-items: center;
}
}