Ajout entrainements
Some checks failed
Release Creation / build (release) Failing after 51s

This commit is contained in:
2026-04-19 19:06:47 +02:00
parent 1d6e6dd44e
commit 6883cc1020
37 changed files with 335 additions and 227 deletions

View File

@@ -57,7 +57,7 @@
gap: 1rem;
padding: 1rem;
}
.sheet-card {
.dnc-sheet .sheet-card {
border: 2px solid #5b4634;
border-radius: 10px;
background: rgba(255, 248, 236, 0.92);
@@ -73,20 +73,20 @@
text-transform: uppercase;
letter-spacing: 0.04em;
}
.sheet-header {
.dnc-sheet .sheet-header {
display: grid;
grid-template-columns: 140px 1fr;
gap: 1rem;
align-items: start;
}
.sheet-header.compact {
.dnc-sheet .sheet-header.compact {
grid-template-columns: 110px 1fr;
gap: 0.75rem;
}
.portrait {
.dnc-sheet .portrait {
position: relative;
}
.portrait img {
.dnc-sheet .portrait img {
width: 100%;
aspect-ratio: 1;
object-fit: cover;
@@ -94,7 +94,7 @@
border: 3px solid #5b4634;
background: #fff;
}
.icon-button {
.dnc-sheet .icon-button {
position: absolute;
right: 0.4rem;
bottom: 0.4rem;
@@ -105,13 +105,13 @@
width: 2rem;
height: 2rem;
}
.identity-grid,
.identity-grid.two-columns {
.dnc-sheet .identity-grid,
.dnc-sheet .identity-grid.two-columns {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
}
.identity-grid.two-columns {
.dnc-sheet .identity-grid.two-columns {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dnc-employe-sheet .sheet-header.compact .identity-grid {
@@ -153,18 +153,18 @@
letter-spacing: 0.04em;
color: #6d5a4f;
}
.readonly-field {
.dnc-sheet .readonly-field {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.readonly-field > span {
.dnc-sheet .readonly-field > span {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6d5a4f;
}
.readonly-field p {
.dnc-sheet .readonly-field p {
margin: 0;
border: 1px solid rgba(91, 70, 52, 0.55);
border-radius: 6px;
@@ -188,29 +188,29 @@
resize: vertical;
min-height: 4.5rem;
}
.sheet-columns {
.dnc-sheet .sheet-columns {
display: grid;
grid-template-columns: minmax(250px, 320px) 1fr;
gap: 1rem;
}
.sheet-sections {
.dnc-sheet .sheet-sections {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.compact-sections {
.dnc-sheet .compact-sections {
grid-template-columns: 1fr;
}
.counter-field {
.dnc-sheet .counter-field {
display: flex;
align-items: center;
gap: 0.4rem;
}
.counter-field button,
.item-actions button,
.sheet-footer button,
.text-button,
.roll-button {
.dnc-sheet .counter-field button,
.dnc-sheet .item-actions button,
.dnc-sheet .sheet-footer button,
.dnc-sheet .text-button,
.dnc-sheet .roll-button {
border: 1px solid #5b4634;
border-radius: 6px;
background: linear-gradient(180deg, #fdf9f2 0%, #e8d5ba 100%);
@@ -218,90 +218,90 @@
min-height: 2rem;
padding: 0.35rem 0.65rem;
}
.text-button {
.dnc-sheet .text-button {
white-space: nowrap;
}
.roll-button {
.dnc-sheet .roll-button {
width: 2rem;
padding: 0;
}
.with-controls {
.dnc-sheet .with-controls {
gap: 0.4rem;
}
.section-header {
.dnc-sheet .section-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.empty-state {
.dnc-sheet .empty-state {
margin: 0;
color: #6d5a4f;
font-style: italic;
}
.span-two {
.dnc-sheet .span-two {
grid-column: span 2;
}
.characteristic-list {
.dnc-actor-sheet .characteristic-list {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.characteristic-row {
.dnc-actor-sheet .characteristic-row {
display: grid;
grid-template-columns: 2rem 1fr 4rem;
gap: 0.4rem;
align-items: center;
}
.characteristic-label {
.dnc-actor-sheet .characteristic-label {
font-weight: 700;
}
.profile-counters {
.dnc-actor-sheet .profile-counters {
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
}
.profile-card-wide {
.dnc-actor-sheet .profile-card-wide {
width: 100%;
}
.profile-layout {
.dnc-actor-sheet .profile-layout {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
gap: 1rem;
align-items: start;
}
.profile-column {
.dnc-actor-sheet .profile-column {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.favor-card {
.dnc-actor-sheet .favor-card {
margin: 0.75rem 0;
padding: 0.75rem;
border: 1px dashed rgba(91, 70, 52, 0.55);
border-radius: 10px;
background: rgba(226, 208, 177, 0.35);
}
.favor-header h2 {
.dnc-actor-sheet .favor-header h2 {
margin-bottom: 0.4rem;
}
.favor-help {
.dnc-actor-sheet .favor-help {
margin: 0 0 0.75rem;
color: #6d5a4f;
font-size: 0.82rem;
}
.favor-list {
.dnc-actor-sheet .favor-list {
display: grid;
gap: 0.4rem;
}
.favor-row {
.dnc-actor-sheet .favor-row {
display: grid;
grid-template-columns: minmax(0, 1fr) 4.5rem auto;
gap: 0.4rem;
align-items: end;
}
.favor-meta {
.dnc-actor-sheet .favor-meta {
min-height: 2.3rem;
display: flex;
align-items: center;
@@ -311,57 +311,57 @@
border: 1px solid rgba(91, 70, 52, 0.35);
font-weight: 700;
}
.magic-layout {
.dnc-actor-sheet .magic-layout {
align-items: start;
margin-bottom: 0.75rem;
}
.magic-layout .sheet-column {
.dnc-actor-sheet .magic-layout .sheet-column {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.magic-resource-grid {
.dnc-actor-sheet .magic-resource-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
gap: 0.75rem;
align-items: end;
}
.chaos-table-wrapper {
.dnc-actor-sheet .chaos-table-wrapper {
margin-top: 0.75rem;
}
.chaos-table-wrapper h3 {
.dnc-actor-sheet .chaos-table-wrapper h3 {
margin: 0 0 0.4rem;
font-size: 0.95rem;
}
.chaos-table-caption {
.dnc-actor-sheet .chaos-table-caption {
margin: 0 0 0.4rem;
color: #6d5a4f;
font-size: 0.78rem;
font-style: italic;
}
.chaos-table {
.dnc-actor-sheet .chaos-table {
width: 100%;
border-collapse: collapse;
font-size: 0.8rem;
}
.chaos-table th,
.chaos-table td {
.dnc-actor-sheet .chaos-table th,
.dnc-actor-sheet .chaos-table td {
padding: 0.4rem 0.45rem;
border: 1px solid rgba(91, 70, 52, 0.35);
vertical-align: top;
}
.chaos-table th {
.dnc-actor-sheet .chaos-table th {
text-align: left;
background: rgba(226, 208, 177, 0.55);
}
.sheet-tabs {
.dnc-actor-sheet .sheet-tabs {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
margin: 1rem 0 0.75rem;
justify-content: center;
}
.sheet-tab {
.dnc-actor-sheet .sheet-tab {
border: 1px solid rgba(91, 70, 52, 0.8);
border-radius: 10px;
background: rgba(226, 208, 177, 0.55);
@@ -369,27 +369,27 @@
font-weight: 700;
padding: 0.4rem 0.75rem;
}
.sheet-tab.active {
.dnc-actor-sheet .sheet-tab.active {
background: #8b2e17;
border-color: #561d0e;
color: #fff;
}
.sheet-tab-panel {
.dnc-actor-sheet .sheet-tab-panel {
display: none;
}
.sheet-tab-panel.active {
.dnc-actor-sheet .sheet-tab-panel.active {
display: block;
}
.item-list {
.dnc-actor-sheet .item-list {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.item-section.is-dragover {
.dnc-actor-sheet .item-section.is-dragover {
border-color: #8b2e17;
box-shadow: 0 0 0 2px rgba(139, 46, 23, 0.2);
}
.item-dropzone {
.dnc-actor-sheet .item-dropzone {
border: 1px dashed rgba(91, 70, 52, 0.75);
border-radius: 10px;
padding: 0.75rem;
@@ -403,16 +403,16 @@
font-size: 0.9rem;
font-weight: 600;
}
.item-dropzone.has-items {
.dnc-actor-sheet .item-dropzone.has-items {
padding: 0.4rem 0.75rem;
font-size: 0.8rem;
}
.item-section.is-dragover .item-dropzone {
.dnc-actor-sheet .item-section.is-dragover .item-dropzone {
border-color: #8b2e17;
background: rgba(139, 46, 23, 0.12);
color: #221b18;
}
.item {
.dnc-actor-sheet .item {
display: grid;
grid-template-columns: 48px 1fr auto;
gap: 0.75rem;
@@ -420,11 +420,11 @@
border-top: 1px dashed rgba(91, 70, 52, 0.45);
padding-top: 0.75rem;
}
.item:first-child {
.dnc-actor-sheet .item:first-child {
border-top: 0;
padding-top: 0;
}
.item img {
.dnc-actor-sheet .item img {
width: 48px;
height: 48px;
object-fit: cover;
@@ -432,41 +432,41 @@
border: 1px solid #5b4634;
background: #fff;
}
.item-main p {
.dnc-actor-sheet .item-main p {
margin: 0.4rem 0 0;
color: #6d5a4f;
}
.item-title-row {
.dnc-actor-sheet .item-title-row {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
align-items: center;
}
.item-meta {
.dnc-actor-sheet .item-meta {
border-radius: 999px;
background: #e2d0b1;
color: #221b18;
font-size: 0.75rem;
padding: 0.1rem 0.5rem;
}
.item-actions {
.dnc-actor-sheet .item-actions {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
justify-content: flex-end;
}
.pnj-layout .sheet-column {
.dnc-pnj-sheet .pnj-layout .sheet-column {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.pnj-combat-grid {
.dnc-pnj-sheet .pnj-combat-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.75rem;
align-items: end;
}
.pnj-combat-grid .span-two {
.dnc-pnj-sheet .pnj-combat-grid .span-two {
grid-column: 1 / -1;
}
.application.fvtt-donjon-et-cie.item {
@@ -492,7 +492,7 @@
.dnc-item-sheet .identity-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sheet-footer {
.dnc-item-sheet .sheet-footer {
display: flex;
gap: 0.75rem;
justify-content: flex-end;

File diff suppressed because one or more lines are too long