diff --git a/css/foundryvtt-reve-de-dragon.css b/css/foundryvtt-reve-de-dragon.css index b4f215f1..2719a6e3 100644 --- a/css/foundryvtt-reve-de-dragon.css +++ b/css/foundryvtt-reve-de-dragon.css @@ -4899,6 +4899,34 @@ body { margin: 0.2rem; padding: 0; } +.system-foundryvtt-reve-de-dragon .window-app.regles-optionnelles.applicationv2 > .window-content > form, +.system-foundryvtt-reve-de-dragon .window-app.dialog-encaissement-tables.applicationv2 > .window-content > form { + flex: 1; + min-height: 0; + overflow-y: auto; +} +.system-foundryvtt-reve-de-dragon .encaissement-tables { + display: flex; + flex-direction: column; + gap: 1.5em; +} +.system-foundryvtt-reve-de-dragon .encaissement-tables table { + width: 100%; + border-collapse: collapse; +} +.system-foundryvtt-reve-de-dragon .encaissement-tables th, +.system-foundryvtt-reve-de-dragon .encaissement-tables td { + padding: 4px 8px; + border: 1px solid #7a7971; + text-align: center; +} +.system-foundryvtt-reve-de-dragon .encaissement-tables th { + background: rgba(0, 0, 0, 0.1); + font-weight: bold; +} +.system-foundryvtt-reve-de-dragon .encaissement-tables .type-cell { + text-align: left; +} .system-foundryvtt-reve-de-dragon section.window-content div.dialog-buttons { margin-top: 1rem; } diff --git a/less/foundryvtt-reve-de-dragon.less b/less/foundryvtt-reve-de-dragon.less index 47ed13f1..8198e5df 100644 --- a/less/foundryvtt-reve-de-dragon.less +++ b/less/foundryvtt-reve-de-dragon.less @@ -74,6 +74,23 @@ padding: 0; } + .window-app.regles-optionnelles.applicationv2 > .window-content > form, + .window-app.dialog-encaissement-tables.applicationv2 > .window-content > form { + flex: 1; + min-height: 0; + overflow-y: auto; + } + + .encaissement-tables { + display: flex; + flex-direction: column; + gap: 1.5em; + table { width: 100%; border-collapse: collapse; } + th, td { padding: 4px 8px; border: 1px solid #7a7971; text-align: center; } + th { background: rgba(0,0,0,0.1); font-weight: bold; } + .type-cell { text-align: left; } + } + section.window-content div.dialog-buttons { margin-top: 1rem; } diff --git a/templates/settings/dialog-encaissement-tables.hbs b/templates/settings/dialog-encaissement-tables.hbs index 12c364f8..2e186c4a 100644 --- a/templates/settings/dialog-encaissement-tables.hbs +++ b/templates/settings/dialog-encaissement-tables.hbs @@ -1,12 +1,4 @@