Add spells rolls and enhance CSS styling
- Add spell roll functionality to character sheets - Enhance CSS and LESS styling for better visual presentation - Update character templates and models - Remove old backup files (roll-old.mjs, roll.mjs.backup) - Improve character combat and equipment templates - Update utility functions and actor documents Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -4102,6 +4102,109 @@ i.prismrpg {
|
||||
font-family: var(--font-secondary);
|
||||
font-size: calc(var(--font-size-standard) * 1.2);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card {
|
||||
font-family: var(--font-primary);
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
|
||||
border: 1px solid rgba(0, 0, 0, 0.2);
|
||||
margin: 2px 0;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 4px 8px;
|
||||
background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
|
||||
border-bottom: 1px solid #444;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-header h3 {
|
||||
margin: 0;
|
||||
font-size: 0.95em;
|
||||
font-weight: bold;
|
||||
color: #d4af37;
|
||||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
|
||||
font-family: var(--font-secondary);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-header .item-type {
|
||||
padding: 1px 6px;
|
||||
border-radius: 10px;
|
||||
font-size: 0.65em;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
color: #fff;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
letter-spacing: 0.3px;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-image {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 6px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-image img {
|
||||
max-width: 50px;
|
||||
max-height: 50px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid rgba(212, 175, 55, 0.3);
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
||||
transition: transform 0.2s ease;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-image img:hover {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-description {
|
||||
padding: 6px 8px;
|
||||
color: #000;
|
||||
font-size: 0.8em;
|
||||
line-height: 1.3;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
||||
font-style: italic;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-details {
|
||||
padding: 6px 8px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 3px;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 2px 6px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
border-left: 2px solid rgba(212, 175, 55, 0.5);
|
||||
border-radius: 2px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail strong {
|
||||
color: #d4af37;
|
||||
margin-right: 6px;
|
||||
min-width: 90px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card .item-details .item-detail:nth-child(even) {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card.weapon-item .item-header {
|
||||
background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card.armor-item .item-header {
|
||||
background: linear-gradient(135deg, #4a5cf7 0%, #2c3e9e 100%);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card.spell-item .item-header {
|
||||
background: linear-gradient(135deg, #9b59b6 0%, #6c3483 100%);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card.skill-item .item-header {
|
||||
background: linear-gradient(135deg, #16a085 0%, #0e6655 100%);
|
||||
}
|
||||
.chat-log .message-content .prismrpg-item-chat-card.equipment-item .item-header {
|
||||
background: linear-gradient(135deg, #f39c12 0%, #b8730f 100%);
|
||||
}
|
||||
.application.dialog.prismrpg {
|
||||
color: var(--color-dark-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user