diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index 5db007d8d..82fa3526d 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -345,7 +345,6 @@ define([ me.setDocTile(name); me.labelDocName.select(); },100); - me.labelDocName.addClass('active-title'); } function onDocNameKeyDown(e) { @@ -729,7 +728,6 @@ define([ me.withoutExt = false; me.setDocTile(me.documentCaption); } - me.labelDocName.removeClass('active-title'); }, 'paste': function (e) { setTimeout(function() { diff --git a/apps/common/main/resources/less/header.less b/apps/common/main/resources/less/header.less index 701acb495..394487a10 100644 --- a/apps/common/main/resources/less/header.less +++ b/apps/common/main/resources/less/header.less @@ -495,13 +495,17 @@ overflow: hidden; text-align: center; font-size: 12px; - line-height: 28px; + line-height: 22px; + margin: 2px 0; background-color: transparent; border: 0 none; cursor: default; - &:hover,&.active-title{ - border: @highlight-header-button-hover solid 2px; + &:hover,&:focus{ + box-shadow: 0 0 0 1px @highlight-header-button-hover-ie; + box-shadow: 0 0 0 1px @highlight-header-button-hover; + /*border:@highlight-header-button-hover-ie solid 1px; + border:@highlight-header-button-hover solid 1px;*/ border-radius: 3px; cursor: text; }