3.0 source code
This commit is contained in:
@@ -7,7 +7,11 @@
|
||||
<meta name="description" content="">
|
||||
<meta name="author" content="">
|
||||
|
||||
<!-- splash -->
|
||||
<!-- debug begin -->
|
||||
<link rel="stylesheet/less" type="text/css" href="resources/less/application.less" />
|
||||
<!-- debug end -->
|
||||
|
||||
<!-- splash -->
|
||||
|
||||
<style type="text/css">
|
||||
.loadmask {
|
||||
@@ -22,35 +26,132 @@
|
||||
z-index: 20002;
|
||||
}
|
||||
|
||||
.loadmask-body {
|
||||
position:relative;
|
||||
top:44%;
|
||||
.loader-page {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50px;
|
||||
height: 180px;
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
margin-top: -100px;
|
||||
}
|
||||
|
||||
.loadmask-logo {
|
||||
display:inline-block;
|
||||
min-width:220px;
|
||||
height: 62px;
|
||||
vertical-align:top;
|
||||
background-image:url('./resources/img/loading-logo.gif');
|
||||
background-repeat:no-repeat;
|
||||
.romb {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-moz-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-ms-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-o-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
position: absolute;
|
||||
background: red;
|
||||
border-radius: 6px;
|
||||
-webkit-animation: movedown 3s infinite ease;
|
||||
-moz-animation: movedown 3s infinite ease;
|
||||
-ms-animation: movedown 3s infinite ease;
|
||||
-o-animation: movedown 3s infinite ease;
|
||||
animation: movedown 3s infinite ease;
|
||||
}
|
||||
|
||||
#loadmask-text {
|
||||
color: #b2b2b2;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-family: Arial;
|
||||
height:14px;
|
||||
margin-top:32px;
|
||||
padding-left:40px;
|
||||
text-align:left;
|
||||
text-transform: uppercase;
|
||||
#blue {
|
||||
z-index: 3;
|
||||
background: #55bce6;
|
||||
-webkit-animation-name: blue;
|
||||
-moz-animation-name: blue;
|
||||
-ms-animation-name: blue;
|
||||
-o-animation-name: blue;
|
||||
animation-name: blue;
|
||||
}
|
||||
|
||||
#red {
|
||||
z-index:1;
|
||||
background: #de7a59;
|
||||
-webkit-animation-name: red;
|
||||
-moz-animation-name: red;
|
||||
-ms-animation-name: red;
|
||||
-o-animation-name: red;
|
||||
animation-name: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
z-index: 2;
|
||||
background: #a1cb5c;
|
||||
-webkit-animation-name: green;
|
||||
-moz-animation-name: green;
|
||||
-ms-animation-name: green;
|
||||
-o-animation-name: green;
|
||||
animation-name: green;
|
||||
}
|
||||
|
||||
@-webkit-keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0;}
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0; }
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
|
||||
@keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<link href="../../../3rdparty/bootstrap/css/bootstrap.css" rel="stylesheet">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
@@ -58,6 +159,11 @@
|
||||
|
||||
<body class="embed-body">
|
||||
|
||||
<!-- debug begin -->
|
||||
<script type="text/javascript">var less=less||{};less.env='development';</script>
|
||||
<script src="../../../vendor/less/dist/less-1.5.1.js" type="text/javascript"></script>
|
||||
<!-- debug end -->
|
||||
|
||||
<!--facebook button-->
|
||||
<div id="fb-root"></div>
|
||||
<script>(function(d, s, id) {
|
||||
@@ -72,13 +178,12 @@
|
||||
<!--twitter button-->
|
||||
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
||||
|
||||
|
||||
<div id="loading-mask" class="loadmask">
|
||||
<div class="loadmask-body" align="center">
|
||||
<div class="loadmask-logo">
|
||||
<!-- <div id="loadmask-text">LOADING APPLICATION</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="loader-page">
|
||||
<div class="romb" id="blue"></div>
|
||||
<div class="romb" id="green"></div>
|
||||
<div class="romb" id="red"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="viewer">
|
||||
@@ -87,9 +192,8 @@
|
||||
</div>
|
||||
|
||||
<div class="overlay-controls" style="margin-left: -32px">
|
||||
<ul class="left" style="width: 90px;">
|
||||
<ul class="left">
|
||||
<li id="id-btn-zoom-in"><button class="overlay"><i class="overlay-icon-zoom-in"></i></button></li>
|
||||
<li style="width: 10px"></li>
|
||||
<li id="id-btn-zoom-out"><button class="overlay"><i class="overlay-icon-zoom-out"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -108,15 +212,19 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="error modal hide" id="id-critical-error-dialog" tabindex="-1" role="dialog">
|
||||
<div class="modal-header">
|
||||
<h3 id="id-critical-error-title"></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="id-critical-error-message"></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="id-critical-error-close" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
<div class="modal fade error" id="id-critical-error-dialog" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 id="id-critical-error-title"></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="id-critical-error-message"></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="id-critical-error-close" class="btn btn-sm btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -125,124 +233,20 @@
|
||||
<div class="cmd-loader-title">Please wait...</div>
|
||||
</div>
|
||||
|
||||
<!--3td party-->
|
||||
<script type="text/javascript" src="../../../3rdparty/jquery/jquery-1.8.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/jquery/mousewheel/jquery.mousewheel.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/bootstrap/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/ZeroClipboard/ZeroClipboard.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/sockjs/sockjs-0.3.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/underscore/underscore-min.js"></script>
|
||||
<!--vendor-->
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/ZeroClipboard/ZeroClipboard.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
<!--sdk-->
|
||||
<link rel="stylesheet" type="text/css" href="../../../sdk/Excel/css/main.css"/>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/browser.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapicommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/docscoapi.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/downloaderfiles.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/apiCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/commonDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/editorscommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/NumFormat.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Charts/charts.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Charts/DrawingObjects.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/font_engine.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontFile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontManager.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/HatchPattern.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Externals.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/Metafile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/GlobalLoaders.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/trackFile.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/apiDefines.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/offlinedocs/test-workbook9/Editor.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/offlinedocs/empty-workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/utils/utils.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/clipboard.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/autofilters.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/graphics/DrawingContext.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/graphics/pdfprinter.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CollaborativeEditing.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/ConditionalFormatting.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/parserFormula.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/dateandtimeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/engineeringFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/cubeFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/databaseFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/textanddataFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/statisticalFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/financialFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/mathematicFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/lookupandreferenceFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/informationFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/FormulaObjects/logicalFunctions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/WorkbookElems.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/Workbook.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CellInfo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/AdvancedOptions.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/History.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/UndoRedo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/CellComment.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/StringRender.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/CellTextRender.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/CellEditorView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/WorksheetView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/HandlerList.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/EventsController.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/view/WorkbookView.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/scroll.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/ColorArray.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/EditorSettings.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/Serialize.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/Shapes/SerializeWriter.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/SerializeCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Format.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/CreateGeometry.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Geometry.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Path.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/Math.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/Drawing/ArcTo.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Common/SerializeCommonWordExcel.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/DrawingObjectsController.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/States.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/GroupShape.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Image.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Shape.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/TextBody.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Styles.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Numbering.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ParagraphContent.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Paragraph.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/DocumentContent.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/FontClassification.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/Chart.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartLayout.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartLegend.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Format/ChartTitle.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/AdjustmentTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/ResizeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/RotateTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/NewShapeTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/PolyLine.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/Spline.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Tracks/MoveTracks.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Hit.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Controls.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Graphics.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/Overlay.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/GlobalCounters.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/DrawingDocument.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/model/DrawingObjects/ShapeDrawer.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Word/apiCommon.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/api.js"></script>
|
||||
<script type="text/javascript" src="../../../sdk/Excel/sdk-all.js"></script>
|
||||
|
||||
<!--application-->
|
||||
<link href="resources/css/application.css" rel="stylesheet">
|
||||
<script type="text/javascript" src="../../common/Gateway.js"></script>
|
||||
<script type="text/javascript" src="../../common/Analytics.js"></script>
|
||||
<script type="text/javascript" src="js/ApplicationView.js"></script>
|
||||
|
||||
@@ -22,35 +22,132 @@
|
||||
z-index: 20002;
|
||||
}
|
||||
|
||||
.loadmask-body {
|
||||
position:relative;
|
||||
top:44%;
|
||||
.loader-page {
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 50px;
|
||||
height: 180px;
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
margin-top: -100px;
|
||||
}
|
||||
|
||||
.loadmask-logo {
|
||||
display:inline-block;
|
||||
min-width:220px;
|
||||
height: 62px;
|
||||
vertical-align:top;
|
||||
background-image:url('./resources/img/loading-logo.gif');
|
||||
background-repeat:no-repeat;
|
||||
.romb {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-moz-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-ms-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
-o-transform: rotate(135deg) skew(20deg, 20deg);
|
||||
position: absolute;
|
||||
background: red;
|
||||
border-radius: 6px;
|
||||
-webkit-animation: movedown 3s infinite ease;
|
||||
-moz-animation: movedown 3s infinite ease;
|
||||
-ms-animation: movedown 3s infinite ease;
|
||||
-o-animation: movedown 3s infinite ease;
|
||||
animation: movedown 3s infinite ease;
|
||||
}
|
||||
|
||||
#loadmask-text {
|
||||
color: #b2b2b2;
|
||||
font-size: 10px;
|
||||
font-weight: bold;
|
||||
font-family: Arial;
|
||||
height:14px;
|
||||
margin-top:32px;
|
||||
padding-left:40px;
|
||||
text-align:left;
|
||||
text-transform: uppercase;
|
||||
#blue {
|
||||
z-index: 3;
|
||||
background: #55bce6;
|
||||
-webkit-animation-name: blue;
|
||||
-moz-animation-name: blue;
|
||||
-ms-animation-name: blue;
|
||||
-o-animation-name: blue;
|
||||
animation-name: blue;
|
||||
}
|
||||
|
||||
#red {
|
||||
z-index:1;
|
||||
background: #de7a59;
|
||||
-webkit-animation-name: red;
|
||||
-moz-animation-name: red;
|
||||
-ms-animation-name: red;
|
||||
-o-animation-name: red;
|
||||
animation-name: red;
|
||||
}
|
||||
|
||||
#green {
|
||||
z-index: 2;
|
||||
background: #a1cb5c;
|
||||
-webkit-animation-name: green;
|
||||
-moz-animation-name: green;
|
||||
-ms-animation-name: green;
|
||||
-o-animation-name: green;
|
||||
animation-name: green;
|
||||
}
|
||||
|
||||
@-webkit-keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0;}
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@keyframes red {
|
||||
0% { top:120px; background: #de7a59; }
|
||||
10% { top:120px; background: #F2CBBF; }
|
||||
14% { background: #f4f4f4; top:120px; }
|
||||
15% { background: #f4f4f4; top:0; }
|
||||
20% { background: #E6E4E4; }
|
||||
30% { background: #D2D2D2; }
|
||||
40% { top:120px; }
|
||||
100% { top:120px; background: #de7a59; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@keyframes green {
|
||||
0% { top:110px; background: #a1cb5c; opacity:1; }
|
||||
10% { top:110px; background: #CBE0AC; opacity:1; }
|
||||
14% { background: #f4f4f4; top:110px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #EFEFEF; top:0; opacity:1; }
|
||||
30% { background:#E6E4E4; }
|
||||
70% { top:110px; }
|
||||
100% { top:110px; background: #a1cb5c; }
|
||||
}
|
||||
|
||||
@-webkit-keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
|
||||
@keyframes blue {
|
||||
0% { top:100px; background: #55bce6; opacity:1; }
|
||||
10% { top:100px; background: #BFE8F8; opacity:1; }
|
||||
14% { background: #f4f4f4; top:100px; opacity:1; }
|
||||
15% { background: #f4f4f4; top:0; opacity:1; }
|
||||
20% { background: #f4f4f4; top:0; opacity:0; }
|
||||
25% { background: #f4f4f4; top:0; opacity:0; }
|
||||
45% { background: #EFEFEF; top:0; opacity:0,2; }
|
||||
100% { top:100px; background: #55bce6; }
|
||||
}
|
||||
</style>
|
||||
|
||||
<link href="../../../3rdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
@@ -74,19 +171,18 @@
|
||||
|
||||
|
||||
<div id="loading-mask" class="loadmask">
|
||||
<div class="loadmask-body" align="center">
|
||||
<div class="loadmask-logo">
|
||||
<!-- <div id="loadmask-text">LOADING APPLICATION</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div class="loader-page">
|
||||
<div class="romb" id="blue"></div>
|
||||
<div class="romb" id="green"></div>
|
||||
<div class="romb" id="red"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="editor_sdk" class="viewer" style="overflow: hidden;"></div>
|
||||
|
||||
<div class="overlay-controls" style="margin-left: -32px">
|
||||
<ul class="left" style="width: 90px;">
|
||||
<ul class="left">
|
||||
<li id="id-btn-zoom-in"><button class="overlay"><i class="overlay-icon-zoom-in"></i></button></li>
|
||||
<li style="width: 10px"></li>
|
||||
<li id="id-btn-zoom-out"><button class="overlay"><i class="overlay-icon-zoom-out"></i></button></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -107,15 +203,19 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="error modal hide" id="id-critical-error-dialog" tabindex="-1" role="dialog">
|
||||
<div class="modal-header">
|
||||
<h3 id="id-critical-error-title"></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="id-critical-error-message"></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="id-critical-error-close" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
<div class="modal fade error" id="id-critical-error-dialog" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 id="id-critical-error-title"></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p id="id-critical-error-message"></p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="id-critical-error-close" class="btn btn-sm btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -124,14 +224,13 @@
|
||||
<div class="cmd-loader-title">Please wait...</div>
|
||||
</div>
|
||||
|
||||
<!--3td party-->
|
||||
<script type="text/javascript" src="../../../3rdparty/jquery/jquery-1.8.1.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/jquery/mousewheel/jquery.mousewheel.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/ZeroClipboard/ZeroClipboard.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/xregexp/xregexp-all-min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/sockjs/sockjs-0.3.min.js"></script>
|
||||
<script type="text/javascript" src="../../../3rdparty/underscore/underscore-min.js"></script>
|
||||
<!--vendor-->
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/ZeroClipboard/ZeroClipboard.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
|
||||
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
|
||||
|
||||
|
||||
<!--sdk-->
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,48 +1,50 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var ApplicationView = new(function () {
|
||||
function createView() {
|
||||
$("#id-btn-share").popover({
|
||||
trigger: "manual",
|
||||
template: '<div class="popover share" id="id-popover-share"><div class="arrow"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>',
|
||||
content: '<div class="share-link">' + '<span class="caption">Link:</span>' + '<span id="id-short-url" class="input-medium uneditable-input"></span>' + '<button id="id-btn-copy-short" type="button" class="btn btn-mini btn-primary" style="width: 65px;" data-copied-text="Copied">Copy</button>' + "</div> " + '<div class="share-buttons" style="height: 25px" id="id-popover-social-container" data-loaded="false">' + "<ul></ul>" + "</div>"
|
||||
}).popover("show");
|
||||
$("#id-btn-embed").popover({
|
||||
trigger: "manual",
|
||||
template: '<div class="popover embed" id="id-popover-embed"><div class="arrow"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>',
|
||||
content: '<div class="size-manual">' + '<span class="caption">Width:</span>' + '<input id="id-input-embed-width" class="input-mini" type="text" value="400px">' + '<input id="id-input-embed-height" class="right input-mini" type="text" value="600px">' + '<span class="right caption">Height:</span>' + "</div>" + '<textarea id="id-textarea-embed" rows="4" readonly></textarea>' + '<button id="id-btn-copy-embed" type="button" class="btn btn-mini btn-primary" data-copied-text="Copied">Copy</button>'
|
||||
}).popover("show");
|
||||
}
|
||||
return {
|
||||
create: createView
|
||||
};
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
var ApplicationView = new(function () {
|
||||
function createView() {
|
||||
$("#id-btn-share").popover({
|
||||
trigger: "manual",
|
||||
html: true,
|
||||
template: '<div class="popover share" id="id-popover-share"><div class="arrow"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>',
|
||||
content: '<div class="share-link">' + '<span class="caption">Link:</span>' + '<input id="id-short-url" class="input-xs form-control" readonly/>' + '<button id="id-btn-copy-short" type="button" class="btn btn-xs btn-primary" style="width: 65px;" data-copied-text="Copied">Copy</button>' + "</div> " + '<div class="share-buttons" style="height: 25px" id="id-popover-social-container" data-loaded="false">' + "<ul></ul>" + "</div>"
|
||||
}).popover("show");
|
||||
$("#id-btn-embed").popover({
|
||||
trigger: "manual",
|
||||
html: true,
|
||||
template: '<div class="popover embed" id="id-popover-embed"><div class="arrow"></div><div class="popover-inner"><div class="popover-content"><p></p></div></div></div>',
|
||||
content: '<div class="size-manual">' + '<span class="caption">Width:</span>' + '<input id="id-input-embed-width" class="form-control input-xs" type="text" value="400px">' + '<input id="id-input-embed-height" class="form-control input-xs right" type="text" value="600px">' + '<span class="right caption">Height:</span>' + "</div>" + '<textarea id="id-textarea-embed" rows="4" class="form-control" readonly></textarea>' + '<button id="id-btn-copy-embed" type="button" class="btn btn-xs btn-primary" data-copied-text="Copied">Copy</button>'
|
||||
}).popover("show");
|
||||
}
|
||||
return {
|
||||
create: createView
|
||||
};
|
||||
})();
|
||||
@@ -1,37 +1,37 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
(function ($) {
|
||||
$(function () {
|
||||
ApplicationView.create();
|
||||
ApplicationController.create();
|
||||
});
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2015
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
(function ($) {
|
||||
$(function () {
|
||||
ApplicationView.create();
|
||||
ApplicationController.create();
|
||||
});
|
||||
})(window.jQuery);
|
||||
@@ -1,545 +0,0 @@
|
||||
.clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
display: table;
|
||||
content: "";
|
||||
line-height: 0;
|
||||
}
|
||||
.clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.hide-text {
|
||||
font: 0/0 a;
|
||||
color: transparent;
|
||||
text-shadow: none;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
}
|
||||
.input-block-level {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: 30px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.btn-mini {
|
||||
font-weight: bold;
|
||||
}
|
||||
.btn-primary {
|
||||
color: #ffffff;
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
background-color: #7a9adf;
|
||||
background-image: -moz-linear-gradient(top, #8aacf1, #6180c4);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8aacf1), to(#6180c4));
|
||||
background-image: -webkit-linear-gradient(top, #8aacf1, #6180c4);
|
||||
background-image: -o-linear-gradient(top, #8aacf1, #6180c4);
|
||||
background-image: linear-gradient(to bottom, #8aacf1, #6180c4);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8aacf1', endColorstr='#ff6180c4', GradientType=0);
|
||||
border-color: #6180c4 #6180c4 #3b5a9e;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
*background-color: #6180c4;
|
||||
/* Darken IE7 buttons by default so they stand out more given they won't have borders */
|
||||
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:active,
|
||||
.btn-primary.active,
|
||||
.btn-primary.disabled,
|
||||
.btn-primary[disabled] {
|
||||
color: #ffffff;
|
||||
background-color: #6180c4;
|
||||
*background-color: #4e71bd;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #4264b0 \9;
|
||||
}
|
||||
.embed-body {
|
||||
-moz-user-select: -moz-none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.popover.top {
|
||||
margin-top: -10px;
|
||||
}
|
||||
.viewer {
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
.viewer.top {
|
||||
top: 32px;
|
||||
bottom: 0;
|
||||
}
|
||||
.viewer.bottom {
|
||||
top: 0;
|
||||
bottom: 30px;
|
||||
}
|
||||
.toolbar {
|
||||
position: fixed;
|
||||
font-size: 12px;
|
||||
min-width: 340px;
|
||||
background-color: #dfdfdf;
|
||||
background-image: -moz-linear-gradient(top, #ebebeb, #cccccc);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ebebeb), to(#cccccc));
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb, #cccccc);
|
||||
background-image: -o-linear-gradient(top, #ebebeb, #cccccc);
|
||||
background-image: linear-gradient(to bottom, #ebebeb, #cccccc);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#ffcccccc', GradientType=0);
|
||||
}
|
||||
.toolbar.top {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 32px;
|
||||
-webkit-box-shadow: inset 0 -1px 0 #929292, inset 0 1px 0 #fafafa;
|
||||
-moz-box-shadow: inset 0 -1px 0 #929292, inset 0 1px 0 #fafafa;
|
||||
box-shadow: inset 0 -1px 0 #929292, inset 0 1px 0 #fafafa;
|
||||
}
|
||||
.toolbar.bottom {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
-webkit-box-shadow: inset 0 1px 0 #929292, inset 0 2px 0 #fafafa;
|
||||
-moz-box-shadow: inset 0 1px 0 #929292, inset 0 2px 0 #fafafa;
|
||||
box-shadow: inset 0 1px 0 #929292, inset 0 2px 0 #fafafa;
|
||||
}
|
||||
.toolbar ul {
|
||||
position: absolute;
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
}
|
||||
.toolbar ul li input {
|
||||
height: 14px;
|
||||
font-size: 12px;
|
||||
margin: 4px 3px 5px;
|
||||
padding: 4px 0;
|
||||
text-align: center;
|
||||
}
|
||||
.toolbar ul li .text {
|
||||
cursor: default;
|
||||
}
|
||||
.toolbar ul.left {
|
||||
left: 0;
|
||||
}
|
||||
.toolbar ul.left li {
|
||||
float: left;
|
||||
}
|
||||
.toolbar ul.right {
|
||||
right: 0;
|
||||
}
|
||||
.toolbar ul.right li {
|
||||
float: left;
|
||||
}
|
||||
.toolbar ul .separator {
|
||||
height: 24px;
|
||||
margin: 4px 9px;
|
||||
border-right: 1px solid #fafafa;
|
||||
border-left: 1px solid #929292;
|
||||
}
|
||||
a.brand-logo {
|
||||
display: block;
|
||||
background-image: url("../img/glyphicons.png");
|
||||
width: 127px;
|
||||
height: 20px;
|
||||
margin: 5px 0 0 10px;
|
||||
background-position: 0 -100px;
|
||||
}
|
||||
[class^="control-icon-"],
|
||||
[class*=" control-icon-"] {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
vertical-align: text-top;
|
||||
background-image: url("../img/glyphicons.png");
|
||||
background-repeat: no-repeat;
|
||||
margin-top: -2px;
|
||||
}
|
||||
[class^="overlay-icon-"],
|
||||
[class*=" overlay-icon-"] {
|
||||
display: inline-block;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: text-top;
|
||||
background-image: url("../img/glyphicons.png");
|
||||
background-repeat: no-repeat;
|
||||
opacity: .3;
|
||||
}
|
||||
.control-icon-share {
|
||||
background-position: 0 0;
|
||||
}
|
||||
.control-icon-embed {
|
||||
background-position: 0 -20px;
|
||||
}
|
||||
.control-icon-fullscreen {
|
||||
background-position: 0 -40px;
|
||||
}
|
||||
.control-icon-close {
|
||||
background-position: 0 -60px;
|
||||
}
|
||||
.control-icon-save {
|
||||
background-position: 0 -80px;
|
||||
}
|
||||
.overlay-icon-zoom-in {
|
||||
background-position: 0 -120px;
|
||||
}
|
||||
.overlay-icon-zoom-out {
|
||||
background-position: -32px -120px;
|
||||
}
|
||||
.control-btn {
|
||||
display: inline-block;
|
||||
padding: 1px 5px;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
margin: 4px 5px 0 0;
|
||||
}
|
||||
.control-btn i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.control-btn.no-caption {
|
||||
padding: 1px 2px;
|
||||
}
|
||||
.control-btn.no-caption i {
|
||||
margin-right: 0;
|
||||
}
|
||||
.control-btn:hover {
|
||||
color: #7698de;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 #fafafa;
|
||||
}
|
||||
.control-btn:hover .control-icon-share {
|
||||
background-position: -20px 0;
|
||||
}
|
||||
.control-btn:hover .control-icon-embed {
|
||||
background-position: -20px -20px;
|
||||
}
|
||||
.control-btn:hover .control-icon-fullscreen {
|
||||
background-position: -20px -40px;
|
||||
}
|
||||
.control-btn:hover .control-icon-close {
|
||||
background-position: -20px -60px;
|
||||
}
|
||||
.control-btn:hover .control-icon-save {
|
||||
background-position: -20px -80px;
|
||||
}
|
||||
.control-btn:focus {
|
||||
outline: thin dotted #333;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
.control-btn.active,
|
||||
.control-btn:active {
|
||||
color: #ffffff;
|
||||
outline: 0;
|
||||
border: 1px solid #4e71bd;
|
||||
background-color: #7192d6;
|
||||
background-image: -moz-linear-gradient(top, #6180c4, #8aacf1);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6180c4), to(#8aacf1));
|
||||
background-image: -webkit-linear-gradient(top, #6180c4, #8aacf1);
|
||||
background-image: -o-linear-gradient(top, #6180c4, #8aacf1);
|
||||
background-image: linear-gradient(to bottom, #6180c4, #8aacf1);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff6180c4', endColorstr='#ff8aacf1', GradientType=0);
|
||||
text-shadow: 0 1px 0 #5f5f5f;
|
||||
}
|
||||
.control-btn.active .control-icon-share,
|
||||
.control-btn:active .control-icon-share {
|
||||
background-position: -40px 0;
|
||||
}
|
||||
.control-btn.active .control-icon-embed,
|
||||
.control-btn:active .control-icon-embed {
|
||||
background-position: -40px -20px;
|
||||
}
|
||||
.control-btn.active .control-icon-fullscreen,
|
||||
.control-btn:active .control-icon-fullscreen {
|
||||
background-position: -40px -40px;
|
||||
}
|
||||
.control-btn.active .control-icon-close,
|
||||
.control-btn:active .control-icon-close {
|
||||
background-position: -40px -60px;
|
||||
}
|
||||
.control-btn.active .control-icon-save,
|
||||
.control-btn:active .control-icon-save {
|
||||
background-position: -40px -80px;
|
||||
}
|
||||
.overlay-controls {
|
||||
position: absolute;
|
||||
bottom: 55px;
|
||||
z-index: 10;
|
||||
left: 50%;
|
||||
}
|
||||
.overlay-controls ul {
|
||||
list-style-type: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.overlay-controls ul li {
|
||||
display: inline-block;
|
||||
}
|
||||
.overlay-controls .overlay {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: none;
|
||||
padding: 0;
|
||||
line-height: 0;
|
||||
}
|
||||
.overlay-controls .overlay:hover [class^="overlay-icon-"],
|
||||
.overlay-controls .overlay:hover [class*=" overlay-icon-"] {
|
||||
opacity: .6;
|
||||
}
|
||||
.overlay-controls .overlay.active [class^="overlay-icon-"],
|
||||
.overlay-controls .overlay:active [class^="overlay-icon-"],
|
||||
.overlay-controls .overlay.active [class*=" overlay-icon-"],
|
||||
.overlay-controls .overlay:active [class*=" overlay-icon-"] {
|
||||
opacity: .8;
|
||||
}
|
||||
.errormask {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border: none;
|
||||
background-color: #f4f4f4;
|
||||
z-index: 30002;
|
||||
}
|
||||
.errormask .error-body {
|
||||
position: relative;
|
||||
top: 40%;
|
||||
width: 400px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #FFFFFF;
|
||||
border: 1px solid #C0C0C0;
|
||||
}
|
||||
.errormask .error-body .title {
|
||||
font-weight: bold;
|
||||
font-size: 1.6em;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.popover .popover-content {
|
||||
padding: 14px;
|
||||
}
|
||||
.popover .btn {
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
.popover.hyperlink .popover-content {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
.popover.hyperlink .popover-content p {
|
||||
display: block;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.popover.share {
|
||||
width: 280px;
|
||||
}
|
||||
.popover.share .share-link .caption {
|
||||
margin-right: 8px;
|
||||
float: left;
|
||||
}
|
||||
.popover.share .share-link .uneditable-input {
|
||||
font-size: 1em;
|
||||
padding: 0 4px;
|
||||
margin-right: 5px;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
cursor: auto;
|
||||
-moz-user-select: text;
|
||||
-khtml-user-select: text;
|
||||
-webkit-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
.popover.share .share-link .input-medium {
|
||||
width: 130px;
|
||||
}
|
||||
.popover.share .share-link .btn {
|
||||
float: right;
|
||||
}
|
||||
.popover.share .share-buttons ul {
|
||||
height: 25px;
|
||||
list-style-type: none;
|
||||
margin: 5px 0 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.popover.share .share-buttons ul li {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
margin: 1px 5px 0 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.popover.share .share-buttons ul li.share-mail {
|
||||
float: right;
|
||||
margin: 0;
|
||||
}
|
||||
.popover.share .share-buttons ul li.share-mail a {
|
||||
padding: 2px 8px;
|
||||
}
|
||||
.popover.share .share-buttons ul li.share-mail i {
|
||||
margin-right: 5px;
|
||||
}
|
||||
.popover.share .share-buttons ul li.share-twitter {
|
||||
max-width: 100px;
|
||||
}
|
||||
.popover.embed {
|
||||
width: 270px;
|
||||
}
|
||||
.popover.embed .size-manual {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.popover.embed .right {
|
||||
float: right;
|
||||
}
|
||||
.popover.embed .caption {
|
||||
margin-right: 8px;
|
||||
}
|
||||
.popover.embed input {
|
||||
font-size: 1em;
|
||||
padding: 0 4px;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
margin: 0;
|
||||
margin-top: -1px;
|
||||
}
|
||||
.popover.embed input.input-mini {
|
||||
width: 40px;
|
||||
}
|
||||
.popover.embed textarea {
|
||||
width: 228px;
|
||||
resize: none;
|
||||
cursor: auto;
|
||||
font-size: 1em;
|
||||
-webkit-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.popover.embed button {
|
||||
float: right;
|
||||
margin: 5px 0 15px;
|
||||
width: 86px;
|
||||
}
|
||||
.modal.error .modal-footer {
|
||||
text-align: center;
|
||||
}
|
||||
.cmd-loader-body {
|
||||
z-index: 20001;
|
||||
width: 300px;
|
||||
padding: 16px;
|
||||
margin: -71px 0 0 -166px;
|
||||
border: none;
|
||||
background-image: none;
|
||||
background-color: #787C80;
|
||||
opacity: 0.8;
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.cmd-loader-body .cmd-loader-image {
|
||||
background-image: url("../img/loading.gif");
|
||||
background-repeat: no-repeat;
|
||||
background-position: top center;
|
||||
height: 74px;
|
||||
width: 100%;
|
||||
}
|
||||
.cmd-loader-body .cmd-loader-title {
|
||||
font-size: 18px;
|
||||
font-weight: lighter;
|
||||
color: #FFF;
|
||||
text-align: center;
|
||||
margin: 16px 24px 0 24px;
|
||||
}
|
||||
.viewer .sdk-view {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 25px;
|
||||
}
|
||||
.viewer ul.worksheet-list {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0 9px;
|
||||
border-top: 1px solid #5A5A5A;
|
||||
border-bottom: 1px solid #BABABA;
|
||||
background-color: #bebebe;
|
||||
background-image: -moz-linear-gradient(top, #b6b6b6, #cacaca);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b6b6b6), to(#cacaca));
|
||||
background-image: -webkit-linear-gradient(top, #b6b6b6, #cacaca);
|
||||
background-image: -o-linear-gradient(top, #b6b6b6, #cacaca);
|
||||
background-image: linear-gradient(to bottom, #b6b6b6, #cacaca);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb6b6b6', endColorstr='#ffcacaca', GradientType=0);
|
||||
box-shadow: 0 4px 4px -4px #333333 inset;
|
||||
}
|
||||
.viewer ul.worksheet-list li {
|
||||
float: left;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
margin: 0 2px 2px 3px;
|
||||
padding: 0 13px;
|
||||
color: #FFFFFF;
|
||||
background-color: #909090;
|
||||
background-image: -moz-linear-gradient(top, #9a9a9a, #828282);
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9a9a9a), to(#828282));
|
||||
background-image: -webkit-linear-gradient(top, #9a9a9a, #828282);
|
||||
background-image: -o-linear-gradient(top, #9a9a9a, #828282);
|
||||
background-image: linear-gradient(to bottom, #9a9a9a, #828282);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9a9a9a', endColorstr='#ff828282', GradientType=0);
|
||||
box-shadow: 0 4px 4px -4px #333333 inset;
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
-moz-border-radius-bottomright: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
-moz-border-radius-bottomleft: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom: 1px solid #929292;
|
||||
border-top-color: transparent;
|
||||
}
|
||||
.viewer ul.worksheet-list li.active {
|
||||
margin-top: -1px;
|
||||
padding: 0 12px;
|
||||
border: 1px solid #929292;
|
||||
border-top-color: transparent;
|
||||
background: #DDDDDD;
|
||||
color: #000;
|
||||
box-shadow: none;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
// Bootstrap core variables and mixins
|
||||
// Common styles
|
||||
@import "../../../../common/embed/resources/less/common.less";
|
||||
|
||||
// Worksheets
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
call npm install less
|
||||
call npm install watchr
|
||||
@@ -1,99 +0,0 @@
|
||||
/*
|
||||
* (c) Copyright Ascensio System SIA 2010-2014
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
|
||||
* EU, LV-1021.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
(function () {
|
||||
var path = require("path"),
|
||||
util = require("util"),
|
||||
fs = require("fs"),
|
||||
watchr = require("watchr"),
|
||||
less = require("less"),
|
||||
cwd = process.cwd(),
|
||||
watchPath = process.argv.length === 3 ? path.resolve(cwd, process.argv[2]) : cwd;
|
||||
var options = {
|
||||
compress: false,
|
||||
yuicompress: false,
|
||||
optimization: 1,
|
||||
silent: false,
|
||||
paths: [],
|
||||
color: true,
|
||||
strictImports: false
|
||||
};
|
||||
var parseLessFile = function (input, output) {
|
||||
return function (e, data) {
|
||||
if (e) {
|
||||
console.log("lessc:", e.message);
|
||||
}
|
||||
new(less.Parser)({
|
||||
paths: [path.dirname(input)],
|
||||
optimization: options.optimization,
|
||||
filename: input
|
||||
}).parse(data, function (err, tree) {
|
||||
if (err) {
|
||||
less.writeError(err, options);
|
||||
} else {
|
||||
try {
|
||||
var css = tree.toCSS({
|
||||
compress: options.compress
|
||||
});
|
||||
if (output) {
|
||||
var fd = fs.openSync(output, "w");
|
||||
fs.writeSync(fd, css, 0, "utf8");
|
||||
} else {
|
||||
console.log("WARNING: output is undefined");
|
||||
util.print(css);
|
||||
}
|
||||
} catch(e) {
|
||||
less.writeError(e, options);
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
};
|
||||
console.log(">>> Script is polling for changes. Press Ctrl-C to Stop.");
|
||||
watchr.watch({
|
||||
path: watchPath,
|
||||
listener: function (eventName, filePath, fileCurrentStat, filePreviousStat) {
|
||||
if (eventName == "change" || eventName == "update") {
|
||||
console.log(">>> Change detected at", new Date().toLocaleTimeString(), "to:", path.basename(filePath));
|
||||
var baseFilePath = path.basename(filePath, ".less");
|
||||
fs.readFile(filePath, "utf-8", parseLessFile(filePath, "../css/" + baseFilePath + ".css"));
|
||||
console.log("overwrite", baseFilePath + ".css");
|
||||
}
|
||||
},
|
||||
next: function (err, watcher) {
|
||||
if (err) {
|
||||
console.log("!!! epic fail");
|
||||
throw err;
|
||||
}
|
||||
console.log("Now watching:", watchPath);
|
||||
}
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user