Commit fd1779cc authored by campaign's avatar campaign

Merge remote-tracking branch 'origin/dev' into dev

parents 342ffba9 22e0fbeb
......@@ -10,15 +10,23 @@
<link href="../themes/default/_css/import.css" type="text/css" rel="stylesheet">
<style>
.km_receiver{
width:300px;height:300px;
width:0;
height:0;
}
.km-minderNode{
cursor:default;
}
.kmui-container {
height: 100%;
}
html, body, div {
margin: 0;
padding: 0;
}
</style>
</head>
<body >
<div id="kityminder" style="height:1000px;width:100%" onselectstart="return false">
<div id="kityminder" style="height:100%;width:100%" onselectstart="return false">
</div>
</body>
<script>
......
Subproject commit 1c5434e295dae9cad0f39248c9071ed99227cb33
Subproject commit 1140e977283ecc038ea444dd1186eb77c59510fb
This diff is collapsed.
......@@ -58,35 +58,28 @@ KityMinder.registerModule( "LayoutModule", function () {
} );
kity.extendClass( MinderNode, {
setLayout: function ( k, v ) {
if ( this.setData( 'layout' ) === undefined ) {
this.setData( 'layout', {} );
if ( this._layout === undefined ) {
this._layout = {};
}
var _pros = this.getLayout();
Utils.extend( _pros, {
k: v
} );
this.setData( 'layout', _pros );
this._layout = _pros;
},
getLayout: function ( k ) {
if ( k === undefined ) {
return this.getData( 'layout' );
return this._layout;
}
return this.getData( 'layout' )[ k ];
return this._layout[ k ];
},
clearLayout: function () {
this.setData( 'layout', {} );
},
setHide: function ( isHide ) {
this.setData( "hide", isHide );
},
isHide: function () {
return this.getData( "hide" );
this._layout = {};
}
} );
var switchLayout = function ( km, style ) {
var _root = km.getRoot();
_root.preTraverse( function ( n ) {
//n.clearLayout();
n.setPoint();
n.getBgRc().clear();
} );
......
.kmui-container{
position: relative;
border: 1px solid #d4d4d4;
box-shadow: 2px 2px 5px #d3d6da;
background-color: #fff;
.kmui-container {
}
.kmui-container .kmui-toolbar{
position: relative;
width:auto;
border-bottom: 1px solid #e1e1e1;
box-shadow: 2px 2px 5px #d3d6da;
background-color: #fafafa;
z-index: 99999;
}
.kmui-toolbar .kmui-btn-toolbar{
position: relative;
padding: 5px;
}
.kmui-toolbar {
position: absolute;
left: 10px;
top: 10px;
border-radius: 4px;
}
.kmui-container .kmui-editor-body{
background-color: #000000;
background-color: #333;
line-height: 0;
overflow: hidden;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment