Workable system, firt step

This commit is contained in:
2026-01-02 20:30:29 +01:00
parent 70d1720176
commit 8a27cef9a4
69 changed files with 6081 additions and 1767 deletions
+105 -42
View File
@@ -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%);
}
}
}