Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
0da4bf73
Commit
0da4bf73
authored
Feb 18, 2014
by
Akikonata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added style
parent
bf0f6134
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
28 deletions
+33
-28
layout.js
src/module/layout.js
+5
-1
dialogsize.css
themes/default/_css/dialogsize.css
+0
-27
import.css
themes/default/_css/import.css
+1
-0
markers.css
themes/default/_css/markers.css
+27
-0
No files found.
src/module/layout.js
View file @
0da4bf73
...
...
@@ -132,7 +132,11 @@ KityMinder.registerModule( "LayoutModule", function () {
base
:
Command
,
execute
:
function
(
km
)
{
var
selectedNodes
=
km
.
getSelectedNodes
();
if
(
selectedNodes
.
length
===
0
)
return
false
;
var
_root
=
km
.
getRoot
();
if
(
selectedNodes
.
length
===
0
||
(
selectedNodes
.
length
===
1
&&
!
selectedNodes
[
0
].
getParent
()
)
)
{
km
.
select
(
_root
);
return
false
;
}
var
_buffer
=
[];
for
(
var
i
=
0
;
i
<
selectedNodes
.
length
;
i
++
)
{
_buffer
.
push
(
selectedNodes
[
i
]
);
...
...
themes/default/_css/dialogsize.css
View file @
0da4bf73
.kmui-modal-header
.kmui-title
{
font-size
:
14px
;
}
.kmui-dialog-markers-body
{
padding-bottom
:
5px
}
.icon-list
{
margin
:
0
;
padding
:
0
}
.icon-list
li
{
padding
:
5px
10px
;
margin
:
0
;
list-style
:
none
;
cursor
:
pointer
;
color
:
#333
}
.icon-list
li
:hover
,
.icon-list
li
.active
{
background
:
#cfe0f7
}
.icon-list
li
span
.icon
{
display
:
inline-block
;
width
:
20px
;
height
:
20px
;
vertical-align
:
middle
;
margin-right
:
10px
;
}
\ No newline at end of file
themes/default/_css/import.css
View file @
0da4bf73
...
...
@@ -11,3 +11,4 @@
@import
"tooltip.css"
;
@import
"colorpicker.css"
;
@import
"separator.css"
;
@import
"markers.css"
;
themes/default/_css/markers.css
0 → 100644
View file @
0da4bf73
.kmui-modal-header
.kmui-title
{
font-size
:
14px
;
}
.kmui-dialog-markers-body
{
padding-bottom
:
5px
}
.icon-list
{
margin
:
0
;
padding
:
0
}
.icon-list
li
{
padding
:
5px
10px
;
margin
:
0
;
list-style
:
none
;
cursor
:
pointer
;
color
:
#333
}
.icon-list
li
:hover
,
.icon-list
li
.active
{
background
:
#cfe0f7
}
.icon-list
li
span
.icon
{
display
:
inline-block
;
width
:
20px
;
height
:
20px
;
vertical-align
:
middle
;
margin-right
:
10px
;
}
\ No newline at end of file
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