ajout de fonctionnalités

This commit is contained in:
2026-05-25 20:21:42 -04:00
parent e1fcbe9ce7
commit 370420aa00
7 changed files with 1412 additions and 6 deletions
+104
View File
@@ -5365,3 +5365,107 @@ body.popup-mode .content-area {
flex-shrink: 0;
margin-top: 2px;
}
/* ===== TAB BAR ===== */
.tab-bar {
display: flex;
align-items: stretch;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border);
overflow: hidden;
flex-shrink: 0;
min-height: 36px;
}
.tab-bar[hidden] {
display: none;
}
.tab-list {
display: flex;
align-items: stretch;
overflow-x: auto;
overflow-y: hidden;
flex: 1;
scrollbar-width: thin;
}
.tab-list::-webkit-scrollbar {
height: 3px;
}
.tab-item {
display: flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
font-size: 0.8rem;
color: var(--text-muted);
cursor: pointer;
white-space: nowrap;
border-right: 1px solid var(--border);
background: transparent;
transition: background 0.15s, color 0.15s;
user-select: none;
position: relative;
min-width: 0;
flex-shrink: 0;
}
.tab-item:hover {
background: var(--bg-hover);
color: var(--text-secondary);
}
.tab-item.active {
background: var(--bg-primary);
color: var(--text-primary);
border-bottom: 2px solid var(--accent);
margin-bottom: -1px;
}
.tab-item .tab-icon {
width: 14px;
height: 14px;
flex-shrink: 0;
opacity: 0.7;
}
.tab-item .tab-name {
overflow: hidden;
text-overflow: ellipsis;
max-width: 150px;
}
.tab-item .tab-close {
width: 16px;
height: 16px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 3px;
flex-shrink: 0;
opacity: 0;
transition: opacity 0.15s, background 0.15s;
}
.tab-item:hover .tab-close,
.tab-item.active .tab-close {
opacity: 0.6;
}
.tab-item .tab-close:hover {
opacity: 1;
background: var(--bg-hover);
}
.tab-item.dragging {
opacity: 0.5;
background: var(--bg-hover);
}
.tab-drop-indicator {
width: 2px;
background: var(--accent);
flex-shrink: 0;
}