Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
313f799c
Commit
313f799c
authored
Nov 22, 2016
by
Alexander Yuzhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PE mobile] Fixed top offset of workarea.
parent
bd0b93cb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
2 deletions
+26
-2
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+2
-2
apps/presentationeditor/mobile/resources/css/app-ios.css
apps/presentationeditor/mobile/resources/css/app-ios.css
+5
-0
apps/presentationeditor/mobile/resources/css/app-material.css
.../presentationeditor/mobile/resources/css/app-material.css
+5
-0
apps/presentationeditor/mobile/resources/less/app-ios.less
apps/presentationeditor/mobile/resources/less/app-ios.less
+7
-0
apps/presentationeditor/mobile/resources/less/app-material.less
...resentationeditor/mobile/resources/less/app-material.less
+7
-0
No files found.
apps/presentationeditor/mobile/app/controller/Main.js
View file @
313f799c
...
...
@@ -626,8 +626,8 @@ define([
// Common.Utils.Metric.setCurrentMetric(value);
// me.api.asc_SetDocumentUnits((value==Common.Utils.Metric.c_MetricUnits.inch) ? Asc.c_oAscDocumentUnits.Inch : ((value==Common.Utils.Metric.c_MetricUnits.pt) ? Asc.c_oAscDocumentUnits.Point : Asc.c_oAscDocumentUnits.Millimeter));
value
=
Common
.
localStorage
.
getItem
(
'
pe-hidden-rulers
'
);
if
(
me
.
api
.
asc_SetViewRulers
)
me
.
api
.
asc_SetViewRulers
(
value
===
null
||
parseInt
(
value
)
===
0
);
//
value = Common.localStorage.getItem('pe-hidden-rulers');
//
if (me.api.asc_SetViewRulers) me.api.asc_SetViewRulers(value===null || parseInt(value) === 0);
me
.
api
.
asc_registerCallback
(
'
asc_onChangeObjectLock
'
,
_
.
bind
(
me
.
_onChangeObjectLock
,
me
));
me
.
api
.
asc_registerCallback
(
'
asc_onDocumentModifiedChanged
'
,
_
.
bind
(
me
.
onDocumentModifiedChanged
,
me
));
...
...
apps/presentationeditor/mobile/resources/css/app-ios.css
View file @
313f799c
...
...
@@ -6506,6 +6506,11 @@ i.icon.icon-link {
height
:
22px
;
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22%23DF6737%22%3E%3Cg%3E%3Cpath%20d%3D%22M12.4%2C9.8c0%2C0-2.1-0.1-3.8%2C1.2c-2.8%2C2-3.3%2C4.3-3.3%2C4.3s1.6-1.7%2C3.5-2.5c1.7-0.7%2C3.7-0.4%2C3.7-0.4v1.9l4.8-3.3V11l-4.8-3.3V9.8z%20M11%2C1C5.5%2C1%2C1%2C5.5%2C1%2C11c0%2C5.5%2C4.5%2C10%2C10%2C10s10-4.5%2C10-10C21%2C5.5%2C16.5%2C1%2C11%2C1z%20M11%2C20c-5%2C0-9-4.1-9-9C2%2C6%2C6%2C2%2C11%2C2s9%2C4.1%2C9%2C9C20%2C16%2C16%2C20%2C11%2C20z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")
;
}
#editor_sdk
{
margin-top
:
44px
;
-webkit-transition-duration
:
300ms
;
transition-duration
:
300ms
;
}
#add-table
.page
,
#add-shape
.page
{
background-color
:
#fff
;
...
...
apps/presentationeditor/mobile/resources/css/app-material.css
View file @
313f799c
...
...
@@ -6094,6 +6094,11 @@ i.icon.icon-link {
height
:
22px
;
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22%23fff%22%3E%3Cg%3E%3Cpolygon%20points%3D%2210.9%2C16.9%202%2C8.1%204.1%2C6%2011.1%2C12.8%2017.9%2C6%2020%2C8.1%2011.2%2C16.9%2011.1%2C17%20%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")
;
}
#editor_sdk
{
margin-top
:
48px
;
-webkit-transition-duration
:
300ms
;
transition-duration
:
300ms
;
}
*
{
-webkit-user-select
:
none
;
user-select
:
none
;
...
...
apps/presentationeditor/mobile/resources/less/app-ios.less
View file @
313f799c
...
...
@@ -75,6 +75,13 @@ input, textarea {
@import url('ios/_search.less');
@import url('ios/_icons.less');
// Top offset
#editor_sdk {
margin-top: @toolbarSize;
.transition(300ms);
}
// Add Container
#add-table,
...
...
apps/presentationeditor/mobile/resources/less/app-material.less
View file @
313f799c
...
...
@@ -56,6 +56,13 @@
@import url('material/_search.less');
@import url('material/_icons.less');
// Top offset
#editor_sdk {
margin-top: @toolbarSize;
.transition(300ms);
}
// Disable text select
* {
-webkit-user-select: none;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment