.tab-bar-container { display: flex; align-items: center; position: relative; overflow: hidden; z-index: 2; background-color: #f5f5f5; .dark & { background-color: #1E1E1E; } } .phoenix-tab-bar { flex: 1; height: 2.1rem; display: flex; overflow-x: auto; overflow-y: hidden; white-space: nowrap; scroll-behavior: auto; &::-webkit-scrollbar { display: none; } .bd-icon { color: #666; .dark & { color: unset; } } } .overflow-button { display: flex; align-items: center; height: 2.1rem; padding: 0 0.5rem; cursor: pointer; position: relative; z-index: 2; margin-left: auto; i { pointer-events: none; } &.hidden { display: none; } &:hover { background-color: #e0e0e0; .dark & { background-color: #333; } } &::before { content: ""; position: absolute; top: 0; left: -1rem; width: 1rem; height: 100%; pointer-events: none; background: linear-gradient(to right, rgba(245, 245, 245, 0), #f5f5f5); .dark & { background: linear-gradient(to right, rgba(30, 30, 30, 0), #1E1E1E); } } } .phoenix-tab-bar .tab { display: inline-flex; align-items: center; padding: 0 0.5rem 0 0.6rem; height: 100%; background-color: #f1f1f1; border-right: 1px solid rgba(0, 0, 0, 0.05); cursor: pointer; position: relative; flex: 0 0 auto; min-width: fit-content; user-select: none; transition: background-color 120ms ease-out, opacity 60ms ease; .dark & { background-color: #292929; border-right: 1px solid rgba(255, 255, 255, 0.05); } &::before { content: "•"; color: transparent; font-size: 1.5rem; position: absolute; left: 0.4rem; top: 0.28rem; } &.dirty::before { color: #888; .dark & { color: #8D8D8E; } } &:hover { background-color: #e0e0e0; .dark & { background-color: #3b3a3a; } } &.active { background-color: #fff; .dark & { background-color: #1D1F21; } &::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.12rem; background-color: #0078D7; .dark & { background-color: #75BEFF; } } } &.placeholder::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0.12rem; background-color: #b4b2b2; .dark & { background-color: #666; } } &.placeholder.active::after { background-color: #0078D7; .dark & { background-color: #75BEFF; } } &.dragging { opacity: 0.7; transform: scale(0.95); cursor: grabbing; z-index: 10000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); .dark & { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } } &.drag-target, &.context { background-color: #e5e5e5; .dark & { background-color: #383838; } } } .phoenix-tab-bar { .tab-icon { display: flex; align-items: center; margin-bottom: -2px; margin-left: 0.7rem; } .tab-name { color: #555; display: inline-flex; align-items: center; font-size: 0.875rem; letter-spacing: 0.4px; word-spacing: 0.75px; white-space: nowrap; .dark & { color: #aaa; } } .tab.active .tab-name { color: #333; .dark & { color: #dedede; } } .tab-dirname { font-size: 0.7rem; opacity: 0.7; font-weight: normal; position: relative; top: 0.05rem; } .tab.placeholder .tab-name { font-style: italic; color: #999; } .tab.placeholder.active .tab-name { color: #777; .dark & { color: #bbb; } } .tab-close, .tab-pin { display: inline-flex; align-items: center; justify-content: center; width: 1.3rem; height: 1.2rem; margin-left: 0.25rem; color: #666; border-radius: 0.2rem; transition: background-color 0.2s ease, opacity 0.2s ease; .dark & { color: #CCC; } &:hover { cursor: pointer; background-color: rgba(0, 0, 0, 0.1); .dark & { background-color: rgba(255, 255, 255, 0.1); } } } .tab-close { font-size: 0.75rem; visibility: hidden; opacity: 0; pointer-events: none; } .tab:hover .tab-close, .tab.active .tab-close { visibility: visible; opacity: 1; pointer-events: auto; } .tab-pin { font-size: 0.8rem; } .tab.git-modified > .tab-icon::before, .tab.git-new > .tab-icon::before { content: "|"; position: absolute; margin-left: -4px; margin-bottom: 5px; } .tab.git-modified > .tab-icon::before { color: #f1ae1c; .dark & { color: #E3B551; } } .tab.git-new > .tab-icon::before { color: #69a01f; .dark & { color: #91CC41; } } .tab.git-ignored .tab-name, .tab.git-ignored .tab-dirname { color: #868888 !important; font-style: italic; } } .tab-bar-container.inactive-pane .phoenix-tab-bar .tab.active { background-color: #fafafa; .dark & { background-color: #252729; } &::after { background-color: #b4b2b2; .dark & { background-color: #666; } } } .tab-drag-indicator { position: fixed; width: 2px; background-color: rgba(0, 120, 215, 0.7); pointer-events: none; z-index: 10001; box-shadow: 0 0 3px rgba(0, 120, 215, 0.4); display: none; animation: pulse 2s infinite; .dark & { background-color: rgba(117, 190, 255, 0.7); box-shadow: 0 0 3px rgba(117, 190, 255, 0.4); } } @keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 0.7; } 100% { opacity: 0.5; } } .empty-pane-drop-target { border: 1px solid #6db6ff !important; } .dropdown-tab-item { display: flex; align-items: center; cursor: pointer; justify-content: space-between; .bd-icon { color: #666; .dark &, .selected & { color: unset; } } &:hover { background-color: #e8f0fa; .dark & { background-color: #2A3B50; } } &.placeholder-item .tab-name-container { font-style: italic; } } .tab-info-container { display: flex; align-items: center; flex-grow: 1; } .tab-icon-container { margin-right: 0.25rem; display: inline-flex; align-items: center; } .tab-name-container { flex-grow: 1; overflow: hidden; text-overflow: ellipsis; } .tab-dirty-icon-overflow { color: #888; font-size: 1.6rem; width: 0.2rem; display: inline-flex; margin: 0.125rem 0.6rem 0.4rem -0.2rem; .dark & { color: #8D8D8E; } &.empty { visibility: hidden; } } .tab-close-icon-overflow, .tab-pin-icon-overflow { font-size: 0.75rem; font-weight: 300; padding: 0.3rem 0.6rem; margin-left: 0.5rem; margin-top: -0.1rem; color: #666; transition: color 0.2s ease; border-radius: 0.25rem; .dark & { color: #CCC; } &:hover { color: #333; .dark & { color: #FFF; } } } .tab-pin-icon-overflow { font-size: 0.85rem; display: inline-flex; align-items: center; }