added inventory service for armor and jewelry

This commit is contained in:
erik 2025-06-12 23:05:33 +00:00
parent 09a6cd4946
commit 57a2384511
13 changed files with 2630 additions and 25 deletions

View file

@ -1176,3 +1176,129 @@ body.noselect, body.noselect * {
.screen-shake {
animation: screen-shake 0.5s ease-in-out;
}
/* ---------- Heat Map Canvas Layer ---------- */
#heatmapCanvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0.85;
mix-blend-mode: screen; /* Additive blending for nice heat map effect */
}
/* Trails and dots use default positioning - no changes needed for layering */
/* Heat map toggle styling */
.heatmap-toggle {
margin: 0 0 12px;
padding: 6px 12px;
background: var(--card);
border: 1px solid var(--accent);
border-radius: 4px;
font-size: 0.9rem;
}
.heatmap-toggle input {
margin-right: 8px;
cursor: pointer;
}
.heatmap-toggle label {
cursor: pointer;
user-select: none;
}
/* Inventory search link styling */
.inventory-search-link {
margin: 0 0 12px;
padding: 8px 12px;
background: var(--card);
border: 1px solid #4a9eff;
border-radius: 4px;
text-align: center;
}
.inventory-search-link a {
color: #4a9eff;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
display: block;
cursor: pointer;
user-select: none;
transition: all 0.2s ease;
}
.inventory-search-link a:hover {
color: #fff;
background: rgba(74, 158, 255, 0.1);
border-radius: 2px;
padding: 2px 4px;
margin: -2px -4px;
}
/* Sortable column styles for inventory tables */
.sortable {
cursor: pointer;
user-select: none;
position: relative;
padding-right: 20px \!important;
}
.sortable:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.results-table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.results-table th,
.results-table td {
padding: 8px 12px;
border-bottom: 1px solid #333;
text-align: left;
}
.results-table th {
background-color: #222;
font-weight: bold;
color: #eee;
}
.results-table tr:hover {
background-color: rgba(255, 255, 255, 0.05);
}
.text-right {
text-align: right \!important;
}
.results-info {
margin-bottom: 10px;
color: #ccc;
font-size: 14px;
}
/* Spell/Cantrip column styling */
.spells-cell {
font-size: 10px;
line-height: 1.2;
max-width: 200px;
word-wrap: break-word;
vertical-align: top;
}
.legendary-cantrip {
color: #ffd700;
font-weight: bold;
}
.regular-spell {
color: #88ccff;
}