diff --git a/apps/common/main/resources/img/doc-formats/blank.svg b/apps/common/main/resources/img/doc-formats/blank.svg index de6c3a673..94f03aad5 100644 --- a/apps/common/main/resources/img/doc-formats/blank.svg +++ b/apps/common/main/resources/img/doc-formats/blank.svg @@ -1,10 +1,12 @@ - - - - - - + + + + + + + + \ No newline at end of file diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 998265dd5..3b9475854 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -880,12 +880,19 @@ define([ 'print(\">\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', + '
<%= scope.titleText(Common.Utils.String.htmlEncode(item.title || item.name || "")) %>
', '', '<% }) %>', '' ].join('')), + titleText: function (text){ + var maxLength=30; + if(text.length\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', + '
<%= scope.titleText(Common.Utils.String.htmlEncode(item.title || item.name || "")) %>
', '', '<% }) %>', '' ].join('')), + titleText: function (text){ + var maxLength=30; + if(text.length - - - - - - - - - - - - - - - - - + + + + + + + + + + + \ No newline at end of file diff --git a/apps/presentationeditor/main/resources/less/leftmenu.less b/apps/presentationeditor/main/resources/less/leftmenu.less index 0a56783c7..720cabb5d 100644 --- a/apps/presentationeditor/main/resources/less/leftmenu.less +++ b/apps/presentationeditor/main/resources/less/leftmenu.less @@ -236,22 +236,37 @@ } .thumb-list { + .thumb-wrap { display: inline-block; text-align: center; width: auto; - padding: 30px 20px; cursor: pointer; + vertical-align: top; + .border-radius(@border-radius-small); .thumb { width: 96px; height: 96px; background-repeat: no-repeat; background-position: center; + margin: 12px 12px 0px 12px; } .title { - padding-top: 20px; + width: 104px; + font-size: 12px; + line-height: 14px; + height: 28px; + margin: 8px 8px 12px 8px; + } + &:hover{ + background-color: @highlight-button-hover-ie; + background-color: @highlight-button-hover; + } + &:active{ + background-color: @highlight-button-pressed-ie; + background-color: @highlight-button-pressed; } } } diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 80f06c043..5094f23a8 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -1745,12 +1745,19 @@ define([ 'print(\">\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', + '
<%= scope.titleText(Common.Utils.String.htmlEncode(item.title || item.name || "")) %>
', '', '<% }) %>', '' ].join('')), + titleText: function (text){ + var maxLength=30; + if(text.length - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/apps/spreadsheeteditor/main/resources/less/leftmenu.less b/apps/spreadsheeteditor/main/resources/less/leftmenu.less index 2cb71ac7a..09b2c48be 100644 --- a/apps/spreadsheeteditor/main/resources/less/leftmenu.less +++ b/apps/spreadsheeteditor/main/resources/less/leftmenu.less @@ -303,22 +303,37 @@ } .thumb-list { + .thumb-wrap { display: inline-block; text-align: center; width: auto; - padding: 30px 20px; cursor: pointer; + vertical-align: top; + .border-radius(@border-radius-small); .thumb { width: 96px; height: 96px; background-repeat: no-repeat; background-position: center; + margin: 12px 12px 0px 12px; } .title { - padding-top: 20px; + width: 104px; + font-size: 12px; + line-height: 14px; + height: 28px; + margin: 8px 8px 12px 8px; + } + &:hover{ + background-color: @highlight-button-hover-ie; + background-color: @highlight-button-hover; + } + &:active{ + background-color: @highlight-button-pressed-ie; + background-color: @highlight-button-pressed; } } }