diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 6c952ac80f..56a8f3bd80 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -668,11 +668,11 @@ define([ store: new Common.UI.DataViewStore(this.recent), itemTemplate: _.template([ '
', - '
', - ' style="background-image: url(<%= image %>);background-position: center;"', - '<% } %>', - '>
', + '
', + '', + '', + '', + '
', '
<% if (typeof title !== "undefined") {%><%= Common.Utils.String.htmlEncode(title || "") %><% } %>
', '
<% if (typeof folder !== "undefined") {%><%= Common.Utils.String.htmlEncode(folder || "") %><% } %>
', '
' diff --git a/apps/documenteditor/main/index.html b/apps/documenteditor/main/index.html index 3430971bec..527d03ec45 100644 --- a/apps/documenteditor/main/index.html +++ b/apps/documenteditor/main/index.html @@ -270,6 +270,7 @@ + diff --git a/apps/documenteditor/main/index_loader.html b/apps/documenteditor/main/index_loader.html index 85341cc767..8f6506ec02 100644 --- a/apps/documenteditor/main/index_loader.html +++ b/apps/documenteditor/main/index_loader.html @@ -271,6 +271,7 @@ + diff --git a/apps/documenteditor/main/resources/img/file-recent.png b/apps/documenteditor/main/resources/img/file-recent.png deleted file mode 100644 index eba0c2bd35..0000000000 Binary files a/apps/documenteditor/main/resources/img/file-recent.png and /dev/null differ diff --git a/apps/documenteditor/main/resources/img/file-recent@2x.png b/apps/documenteditor/main/resources/img/file-recent@2x.png deleted file mode 100644 index 2cd5361c20..0000000000 Binary files a/apps/documenteditor/main/resources/img/file-recent@2x.png and /dev/null differ diff --git a/apps/documenteditor/main/resources/img/recent-file.svg b/apps/documenteditor/main/resources/img/recent-file.svg new file mode 100644 index 0000000000..11a1850b9d --- /dev/null +++ b/apps/documenteditor/main/resources/img/recent-file.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/apps/documenteditor/main/resources/less/filemenu.less b/apps/documenteditor/main/resources/less/filemenu.less index 8cf1d774f5..f3ffcc992a 100644 --- a/apps/documenteditor/main/resources/less/filemenu.less +++ b/apps/documenteditor/main/resources/less/filemenu.less @@ -215,8 +215,7 @@ } .recent-wrap { - height: 65px; - padding: 10px; + padding: 5px 10px; cursor: pointer; font-size: 12px; @@ -227,11 +226,13 @@ .recent-icon { float: left; - width: 35px; - height: 45px; - margin-right: 10px; - .background-ximage-v2('file-recent.png', 72px, @commonimage: false); - background-position: 0 0; + width: 25px; + height: 25px; + margin-top: 2px; + svg { + width: 100%; + height: 100%; + } } > div:not(:first-child) { @@ -241,10 +242,6 @@ text-overflow: ellipsis; } - .file-name { - margin: 5px 0; - } - .file-info { color: #999; } diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index e3fbbb4e6a..fb70e61b02 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -575,11 +575,11 @@ define([ store: new Common.UI.DataViewStore(this.recent), itemTemplate: _.template([ '
', - '
', - ' style="background-image: url(<%= image %>);background-position: center;"', - '<% } %>', - '>
', + '
', + '', + '', + '', + '
', '
<% if (typeof title !== "undefined") {%><%= Common.Utils.String.htmlEncode(title || "") %><% } %>
', '
<% if (typeof folder !== "undefined") {%><%= Common.Utils.String.htmlEncode(folder || "") %><% } %>
', '
' diff --git a/apps/presentationeditor/main/index.html b/apps/presentationeditor/main/index.html index 6b431247ef..ba53817f6e 100644 --- a/apps/presentationeditor/main/index.html +++ b/apps/presentationeditor/main/index.html @@ -295,6 +295,7 @@ + diff --git a/apps/presentationeditor/main/index_loader.html b/apps/presentationeditor/main/index_loader.html index d789d56807..ea20a977b2 100644 --- a/apps/presentationeditor/main/index_loader.html +++ b/apps/presentationeditor/main/index_loader.html @@ -259,6 +259,7 @@ + diff --git a/apps/spreadsheeteditor/main/index_loader.html b/apps/spreadsheeteditor/main/index_loader.html index 98d4369eb8..7c90b3f1b6 100644 --- a/apps/spreadsheeteditor/main/index_loader.html +++ b/apps/spreadsheeteditor/main/index_loader.html @@ -262,6 +262,7 @@ +