Rework fiches, jets de dés et CSS
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
--tab-header-font-size: 1rem;
|
||||
--tab-header-font-weight: 700;
|
||||
--tab-header-color: #403f3e;
|
||||
--tab-header-color-active: #4a0404;
|
||||
--tab-header-color-active: #2a1400;
|
||||
--font-primary: CentaurMT;
|
||||
--font-secondary: CentaurMT;
|
||||
--actor-input-font-size: 0.9rem;
|
||||
@@ -1105,7 +1105,8 @@ li {
|
||||
text-shadow: 0px 1px 0px #4d3534;
|
||||
position: relative;
|
||||
max-height: 1.8rem;
|
||||
width: 3.5rem;
|
||||
width: 5rem;
|
||||
white-space: nowrap;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.button-sheet-roll-offline {
|
||||
@@ -1123,7 +1124,8 @@ li {
|
||||
text-shadow: 0px 1px 0px #4d3534;
|
||||
position: relative;
|
||||
max-height: 1.8rem;
|
||||
width: 3.5rem;
|
||||
width: 5rem;
|
||||
white-space: nowrap;
|
||||
margin-left: 4px;
|
||||
}
|
||||
.button-sheet-roll-large {
|
||||
@@ -1379,43 +1381,43 @@ li {
|
||||
margin-right: 6px;
|
||||
}
|
||||
/* ==================== Roll Dialog V2 Styles ==================== */
|
||||
.application.mournblade-roll-dialog .window-content {
|
||||
.application.mournblade-cyd2-roll-dialog .window-content {
|
||||
padding: 0;
|
||||
}
|
||||
.window-app.mournblade-roll-dialog .window-content {
|
||||
.window-app.mournblade-cyd2-roll-dialog .window-content {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.mournblade-roll-dialog {
|
||||
.mournblade-cyd2-roll-dialog {
|
||||
background: url("../assets/ui/pc_sheet_bg.webp");
|
||||
background-repeat: repeat;
|
||||
font-family: CentaurMT;
|
||||
}
|
||||
.mournblade-roll-dialog * {
|
||||
.mournblade-cyd2-roll-dialog * {
|
||||
color: #2a2a2a;
|
||||
}
|
||||
/* Header */
|
||||
.mournblade-roll-dialog .dialog-header {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px;
|
||||
background: linear-gradient(135deg, #4a0404 0%, #6d0808 100%);
|
||||
border-bottom: 3px solid #8b0000;
|
||||
background: linear-gradient(135deg, #2a1400 0%, #4a2200 100%);
|
||||
border-bottom: 3px solid #8b4513;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-header .actor-icon {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header .actor-icon {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 4px;
|
||||
border: 2px solid #8b0000;
|
||||
border: 2px solid #8b4513;
|
||||
object-fit: cover;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-header .dialog-title {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header .dialog-title {
|
||||
flex: 1;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-header .dialog-title h3 {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header .dialog-title h3 {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
color: #f5f5f5;
|
||||
@@ -1423,124 +1425,126 @@ li {
|
||||
font-family: Charlemagne;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-header .dialog-title .competence-name {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header .dialog-title .competence-name {
|
||||
font-size: 0.85rem;
|
||||
color: #ffcccb;
|
||||
color: #f0d0a0;
|
||||
margin-top: 2px;
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-header .dialog-title .competence-name .attribut-info {
|
||||
.mournblade-cyd2-roll-dialog .dialog-header .dialog-title .competence-name .attribut-info {
|
||||
color: #ffd700;
|
||||
font-weight: bold;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
/* Content */
|
||||
.mournblade-roll-dialog .dialog-content {
|
||||
padding: 8px;
|
||||
max-height: 650px;
|
||||
.mournblade-cyd2-roll-dialog .dialog-content {
|
||||
padding: 6px 8px;
|
||||
max-height: 600px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-content::-webkit-scrollbar {
|
||||
.mournblade-cyd2-roll-dialog .dialog-content::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-content::-webkit-scrollbar-track {
|
||||
.mournblade-cyd2-roll-dialog .dialog-content::-webkit-scrollbar-track {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-content::-webkit-scrollbar-thumb {
|
||||
background: rgba(139, 0, 0, 0.6);
|
||||
.mournblade-cyd2-roll-dialog .dialog-content::-webkit-scrollbar-thumb {
|
||||
background: rgba(139, 69, 19, 0.6);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-content::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(139, 0, 0, 0.8);
|
||||
.mournblade-cyd2-roll-dialog .dialog-content::-webkit-scrollbar-thumb:hover {
|
||||
background: rgba(139, 69, 19, 0.8);
|
||||
}
|
||||
/* Form Groups */
|
||||
.mournblade-roll-dialog .form-group {
|
||||
margin-bottom: 8px;
|
||||
.mournblade-cyd2-roll-dialog .form-group {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.mournblade-roll-dialog .form-group label {
|
||||
display: block;
|
||||
.mournblade-cyd2-roll-dialog .form-group label {
|
||||
flex-shrink: 0;
|
||||
white-space: nowrap;
|
||||
font-weight: bold;
|
||||
color: #1a1a1a;
|
||||
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
margin-bottom: 3px;
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.mournblade-roll-dialog .form-group input,
|
||||
.mournblade-roll-dialog .form-group select {
|
||||
width: 100%;
|
||||
padding: 5px 8px;
|
||||
.mournblade-cyd2-roll-dialog .form-group input,
|
||||
.mournblade-cyd2-roll-dialog .form-group select {
|
||||
flex: 1;
|
||||
min-width: 60px;
|
||||
padding: 4px 6px;
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
border: 1px solid rgba(100, 100, 100, 0.5);
|
||||
border-radius: 3px;
|
||||
color: #1a1a1a;
|
||||
font-size: 0.95rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
font-family: CentaurMT;
|
||||
}
|
||||
.mournblade-roll-dialog .form-group input:focus,
|
||||
.mournblade-roll-dialog .form-group select:focus {
|
||||
.mournblade-cyd2-roll-dialog .form-group input:focus,
|
||||
.mournblade-cyd2-roll-dialog .form-group select:focus {
|
||||
outline: none;
|
||||
border-color: #8b0000;
|
||||
box-shadow: 0 0 5px rgba(139, 0, 0, 0.6);
|
||||
border-color: #8b4513;
|
||||
box-shadow: 0 0 5px rgba(139, 69, 19, 0.6);
|
||||
background: #ffffff;
|
||||
}
|
||||
.mournblade-roll-dialog .form-group input:disabled,
|
||||
.mournblade-roll-dialog .form-group select:disabled {
|
||||
.mournblade-cyd2-roll-dialog .form-group input:disabled,
|
||||
.mournblade-cyd2-roll-dialog .form-group select:disabled {
|
||||
opacity: 0.7;
|
||||
cursor: not-allowed;
|
||||
background: rgba(200, 200, 200, 0.9);
|
||||
color: #555;
|
||||
}
|
||||
/* Grids */
|
||||
.mournblade-roll-dialog .modifiers-grid {
|
||||
.mournblade-cyd2-roll-dialog .modifiers-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
margin-bottom: 10px;
|
||||
gap: 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
/* Sections spéciales */
|
||||
.mournblade-roll-dialog .attributes-section {
|
||||
background: rgba(139, 0, 0, 0.1);
|
||||
.mournblade-cyd2-roll-dialog .attributes-section {
|
||||
background: rgba(139, 69, 19, 0.1);
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(139, 0, 0, 0.3);
|
||||
border: 1px solid rgba(139, 69, 19, 0.3);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mournblade-roll-dialog .rune-section {
|
||||
.mournblade-cyd2-roll-dialog .rune-section {
|
||||
background: rgba(75, 0, 130, 0.1);
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(75, 0, 130, 0.3);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mournblade-roll-dialog .weapon-section {
|
||||
.mournblade-cyd2-roll-dialog .weapon-section {
|
||||
background: rgba(184, 134, 11, 0.1);
|
||||
padding: 8px;
|
||||
padding: 6px 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(184, 134, 11, 0.3);
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.mournblade-roll-dialog .weapon-info {
|
||||
.mournblade-cyd2-roll-dialog .weapon-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 5px 8px;
|
||||
padding: 4px 6px;
|
||||
background: rgba(184, 134, 11, 0.15);
|
||||
border-radius: 3px;
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.mournblade-roll-dialog .weapon-info .weapon-label {
|
||||
.mournblade-cyd2-roll-dialog .weapon-info .weapon-label {
|
||||
font-weight: bold;
|
||||
font-size: 0.9rem;
|
||||
color: #1a1a1a;
|
||||
}
|
||||
.mournblade-roll-dialog .weapon-info .weapon-bonus {
|
||||
.mournblade-cyd2-roll-dialog .weapon-info .weapon-bonus {
|
||||
font-size: 0.85rem;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .defense-info {
|
||||
.mournblade-cyd2-roll-dialog .defense-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -1549,68 +1553,76 @@ li {
|
||||
border-radius: 3px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.mournblade-roll-dialog .defense-info .defense-label {
|
||||
.mournblade-cyd2-roll-dialog .defense-info .defense-label {
|
||||
font-size: 0.85rem;
|
||||
color: #1a1a1a;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .defense-info .defense-value {
|
||||
.mournblade-cyd2-roll-dialog .defense-info .defense-value {
|
||||
font-size: 1rem;
|
||||
color: #006400;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Combat modifiers */
|
||||
.mournblade-roll-dialog .combat-modifiers,
|
||||
.mournblade-roll-dialog .ranged-combat-section {
|
||||
background: rgba(139, 0, 0, 0.1);
|
||||
padding: 8px;
|
||||
.mournblade-cyd2-roll-dialog .combat-modifiers,
|
||||
.mournblade-cyd2-roll-dialog .ranged-combat-section {
|
||||
background: rgba(139, 69, 19, 0.1);
|
||||
padding: 6px 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(139, 0, 0, 0.3);
|
||||
margin-bottom: 10px;
|
||||
border: 1px solid rgba(139, 69, 19, 0.3);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.mournblade-roll-dialog .combat-modifiers h4,
|
||||
.mournblade-roll-dialog .ranged-combat-section h4 {
|
||||
margin: 0 0 8px 0;
|
||||
.mournblade-cyd2-roll-dialog .combat-modifiers h4,
|
||||
.mournblade-cyd2-roll-dialog .ranged-combat-section h4 {
|
||||
margin: 0 0 6px 0;
|
||||
color: #2a2a2a;
|
||||
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
|
||||
font-size: 0.95rem;
|
||||
font-size: 0.9rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .modifiers-columns {
|
||||
.mournblade-cyd2-roll-dialog .modifiers-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 5px 10px;
|
||||
gap: 3px 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.mournblade-roll-dialog .checkbox-label {
|
||||
.mournblade-cyd2-roll-dialog .checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 6px;
|
||||
gap: 5px;
|
||||
padding: 3px 4px;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
transition: background 0.2s ease;
|
||||
}
|
||||
.mournblade-roll-dialog .checkbox-label:hover {
|
||||
.mournblade-cyd2-roll-dialog .checkbox-label:hover {
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
.mournblade-roll-dialog .checkbox-label input[type="checkbox"] {
|
||||
.mournblade-cyd2-roll-dialog .checkbox-label input[type="checkbox"] {
|
||||
width: auto;
|
||||
margin: 0;
|
||||
flex-shrink: 0;
|
||||
cursor: pointer;
|
||||
accent-color: #8b0000;
|
||||
accent-color: #8b4513;
|
||||
}
|
||||
.mournblade-roll-dialog .checkbox-label span {
|
||||
.mournblade-cyd2-roll-dialog .checkbox-label span {
|
||||
color: #1a1a1a;
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.82rem;
|
||||
user-select: none;
|
||||
text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
line-height: 1.2;
|
||||
}
|
||||
.mournblade-roll-dialog .checkbox-label.highlight {
|
||||
.mournblade-cyd2-roll-dialog .checkbox-label.highlight {
|
||||
background: rgba(255, 215, 0, 0.15);
|
||||
border: 1px solid rgba(255, 215, 0, 0.4);
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .info-message {
|
||||
/* Ranged combat: 1-column grid for selects (long labels) */
|
||||
.mournblade-cyd2-roll-dialog .ranged-combat-section .modifiers-grid {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 4px;
|
||||
}
|
||||
.mournblade-cyd2-roll-dialog .info-message {
|
||||
padding: 6px 10px;
|
||||
background: rgba(33, 150, 243, 0.1);
|
||||
border-left: 3px solid rgba(33, 150, 243, 0.6);
|
||||
@@ -1620,19 +1632,19 @@ li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
/* Malus section */
|
||||
.mournblade-roll-dialog .malus-section {
|
||||
.mournblade-cyd2-roll-dialog .malus-section {
|
||||
background: rgba(100, 100, 100, 0.1);
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(100, 100, 100, 0.3);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mournblade-roll-dialog .malus-grid {
|
||||
.mournblade-cyd2-roll-dialog .malus-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
.mournblade-roll-dialog .malus-item {
|
||||
.mournblade-cyd2-roll-dialog .malus-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -1640,51 +1652,53 @@ li {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.mournblade-roll-dialog .malus-item .malus-label {
|
||||
.mournblade-cyd2-roll-dialog .malus-item .malus-label {
|
||||
font-size: 0.85rem;
|
||||
color: #2a2a2a;
|
||||
font-weight: 500;
|
||||
}
|
||||
.mournblade-roll-dialog .malus-item .malus-value {
|
||||
.mournblade-cyd2-roll-dialog .malus-item .malus-value {
|
||||
font-size: 0.95rem;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* Registered modifiers */
|
||||
.mournblade-roll-dialog .registered-modifiers {
|
||||
.mournblade-cyd2-roll-dialog .registered-modifiers {
|
||||
background: rgba(75, 0, 130, 0.1);
|
||||
padding: 8px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(75, 0, 130, 0.3);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.mournblade-roll-dialog .registered-modifiers h4 {
|
||||
.mournblade-cyd2-roll-dialog .registered-modifiers h4 {
|
||||
margin: 0 0 6px 0;
|
||||
color: #2a2a2a;
|
||||
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
|
||||
font-size: 0.9rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-roll-dialog .registered-modifiers h4 i {
|
||||
.mournblade-cyd2-roll-dialog .registered-modifiers h4 i {
|
||||
margin-right: 6px;
|
||||
color: #4b0082;
|
||||
}
|
||||
.mournblade-roll-dialog .modifier-item {
|
||||
.mournblade-cyd2-roll-dialog .modifier-item {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
/* Special option */
|
||||
.mournblade-roll-dialog .special-option {
|
||||
.mournblade-cyd2-roll-dialog .special-option {
|
||||
margin-top: 10px;
|
||||
}
|
||||
/* Dialog buttons */
|
||||
.mournblade-roll-dialog .dialog-buttons {
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons,
|
||||
.mournblade-cyd2-roll-dialog .form-footer {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 10px;
|
||||
border-top: 2px solid rgba(139, 0, 0, 0.3);
|
||||
padding: 10px 12px 14px !important;
|
||||
border-top: 2px solid rgba(139, 69, 19, 0.3);
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-buttons button {
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button,
|
||||
.mournblade-cyd2-roll-dialog .form-footer button {
|
||||
flex: 1;
|
||||
padding: 8px 14px;
|
||||
border: none;
|
||||
@@ -1696,29 +1710,41 @@ li {
|
||||
font-family: Charlemagne;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="rolld10"],
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="rolld20"] {
|
||||
background: linear-gradient(135deg, #8b0000 0%, #6d0808 100%);
|
||||
color: #f5f5f5;
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="rolld10"],
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="rolld20"],
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="rolld10"],
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="rolld20"] {
|
||||
background: rgba(100, 100, 100, 0.3) !important;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="rolld10"]:hover,
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="rolld20"]:hover {
|
||||
background: linear-gradient(135deg, #a00000 0%, #8b0000 100%);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 8px rgba(139, 0, 0, 0.5);
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="rolld10"]:hover,
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="rolld20"]:hover,
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="rolld10"]:hover,
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="rolld20"]:hover {
|
||||
background: rgba(100, 100, 100, 0.5) !important;
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="cancel"] {
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="cancel"],
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="cancel"] {
|
||||
background: rgba(100, 100, 100, 0.3);
|
||||
color: #2a2a2a;
|
||||
}
|
||||
.mournblade-roll-dialog .dialog-buttons button[data-action="cancel"]:hover {
|
||||
.mournblade-cyd2-roll-dialog .dialog-buttons button[data-action="cancel"]:hover,
|
||||
.mournblade-cyd2-roll-dialog .form-footer button[data-action="cancel"]:hover {
|
||||
background: rgba(100, 100, 100, 0.5);
|
||||
}
|
||||
/* Affichage d'une valeur non-éditable dans le dialog */
|
||||
.mournblade-cyd2-roll-dialog .field-value {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
color: #8b4513;
|
||||
font-size: 0.95rem;
|
||||
padding: 0 4px;
|
||||
}
|
||||
/* ==================== Sheet Mode Toggle Button ==================== */
|
||||
.sheet-mode-toggle {
|
||||
background: linear-gradient(135deg, #8b0000 0%, #4a0404 100%);
|
||||
border: 1px solid #8b0000;
|
||||
background: linear-gradient(135deg, #8b4513 0%, #2a1400 100%);
|
||||
border: 1px solid #8b4513;
|
||||
border-radius: 3px;
|
||||
color: #f5f5f5;
|
||||
padding: 2px 4px;
|
||||
@@ -1733,7 +1759,7 @@ li {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.sheet-mode-toggle:hover {
|
||||
background: linear-gradient(135deg, #a00000 0%, #5a0505 100%);
|
||||
background: linear-gradient(135deg, #a06010 0%, #4a2200 100%);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
@@ -1743,15 +1769,15 @@ li {
|
||||
}
|
||||
/* ==================== Chat Message Styles ==================== */
|
||||
.mournblade-chat-result {
|
||||
background: linear-gradient(135deg, rgba(74, 4, 4, 0.2) 0%, rgba(139, 0, 0, 0.15) 100%);
|
||||
border: 2px solid #8b0000;
|
||||
background: linear-gradient(135deg, rgba(42, 20, 0, 0.2) 0%, rgba(139, 69, 19, 0.15) 100%);
|
||||
border: 2px solid #8b4513;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
font-family: CentaurMT, serif;
|
||||
}
|
||||
.mournblade-chat-result .chat-result-header {
|
||||
background: linear-gradient(135deg, #4a0404 0%, #2a0202 100%);
|
||||
border-bottom: 2px solid #8b0000;
|
||||
background: linear-gradient(135deg, #2a1400 0%, #2a0202 100%);
|
||||
border-bottom: 2px solid #8b4513;
|
||||
padding: 8px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1761,7 +1787,7 @@ li {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8b0000;
|
||||
border: 1px solid #8b4513;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -1786,7 +1812,7 @@ li {
|
||||
.mournblade-chat-result .result-main {
|
||||
background: rgba(255, 250, 240, 0.9);
|
||||
padding: 4px 8px;
|
||||
border-bottom: 1px solid rgba(139, 0, 0, 0.3);
|
||||
border-bottom: 1px solid rgba(139, 69, 19, 0.3);
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-display {
|
||||
display: flex;
|
||||
@@ -1803,12 +1829,12 @@ li {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
padding: 4px 6px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(139, 0, 0, 0.2);
|
||||
border: 1px solid rgba(139, 69, 19, 0.2);
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-display .dice-result i,
|
||||
.mournblade-chat-result .result-main .result-display .total-result i,
|
||||
.mournblade-chat-result .result-main .result-display .difficulty i {
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
font-size: 1rem;
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
@@ -1829,7 +1855,7 @@ li {
|
||||
.mournblade-chat-result .result-main .result-display .total-result .difficulty-value,
|
||||
.mournblade-chat-result .result-main .result-display .difficulty .difficulty-value {
|
||||
font-size: 1.5rem;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
|
||||
font-weight: bold;
|
||||
line-height: 1.2;
|
||||
@@ -1841,11 +1867,27 @@ li {
|
||||
.mournblade-chat-result .result-main .result-display .total-result .difficulty-label,
|
||||
.mournblade-chat-result .result-main .result-display .difficulty .difficulty-label {
|
||||
font-size: 0.75rem;
|
||||
color: #4a0404;
|
||||
color: #2a1400;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
line-height: 1.1;
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-display .d20-impair {
|
||||
flex: 2;
|
||||
background: rgba(180, 60, 0, 0.12);
|
||||
border-color: rgba(180, 60, 0, 0.4);
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-display .d20-impair i {
|
||||
color: #b03000;
|
||||
display: inline;
|
||||
margin-right: 4px;
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-display .d20-impair .dice-value {
|
||||
display: inline;
|
||||
font-size: 0.85rem;
|
||||
color: #b03000;
|
||||
font-weight: bold;
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-badge-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -1874,7 +1916,7 @@ li {
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
.mournblade-chat-result .result-main .result-badge-container .result-badge.failure {
|
||||
background: linear-gradient(135deg, #8b0000 0%, #4a0404 100%);
|
||||
background: linear-gradient(135deg, #8b4513 0%, #2a1400 100%);
|
||||
color: white;
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
@@ -1902,7 +1944,7 @@ li {
|
||||
}
|
||||
.mournblade-chat-result .result-details .details-section .detail-row.bonus {
|
||||
background: rgba(255, 200, 200, 0.6);
|
||||
border: 1px solid rgba(139, 0, 0, 0.5);
|
||||
border: 1px solid rgba(139, 69, 19, 0.5);
|
||||
}
|
||||
.mournblade-chat-result .result-details .details-section .detail-row.malus {
|
||||
background: rgba(255, 180, 180, 0.6);
|
||||
@@ -1923,13 +1965,13 @@ li {
|
||||
.mournblade-chat-result .result-effects {
|
||||
padding: 8px;
|
||||
background: rgba(255, 230, 230, 0.4);
|
||||
border-top: 1px solid rgba(139, 0, 0, 0.3);
|
||||
border-top: 1px solid rgba(139, 69, 19, 0.3);
|
||||
}
|
||||
.mournblade-chat-result .result-effects .effect-item {
|
||||
padding: 5px 8px;
|
||||
margin-bottom: 5px;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border-left: 3px solid #8b0000;
|
||||
border-left: 3px solid #8b4513;
|
||||
border-radius: 3px;
|
||||
color: #000000;
|
||||
font-size: 0.85rem;
|
||||
@@ -1940,7 +1982,7 @@ li {
|
||||
}
|
||||
.mournblade-chat-result .result-effects .effect-item i {
|
||||
margin-right: 6px;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
}
|
||||
.mournblade-chat-result .result-effects .effect-item:last-child {
|
||||
margin-bottom: 0;
|
||||
@@ -1975,8 +2017,8 @@ li {
|
||||
width: 100%;
|
||||
}
|
||||
.mournblade-chat-result .chat-card-button {
|
||||
background: linear-gradient(135deg, #8b0000 0%, #4a0404 100%);
|
||||
border: 1px solid #8b0000;
|
||||
background: linear-gradient(135deg, #8b4513 0%, #2a1400 100%);
|
||||
border: 1px solid #8b4513;
|
||||
border-radius: 3px;
|
||||
color: #f5f5f5;
|
||||
padding: 6px 12px;
|
||||
@@ -1990,7 +2032,7 @@ li {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.mournblade-chat-result .chat-card-button:hover {
|
||||
background: linear-gradient(135deg, #a00000 0%, #5a0505 100%);
|
||||
background: linear-gradient(135deg, #a06010 0%, #4a2200 100%);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
@@ -2001,12 +2043,103 @@ li {
|
||||
.mournblade-chat-result .chat-card-button.predilection-reroll:hover {
|
||||
background: linear-gradient(135deg, #5b1092 0%, #3d005d 100%);
|
||||
}
|
||||
/* Tag non-létaux dans les messages de dégâts */
|
||||
.mournblade-chat-result .non-lethal-tag {
|
||||
font-size: 0.8rem;
|
||||
color: #888;
|
||||
font-style: italic;
|
||||
margin-left: 4px;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
/* Welcome Message Styling */
|
||||
.mournblade-post-item {
|
||||
background: linear-gradient(135deg, rgba(42, 20, 0, 0.15) 0%, rgba(139, 69, 19, 0.1) 100%);
|
||||
border: 2px solid #8b4513;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
font-family: CentaurMT, serif;
|
||||
margin: 4px 0;
|
||||
}
|
||||
.mournblade-post-item .post-item-header {
|
||||
background: linear-gradient(135deg, #2a1400 0%, #3a1800 100%);
|
||||
border-bottom: 2px solid #8b4513;
|
||||
padding: 8px 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
.mournblade-post-item .post-item-header .post-item-img {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #8b4513;
|
||||
object-fit: cover;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.mournblade-post-item .post-item-header .post-item-title {
|
||||
flex: 1;
|
||||
}
|
||||
.mournblade-post-item .post-item-header .post-item-title .post-item-name {
|
||||
margin: 0 0 2px 0;
|
||||
color: #ffd700;
|
||||
font-size: 1.1rem;
|
||||
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
|
||||
line-height: 1.2;
|
||||
}
|
||||
.mournblade-post-item .post-item-header .post-item-title .post-item-type {
|
||||
font-size: 0.75rem;
|
||||
color: #f5e6d3;
|
||||
font-style: italic;
|
||||
opacity: 0.8;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.mournblade-post-item .post-item-stats {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px;
|
||||
padding: 6px 8px;
|
||||
background: rgba(139, 69, 19, 0.08);
|
||||
border-bottom: 1px solid rgba(139, 69, 19, 0.3);
|
||||
}
|
||||
.mournblade-post-item .post-item-stats .post-stat {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
border: 1px solid rgba(139, 69, 19, 0.4);
|
||||
border-radius: 3px;
|
||||
padding: 2px 6px;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.mournblade-post-item .post-item-stats .post-stat.post-stat-full {
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
.mournblade-post-item .post-item-stats .post-stat .stat-label {
|
||||
color: #8b4513;
|
||||
font-weight: bold;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
.mournblade-post-item .post-item-stats .post-stat .stat-value {
|
||||
color: #2a1400;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
.mournblade-post-item .post-item-description {
|
||||
padding: 8px 10px;
|
||||
color: #2a1400;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.4;
|
||||
background: rgba(245, 230, 211, 0.85);
|
||||
}
|
||||
.mournblade-post-item .post-item-description p {
|
||||
margin: 4px 0;
|
||||
}
|
||||
.mournblade-post-item .post-item-description em,
|
||||
.mournblade-post-item .post-item-description i {
|
||||
color: #5a2d00;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
.mournblade-welcome-message {
|
||||
background: linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(74, 4, 4, 0.2) 100%);
|
||||
border: 2px solid #8b0000;
|
||||
background: linear-gradient(135deg, rgba(139, 69, 19, 0.15) 0%, rgba(42, 20, 0, 0.2) 100%);
|
||||
border: 2px solid #8b4513;
|
||||
border-radius: 8px;
|
||||
padding: 0;
|
||||
margin: 8px 0;
|
||||
@@ -2015,7 +2148,7 @@ li {
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
.mournblade-welcome-message .welcome-header {
|
||||
background: linear-gradient(135deg, #8b0000 0%, #4a0404 100%);
|
||||
background: linear-gradient(135deg, #8b4513 0%, #2a1400 100%);
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
border-bottom: 2px solid #ffd700;
|
||||
@@ -2054,7 +2187,7 @@ li {
|
||||
margin-bottom: 10px;
|
||||
padding: 8px;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
border-left: 4px solid #8b0000;
|
||||
border-left: 4px solid #8b4513;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.mournblade-welcome-message .welcome-content .welcome-section:last-child {
|
||||
@@ -2063,7 +2196,7 @@ li {
|
||||
.mournblade-welcome-message .welcome-content .welcome-section .section-icon {
|
||||
flex-shrink: 0;
|
||||
font-size: 1.3rem;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
width: 28px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -2073,7 +2206,7 @@ li {
|
||||
}
|
||||
.mournblade-welcome-message .welcome-content .welcome-section .section-text strong {
|
||||
display: block;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 2px;
|
||||
line-height: 1.2;
|
||||
@@ -2086,7 +2219,7 @@ li {
|
||||
.mournblade-welcome-message .welcome-content .welcome-section .section-text .welcome-link {
|
||||
display: inline-block;
|
||||
margin-top: 4px;
|
||||
color: #8b0000;
|
||||
color: #8b4513;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
transition: all 0.2s;
|
||||
@@ -2096,12 +2229,12 @@ li {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.mournblade-welcome-message .welcome-content .welcome-section .section-text .welcome-link:hover {
|
||||
color: #a00000;
|
||||
text-shadow: 0 0 4px rgba(139, 0, 0, 0.3);
|
||||
color: #a06010;
|
||||
text-shadow: 0 0 4px rgba(139, 69, 19, 0.3);
|
||||
transform: translateX(2px);
|
||||
}
|
||||
.mournblade-welcome-message .welcome-footer {
|
||||
background: linear-gradient(135deg, #4a0404 0%, #8b0000 100%);
|
||||
background: linear-gradient(135deg, #2a1400 0%, #8b4513 100%);
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
color: #ffd700;
|
||||
@@ -2710,6 +2843,36 @@ li {
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .sheet-box {
|
||||
height: auto;
|
||||
}
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content {
|
||||
color: #2a1a0a !important;
|
||||
background: rgba(255, 250, 240, 0.92);
|
||||
border-radius: 3px;
|
||||
padding: 0.4rem 0.5rem;
|
||||
min-height: 6rem;
|
||||
}
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content p,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content p,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content ul,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content ul,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content ol,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content ol,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content li,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content li,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content h1,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content h1,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content h2,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content h2,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content h3,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content h3,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror .editor-content h4,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror .editor-content h4 {
|
||||
color: #2a1a0a !important;
|
||||
}
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab prose-mirror:not(.inactive) .editor-content,
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .tab .editor prose-mirror:not(.inactive) .editor-content {
|
||||
background: rgba(255, 252, 245, 0.98);
|
||||
}
|
||||
.fvtt-mournblade-cyd-2-0.actor .sheet-body .compact-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
||||
Reference in New Issue
Block a user