diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index 7b794bdb9..4df593fc3 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -1016,7 +1016,7 @@ define([ this.hidePreloader(); this.onLongActionEnd(Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument); - var zf = (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom) : -2); + var zf = (this.appOptions.customization && this.appOptions.customization.zoom ? parseInt(this.appOptions.customization.zoom) : 100); (zf == -1) ? this.api.zoomFitToPage() : ((zf == -2) ? this.api.zoomFitToWidth() : this.api.zoom(zf>0 ? zf : 100)); this.createDelayedElements(); diff --git a/apps/documenteditor/forms/index.html b/apps/documenteditor/forms/index.html index 43e5c43a8..f15c50e3b 100644 --- a/apps/documenteditor/forms/index.html +++ b/apps/documenteditor/forms/index.html @@ -21,6 +21,12 @@ --canvas-background: #555; } + .content-theme-dark { + --skeleton-canvas-content-background: #3a3a3a; + --skeleton-canvas-page-border: #2a2a2a; + --skeleton-canvas-line: rgba(255,255,255,.05); + } + .theme-classic-light { } @@ -88,17 +94,26 @@ background: rgba(255, 255, 255, 0.2); } - .loadmask > .placeholder { - background: #fbfbfb; + .loadmask .placeholder-outer { width: 100%; - height: 100%; - padding-top: 56px; + padding-right: 14px; } - .loadmask > .placeholder > .line { + .loadmask .placeholder { + background: #fff; + background: var(--skeleton-canvas-content-background, #fff); + width: 796px; + margin: 59px auto; + height: 100%; + border: 1px solid #bbbec2; + border: var(--scaled-one-px-value, 1px) solid var(--skeleton-canvas-page-border, #bbbec2); + padding-top: 50px; + } + + .loadmask .placeholder > .line { height: 15px; - margin: 30px; - background: rgba(0,0,0,.05); + margin: 30px 80px; + background: var(--skeleton-canvas-line, rgba(0,0,0,.05)); overflow: hidden; position: relative; @@ -137,7 +152,16 @@
-