Files
mgt2-compendium-amiral-denisov/styles/npc.css

308 lines
4.8 KiB
CSS

/* === MGT2 PNJ & Rencontres =================================================== */
#mgt2-npc .window-content {
padding: 0;
overflow-y: auto;
background: #f5f0e8;
}
.mgt2-npc-form {
display: flex;
flex-direction: column;
background: #f5f0e8;
color: #222;
}
.mgt2-npc-form .tabs {
display: flex;
background: #2c2c3e;
border-bottom: 3px solid #c9a227;
}
.mgt2-npc-form .tabs .item {
flex: 1;
padding: 10px 8px;
text-align: center;
color: #bbb;
font-size: 0.84em;
font-weight: bold;
cursor: pointer;
border-bottom: 3px solid transparent;
margin-bottom: -3px;
}
.mgt2-npc-form .tabs .item:hover {
color: #eee;
background: rgba(255, 255, 255, 0.07);
}
.mgt2-npc-form .tabs .item.active {
color: #c9a227;
border-bottom-color: #c9a227;
background: rgba(201, 162, 39, 0.09);
}
.mgt2-npc-form .tab-content {
padding: 14px 16px 12px;
}
.mgt2-npc-form .tab {
display: none;
}
.mgt2-npc-form .tab.active {
display: block;
}
.mgt2-npc-form h3 {
margin: 0 0 12px;
color: #7a5c00;
font-size: 1em;
font-weight: bold;
border-bottom: 1px solid #c9a227;
padding-bottom: 5px;
}
.npc-intro {
margin: 0 0 10px;
color: #555;
font-size: 0.87em;
}
.mgt2-npc-form fieldset {
border: 1px solid #c9a227;
border-radius: 5px;
padding: 10px 12px 8px;
margin: 10px 0;
background: rgba(201, 162, 39, 0.04);
}
.mgt2-npc-form legend {
color: #7a5c00;
font-size: 0.78em;
font-weight: bold;
padding: 0 5px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.mgt2-npc-form .form-group {
display: flex;
flex-direction: column;
gap: 3px;
margin: 0;
}
.mgt2-npc-form .form-group-row {
display: flex;
gap: 12px;
margin-bottom: 8px;
}
.mgt2-npc-form .form-group-row .form-group {
flex: 1;
}
.mgt2-npc-form label {
font-size: 0.8em;
font-weight: bold;
color: #444;
}
.mgt2-npc-form input[type="text"],
.mgt2-npc-form select {
width: 100%;
box-sizing: border-box;
padding: 5px 7px;
font-size: 0.85em;
background: #fff;
color: #222;
border: 1px solid #bbb;
border-radius: 3px;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
height: 28px;
}
.mgt2-npc-form input[type="text"]:focus,
.mgt2-npc-form select:focus {
border-color: #c9a227;
outline: none;
box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22);
}
.mgt2-npc-form .hint {
font-weight: normal;
font-size: 0.85em;
color: #777;
}
.mgt2-npc-form input[type="checkbox"] {
accent-color: #c9a227;
width: 14px;
height: 14px;
margin: 0;
}
.checkbox-group label {
display: flex;
align-items: center;
gap: 7px;
font-size: 0.85em;
color: #333;
cursor: pointer;
}
.npc-checklist {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px 12px;
font-size: 0.84em;
color: #333;
}
.npc-checklist i {
color: #2a6a2a;
margin-right: 4px;
}
.form-footer {
display: flex;
justify-content: flex-end;
margin-top: 14px;
}
.btn-calculate {
background: #2c2c3e;
color: #c9a227;
border: 1px solid #c9a227;
border-radius: 4px;
padding: 7px 18px;
font-size: 0.85em;
font-weight: bold;
cursor: pointer;
}
.btn-calculate:hover {
background: #1a3a5c;
}
.mgt2-npc-result {
font-size: 0.85em;
color: #222;
}
.mgt2-npc-result .npc-header h3 {
color: #7a5c00;
border-bottom: 2px solid #c9a227;
padding-bottom: 4px;
margin-bottom: 8px;
font-size: 1em;
}
.npc-pill-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 8px;
}
.npc-pill {
display: inline-flex;
align-items: center;
gap: 4px;
background: #2c2c3e;
color: #c9a227;
border-radius: 999px;
padding: 3px 9px;
font-size: 0.8em;
font-weight: bold;
}
.npc-pill-muted {
background: #e7dfce;
color: #6a5422;
}
.npc-card-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
margin-bottom: 8px;
}
.npc-card-block,
.npc-section,
.npc-note,
.npc-highlight {
background: #fbf8f1;
border: 1px solid #d7ccb0;
border-radius: 5px;
padding: 8px 10px;
}
.npc-card-title,
.npc-section-title {
color: #7a5c00;
font-size: 0.78em;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 5px;
}
.npc-card-value {
font-size: 1em;
font-weight: bold;
color: #222;
}
.npc-roll-line,
.npc-inline-roll,
.npc-subline {
color: #666;
font-size: 0.8em;
}
.npc-highlight {
font-weight: bold;
color: #222;
margin-bottom: 8px;
}
.npc-section p,
.npc-note p {
margin: 4px 0;
}
.npc-table {
width: 100%;
border-collapse: collapse;
margin: 8px 0;
font-size: 0.83em;
}
.npc-table th,
.npc-table td {
border: 1px solid #d2c8b2;
padding: 5px 7px;
vertical-align: top;
}
.npc-table th {
width: 92px;
text-align: left;
background: #2c2c3e;
color: #c9a227;
}
.npc-table td {
background: #fff;
color: #222;
}
.npc-note {
color: #2a6a2a;
border-color: #a9d0a9;
background: #eef8ee;
}