This repository has been archived by the owner on Apr 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dvr/zooming
- Loading branch information
Showing
21 changed files
with
1,158 additions
and
1,056 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,11 @@ const defaultValues = { | |
data: { | ||
id: '1', | ||
}, | ||
children: [{ | ||
data: { | ||
id: '2' | ||
} | ||
}], | ||
}, | ||
children: [ | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
.sn-org-chart { | ||
.sn-org-nodes { | ||
position: absolute; | ||
transform-origin: 0% 0%; | ||
|
||
&:not(.org-disable-transition) { | ||
transition-property: all; | ||
transition-duration: 0.5s; | ||
} | ||
|
||
.sn-org-traverse { | ||
position: absolute; | ||
background-color: white; | ||
font-size: 20px; | ||
font-weight: bold; | ||
border-radius: 3px; | ||
border: 1px solid #8c8c8c; | ||
text-align: center; | ||
line-height: 24px; | ||
} | ||
|
||
.sn-org-card { | ||
position: absolute; | ||
.sn-org-root { | ||
background-color: #8c8c8c; | ||
width: 20px; | ||
height: 20px; | ||
border-radius: 20px; | ||
} | ||
|
||
.sn-org-card-top { | ||
height: 4px; | ||
width: 100%; | ||
border-radius: 3px 3px 0px 0px; | ||
} | ||
.sn-org-card-text { | ||
height: 60px; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
border-radius: 0px 0px 3px 3px; | ||
-webkit-touch-callout: none; | ||
-webkit-user-select: none; | ||
-khtml-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
&.selected { | ||
border: 4px solid black; | ||
border-radius: 4px; | ||
} | ||
&.not-selected { | ||
opacity: 0.5; | ||
} | ||
} | ||
|
||
.sn-org-card-title { | ||
font-size: 14px; | ||
font-weight: bold; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
.sn-org-card-label { | ||
font-size: 11px; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.sn-org-chart { | ||
.sn-org-svg { | ||
position: absolute; | ||
|
||
.sn-org-path { | ||
fill: none; | ||
stroke: #8c8c8c; | ||
stroke-width: 1; | ||
} | ||
/* For css only transitions, does not work in IE11 */ | ||
.sn-org-paths:not(.org-disable-transition) { | ||
transform-origin: 0% 0%; | ||
transition-property: all; | ||
transition-duration: 0.5s; | ||
} | ||
} | ||
} |
Empty file.
Oops, something went wrong.