Modify CSS to prevent conflicts with existing stylesheets

master
Guillaume DOTT 2013-01-24 11:17:42 +01:00
parent 95b64c9e52
commit 4ef470fe9b
1 changed files with 33 additions and 19 deletions

View File

@ -2,24 +2,25 @@
/* Draw the lines */ /* Draw the lines */
.jOrgChart .line { .jOrgChart .line {
height: 20px; height: 20px;
width : 4px; width: 50%;
} }
.jOrgChart .down { .jOrgChart .down {
background-color: black; background-color: black;
width: 2px;
margin: 0px auto; margin: 0px auto;
} }
.jOrgChart .top { .jOrgChart .top {
border-top : 3px solid black; border-top: 2px solid black;
} }
.jOrgChart .left { .jOrgChart .left {
border-right : 2px solid black; border-right: 1px solid black;
} }
.jOrgChart .right { .jOrgChart .right {
border-left : 2px solid black; border-left: 1px solid black;
} }
/* node cell */ /* node cell */
@ -27,11 +28,24 @@
text-align: center; text-align: center;
vertical-align: top; vertical-align: top;
padding: 0; padding: 0;
margin: 0;
float: none;
border: none;
}
.jOrgChart tr, .jOrgChart table {
border: none;
}
.jOrgChart table {
border-collapse: separate;
border-spacing: 0;
} }
/* The node */ /* The node */
.jOrgChart .node { .jOrgChart .node {
background-color : #35363B; background-color: #fff;
border: 1px solid black;
display: inline-block; display: inline-block;
width: 96px; width: 96px;
height: 60px; height: 60px;
@ -47,5 +61,5 @@
.drop-hover { .drop-hover {
border-style: solid !important; border-style: solid !important;
border-color : #E05E00 !important; border-color: #f00 !important;
} }