diff --git a/apps/common/main/resources/less/toolbar.less b/apps/common/main/resources/less/toolbar.less index 4960bf58a..c6634e8eb 100644 --- a/apps/common/main/resources/less/toolbar.less +++ b/apps/common/main/resources/less/toolbar.less @@ -329,15 +329,12 @@ &.active { background-color: transparent; + font-weight: bold; &:after { opacity: 1; bottom: 0; } - - > a { - font-weight: bold; - } } &:hover:not(.active) { @@ -347,6 +344,17 @@ > a { color: @gray-deep; + + &::after { + display:block; + content:attr(data-title); + font-weight:bold; + height:1px; + color:transparent; + overflow:hidden; + visibility:hidden; + margin-bottom:-1px; + } } } }