-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathjquery.orgchart.css
118 lines (98 loc) · 2.72 KB
/
jquery.orgchart.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
div.orgChart {
margin : 10px;
padding : 20px;
}
div.orgChart h2 {
margin : 0px;
font-size : 16px;
font-weight: normal;
min-height: 20px;
}
div.orgChart h2:hover {
background: #fcfaca;
cursor: text;
}
div.orgChart ul {
list-style : none;
margin : 4px;
padding : 0px;
font-size : 0.8em;
text-align : left;
}
div.orgChart ul.stack,
div.orgChart ul.stack ul {
text-align : center;
}
div.orgChart table {
width : 100%;
}
div.orgChart tr.lines td.line {
width : 1px;
height : 20px;
}
div.orgChart tr.lines td.top {
border-top : 1px dashed black;
}
div.orgChart tr.lines td.left {
border-right : 1px dashed black;
}
div.orgChart tr.lines td.right {
border-left : 0px dashed black;
}
div.orgChart tr.lines td.half {
width : 50%;
}
div.orgChart td {
text-align : center;
vertical-align : top;
padding : 0px 2px;
}
div.orgChart div.node {
cursor : default;
border : 1px solid #e7e7e7;
display : inline-block;
padding : 5px;
width : 96px;
height : 60px;
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(top, #ffffff 0%, #fbfbfb 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fbfbfb)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#fbfbfb 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#fbfbfb 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#fbfbfb 100%); /* IE10+ */
background: linear-gradient(to bottom, #ffffff 0%,#fbfbfb 100%); /* W3C */
line-height : 1.3em;
border-radius : 4px;
-moz-border-radius : 4px;
-webkit-border-radius : 4px;
position: relative;
box-shadow: 1px 1px 0px #ddd;
}
.org-add-button, .org-del-button, .org-confirm-del-button{
position: absolute;
font-size: 12px;
}
.org-add-button{
bottom: 3px;
left: 5px;
padding-left: 13px;
background: url(./add.png) no-repeat 0 3px;
}
.org-add-button:hover, .org-del-button:hover{
background-color: #eef;
border-radius: 2px;
cursor: pointer;
}
.org-del-button{
background: url(./delete.png) no-repeat;
width: 12px;
height: 12px;
bottom: 7px;
right: 5px;
}
.org-input{
width: 90px;
}
.org-confirm-del-button{
display: none;
}