2026-03-06 20:14:50 +07:00
|
|
|
.file-tabs {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: flex-end;
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
border-bottom: 1px solid #333;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
min-height: 35px;
|
|
|
|
|
scrollbar-width: thin;
|
|
|
|
|
scrollbar-color: #3c3c3c transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 5px;
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
height: 35px;
|
|
|
|
|
min-width: 90px;
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: #2d2d2d;
|
|
|
|
|
border-right: 1px solid #2a2a2a;
|
|
|
|
|
color: #9d9d9d;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
font-family: 'Segoe UI', sans-serif;
|
|
|
|
|
user-select: none;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
2026-04-22 02:45:45 +07:00
|
|
|
transition:
|
|
|
|
|
background 0.1s,
|
|
|
|
|
color 0.1s;
|
2026-03-06 20:14:50 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab:hover {
|
|
|
|
|
background: #2a2d2e;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab-active {
|
|
|
|
|
background: #1e1e1e;
|
|
|
|
|
color: #fff;
|
|
|
|
|
border-top: 2px solid #4fc3f7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab-modified {
|
2026-03-06 20:24:03 +07:00
|
|
|
width: 7px;
|
|
|
|
|
height: 7px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: #e8a87c;
|
2026-03-06 20:14:50 +07:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab-name {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab-close {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: transparent;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-04-22 02:45:45 +07:00
|
|
|
transition:
|
|
|
|
|
background 0.1s,
|
|
|
|
|
color 0.1s;
|
2026-03-06 20:14:50 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab:hover .file-tab-close,
|
|
|
|
|
.file-tab-active .file-tab-close {
|
|
|
|
|
color: #666;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.file-tab-close:hover {
|
|
|
|
|
background: rgba(255, 255, 255, 0.12) !important;
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Confirm dialog */
|
|
|
|
|
.ftabs-overlay {
|
|
|
|
|
position: fixed;
|
|
|
|
|
inset: 0;
|
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
z-index: 1000;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-confirm-box {
|
|
|
|
|
background: #252526;
|
|
|
|
|
border: 1px solid #3c3c3c;
|
|
|
|
|
border-radius: 6px;
|
|
|
|
|
padding: 20px 24px;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
min-width: 290px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-confirm-box p {
|
|
|
|
|
margin: 0 0 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-confirm-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-confirm-actions button {
|
|
|
|
|
padding: 6px 14px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border: 1px solid #3c3c3c;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
background: #2a2d2e;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-confirm-actions button:hover {
|
|
|
|
|
background: #333;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-btn-close {
|
|
|
|
|
background: #c62828 !important;
|
|
|
|
|
border-color: #c62828 !important;
|
|
|
|
|
color: #fff !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ftabs-btn-close:hover {
|
|
|
|
|
background: #d32f2f !important;
|
|
|
|
|
}
|