2013-01-23 17:18:34 +01:00
|
|
|
/* Basic styling */
|
|
|
|
/* Draw the lines */
|
|
|
|
.jOrgChart .line {
|
2013-01-24 11:17:42 +01:00
|
|
|
height: 20px;
|
|
|
|
width: 50%;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart .down {
|
2013-01-24 11:17:42 +01:00
|
|
|
background-color: black;
|
|
|
|
width: 2px;
|
|
|
|
margin: 0px auto;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart .top {
|
2013-01-24 11:17:42 +01:00
|
|
|
border-top: 2px solid black;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart .left {
|
2013-01-24 11:17:42 +01:00
|
|
|
border-right: 1px solid black;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart .right {
|
2013-01-24 11:17:42 +01:00
|
|
|
border-left: 1px solid black;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* node cell */
|
|
|
|
.jOrgChart td {
|
2013-01-24 11:17:42 +01:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
float: none;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart tr, .jOrgChart table {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.jOrgChart table {
|
|
|
|
border-collapse: separate;
|
|
|
|
border-spacing: 0;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* The node */
|
|
|
|
.jOrgChart .node {
|
2013-01-24 11:17:42 +01:00
|
|
|
background-color: #fff;
|
|
|
|
border: 1px solid black;
|
|
|
|
display: inline-block;
|
|
|
|
width: 96px;
|
|
|
|
height: 60px;
|
|
|
|
z-index: 10;
|
|
|
|
margin: 0 2px;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* jQuery drag 'n drop */
|
|
|
|
|
|
|
|
.drag-active {
|
2013-01-24 11:17:42 +01:00
|
|
|
border-style: dotted !important;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.drop-hover {
|
2013-01-24 11:17:42 +01:00
|
|
|
border-style: solid !important;
|
|
|
|
border-color: #f00 !important;
|
2013-01-23 17:18:34 +01:00
|
|
|
}
|