diff --git a/apps/common/main/resources/less/buttons.less b/apps/common/main/resources/less/buttons.less index db27597ec..e553350aa 100644 --- a/apps/common/main/resources/less/buttons.less +++ b/apps/common/main/resources/less/buttons.less @@ -974,6 +974,57 @@ } } +.cnt-lang { + color: @text-normal-ie; + color: @text-normal; + height: 20px; + line-height: 18px; + border: 0; + .border-radius(1px); + vertical-align: middle; + + .dropdown-toggle { + margin: 0 6px 0 4px; + } + + &:hover:not(.disabled) { + background-color: @highlight-button-hover-ie; + background-color: @highlight-button-hover; + } + + &[disabled], &.disabled { + opacity: @component-disabled-opacity; + } + + .caret { + width: 4px; + height: 4px; + border: solid 1px @icon-normal-ie; + border: solid 1px @icon-normal; + border-bottom: none; + border-right: none; + background-image: none; + + transition: transform 0.2s ease; + transform: rotate(-135deg) translate(1px,1px); + } + + &.open:not(.disabled){ + &, .status-label { + color: @text-normal-pressed-ie; + color: @text-normal-pressed; + } + + background-color: @highlight-button-pressed-ie; + background-color: @highlight-button-pressed; + + .caret { + transform: rotate(45deg); + border-color: @icon-normal-pressed-ie; + border-color: @icon-normal-pressed; + } + } +} // Dialog buttons // ------------------------ diff --git a/apps/documenteditor/main/app/template/StatusBar.template b/apps/documenteditor/main/app/template/StatusBar.template index 8b782f6b7..8ce3c7679 100644 --- a/apps/documenteditor/main/app/template/StatusBar.template +++ b/apps/documenteditor/main/app/template/StatusBar.template @@ -13,9 +13,9 @@
- diff --git a/apps/documenteditor/main/resources/less/statusbar.less b/apps/documenteditor/main/resources/less/statusbar.less index 38a3419c7..8fff9884c 100644 --- a/apps/documenteditor/main/resources/less/statusbar.less +++ b/apps/documenteditor/main/resources/less/statusbar.less @@ -69,18 +69,8 @@ .cnt-lang { display: inline-block; cursor: pointer; - color: @text-normal-ie; - color: @text-normal; margin-left: 6px; - .caret.up { - background-position: @arrow-up-small-offset-x @arrow-up-small-offset-y; - - border: none; - width: 7px; - height: 7px; - } - label { cursor: pointer; } @@ -89,7 +79,6 @@ cursor: default; label { cursor: default; - opacity: @component-disabled-opacity; } } } diff --git a/apps/presentationeditor/main/app/template/StatusBar.template b/apps/presentationeditor/main/app/template/StatusBar.template index 16159833c..85fa0bd5c 100644 --- a/apps/presentationeditor/main/app/template/StatusBar.template +++ b/apps/presentationeditor/main/app/template/StatusBar.template @@ -28,9 +28,9 @@
- diff --git a/apps/presentationeditor/main/resources/less/statusbar.less b/apps/presentationeditor/main/resources/less/statusbar.less index fe9ae6203..9fcd30988 100644 --- a/apps/presentationeditor/main/resources/less/statusbar.less +++ b/apps/presentationeditor/main/resources/less/statusbar.less @@ -70,17 +70,8 @@ .cnt-lang { display: inline-block; cursor: pointer; - color: #000; margin-left: 6px; - .caret.up { - background-position: @arrow-up-small-offset-x @arrow-up-small-offset-y; - - border: none; - width: 7px; - height: 7px; - } - label { cursor: pointer; } @@ -89,7 +80,6 @@ cursor: default; label { cursor: default; - opacity: 0.4; } } }