- Expand locked item spell selection to include weapon skills, magic skills, and defenses - Preserve locked slot configuration when selecting different suits - Add clear button (x) to individual equipment slots for granular control - Add suit summary section below equipment slots with copy-to-clipboard functionality Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1532 lines
No EOL
27 KiB
CSS
1532 lines
No EOL
27 KiB
CSS
/* Suitbuilder CSS - Three-Panel Layout with Equipment Slots */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: #f5f5f5;
|
|
color: #333;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.suitbuilder-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Header */
|
|
.suitbuilder-header {
|
|
background: linear-gradient(135deg, #1e3a8a, #3b82f6);
|
|
color: white;
|
|
padding: 1rem 2rem;
|
|
text-align: center;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.suitbuilder-header h1 {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.suitbuilder-header p {
|
|
font-size: 1.1rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Main Content - Three Panel Layout */
|
|
.main-content {
|
|
display: flex;
|
|
flex: 1;
|
|
min-height: calc(100vh - 120px);
|
|
gap: 1px;
|
|
}
|
|
|
|
/* Panel Base Styles */
|
|
.characters-panel,
|
|
.constraints-panel,
|
|
.slots-panel {
|
|
background: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.characters-panel {
|
|
flex: 0 0 15%;
|
|
min-width: 200px;
|
|
border-right: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.constraints-panel {
|
|
flex: 0 0 55%;
|
|
border-right: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.slots-panel {
|
|
flex: 0 0 30%;
|
|
min-width: 350px;
|
|
}
|
|
|
|
/* Panel Headers */
|
|
.panel-header {
|
|
background: #f8fafc;
|
|
padding: 1rem;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
}
|
|
|
|
.panel-header h3 {
|
|
font-size: 1.2rem;
|
|
color: #1f2937;
|
|
margin: 0;
|
|
}
|
|
|
|
.results-count {
|
|
font-size: 0.9rem;
|
|
color: #6b7280;
|
|
font-weight: normal;
|
|
}
|
|
|
|
/* Character Selection Panel */
|
|
.character-selection {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.character-list {
|
|
margin-top: 0.5rem;
|
|
max-height: calc(100vh - 250px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.checkbox-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 0.5rem;
|
|
padding: 0.25rem;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.checkbox-item:hover {
|
|
background-color: #f3f4f6;
|
|
}
|
|
|
|
.checkbox-item input[type="checkbox"] {
|
|
margin-right: 0.5rem;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.checkbox-item label {
|
|
cursor: pointer;
|
|
flex: 1;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Constraints Panel */
|
|
.constraints-form {
|
|
padding: 1rem;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.constraint-section {
|
|
margin-bottom: 1.5rem;
|
|
padding: 1rem;
|
|
background: #f9fafb;
|
|
border-radius: 6px;
|
|
border: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.constraint-section h4 {
|
|
font-size: 1rem;
|
|
color: #374151;
|
|
margin-bottom: 0.75rem;
|
|
border-bottom: 1px solid #d1d5db;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.filter-row {
|
|
display: flex;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
flex: 1;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.filter-group label {
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
color: #374151;
|
|
min-width: 80px;
|
|
}
|
|
|
|
.filter-group input[type="number"] {
|
|
width: 70px;
|
|
padding: 0.375rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.filter-group select {
|
|
flex: 1;
|
|
padding: 0.375rem;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
background: white;
|
|
}
|
|
|
|
/* Cantrips Grid */
|
|
.cantrips-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.cantrips-grid .checkbox-item {
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
/* Action Buttons */
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.btn {
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
display: inline-block;
|
|
text-align: center;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: #3b82f6;
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: #2563eb;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #6b7280;
|
|
color: white;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #4b5563;
|
|
}
|
|
|
|
/* Results Section */
|
|
.results-section {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.suit-results {
|
|
flex: 1;
|
|
padding: 1rem;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.no-results {
|
|
text-align: center;
|
|
color: #6b7280;
|
|
font-style: italic;
|
|
padding: 2rem;
|
|
background: #f9fafb;
|
|
border-radius: 6px;
|
|
border: 1px dashed #d1d5db;
|
|
}
|
|
|
|
.suit-item {
|
|
background: white;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 6px;
|
|
margin-bottom: 1rem;
|
|
padding: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.suit-item:hover {
|
|
border-color: #3b82f6;
|
|
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
|
|
}
|
|
|
|
.suit-item.selected {
|
|
border-color: #3b82f6;
|
|
background: #eff6ff;
|
|
}
|
|
|
|
.suit-header {
|
|
display: flex;
|
|
justify-content: between;
|
|
align-items: center;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.suit-score {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.suit-score.excellent { color: #059669; }
|
|
.suit-score.good { color: #3b82f6; }
|
|
.suit-score.fair { color: #f59e0b; }
|
|
.suit-score.poor { color: #ef4444; }
|
|
|
|
.suit-items {
|
|
font-size: 0.9rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.suit-item-entry {
|
|
margin-bottom: 0.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.item-character {
|
|
font-weight: 600;
|
|
color: #1f2937;
|
|
}
|
|
|
|
.item-name {
|
|
color: #374151;
|
|
}
|
|
|
|
.item-properties {
|
|
color: #6b7280;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.need-reducing {
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
padding: 0.125rem 0.375rem;
|
|
border-radius: 4px;
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
border: 1px solid #fecaca;
|
|
}
|
|
|
|
/* Constraint Analysis Display */
|
|
.missing-items {
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
margin-top: 0.75rem;
|
|
border: 1px solid #fecaca;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.missing-items:before {
|
|
content: "⚠️ Missing: ";
|
|
font-weight: 600;
|
|
}
|
|
|
|
.suit-notes {
|
|
background: #f0f9ff;
|
|
color: #1e40af;
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: 6px;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
margin-top: 0.5rem;
|
|
border: 1px solid #bfdbfe;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.suit-notes:before {
|
|
content: "✓ ";
|
|
font-weight: 600;
|
|
color: #059669;
|
|
}
|
|
|
|
/* Equipment Slots Panel */
|
|
.slots-panel {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.slot-category {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.slot-category h4 {
|
|
font-size: 1rem;
|
|
color: #374151;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
}
|
|
|
|
/* Slots Grid */
|
|
.slots-grid {
|
|
display: grid;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.armor-slots {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.jewelry-slots {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.clothing-slots {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
/* Individual Slot Items */
|
|
.slot-item {
|
|
background: white;
|
|
border: 2px solid #e5e7eb;
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
min-height: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: all 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.slot-item:hover {
|
|
border-color: #d1d5db;
|
|
}
|
|
|
|
.slot-item.locked {
|
|
border-color: #dc2626;
|
|
background: #fef2f2;
|
|
}
|
|
|
|
.slot-item.populated {
|
|
border-color: #059669;
|
|
background: #f0fdf4;
|
|
}
|
|
|
|
.slot-header {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: #6b7280;
|
|
margin-bottom: 0.5rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.slot-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.empty-slot {
|
|
color: #9ca3af;
|
|
font-style: italic;
|
|
}
|
|
|
|
.slot-item-name {
|
|
font-weight: 500;
|
|
color: #1f2937;
|
|
margin-bottom: 0.25rem;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.slot-item-character {
|
|
font-size: 0.7rem;
|
|
color: #6b7280;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.slot-item-properties {
|
|
font-size: 0.65rem;
|
|
color: #9ca3af;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.slot-controls {
|
|
position: absolute;
|
|
top: 0.25rem;
|
|
right: 0.25rem;
|
|
}
|
|
|
|
.lock-btn {
|
|
background: none;
|
|
border: none;
|
|
font-size: 0.8rem;
|
|
cursor: pointer;
|
|
padding: 0.25rem;
|
|
border-radius: 3px;
|
|
opacity: 0.5;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.lock-btn:hover {
|
|
opacity: 1;
|
|
background: #f3f4f6;
|
|
}
|
|
|
|
.lock-btn.locked {
|
|
opacity: 1;
|
|
background: #fef2f2;
|
|
}
|
|
|
|
/* Slot Controls Section */
|
|
.slot-controls-section {
|
|
padding-top: 1rem;
|
|
border-top: 1px solid #e5e7eb;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.slot-controls-section .btn {
|
|
font-size: 0.8rem;
|
|
padding: 0.5rem 1rem;
|
|
flex: 1;
|
|
min-width: 100px;
|
|
}
|
|
|
|
/* Loading States - See Progressive Search Styles section below */
|
|
|
|
/* Error States */
|
|
.error {
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
padding: 1rem;
|
|
border-radius: 6px;
|
|
border: 1px solid #fecaca;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1200px) {
|
|
.main-content {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.characters-panel,
|
|
.constraints-panel,
|
|
.slots-panel {
|
|
flex: none;
|
|
min-height: auto;
|
|
}
|
|
|
|
.slots-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.suitbuilder-header h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.filter-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.filter-group {
|
|
min-width: auto;
|
|
}
|
|
|
|
.cantrips-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.slots-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Suit Results Styling */
|
|
.suit-stats {
|
|
padding: 8px 12px;
|
|
background: #444;
|
|
border-bottom: 1px solid #555;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.suit-stats-line {
|
|
font-size: 12px;
|
|
color: #ccc;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.suit-notes {
|
|
margin-top: 8px;
|
|
padding: 6px;
|
|
background: #e8f5e8;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
color: #2d5016;
|
|
border-left: 3px solid #4caf50;
|
|
}
|
|
|
|
.missing-items {
|
|
margin-top: 8px;
|
|
padding: 6px;
|
|
background: #ffeaea;
|
|
border-radius: 3px;
|
|
font-size: 11px;
|
|
color: #c62828;
|
|
border-left: 3px solid #f44336;
|
|
}
|
|
|
|
.no-items {
|
|
color: #999;
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.suit-item-entry {
|
|
margin-bottom: 4px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.item-character {
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.item-name {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.item-properties {
|
|
color: #888;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.need-reducing {
|
|
color: #ff6b35;
|
|
font-weight: bold;
|
|
font-size: 10px;
|
|
background: #fff3e0;
|
|
padding: 1px 4px;
|
|
border-radius: 2px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* Ratings display */
|
|
.item-ratings {
|
|
color: #0066cc;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
background: #e6f3ff;
|
|
padding: 1px 4px;
|
|
border-radius: 2px;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
/* Empty slot styling */
|
|
.suit-item-entry.empty-slot {
|
|
opacity: 0.6;
|
|
background: #f8f9fa;
|
|
border-left: 3px solid #dee2e6;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.empty-slot-text {
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* New Column-Based Table Layout */
|
|
.suit-items-table {
|
|
width: 100%;
|
|
font-size: 12px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.suit-items-header {
|
|
display: grid;
|
|
grid-template-columns: 80px 120px 250px 140px 250px 60px 120px;
|
|
gap: 8px;
|
|
background: #2c3e50;
|
|
color: white;
|
|
padding: 8px 4px;
|
|
font-weight: 600;
|
|
font-size: 11px;
|
|
border-radius: 4px 4px 0 0;
|
|
}
|
|
|
|
.suit-items-header > div {
|
|
color: white !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.suit-items-body {
|
|
background: #f8f9fa;
|
|
border: 1px solid #dee2e6;
|
|
border-top: none;
|
|
border-radius: 0 0 4px 4px;
|
|
}
|
|
|
|
.suit-item-row {
|
|
display: grid;
|
|
grid-template-columns: 80px 120px 250px 140px 250px 60px 120px;
|
|
gap: 8px;
|
|
padding: 6px 4px;
|
|
border-bottom: 1px solid #e9ecef;
|
|
align-items: center;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.suit-item-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.suit-item-row:nth-child(even) {
|
|
background: #ffffff;
|
|
}
|
|
|
|
.suit-item-row.empty-slot {
|
|
opacity: 0.5;
|
|
color: #6c757d;
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Column styling */
|
|
.col-slot {
|
|
font-weight: 600;
|
|
color: #495057;
|
|
}
|
|
|
|
.col-character {
|
|
color: #666;
|
|
font-weight: 500;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.col-item {
|
|
color: #333;
|
|
font-weight: bold;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.col-set {
|
|
font-weight: 600;
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.suit-items-body .col-set {
|
|
color: #1f2937;
|
|
background: #f3f4f6;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.col-spells {
|
|
color: #7c3aed;
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.col-armor {
|
|
color: #059669;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.col-ratings {
|
|
color: #0066cc;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.need-reducing {
|
|
color: #dc2626;
|
|
font-weight: bold;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
/* Responsive adjustments for table */
|
|
@media (max-width: 1200px) {
|
|
.suit-items-header,
|
|
.suit-item-row {
|
|
grid-template-columns: 70px 100px 200px 120px 200px 50px 100px;
|
|
gap: 6px;
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.suit-items-header,
|
|
.suit-item-row {
|
|
grid-template-columns: 60px 80px 150px 100px 150px 40px 80px;
|
|
gap: 4px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.col-spells,
|
|
.col-ratings {
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
|
|
/* Progressive Search Styles */
|
|
.loading {
|
|
padding: 20px;
|
|
text-align: center;
|
|
background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
|
|
border: 1px solid #90caf9;
|
|
border-radius: 8px;
|
|
color: #1565c8;
|
|
font-weight: 500;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.loading::before {
|
|
content: none;
|
|
}
|
|
|
|
/* Spinning search indicator */
|
|
.search-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 4px solid #bbdefb;
|
|
border-top: 4px solid #1976d2;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.search-status {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1565c8;
|
|
}
|
|
|
|
.search-progress {
|
|
margin-top: 8px;
|
|
padding: 12px 16px;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
border-radius: 6px;
|
|
border: 1px solid #90caf9;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
}
|
|
|
|
.progress-stats {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.stat-item {
|
|
font-size: 13px;
|
|
color: #424242;
|
|
}
|
|
|
|
.stat-value {
|
|
font-family: 'Courier New', monospace;
|
|
font-weight: bold;
|
|
color: #1565c8;
|
|
}
|
|
|
|
.stop-search-btn {
|
|
background: linear-gradient(135deg, #ef5350 0%, #d32f2f 100%);
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: bold;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
|
|
}
|
|
|
|
.stop-search-btn:hover {
|
|
background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 3px 6px rgba(211, 47, 47, 0.4);
|
|
}
|
|
|
|
.stop-search-btn:active {
|
|
transform: translateY(0);
|
|
box-shadow: 0 1px 2px rgba(211, 47, 47, 0.3);
|
|
}
|
|
|
|
.search-complete {
|
|
font-size: 15px;
|
|
color: #2e7d32;
|
|
font-weight: 600;
|
|
padding: 8px;
|
|
}
|
|
|
|
#streamingResults {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
/* ========================================
|
|
ENHANCED SEARCH STATUS UI
|
|
======================================== */
|
|
|
|
/* Search Status Container - Modern Dark Design */
|
|
.search-status-container {
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
color: #eee;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Phase Indicator */
|
|
.phase-indicator {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.phase-icon {
|
|
font-size: 32px;
|
|
animation: pulse 1.5s infinite;
|
|
min-width: 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.phase-icon.complete {
|
|
animation: none;
|
|
}
|
|
|
|
.phase-icon.searching {
|
|
animation: searchPulse 0.8s infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { transform: scale(1); opacity: 1; }
|
|
50% { transform: scale(1.1); opacity: 0.8; }
|
|
}
|
|
|
|
@keyframes searchPulse {
|
|
0%, 100% { transform: scale(1) rotate(0deg); }
|
|
25% { transform: scale(1.1) rotate(-5deg); }
|
|
75% { transform: scale(1.1) rotate(5deg); }
|
|
}
|
|
|
|
.phase-text {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #4fc3f7;
|
|
}
|
|
|
|
.phase-text.complete {
|
|
color: #66bb6a;
|
|
}
|
|
|
|
/* Progress Bars */
|
|
.progress-bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.progress-bar-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.progress-bar-container label {
|
|
font-size: 11px;
|
|
color: #888;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 8px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
border-radius: 4px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.phase-progress {
|
|
background: linear-gradient(90deg, #4fc3f7, #29b6f6);
|
|
}
|
|
|
|
.bucket-progress {
|
|
background: linear-gradient(90deg, #66bb6a, #43a047);
|
|
}
|
|
|
|
.progress-fill.indeterminate {
|
|
width: 30% !important;
|
|
animation: indeterminate 1.5s infinite linear;
|
|
}
|
|
|
|
@keyframes indeterminate {
|
|
0% { transform: translateX(-100%); }
|
|
100% { transform: translateX(400%); }
|
|
}
|
|
|
|
.progress-label {
|
|
font-size: 11px;
|
|
color: #aaa;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
/* Stats Grid */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
text-align: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
transition: transform 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(79, 195, 247, 0.3);
|
|
}
|
|
|
|
.stat-card.highlight {
|
|
background: rgba(79, 195, 247, 0.15);
|
|
border-color: rgba(79, 195, 247, 0.3);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 11px;
|
|
color: #888;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.search-status-container .stat-value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #fff;
|
|
font-family: 'Courier New', monospace;
|
|
}
|
|
|
|
.stat-card.highlight .stat-value {
|
|
color: #4fc3f7;
|
|
}
|
|
|
|
.stat-unit {
|
|
font-size: 10px;
|
|
color: #666;
|
|
}
|
|
|
|
/* Verbose Log */
|
|
.verbose-log-section {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.verbose-log-section summary {
|
|
cursor: pointer;
|
|
padding: 8px 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
color: #aaa;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
user-select: none;
|
|
}
|
|
|
|
.verbose-log-section summary:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.verbose-log-section summary::marker {
|
|
color: #4fc3f7;
|
|
}
|
|
|
|
.log-count {
|
|
background: rgba(79, 195, 247, 0.2);
|
|
color: #4fc3f7;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 11px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.verbose-log {
|
|
max-height: 200px;
|
|
overflow-y: auto;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 6px;
|
|
padding: 8px;
|
|
margin-top: 8px;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.log-entry {
|
|
padding: 2px 4px;
|
|
border-radius: 2px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.log-entry .log-time {
|
|
color: #666;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.log-info .log-message { color: #aaa; }
|
|
.log-debug .log-message { color: #888; }
|
|
.log-success .log-message { color: #66bb6a; }
|
|
.log-warning .log-message { color: #ffa726; }
|
|
.log-phase { background: rgba(79, 195, 247, 0.1); }
|
|
.log-phase .log-message { color: #4fc3f7; }
|
|
|
|
/* Enhanced Stop Button for new container */
|
|
.search-status-container .stop-search-btn {
|
|
width: 100%;
|
|
padding: 12px 24px;
|
|
background: linear-gradient(135deg, #e53935, #c62828);
|
|
border: none;
|
|
border-radius: 8px;
|
|
color: white;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
|
|
}
|
|
|
|
.search-status-container .stop-search-btn:hover {
|
|
background: linear-gradient(135deg, #c62828, #b71c1c);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 16px rgba(198, 40, 40, 0.4);
|
|
}
|
|
|
|
.search-status-container .stop-search-btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.stop-icon {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.search-status-container {
|
|
padding: 16px;
|
|
}
|
|
|
|
.phase-icon {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.phase-text {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/* ========================================
|
|
SLOT LOCK FORM & LOCKED DISPLAY
|
|
======================================== */
|
|
|
|
/* Slot configuring state */
|
|
.slot-item.configuring {
|
|
border-color: #4fc3f7 !important;
|
|
background: rgba(79, 195, 247, 0.1) !important;
|
|
}
|
|
|
|
/* Lock Form */
|
|
.lock-form {
|
|
padding: 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.lock-form-header {
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 6px;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.lock-form-set {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.lock-form-set label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: #666;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.lock-set-select {
|
|
width: 100%;
|
|
padding: 6px 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
background: white;
|
|
}
|
|
|
|
.lock-form-spells {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.lock-form-spells > label {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: #666;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.lock-spell-checkboxes {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 4px;
|
|
max-height: 150px;
|
|
overflow-y: auto;
|
|
padding: 4px;
|
|
background: #f8f8f8;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.lock-spell-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 10px;
|
|
padding: 2px 4px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lock-spell-checkbox:hover {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.lock-spell-checkbox input {
|
|
margin: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.lock-spell-checkbox span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.lock-form-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.lock-save-btn,
|
|
.lock-cancel-btn {
|
|
flex: 1;
|
|
padding: 6px 12px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.lock-save-btn {
|
|
background: linear-gradient(135deg, #e53935, #c62828);
|
|
color: white;
|
|
}
|
|
|
|
.lock-save-btn:hover {
|
|
background: linear-gradient(135deg, #c62828, #b71c1c);
|
|
}
|
|
|
|
.lock-cancel-btn {
|
|
background: #e0e0e0;
|
|
color: #333;
|
|
}
|
|
|
|
.lock-cancel-btn:hover {
|
|
background: #d0d0d0;
|
|
}
|
|
|
|
/* Locked Slot Display */
|
|
.locked-slot-info {
|
|
padding: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.locked-header {
|
|
font-weight: 600;
|
|
color: #c62828;
|
|
margin-bottom: 8px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.locked-set-badge {
|
|
display: inline-block;
|
|
background: linear-gradient(135deg, #7b1fa2, #512da8);
|
|
color: white;
|
|
padding: 4px 12px;
|
|
border-radius: 12px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.locked-spells {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
justify-content: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.locked-spell {
|
|
display: inline-block;
|
|
background: rgba(79, 195, 247, 0.2);
|
|
color: #0277bd;
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
font-size: 9px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.locked-no-spells {
|
|
font-size: 10px;
|
|
color: #999;
|
|
font-style: italic;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.unlock-btn {
|
|
padding: 4px 12px;
|
|
background: #f5f5f5;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
font-size: 11px;
|
|
color: #666;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.unlock-btn:hover {
|
|
background: #e8e8e8;
|
|
border-color: #ccc;
|
|
color: #333;
|
|
}
|
|
|
|
/* Override locked slot styling for better visibility */
|
|
.slot-item.locked {
|
|
border-color: #c62828 !important;
|
|
background: linear-gradient(135deg, rgba(198, 40, 40, 0.1), rgba(198, 40, 40, 0.05)) !important;
|
|
}
|
|
|
|
.slot-item.locked .slot-header {
|
|
color: #c62828;
|
|
}
|
|
|
|
.slot-item.locked .lock-btn {
|
|
color: #c62828 !important;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
/* ========================================
|
|
CLEAR SLOT BUTTON
|
|
======================================== */
|
|
|
|
.slot-content {
|
|
position: relative;
|
|
}
|
|
|
|
.clear-slot-btn {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
background: rgba(220, 38, 38, 0.1);
|
|
border: 1px solid rgba(220, 38, 38, 0.3);
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
color: #dc2626;
|
|
opacity: 0.4;
|
|
padding: 1px 4px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.clear-slot-btn:hover {
|
|
opacity: 1;
|
|
background: rgba(220, 38, 38, 0.2);
|
|
}
|
|
|
|
/* ========================================
|
|
SUIT SUMMARY SECTION
|
|
======================================== */
|
|
|
|
.suit-summary-section {
|
|
margin-top: 15px;
|
|
padding: 12px;
|
|
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
|
|
border-radius: 8px;
|
|
border: 1px solid #2d3748;
|
|
}
|
|
|
|
.summary-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid #2d3748;
|
|
}
|
|
|
|
.summary-header h4 {
|
|
color: #4fc3f7;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
}
|
|
|
|
.copy-summary-btn {
|
|
background: rgba(79, 195, 247, 0.2);
|
|
border: 1px solid rgba(79, 195, 247, 0.3);
|
|
color: #4fc3f7;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.copy-summary-btn:hover {
|
|
background: rgba(79, 195, 247, 0.3);
|
|
}
|
|
|
|
.suit-summary-content {
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 11px;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.no-summary {
|
|
color: #666;
|
|
font-style: italic;
|
|
text-align: center;
|
|
padding: 10px;
|
|
}
|
|
|
|
.summary-line {
|
|
padding: 4px 0;
|
|
border-bottom: 1px solid #2d3748;
|
|
color: #ccc;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.summary-line:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.summary-slot {
|
|
color: #888;
|
|
min-width: 85px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.summary-item {
|
|
color: #4ecdc4;
|
|
font-weight: 600;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.summary-spells {
|
|
color: #ffe66d;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.summary-char {
|
|
color: #95a5a6;
|
|
font-size: 10px;
|
|
margin-left: auto;
|
|
} |