Open Office Editor W.I.P: Fix a few styling glitches

This commit is contained in:
Hadi Nategh 2016-07-21 10:14:19 +02:00
parent 4f7fa8f018
commit 48c85453a0
5 changed files with 59 additions and 2 deletions

View File

@ -117,6 +117,8 @@ app.classes.filemanager = AppJS.extend(
if (name == "filemanager.editor")
{
// need to make body rock solid to avoid extra scrollbars
jQuery('body').css({overflow:'hidden'});
this._init_odf_editor ();
}
},

View File

@ -128,3 +128,22 @@ table.egwGridView_grid .tile .file_tile {
margin-top: 5px;
margin-left: 10px;
}
#filemanager-editor_odfEditor {
position: absolute;
height: ~"calc(100% - 50px) !important";
width:100% !important;
top:50px;
left: 0px;
bottom: 0px;
right:0px;
padding:0px !important;
}
#filemanager-editor_odfEditor .webodfeditor-editor.dijitContentPane {
box-shadow: none;
left:0px !important;
top: 0px !important;
}
#filemanager-editor {
overflow: hidden;
}

View File

@ -8,14 +8,14 @@
<column width="100%"/>
</columns>
<rows>
<row height="45" class="dialogHeader">
<row height="45">
<box height="30">
<toolbar id="tools"/>
<textbox id="file_path" readonly="true"/>
</box>
</row>
<row>
<grid height="500" width="100%" resize_ratio="1">
<grid height="700" width="100%" resize_ratio="1">
<columns>
<column width="100%"/>
</columns>

View File

@ -171,6 +171,24 @@ input.displayNone {
margin-top: 5px;
margin-left: 10px;
}
#filemanager-editor_odfEditor {
position: absolute;
height: calc(100% - 50px) !important;
width: 100% !important;
top: 50px;
left: 0px;
bottom: 0px;
right: 0px;
padding: 0px !important;
}
#filemanager-editor_odfEditor .webodfeditor-editor.dijitContentPane {
box-shadow: none;
left: 0px !important;
top: 0px !important;
}
#filemanager-editor {
overflow: hidden;
}
/*/*****************************************************************
// sidebar

View File

@ -159,6 +159,24 @@ input.displayNone {
margin-top: 5px;
margin-left: 10px;
}
#filemanager-editor_odfEditor {
position: absolute;
height: calc(100% - 50px) !important;
width: 100% !important;
top: 50px;
left: 0px;
bottom: 0px;
right: 0px;
padding: 0px !important;
}
#filemanager-editor_odfEditor .webodfeditor-editor.dijitContentPane {
box-shadow: none;
left: 0px !important;
top: 0px !important;
}
#filemanager-editor {
overflow: hidden;
}
/*/*****************************************************************
// sidebar