Workable system, firt step
This commit is contained in:
+692
-53
@@ -1,87 +1,726 @@
|
||||
&.ask-roll {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
}
|
||||
.fvtt-hamalron {
|
||||
&.ask-roll {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
}
|
||||
|
||||
.hamalron-tarot-draw {
|
||||
padding: 0.5rem;
|
||||
&.competence-roll {
|
||||
background: #e8e8e8;
|
||||
border: 2px solid #999;
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
|
||||
.tarot-draw-header {
|
||||
margin-bottom: 1rem;
|
||||
.competence-roll-header {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
padding: 0.5rem;
|
||||
border-bottom: 2px solid #999;
|
||||
|
||||
.tarot-draw-title {
|
||||
.actor-info-compact {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
.actor-avatar {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #667eea;
|
||||
object-fit: cover;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.actor-details {
|
||||
flex: 1;
|
||||
|
||||
.competence-name {
|
||||
margin: 0 0 0.25rem 0;
|
||||
font-size: 1rem;
|
||||
color: #667eea;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.competence-meta {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
font-size: 0.75rem;
|
||||
color: var(--color-text-dark-secondary);
|
||||
|
||||
.meta-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
|
||||
i {
|
||||
color: #667eea;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.competence-roll-body {
|
||||
padding: 0.5rem;
|
||||
|
||||
.card-used-section {
|
||||
background: rgba(102, 126, 234, 0.1);
|
||||
border: 1px solid rgba(102, 126, 234, 0.4);
|
||||
border-radius: 0.35rem;
|
||||
padding: 0.4rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
.card-used-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
color: #4a5fc1;
|
||||
margin-bottom: 0.35rem;
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.card-used-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
|
||||
.card-thumbnail {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid rgba(102, 126, 234, 0.5);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.card-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
|
||||
.card-name {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-primary);
|
||||
}
|
||||
|
||||
.card-match {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
font-size: 0.75rem;
|
||||
font-style: italic;
|
||||
|
||||
&.match-success {
|
||||
color: #2ecc71;
|
||||
i {
|
||||
color: #2ecc71;
|
||||
}
|
||||
}
|
||||
|
||||
&.match-partial {
|
||||
color: #f39c12;
|
||||
i {
|
||||
color: #f39c12;
|
||||
}
|
||||
}
|
||||
|
||||
&.match-atout {
|
||||
color: #9b59b6;
|
||||
font-weight: bold;
|
||||
i {
|
||||
color: #9b59b6;
|
||||
}
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
// Styles pour les règles spéciales des cartes
|
||||
.valet-special-rule,
|
||||
.cavalier-special-rule,
|
||||
.reine-special-rule,
|
||||
.roi-special-rule {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.3rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
padding: 0.3rem 0.4rem;
|
||||
border-radius: 0.25rem;
|
||||
background: rgba(255, 193, 7, 0.15);
|
||||
border-left: 3px solid #ffc107;
|
||||
color: #856404;
|
||||
margin-top: 0.2rem;
|
||||
|
||||
i {
|
||||
font-size: 0.8rem;
|
||||
color: #ffc107;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.calculation-section {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 0.35rem;
|
||||
padding: 0.4rem;
|
||||
margin-bottom: 0.5rem;
|
||||
|
||||
.calculation-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.2rem 0;
|
||||
font-size: 0.8rem;
|
||||
|
||||
.calc-label {
|
||||
color: var(--color-text-dark-secondary);
|
||||
}
|
||||
|
||||
.calc-value {
|
||||
font-weight: bold;
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-dark-primary);
|
||||
|
||||
&.calc-bonus {
|
||||
color: #2ecc71;
|
||||
}
|
||||
|
||||
&.calc-total {
|
||||
font-size: 1.1rem;
|
||||
color: #667eea;
|
||||
}
|
||||
}
|
||||
|
||||
&.total-row {
|
||||
padding-top: 0.3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.calculation-divider {
|
||||
height: 1px;
|
||||
background: var(--color-border-dark);
|
||||
margin: 0.4rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.difficulty-section {
|
||||
.difficulty-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.4rem;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 0.35rem;
|
||||
font-size: 0.8rem;
|
||||
|
||||
i {
|
||||
color: #f39c12;
|
||||
}
|
||||
|
||||
.difficulty-label {
|
||||
color: var(--color-text-dark-primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.difficulty-target {
|
||||
margin-left: auto;
|
||||
color: var(--color-text-dark-secondary);
|
||||
|
||||
strong {
|
||||
color: var(--color-text-dark-primary);
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.competence-roll-footer {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 2px solid var(--color-border-dark);
|
||||
font-size: 1.25rem;
|
||||
color: var(--color-text-dark-primary);
|
||||
padding: 0.5rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
border-top: 2px solid #999;
|
||||
|
||||
i {
|
||||
color: #667eea;
|
||||
.automatic-success-banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
|
||||
color: #8b6914;
|
||||
font-size: 0.95rem;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
border-radius: 0.25rem;
|
||||
box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
|
||||
animation: pulse-banner 2s ease-in-out infinite;
|
||||
|
||||
i {
|
||||
color: #8b6914;
|
||||
text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
&.result-success {
|
||||
background: rgba(46, 204, 113, 0.2);
|
||||
color: #2ecc71;
|
||||
|
||||
.result-icon i {
|
||||
color: #2ecc71;
|
||||
}
|
||||
}
|
||||
|
||||
&.result-failure {
|
||||
background: rgba(234, 102, 102, 0.2);
|
||||
color: #ea6666;
|
||||
|
||||
.result-icon i {
|
||||
color: #ea6666;
|
||||
}
|
||||
}
|
||||
|
||||
&.gm-only-buttons {
|
||||
background: rgba(102, 126, 234, 0.1);
|
||||
padding: 0.75rem;
|
||||
|
||||
.special-rules-section {
|
||||
background: rgba(255, 193, 7, 0.15);
|
||||
border: 2px solid #ffc107;
|
||||
border-radius: 0.35rem;
|
||||
padding: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
|
||||
.special-rule-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
padding: 0.3rem 0;
|
||||
font-weight: bold;
|
||||
color: #856404;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-bottom: 1px solid rgba(255, 193, 7, 0.3);
|
||||
margin-bottom: 0.3rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
color: #ffc107;
|
||||
}
|
||||
|
||||
strong {
|
||||
color: #6c5400;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gm-buttons {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
|
||||
button {
|
||||
flex: 1;
|
||||
padding: 0.5rem 1rem;
|
||||
border: 2px solid #667eea;
|
||||
border-radius: 0.35rem;
|
||||
background: white;
|
||||
color: #667eea;
|
||||
font-weight: bold;
|
||||
font-size: 0.9rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
i {
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: #667eea;
|
||||
color: white;
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
&.sous-tension-btn {
|
||||
border-color: #f39c12;
|
||||
color: #f39c12;
|
||||
|
||||
&:hover {
|
||||
background: #f39c12;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
&.oppose-btn {
|
||||
border-color: #e74c3c;
|
||||
color: #e74c3c;
|
||||
|
||||
&:hover {
|
||||
background: #e74c3c;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.result-icon {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.result-text {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-draw-content {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
&.hamalron-tarot-draw {
|
||||
padding: 0.5rem;
|
||||
|
||||
.tarot-card-image {
|
||||
flex-shrink: 0;
|
||||
.tarot-draw-header {
|
||||
margin-bottom: 1rem;
|
||||
|
||||
img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
object-fit: cover;
|
||||
border-radius: 0.25rem;
|
||||
border: 2px solid var(--color-border-dark);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
.tarot-draw-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin: 0;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 2px solid var(--color-border-dark);
|
||||
font-size: 1.25rem;
|
||||
color: var(--color-text-dark-primary);
|
||||
|
||||
i {
|
||||
color: #667eea;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card-details {
|
||||
flex: 1;
|
||||
.tarot-draw-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
gap: 1rem;
|
||||
|
||||
.tarot-detail-row {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
.tarot-card-image {
|
||||
flex-shrink: 0;
|
||||
|
||||
.detail-label {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
color: var(--color-text-dark-primary);
|
||||
img {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
object-fit: cover;
|
||||
border-radius: 0.25rem;
|
||||
border: 2px solid var(--color-border-dark);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-description {
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid var(--color-border-dark);
|
||||
.tarot-card-details {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
|
||||
.tarot-detail-row {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
||||
.detail-label {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
}
|
||||
|
||||
.detail-value {
|
||||
color: var(--color-text-dark-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-description {
|
||||
margin-top: 0.5rem;
|
||||
padding-top: 0.5rem;
|
||||
border-top: 1px solid var(--color-border-dark);
|
||||
|
||||
.description-label {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.description-content {
|
||||
color: var(--color-text-dark-primary);
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tarot-draw-chat {
|
||||
background: #e8e8e8;
|
||||
border: 2px solid #999;
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
|
||||
.tarot-draw-header {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
padding: 0.5rem;
|
||||
border-bottom: 2px solid #999;
|
||||
|
||||
.draw-info-compact {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
.card-thumbnail {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 0.25rem;
|
||||
object-fit: cover;
|
||||
border: 2px solid #999;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.card-details {
|
||||
flex: 1;
|
||||
|
||||
.card-name {
|
||||
margin: 0 0 0.25rem 0;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.card-meta {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
font-size: 0.75rem;
|
||||
|
||||
.meta-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
color: #666;
|
||||
|
||||
i {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-draw-body {
|
||||
padding: 0.5rem;
|
||||
|
||||
.description-section {
|
||||
.description-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
font-size: 0.8rem;
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
margin-bottom: 0.25rem;
|
||||
color: #666;
|
||||
margin-bottom: 0.4rem;
|
||||
|
||||
i {
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
|
||||
.description-content {
|
||||
color: var(--color-text-dark-primary);
|
||||
font-size: 0.85rem;
|
||||
color: #555;
|
||||
font-style: italic;
|
||||
line-height: 1.4;
|
||||
padding: 0.4rem;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 0.25rem;
|
||||
border-left: 3px solid #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.tarot-tension-chat {
|
||||
background: #e8e8e8;
|
||||
border: 2px solid #999;
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
|
||||
.tarot-tension-header {
|
||||
background: rgba(255, 165, 0, 0.2);
|
||||
padding: 0.5rem;
|
||||
border-bottom: 2px solid #f39c12;
|
||||
|
||||
.tension-info-compact {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
.card-thumbnail {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-radius: 0.25rem;
|
||||
object-fit: cover;
|
||||
border: 2px solid #f39c12;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.card-details {
|
||||
flex: 1;
|
||||
|
||||
.card-name {
|
||||
margin: 0 0 0.25rem 0;
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.card-meta {
|
||||
display: flex;
|
||||
gap: 0.75rem;
|
||||
flex-wrap: wrap;
|
||||
font-size: 0.75rem;
|
||||
|
||||
.meta-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
color: #666;
|
||||
|
||||
i {
|
||||
color: #f39c12;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-tension-body {
|
||||
padding: 0.5rem;
|
||||
|
||||
.difficulty-section {
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
background: rgba(243, 156, 18, 0.1);
|
||||
border-left: 3px solid #f39c12;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.difficulty-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
margin-bottom: 0.25rem;
|
||||
|
||||
i {
|
||||
color: #f39c12;
|
||||
}
|
||||
}
|
||||
|
||||
.difficulty-value {
|
||||
font-size: 0.9rem;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
.calculation-section {
|
||||
.calculation-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.3rem 0.5rem;
|
||||
margin-bottom: 0.25rem;
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.calc-label {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.calc-value {
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
|
||||
&.positive {
|
||||
color: #27ae60;
|
||||
}
|
||||
|
||||
&.negative {
|
||||
color: #e74c3c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.calculation-total {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
background: rgba(243, 156, 18, 0.15);
|
||||
border: 2px solid #f39c12;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.total-label {
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
|
||||
.total-value {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
color: #f39c12;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse-banner {
|
||||
0%,
|
||||
100% {
|
||||
box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
|
||||
}
|
||||
50% {
|
||||
box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
@font-face {
|
||||
font-family: "MinionProRegular";
|
||||
src: url("../assets/fonts/Minion Pro Regular.ttf") format("truetype");
|
||||
font-family: "TimesNewRoman";
|
||||
src: url("../assets/fonts/Times New Roman.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "SupernaturalKnight";
|
||||
src: url("../assets/fonts/Supernatural_Knight.ttf") format("truetype");
|
||||
font-family: "EagleLake";
|
||||
src: url("../assets/fonts/EagleLake-Regular.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
@import "region.less";
|
||||
@import "sortilege.less";
|
||||
@import "tarot.less";
|
||||
@import "tarot-deck-manager.less";
|
||||
@import "chat.less";
|
||||
}
|
||||
|
||||
@import "chat.less";
|
||||
@import "roll.less";
|
||||
@import "tarot-deck-manager.less";
|
||||
|
||||
+7
-4
@@ -2,22 +2,25 @@
|
||||
--font-size-standard: 0.9rem;
|
||||
--font-size-result: 1.4rem;
|
||||
--background-image-base: url("../assets/ui/sheet_background_01.webp");
|
||||
--font-primary: "MinionProRegular";
|
||||
--font-secondary: "MinionProRegular";
|
||||
--font-title: "SupernaturalKnight";
|
||||
--font-primary: "TimesNewRoman";
|
||||
--font-secondary: "TimesNewRoman";
|
||||
--font-title: "EagleLake";
|
||||
--logo-standard: url("../assets/ui/pentagram_logo.webp");
|
||||
--title-color: #c9a876;
|
||||
--title-color: #dea60b;
|
||||
--background-box: #e0dcdc;
|
||||
--color-success: rgb(15, 122, 15);
|
||||
--color-failure: #8b7355;
|
||||
--color-warning: darkorange;
|
||||
--color-critical-success: rgb(21, 39, 204);
|
||||
--color-critical-failure: rgb(141, 32, 231);
|
||||
--color-sheet-nav: #120c04;
|
||||
--input-height: 1.2rem;
|
||||
}
|
||||
|
||||
body {
|
||||
--color-light-1: rgba(182, 178, 178, 0.6);
|
||||
--color-warm-1: #c9a876;
|
||||
--input-height: 1.4rem;
|
||||
}
|
||||
|
||||
#logo {
|
||||
|
||||
+2
-2
@@ -48,8 +48,8 @@
|
||||
}
|
||||
|
||||
legend {
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1.2);
|
||||
font-family: var(--font-title);
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
font-weight: bold;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
+221
-90
@@ -1,6 +1,6 @@
|
||||
.personnage {
|
||||
.character-content {
|
||||
.tarot-hand-container {
|
||||
padding: 1rem;
|
||||
padding: 0.3rem;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -9,8 +9,8 @@
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1.5rem;
|
||||
padding-bottom: 0.75rem;
|
||||
margin-bottom: 0.2rem;
|
||||
padding-bottom: 0.2rem;
|
||||
border-bottom: 2px solid var(--color-border-dark);
|
||||
|
||||
h2 {
|
||||
@@ -20,47 +20,135 @@
|
||||
}
|
||||
|
||||
.tarot-hand-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
|
||||
.card-count {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
gap: 0.3rem;
|
||||
padding: 0.3rem 0.6rem;
|
||||
background: rgba(102, 126, 234, 0.2);
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid rgba(102, 126, 234, 0.4);
|
||||
font-weight: bold;
|
||||
font-size: 0.85rem;
|
||||
color: var(--color-text-light-heading);
|
||||
|
||||
i {
|
||||
color: #667eea;
|
||||
}
|
||||
|
||||
&.over-limit {
|
||||
background: rgba(234, 102, 102, 0.2);
|
||||
border-color: rgba(234, 102, 102, 0.4);
|
||||
|
||||
i {
|
||||
color: #ea6666;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.hand-warning {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.5rem 1rem;
|
||||
background: rgba(234, 179, 8, 0.2);
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid rgba(234, 179, 8, 0.4);
|
||||
color: #eab308;
|
||||
font-weight: bold;
|
||||
animation: pulse 2s ease-in-out infinite;
|
||||
|
||||
i {
|
||||
color: #eab308;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-hand-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.3rem;
|
||||
overflow-y: auto;
|
||||
padding-right: 0.5rem;
|
||||
padding: 0.2rem;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
|
||||
.tarot-card-wrapper {
|
||||
perspective: 1000px;
|
||||
cursor: grab;
|
||||
flex-shrink: 0;
|
||||
position: relative;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
&.success-card {
|
||||
.tarot-card {
|
||||
.tarot-card-inner {
|
||||
.tarot-card-front {
|
||||
border: 3px solid #ffd700;
|
||||
box-shadow:
|
||||
0 0 15px rgba(255, 215, 0, 0.6),
|
||||
0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card-controls {
|
||||
.success-indicator {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
background: rgba(255, 215, 0, 0.9);
|
||||
color: #8b6914;
|
||||
animation: pulse-gold 2s ease-in-out infinite;
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.selected {
|
||||
.tarot-card {
|
||||
border: 2px solid #667eea;
|
||||
box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
|
||||
}
|
||||
|
||||
.card-actions {
|
||||
display: flex !important;
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
width: 110px;
|
||||
height: 190px;
|
||||
transition: transform 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-5px);
|
||||
transform: translateY(-10px) scale(1.05);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.tarot-card-inner {
|
||||
@@ -83,57 +171,55 @@
|
||||
border-radius: 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0.75rem;
|
||||
padding: 0.4rem;
|
||||
|
||||
.tarot-card-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
margin-bottom: 0.75rem;
|
||||
|
||||
.tarot-card-name {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: bold;
|
||||
color: #667eea;
|
||||
flex: 1;
|
||||
line-height: 1.3;
|
||||
}
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 0.25rem;
|
||||
z-index: 2;
|
||||
|
||||
.tarot-card-controls {
|
||||
display: flex;
|
||||
gap: 0.25rem;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease;
|
||||
|
||||
.card-control {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 0.25rem;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: var(--color-text-light-heading);
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
color: white;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgba(102, 126, 234, 0.5);
|
||||
color: white;
|
||||
&.delete-control:hover {
|
||||
background: rgba(234, 102, 102, 0.9);
|
||||
}
|
||||
|
||||
&.view-control:hover {
|
||||
background: rgba(102, 126, 234, 0.9);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .tarot-card-header .tarot-card-controls {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.tarot-card-image {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
margin-bottom: 0.75rem;
|
||||
border-radius: 0.25rem;
|
||||
height: 125px;
|
||||
border-radius: 0.25rem 0.25rem 0 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-border-dark);
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
|
||||
img {
|
||||
@@ -143,37 +229,44 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card-name {
|
||||
padding: 0.5rem;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
border-bottom: 1px solid var(--color-border-dark);
|
||||
|
||||
h4 {
|
||||
margin: 0;
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
color: #667eea;
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.75rem;
|
||||
padding: 0.5rem;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
|
||||
.card-info-row {
|
||||
.card-info-compact {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.4rem 0.5rem;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 0.25rem;
|
||||
font-size: 0.875rem;
|
||||
flex-direction: column;
|
||||
gap: 0.4rem;
|
||||
font-size: 0.75rem;
|
||||
|
||||
.info-label {
|
||||
.card-symbole {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.35rem;
|
||||
color: var(--color-text-dark-secondary);
|
||||
font-weight: 500;
|
||||
gap: 0.3rem;
|
||||
font-weight: bold;
|
||||
justify-content: center;
|
||||
|
||||
i {
|
||||
font-size: 0.75rem;
|
||||
opacity: 0.7;
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
.info-value {
|
||||
color: var(--color-text-light-heading);
|
||||
font-weight: bold;
|
||||
|
||||
&.symbole-coupe {
|
||||
color: #3498db;
|
||||
@@ -191,46 +284,84 @@
|
||||
color: #2ecc71;
|
||||
}
|
||||
}
|
||||
|
||||
.card-valeur {
|
||||
text-align: center;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
font-size: 1rem;
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
padding: 0.3rem 0.5rem;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-card-description {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 0.5rem;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid var(--color-border-dark);
|
||||
.card-actions {
|
||||
display: none;
|
||||
margin-top: 0.5rem;
|
||||
|
||||
.description-text {
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.4;
|
||||
color: var(--color-text-dark-primary);
|
||||
.discard-and-draw-button {
|
||||
width: 100%;
|
||||
padding: 0.5rem;
|
||||
background: rgba(102, 126, 234, 0.3);
|
||||
border: 1px solid rgba(102, 126, 234, 0.6);
|
||||
border-radius: 0.25rem;
|
||||
color: #9ab4ff;
|
||||
font-size: 0.75rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.3rem;
|
||||
|
||||
p {
|
||||
margin: 0 0 0.5rem 0;
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
&:hover {
|
||||
background: rgba(102, 126, 234, 0.5);
|
||||
border-color: rgba(102, 126, 234, 0.8);
|
||||
color: #aac4ff;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 4px;
|
||||
}
|
||||
.discard-button {
|
||||
margin-top: 0.5rem;
|
||||
padding: 0.4rem 0.5rem;
|
||||
background: rgba(234, 102, 102, 0.3);
|
||||
border: 1px solid rgba(234, 102, 102, 0.6);
|
||||
border-radius: 0.25rem;
|
||||
color: #ea6666;
|
||||
font-size: 0.7rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.3rem;
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgba(102, 126, 234, 0.5);
|
||||
border-radius: 2px;
|
||||
i {
|
||||
font-size: 0.65rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(102, 126, 234, 0.7);
|
||||
background: rgba(234, 102, 102, 0.5);
|
||||
border-color: rgba(234, 102, 102, 0.8);
|
||||
color: #ff6666;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+290
-116
@@ -6,11 +6,17 @@
|
||||
|
||||
.sheet-tabs {
|
||||
background-color: var(--color-light-1);
|
||||
font-family: var(--font-title);
|
||||
|
||||
a {
|
||||
color: var(--color-sheet-nav);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
|
||||
.character-main {
|
||||
/*background-color: var(--color-light-1);*/
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.character-pc {
|
||||
display: flex;
|
||||
@@ -18,7 +24,7 @@
|
||||
flex: 1;
|
||||
|
||||
.character-left {
|
||||
min-width: 180px;
|
||||
min-width: 220px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -62,15 +68,9 @@
|
||||
.character-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
gap: 2px;
|
||||
|
||||
.character-definition {
|
||||
.character-definition-pronouns {
|
||||
input {
|
||||
min-width: 21.2rem;
|
||||
max-width: 21.2rem;
|
||||
}
|
||||
}
|
||||
.form-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -97,6 +97,32 @@
|
||||
margin-right: 1rem;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
.item-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex: 1;
|
||||
|
||||
.item-name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.control {
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
opacity: 0.7;
|
||||
transition: opacity 0.2s;
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.character-name {
|
||||
display: flex;
|
||||
@@ -113,40 +139,146 @@
|
||||
}
|
||||
|
||||
.character-pc-play {
|
||||
min-width: 500px;
|
||||
min-width: 660px;
|
||||
}
|
||||
|
||||
.character-pc-edit {
|
||||
min-width: 500px;
|
||||
min-width: 660px;
|
||||
}
|
||||
|
||||
.character-stats {
|
||||
/*background-color: var(--color-light-1);*/
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
gap: 2px;
|
||||
flex: 1;
|
||||
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.character-stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.icon-stat {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin-right: 4px;
|
||||
justify-content: space-between;
|
||||
gap: 0.2rem;
|
||||
padding: 0.1rem 0.2rem;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.stat-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
&.rollable:hover,
|
||||
&.rollable:focus {
|
||||
text-shadow: 0 0 8px var(--color-shadow-primary);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
}
|
||||
.rollable:hover,
|
||||
.rollable:focus {
|
||||
text-shadow: 0 0 8px var(--color-shadow-primary);
|
||||
cursor: pointer;
|
||||
|
||||
.stat-values {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
input {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.separator {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
}
|
||||
}
|
||||
.rollable {
|
||||
min-width: 3.5rem;
|
||||
max-width: 3.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.character-resistances {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
flex: 1;
|
||||
|
||||
.resistances-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.2rem;
|
||||
}
|
||||
|
||||
.resistance-stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.2rem;
|
||||
padding: 0.1rem 0.2rem;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.stat-label {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
input {
|
||||
min-width: 2.5rem;
|
||||
max-width: 2.5rem;
|
||||
|
||||
.stat-values {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.2rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
input {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.resistance-control {
|
||||
cursor: pointer;
|
||||
opacity: 0.8;
|
||||
transition: all 0.2s ease;
|
||||
padding: 0.15rem 0.35rem;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
color: var(--color-text-dark-primary);
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
background: rgba(0, 100, 200, 0.2);
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
&:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 0.7rem;
|
||||
}
|
||||
}
|
||||
|
||||
.separator {
|
||||
font-weight: bold;
|
||||
color: var(--color-text-dark-secondary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -160,16 +292,145 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-status .main-div {
|
||||
.tab.character-competences .main-div {
|
||||
/*background-color: var(--color-light-1);*/
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 8px;
|
||||
legend {
|
||||
a {
|
||||
font-size: calc(var(--font-size-standard) * 1.4);
|
||||
padding-left: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.competences-group {
|
||||
margin-bottom: 12px;
|
||||
background: rgba(0, 0, 0, 0.03);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
|
||||
.competences-type-header {
|
||||
font-weight: bold;
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
color: var(--color-text-dark-primary);
|
||||
margin-bottom: 8px;
|
||||
padding: 4px 8px;
|
||||
border-left: 3px solid var(--color-border-dark-primary);
|
||||
}
|
||||
}
|
||||
|
||||
.competences {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 6px;
|
||||
|
||||
.competence {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 6px;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 3px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-weight: 500;
|
||||
|
||||
a {
|
||||
color: var(--color-text-dark-primary);
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-text-hyperlink);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.carte {
|
||||
font-size: 0.85rem;
|
||||
padding: 2px 6px;
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.niveau {
|
||||
font-size: 0.85rem;
|
||||
padding: 2px 6px;
|
||||
background: rgba(0, 100, 200, 0.1);
|
||||
color: var(--color-text-dark-primary);
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.controls {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
font-size: 0.85rem;
|
||||
flex-shrink: 0;
|
||||
|
||||
a {
|
||||
padding: 2px 4px;
|
||||
color: var(--color-text-dark-secondary);
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--color-text-dark-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.add-competence-section {
|
||||
text-align: center;
|
||||
padding: 12px;
|
||||
|
||||
.add-competence-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 8px 16px;
|
||||
background: rgba(0, 100, 200, 0.1);
|
||||
border: 1px solid rgba(0, 100, 200, 0.3);
|
||||
border-radius: 4px;
|
||||
color: var(--color-text-dark-primary);
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgba(0, 100, 200, 0.2);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mortality {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -227,53 +488,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.perks {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 4px;
|
||||
.perk {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
margin-left: 4px;
|
||||
min-width: 20rem;
|
||||
max-width: 20rem;
|
||||
.rollable:hover,
|
||||
.rollable:focus {
|
||||
text-shadow: 0 0 8px var(--color-shadow-primary);
|
||||
cursor: pointer;
|
||||
}
|
||||
.controls {
|
||||
font-size: 0.7rem;
|
||||
min-width: 1.8rem;
|
||||
max-width: 1.8rem;
|
||||
}
|
||||
.flavor {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
}
|
||||
.role {
|
||||
min-width: 5rem;
|
||||
max-width: 5rem;
|
||||
}
|
||||
.level {
|
||||
min-width: 4rem;
|
||||
max-width: 4rem;
|
||||
}
|
||||
.name {
|
||||
min-width: 10rem;
|
||||
max-width: 10rem;
|
||||
}
|
||||
.item-img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 4px 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-maleficas .main-div {
|
||||
.tab.character-sortileges .main-div {
|
||||
/*background-color: var(--color-light-1);*/
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
@@ -284,7 +501,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.maleficas {
|
||||
.sortileges {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 4px;
|
||||
@@ -322,49 +539,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.rituals {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
gap: 4px;
|
||||
.ritual {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-width: 14rem;
|
||||
max-width: 14rem;
|
||||
.controls {
|
||||
font-size: 0.7rem;
|
||||
min-width: 1.8rem;
|
||||
max-width: 1.8rem;
|
||||
}
|
||||
.ingredients {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
}
|
||||
.name {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
}
|
||||
.difficulty {
|
||||
min-width: 2rem;
|
||||
max-width: 2rem;
|
||||
}
|
||||
.threshold {
|
||||
min-width: 2rem;
|
||||
max-width: 2rem;
|
||||
}
|
||||
.limit {
|
||||
min-width: 2rem;
|
||||
max-width: 2rem;
|
||||
}
|
||||
.item-img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
margin: 4px 0 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab.character-equipment .main-div {
|
||||
|
||||
+223
-1
@@ -19,9 +19,219 @@
|
||||
|
||||
.fvtt-hamalron-roll-dialog {
|
||||
fieldset {
|
||||
padding: 10px;
|
||||
padding: 6px;
|
||||
background-color: var(--color-light-1);
|
||||
}
|
||||
|
||||
.dialog-info {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
|
||||
.actor-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 0.25rem;
|
||||
|
||||
.actor-portrait {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--color-dark-6);
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.actor-name {
|
||||
font-family: var(--font-title);
|
||||
font-size: calc(var(--font-size-standard) * 0.9);
|
||||
font-weight: bold;
|
||||
color: var(--color-dark-1);
|
||||
}
|
||||
}
|
||||
|
||||
.competence-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 0.25rem 0.5rem;
|
||||
|
||||
h3 {
|
||||
margin: 0;
|
||||
font-family: var(--font-title);
|
||||
font-size: calc(var(--font-size-standard) * 1);
|
||||
color: var(--title-color);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.competence-details {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
font-size: calc(var(--font-size-standard) * 0.85);
|
||||
|
||||
.competence-symbole,
|
||||
.competence-niveau {
|
||||
padding: 0.25rem 0.5rem;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.25rem;
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tarot-hand {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
|
||||
gap: 0.5rem;
|
||||
padding: 0.25rem;
|
||||
min-height: 90px;
|
||||
|
||||
.tarot-card-select {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.15rem;
|
||||
padding: 0.25rem;
|
||||
border: 2px solid transparent;
|
||||
border-radius: 0.35rem;
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-color: var(--color-dark-5);
|
||||
transform: translateY(-2px) scale(1.3);
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background-color: rgba(100, 150, 255, 0.2);
|
||||
border-color: var(--color-success);
|
||||
box-shadow: 0 0 10px rgba(100, 150, 255, 0.5);
|
||||
}
|
||||
|
||||
&.success-card {
|
||||
border: 3px solid #ffd700;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(255, 215, 0, 0.1) 0%,
|
||||
rgba(255, 223, 0, 0.2) 100%
|
||||
);
|
||||
box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
|
||||
|
||||
&:hover {
|
||||
border-color: #ffed4e;
|
||||
box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
border-color: #ffd700;
|
||||
box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
|
||||
}
|
||||
}
|
||||
|
||||
.success-indicator {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
color: #ffd700;
|
||||
font-size: 1rem;
|
||||
text-shadow: 0 0 5px rgba(255, 215, 0, 0.8);
|
||||
animation: pulse-gold 2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 50px;
|
||||
height: auto;
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid var(--color-dark-6);
|
||||
}
|
||||
|
||||
.card-name {
|
||||
font-size: calc(var(--font-size-standard) * 0.75);
|
||||
text-align: center;
|
||||
line-height: 1.1;
|
||||
max-width: 70px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.card-values {
|
||||
font-size: calc(var(--font-size-standard) * 0.7);
|
||||
text-align: center;
|
||||
color: var(--color-dark-3);
|
||||
font-weight: bold;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
grid-column: 1 / -1;
|
||||
text-align: center;
|
||||
color: var(--color-dark-5);
|
||||
font-style: italic;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-result {
|
||||
.total-display {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 0.1rem;
|
||||
padding: 0.1rem;
|
||||
font-family: var(--font-title);
|
||||
font-size: calc(var(--font-size-standard) * 1.1);
|
||||
font-weight: bold;
|
||||
|
||||
#competence-modifier {
|
||||
color: var(--color-dark-1);
|
||||
}
|
||||
|
||||
#card-value-display {
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
#total-value {
|
||||
padding: 0.1rem 0.2rem;
|
||||
background-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.35rem;
|
||||
color: var(--title-color);
|
||||
min-width: 2.1rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.difficulty-info {
|
||||
text-align: center;
|
||||
font-size: calc(var(--font-size-standard) * 0.9);
|
||||
color: var(--color-dark-2);
|
||||
margin-top: 0.1rem;
|
||||
padding: 0.1rem 0;
|
||||
|
||||
#target-score {
|
||||
font-weight: bold;
|
||||
color: var(--color-dark-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.difficulty-select {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 0.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-modifier {
|
||||
@@ -216,3 +426,15 @@
|
||||
text-shadow: 0 0 10px var(--color-shadow-primary);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse-gold {
|
||||
0%,
|
||||
100% {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.2);
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
+105
-42
@@ -1,111 +1,174 @@
|
||||
.tarot-deck-manager {
|
||||
.tarot-deck-manager-content {
|
||||
padding: 1rem;
|
||||
padding: 1.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5rem;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(102, 126, 234, 0.05) 0%,
|
||||
rgba(118, 75, 162, 0.05) 100%
|
||||
);
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.deck-header {
|
||||
h2 {
|
||||
margin: 0 0 1rem 0;
|
||||
font-size: 1.5rem;
|
||||
color: var(--color-text-dark-primary);
|
||||
margin: 0 0 0.75rem 0;
|
||||
font-size: 1.25rem;
|
||||
color: #667eea;
|
||||
text-align: center;
|
||||
border-bottom: 2px solid var(--color-border-dark);
|
||||
border-bottom: 2px solid #667eea;
|
||||
padding-bottom: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.deck-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 1rem;
|
||||
margin-top: 1rem;
|
||||
gap: 0.5rem;
|
||||
margin-top: 0.75rem;
|
||||
|
||||
.stat-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
padding: 0.75rem;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 0.25rem;
|
||||
border: 1px solid var(--color-border-dark);
|
||||
padding: 0.5rem;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(102, 126, 234, 0.15) 0%,
|
||||
rgba(118, 75, 162, 0.15) 100%
|
||||
);
|
||||
border-radius: 0.5rem;
|
||||
border: 2px solid rgba(102, 126, 234, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
|
||||
border-color: rgba(102, 126, 234, 0.5);
|
||||
}
|
||||
|
||||
i {
|
||||
font-size: 1.5rem;
|
||||
color: var(--color-text-light-heading);
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: 1.25rem;
|
||||
color: #667eea;
|
||||
margin-bottom: 0.15rem;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 0.75rem;
|
||||
font-size: 0.7rem;
|
||||
color: var(--color-text-dark-secondary);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
color: var(--color-text-light-heading);
|
||||
color: #667eea;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.deck-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 0.5rem;
|
||||
|
||||
.action-button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
font-size: 1rem;
|
||||
padding: 0.6rem 0.75rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
border: none;
|
||||
border-radius: 0.25rem;
|
||||
border-radius: 0.5rem;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s ease;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
|
||||
i {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
&:active:not(:disabled) {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
opacity: 0.5;
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
filter: grayscale(50%);
|
||||
}
|
||||
}
|
||||
|
||||
.reset-button {
|
||||
background: var(--color-border-dark);
|
||||
color: var(--color-text-light-heading);
|
||||
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
|
||||
color: white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: var(--color-border-dark-tertiary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.draw-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 0.5rem;
|
||||
.collect-hands-button {
|
||||
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
|
||||
color: white;
|
||||
|
||||
.draw-button {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(102, 126, 234, 0.4);
|
||||
}
|
||||
.distribute-cards-button {
|
||||
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
|
||||
color: white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.shuffle-discard-button {
|
||||
background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
|
||||
color: white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.draw-button {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.draw-tension-button {
|
||||
background: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
|
||||
color: white;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: linear-gradient(135deg, #d35400 0%, #f39c12 100%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user