160 lines
3.5 KiB
CSS
160 lines
3.5 KiB
CSS
/* ITAM Map Coordinate Editor Styles */
|
|
|
|
.file-sidebar {
|
|
width: 260px;
|
|
background: var(--white);
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.folder-item {
|
|
padding: 10px 15px;
|
|
background: var(--bg-light);
|
|
font-weight: bold;
|
|
font-size: 13px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.file-item {
|
|
padding: 8px 25px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
border-bottom: 1px solid var(--bg-color);
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.file-item:hover { background: var(--bg-light); }
|
|
.file-item.active { background: var(--primary-color); color: var(--white); font-weight: bold; }
|
|
|
|
/* Center: Editor Area */
|
|
.editor-container {
|
|
flex: 1;
|
|
position: relative;
|
|
overflow: auto;
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #e0e0e0; /* 전용 배경색 유지 */
|
|
}
|
|
|
|
.img-wrapper {
|
|
position: relative;
|
|
display: inline-block;
|
|
box-shadow: 0 0 30px rgba(0,0,0,0.3);
|
|
background: var(--white);
|
|
line-height: 0;
|
|
}
|
|
|
|
.img-wrapper img {
|
|
display: block;
|
|
max-width: calc(100vw - 650px);
|
|
max-height: 85vh;
|
|
width: auto;
|
|
height: auto;
|
|
user-select: none;
|
|
-webkit-user-drag: none;
|
|
}
|
|
|
|
/* Right Sidebar: Control Panel */
|
|
.sidebar {
|
|
width: 350px;
|
|
background: var(--white);
|
|
border-left: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
box-shadow: -5px 0 15px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.sidebar h2 { margin-top: 0; color: var(--primary-color); font-size: 1.2rem; }
|
|
.sidebar p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 20px; }
|
|
|
|
.current-path { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; word-break: break-all; font-family: monospace; }
|
|
|
|
.box-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
margin-bottom: 15px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 4px;
|
|
padding: 10px;
|
|
background: var(--bg-light);
|
|
}
|
|
|
|
.box-item {
|
|
font-family: monospace;
|
|
font-size: 11px;
|
|
padding: 6px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.box-item:hover { background: var(--white); }
|
|
.btn-del { cursor: pointer; color: var(--danger); border: none; background: none; font-size: 16px; padding: 0 5px; }
|
|
|
|
.actions { display: flex; flex-direction: column; gap: 8px; }
|
|
|
|
/* Drawing Elements */
|
|
.draw-box {
|
|
position: absolute;
|
|
border: 2px solid var(--edit-mode-color);
|
|
background: rgba(255, 61, 0, 0.2);
|
|
pointer-events: none;
|
|
z-index: 100;
|
|
}
|
|
|
|
.placed-box {
|
|
position: absolute;
|
|
border: 1.5px solid var(--primary-color);
|
|
background: rgba(30, 81, 73, 0.15);
|
|
cursor: pointer;
|
|
z-index: 50;
|
|
}
|
|
|
|
.placed-box:hover {
|
|
background: rgba(30, 81, 73, 0.4);
|
|
border-color: #000;
|
|
}
|
|
|
|
.placed-box.selected {
|
|
border: 2.5px solid var(--edit-mode-color);
|
|
z-index: 60;
|
|
box-shadow: 0 0 10px rgba(255,61,0,0.5);
|
|
}
|
|
|
|
.box-label {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 10px;
|
|
font-weight: bold;
|
|
color: var(--primary-color);
|
|
pointer-events: none;
|
|
white-space: nowrap;
|
|
background: rgba(255,255,255,0.7);
|
|
padding: 0 2px;
|
|
border-radius: 2px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.draw-box .box-label {
|
|
color: var(--edit-mode-color);
|
|
background: rgba(255,255,255,0.8);
|
|
}
|
|
|
|
#save-status {
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--success);
|
|
text-align: center;
|
|
font-weight: bold;
|
|
height: 14px;
|
|
}
|