Ajout dialog employé

This commit is contained in:
2026-06-03 19:20:09 +02:00
parent 48660c9430
commit 6f3996d216
32 changed files with 1758 additions and 53 deletions
+342
View File
@@ -271,6 +271,13 @@
grid-template-columns: 1fr;
gap: 0.75rem;
}
.dnc-actor-sheet .hp-field .counter-field input[type="number"] {
max-width: 60px;
text-align: center;
}
.dnc-actor-sheet .hp-field .counter-field {
gap: 0.25rem;
}
.dnc-actor-sheet .profile-card-wide {
width: 100%;
}
@@ -889,6 +896,21 @@
padding: 0.35rem 0.65rem;
min-height: 1.75rem;
font-size: 0.82rem;
flex: 0 0 auto;
}
.dnc-chat-card-damage .chat-actions-inline {
flex-wrap: nowrap;
gap: 0.25rem;
}
.dnc-chat-card-damage .chat-actions-inline .chat-action-button {
padding: 0.3rem 0.55rem;
min-height: 1.65rem;
font-size: 0.78rem;
flex: 0 0 auto;
}
.dnc-chat-card-damage .chat-actions-inline .chat-action-button i {
font-size: 0.85rem;
margin-right: 0.2rem;
}
.chat-control {
display: grid;
@@ -1090,5 +1112,325 @@
.initiative-sync p {
margin: 0.4rem 0 0;
}
.dnc-employes-dialog {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 1rem;
min-width: 640px;
max-width: 90vw;
max-height: 90vh;
overflow-y: auto;
}
.dnc-employes-dialog .sheet-header {
display: block;
grid-template-columns: none;
gap: normal;
}
.dnc-employes-dialog .sheet-header h1 {
font-family: "IM Fell English SC", "Palatino Linotype", "Book Antiqua", Palatino, serif;
font-size: 1.4rem;
color: #8b2e17;
text-transform: uppercase;
letter-spacing: 0.04em;
margin: 0;
text-align: center;
}
.dnc-employes-dialog-wrapper .dialog-content,
.dnc-employes-dialog-wrapper .window-content {
padding: 0;
}
.dnc-root-tabs {
display: flex;
justify-content: center;
gap: 0.75rem;
border-bottom: 2px solid #5b4634;
padding-bottom: 0.4rem;
}
.dnc-root-tab {
border: 1px solid rgba(91, 70, 52, 0.55);
border-radius: 10px 10px 0 0;
background: #e2d0b1;
color: #221b18;
font-size: 0.9rem;
font-weight: 700;
padding: 0.4rem 1rem;
display: flex;
align-items: center;
gap: 0.25rem;
cursor: pointer;
transition: all 0.2s ease;
}
.dnc-root-tab i {
font-size: 0.9rem;
}
.dnc-root-tab.active {
background: #8b2e17;
border-color: #561d0e;
color: #fff;
box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2);
position: relative;
bottom: -2px;
}
.dnc-root-tab:hover:not(.active) {
background: #e2d0b1;
border-color: rgba(91, 70, 52, 0.75);
}
.dnc-root-panels {
position: relative;
}
.dnc-root-panel {
display: none;
}
.dnc-root-panel.active {
display: block;
}
.dnc-pc-tabs {
display: flex;
gap: 0.25rem;
flex-wrap: wrap;
padding: 0.4rem 0;
border-bottom: 1px solid rgba(91, 70, 52, 0.4);
margin-bottom: 0.75rem;
}
.dnc-pc-tab {
border: 1px solid rgba(91, 70, 52, 0.45);
border-radius: 6px;
background: rgba(255, 255, 255, 0.5);
color: #6d5a4f;
font-size: 0.82rem;
font-weight: 600;
padding: 0.25rem 0.75rem;
cursor: pointer;
transition: all 0.15s ease;
white-space: nowrap;
}
.dnc-pc-tab.active {
background: #8b2e17;
border-color: #5f2010;
color: #fff;
font-weight: 700;
}
.dnc-pc-tab:hover:not(.active) {
background: #e2d0b1;
color: #221b18;
}
.dnc-pc-panels {
position: relative;
}
.dnc-pc-panel,
.dnc-client-panel {
display: none;
}
.dnc-pc-panel.active,
.dnc-client-panel.active {
display: block;
}
.dnc-compact-section {
padding: 0.75rem;
margin-bottom: 0.4rem;
border: 1px solid rgba(91, 70, 52, 0.4);
border-radius: 10px;
background: #f1e5d0;
}
.dnc-compact-section + .dnc-compact-section {
margin-top: 0.4rem;
}
.dnc-compact-section-title {
font-family: "IM Fell English SC", "Palatino Linotype", "Book Antiqua", Palatino, serif;
font-size: 0.9rem;
font-weight: 700;
color: #8b2e17;
text-transform: uppercase;
letter-spacing: 0.05em;
margin: 0 0 0.4rem;
display: flex;
align-items: center;
gap: 0.25rem;
border-bottom: 1px solid rgba(91, 70, 52, 0.35);
padding-bottom: 0.25rem;
}
.dnc-compact-section-title i {
font-size: 0.85rem;
}
.dnc-compact-concept {
font-size: 0.8rem;
color: #6d5a4f;
font-style: italic;
margin: 0.25rem 0 0;
}
.dnc-compact-carac-grid {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.dnc-carac-stat {
display: flex;
flex-direction: column;
align-items: center;
min-width: 48px;
background: rgba(255, 255, 255, 0.6);
border: 1px solid rgba(91, 70, 52, 0.4);
border-radius: 6px;
padding: 0.25rem 0.4rem;
}
.dnc-carac-label {
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6d5a4f;
font-weight: 700;
}
.dnc-carac-value {
font-size: 1rem;
font-weight: 700;
color: #221b18;
}
.dnc-carac-value.warning {
color: #842c2c;
}
.dnc-compact-combat-stats {
display: flex;
gap: 0.4rem;
flex-wrap: wrap;
margin-bottom: 0.4rem;
}
.dnc-combat-badge {
font-size: 0.82rem;
padding: 0.25rem 0.4rem;
background: #e2d0b1;
border: 1px solid rgba(91, 70, 52, 0.4);
border-radius: 6px;
color: #221b18;
}
.dnc-compact-item-list {
margin-top: 0.4rem;
}
.dnc-compact-subhead {
font-size: 0.78rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6d5a4f;
margin: 0 0 0.25rem;
display: flex;
align-items: center;
gap: 0.25rem;
}
.dnc-compact-subhead i {
color: #8b2e17;
}
.dnc-compact-item {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0;
border-top: 1px dashed rgba(91, 70, 52, 0.35);
font-size: 0.85rem;
}
.dnc-compact-item:first-of-type {
border-top: 0;
}
.dnc-compact-item-name {
font-weight: 600;
color: #221b18;
}
.dnc-compact-item-detail {
font-size: 0.78rem;
color: #6d5a4f;
background: rgba(255, 255, 255, 0.5);
border-radius: 6px;
padding: 0.05rem 0.3rem;
}
.dnc-compact-magic-stats {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin-bottom: 0.4rem;
}
.item-meta {
border-radius: 999px;
background: #e2d0b1;
color: #221b18;
font-size: 0.75rem;
padding: 0.1rem 0.5rem;
}
.client-summary {
margin: 0.4rem 0 0;
color: #221b18;
font-size: 0.9rem;
line-height: 1.45;
}
.client-description {
margin-top: 0.75rem;
padding-top: 0.75rem;
border-top: 1px solid rgba(91, 70, 52, 0.45);
}
.client-description p {
margin: 0;
color: #6d5a4f;
font-size: 0.85rem;
line-height: 1.5;
}
.dnc-roll-btn {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.1rem 0.5rem;
font-size: 0.78rem;
font-family: "Signika", sans-serif;
color: #221b18;
background: #e2d0b1;
border: 1px solid rgba(91, 70, 52, 0.6);
border-radius: 6px;
cursor: pointer;
transition: background 0.15s;
}
.dnc-roll-btn i {
font-size: 0.7rem;
color: #8b2e17;
}
.dnc-roll-btn:hover {
background: #8b2e17;
color: #fff;
border-color: #8b2e17;
}
.dnc-roll-btn:hover i {
color: #fff;
}
.dnc-carac-rollable {
cursor: pointer;
transition: background 0.15s;
border-radius: 6px;
position: relative;
}
.dnc-carac-rollable:hover {
background: rgba(139, 46, 23, 0.18);
}
.dnc-carac-rollable:hover .dnc-carac-label {
color: #8b2e17;
}
.dnc-compact-section-title {
display: flex;
align-items: center;
gap: 0.4rem;
}
.dnc-compact-section-title .dnc-open-sheet-btn {
margin-left: auto;
background: none;
border: 1px solid rgba(91, 70, 52, 0.5);
border-radius: 6px;
color: #6d5a4f;
cursor: pointer;
font-size: 0.7rem;
padding: 0.1rem 0.35rem;
line-height: 1;
transition: color 0.15s, border-color 0.15s;
}
.dnc-compact-section-title .dnc-open-sheet-btn:hover {
color: #8b2e17;
border-color: #8b2e17;
}
/*# sourceMappingURL=donjon-et-cie.css.map */
/*# sourceMappingURL=donjon-et-cie.css.map */
File diff suppressed because one or more lines are too long