diff --git a/apps/spreadsheeteditor/main/resources/less/celleditor.less b/apps/spreadsheeteditor/main/resources/less/celleditor.less index 94bc61d1c9..28eef442b7 100644 --- a/apps/spreadsheeteditor/main/resources/less/celleditor.less +++ b/apps/spreadsheeteditor/main/resources/less/celleditor.less @@ -83,27 +83,6 @@ .ce-group-expand { float: right; height: 20px; - - #ce-btn-expand { - width: 16px; - height: 18px; - .border-radius(0); - background: transparent; - padding: 0 2px 0; - - &:active, - &.active { - .caret { - background-position: @arrow-small-offset-x @arrow-small-offset-y; - } - } - - &.btn-collapse { - .caret { - background-position: @arrow-up-small-offset-x @arrow-up-small-offset-y; - } - } - } } .ce-group-content { @@ -141,3 +120,22 @@ } } } + +#ce-btn-expand { + width: 16px; + height: 18px; + .border-radius(0); + background: transparent; + padding: 0 2px 0; + + .caret { + background-position: @arrow-small-offset-x @arrow-small-offset-y; + transition: transform .2s; + } + + &.btn-collapse { + .caret { + transform: rotate(180deg); + } + } +}