diff --git a/stylesheets/tabs.less b/stylesheets/tabs.less index 3342448..87323ee 100644 --- a/stylesheets/tabs.less +++ b/stylesheets/tabs.less @@ -42,19 +42,31 @@ } .close-icon { - z-index: 3; - line-height: @tab-height; + display: none; + + &:hover { + color: @text-color-error !important; + + } } + &.modified:not(:hover) .close-icon { top: @tab-height/2 - @modified-icon-width/2 + 1px; right: 14px; width: @modified-icon-width; height: @modified-icon-width; + border-color: @text-color-info; } &:first-child { margin-left: 20px; } + + &:hover { + .close-icon { + display: block; + } + } } .tab.active { @@ -69,6 +81,7 @@ .close-icon { line-height: @tab-height - 1px; + display: block; } &, &:before {