From 0ededd308292028cf1d63bd606ef7840f2f524e8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 9 Aug 2017 12:40:14 +0300 Subject: [PATCH] Fix Bug 35496. --- .../main/resources/less/rightmenu.less | 2 +- .../main/resources/less/rightmenu.less | 24 ++++++++++--------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/apps/documenteditor/main/resources/less/rightmenu.less b/apps/documenteditor/main/resources/less/rightmenu.less index 250aca36f..2983c04f0 100644 --- a/apps/documenteditor/main/resources/less/rightmenu.less +++ b/apps/documenteditor/main/resources/less/rightmenu.less @@ -171,7 +171,7 @@ background-position: -250px 0; } -.btn-toolbar .icon.btn-borders-small { +.btn-toolbar:not(.x-huge) .icon:not(svg).btn-borders-small { .background-ximage('@{app-image-path}/right-panels/SmallBorders.png', '@{app-image-path}/right-panels/SmallBorders@2x.png', 84px); } diff --git a/apps/presentationeditor/main/resources/less/rightmenu.less b/apps/presentationeditor/main/resources/less/rightmenu.less index 46aa6b287..c2955f812 100644 --- a/apps/presentationeditor/main/resources/less/rightmenu.less +++ b/apps/presentationeditor/main/resources/less/rightmenu.less @@ -105,20 +105,22 @@ background-size: cover; } -.btn-toolbar .icon.btn-borders-small { +.btn-toolbar:not(.x-huge) .icon:not(svg).btn-borders-small { .background-ximage('@{app-image-path}/right-panels/SmallBorders.png', '@{app-image-path}/right-panels/SmallBorders@2x.png', 84px); } -.options-btn-icon(btn-position-all, 0, 21px); -.options-btn-icon(btn-position-inner, 1, 21px); -.options-btn-icon(btn-position-bottom, 2, 21px); -.options-btn-icon(btn-position-inner-hor, 3, 21px); -.options-btn-icon(btn-position-top, 4, 21px); -.options-btn-icon(btn-position-none, 5, 21px); -.options-btn-icon(btn-position-outer, 6, 21px); -.options-btn-icon(btn-position-left, 7, 21px); -.options-btn-icon(btn-position-inner-vert, 8, 21px); -.options-btn-icon(btn-position-right, 9, 21px); +.button-normal-icon(btn-position-all, 0, 21px); +.button-normal-icon(btn-position-inner, 1, 21px); +.button-normal-icon(btn-position-bottom, 2, 21px); +.button-normal-icon(btn-position-inner-hor, 3, 21px); +.button-normal-icon(btn-position-top, 4, 21px); +.button-normal-icon(btn-position-none, 5, 21px); +.button-normal-icon(btn-position-outer, 6, 21px); +.button-normal-icon(btn-position-left, 7, 21px); +.button-normal-icon(btn-position-inner-vert, 8, 21px); +.button-normal-icon(btn-position-right, 9, 21px); + +.button-otherstates-icon(btn-borders-small, 21px); .btn-edit-table, .btn-change-shape {