@import "ui-variables"; @tab-radius: 3px; @modified-icon-width: 8px; @tab-skew: 30deg; @tab-top-padding: 0; @tab-bottom-border-height: 8px; @tab-border: 1px solid @tab-border-color; @tab-bar-bottom-border-color: #111; .tab-bar { height: @tab-height + @tab-top-padding; background: @tab-bar-background-color; padding: 0 13px 0 10px; box-sizing: border-box; &:after { content: ""; position: absolute; bottom: 0; height: @tab-bottom-border-height; left: 0px; width: 100%; } .tab { position: relative; top: @tab-top-padding; height: @tab-height; line-height: @tab-height; color: @text-color; padding-left: 0; margin-left: 15px; transition: color .1s ease-in; &:before { content: ''; position: absolute; top: 0; left: -18px; height: @tab-height; width: 40px; } .close-icon { z-index: 3; line-height: @tab-height; } &.modified:not(:hover) .close-icon { top: @tab-height/2 - @modified-icon-width/2 + 1px; right: 14px; width: @modified-icon-width; height: @modified-icon-width; } &:first-child { margin-left: 20px; } } .tab.active { z-index: 10; line-height: @tab-height - 3px; color: @text-color-highlight; .title{ position: relative; top: 1px; } .close-icon { line-height: @tab-height - 1px; } &, &:before { background-color: @tab-background-color-active; height: @tab-height + 1px; } } .tab:hover { color: @text-color-highlight; } .tab.active:hover .close-icon { color: @text-color-highlight; } .placeholder { height: @tab-height + @tab-top-padding + @tab-bottom-border-height; &:after { top: @tab-height + @tab-top-padding + @tab-bottom-border-height; } } }