.bases-view:has(.bases-map-container) { padding: 0px; } .bases-map-container { position: relative; width: 100%; height: 100%; overflow: hidden; } .bases-map { width: 100%; height: var(--bases-map-embed-height); overflow: hidden; position: relative; } .map-view-container { width: 100%; height: 100%; display: flex; flex-direction: column; } .map-search-container { padding: 10px; background: var(--background-secondary); border-bottom: 1px solid var(--background-modifier-border); } .map-canvas-container { flex: 1; position: relative; overflow: hidden; } .map-empty-state { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--text-muted); font-style: italic; } .map-loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: var(--background-primary); display: flex; align-items: center; justify-content: center; z-index: 1000; transition: opacity 0.3s ease; } .map-loading-overlay.fade-out { opacity: 0; } .map-tooltip { position: absolute; left: var(--tooltip-x, 0); top: var(--tooltip-y, 0); padding: 8px 12px; background: var(--background-primary); color: var(--text-normal); border-radius: 4px; pointer-events: none; opacity: 0; z-index: 1000; font-size: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); max-width: 250px; transition: opacity 0.15s ease; .map-tooltip-property { display: flex; gap: 8px; margin-top: 4px; } .map-tooltip-tags { margin-top: 8px; display: flex; gap: 4px; flex-wrap: wrap; } .map-tooltip-property-label { color: var(--text-muted); font-size: 12px; } .map-tooltip-property-value { font-size: 12px; word-break: break-word; overflow-wrap: break-word; } .map-tooltip-cover-image { width: 100%; max-height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; display: block; } .map-tooltip-title { font-weight: bold; } .map-tooltip-property-container { margin-top: 8px; } } .map-tooltip.visible { opacity: 1; } .map-canvas { width: 100%; height: 100%; display: block; } .map-settings-container { .delete-btn { width: 24px; height: 24px; border: none; color: var(--text-muted); cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; line-height: 1; padding: 0; } .delete-btn:hover { color: var(--text-normal); } .spacer { flex: 1; } .draggable-setting { display: flex; align-items: center; padding: 12px; margin: 4px 0; background: var(--background-secondary); border-radius: 6px; cursor: grab; border: 1px solid var(--background-modifier-border); transition: opacity 0.2s ease, background 0.15s ease; } .draggable-setting.dragging { opacity: 0.5; } .draggable-setting.drag-over { background: var(--background-modifier-hover); } .drag-handle { margin-right: 12px; color: var(--text-muted); font-size: 16px; cursor: grab; } .tag-label { min-width: 120px; margin-right: 12px; font-weight: 500; } .color-input { width: 40px; height: 30px; border: none; border-radius: 4px; margin-right: 12px; cursor: pointer; padding: 0; } .color-input::-webkit-color-swatch-wrapper { padding: 0; height: 100%; } .color-input::-webkit-color-swatch { border: none; border-radius: 4px; height: 100%; } .icon-btn { width: 40px; height: 30px; min-width: 40px; min-height: 30px; border: 1px solid var(--background-modifier-border); border-radius: 4px; margin-right: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--background-primary); } .tag-customizations-container { padding: 10px; margin-bottom: 20px; & .map-empty-state { color: var(--text-muted); font-style: italic; text-align: center; padding: 20px; } } } .add-tag-modal { .color-icon-container { display: flex; gap: 10px; align-items: center; margin-bottom: 20px; } .color-input { width: 40px; height: 40px; border: none; border-radius: 4px; cursor: pointer; padding: 0; } .color-input::-webkit-color-swatch-wrapper { padding: 0; height: 100%; } .color-input::-webkit-color-swatch { border: none; border-radius: 4px; height: 100%; } .icon-container { display: flex; gap: 8px; align-items: center; flex: 1; } .icon-preview { width: 40px; height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--background-modifier-border); border-radius: 4px; } .icon-btn { flex: 1; height: 40px; } .button-container { display: flex; gap: 10px; justify-content: flex-end; } } .icon-picker-modal { .search-container { margin-bottom: 10px; input { width: 100%; } } .icons-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); grid-auto-rows: min-content; align-content: start; gap: 8px; height: 400px; overflow-y: auto; padding: 10px; border: 1px solid var(--background-modifier-border); border-radius: 4px; } .icon-picker-item { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 4px; cursor: pointer; background: var(--background-primary); &.selected { border: 2px solid var(--interactive-accent); } &:hover { background: var(--background-modifier-hover); } border: 1px solid var(--background-modifier-border); } .button-container { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; } } .map-container { width: 100%; height: var(--bases-map-height); position: relative; }