-
Notifications
You must be signed in to change notification settings - Fork 1
/
ganttify.css
117 lines (117 loc) · 2.35 KB
/
ganttify.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
.ganttify-root{
border:1px solid #ddd;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
cursor:default;
position:relative;
}
/*
* We don't want margin/padding on any elements
* in our gantt chart unless explicitly needed.
*/
.ganttify-root *{
margin:0px;
padding:0px;
}
.ganttify-grid{
position:absolute;
top:0px;
right:0px;
height:100%;
overflow:hidden;
/* background:#eee; */
width:55%;
white-space:nowrap;
}
.ganttify-grid-line{
width:0px;
overflow:visible;
height:100%;
float:left;
/* margin-right:25%; */
}
.ganttify-grid-flexible .ganttify-grid-line{
margin-right:10%;
}
.ganttify-grid-fixed-day .ganttify-grid-line{
margin-right:25px;
}
.ganttify-grid-line i{
display:block;
width:1px;
height:100%;
background:#eee;
}
.ganttify-clear{
clear:both;
height:0px;
overflow:hidden;
}
.ganttify-item-row{
overflow:hidden;
}
.ganttify-item-title,
.ganttify-item-days,
.ganttify-item-start,
.ganttify-item-end,
.ganttify-item-bar{
float:left;
font-size:11px;
overflow:hidden;
white-space:nowrap;
}
.ganttify-item-title div,
.ganttify-item-days div,
.ganttify-item-start div,
.ganttify-item-end div{
height:15px;
line-height:15px;
padding:5px;
}
.ganttify-item-title{
width:20%;
}
.ganttify-item-days{
width:5%;
text-align:center;
}
.ganttify-item-start{
width:10%;
text-align:center;
}
.ganttify-item-end{
width:10%;
text-align:center;
}
.ganttify-item-bar{
width:55%;
position:relative;
height:25px;
}
.ganttify-item-bar-guts{
padding:5px 5px 5px 0px;
height:15px;
position:absolute;
line-height:15px;
}
.ganttify-item-bar-guts div{
/* border:1px solid #ddd; */
border:1px solid #a80077;
background:#eee;
border-radius:3px;
-moz-border-radius:3px;
-webkit-border-radius:3px;
text-align:center;
opacity:0.8;
filter:alpha(opacity=80);
-khtml-opacity:0.8;
-moz-opacity:0.8;
color:white;
background: #cb60b3; /* old browsers */
background: -moz-linear-gradient(top, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* firefox */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cb60b3), color-stop(50%,#c146a1), color-stop(51%,#a80077), color-stop(100%,#db36a4)); /* webkit */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#db36a4',GradientType=0 ); /* ie */
text-shadow: 0px 1px 1px #cb60b3;
filter: dropshadow(color=#cb60b3, offx=0, offy=1);
}