/
plantt.css
228 lines (212 loc) · 4.8 KB
/
plantt.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
html, body {
font-family: Arial, sans;
background-color: #FFF;
color: #000;
}
a, a:active, a:hover, a:visited, a:focus, select, select:active, select:hover, select:focus {
outline: 0 !important;
}
/***** Main Scheduler element *****/
scheduler {
position: relative;
display: block;
width: 100%;
background-color: #FFF;
border: 1px solid #DDD;
min-height: 100px;
font-size: 0.9em;
margin: 25px 0 25px 0;
}
scheduler header {
display: block;
width: 100%;
padding: 5px 15px;
background-color: #EEE;
line-height: 3em;
}
scheduler header .leftActions {
float: left;
text-align: left;
}
scheduler header .rightActions {
float: right;
text-align: right;
}
scheduler header .centerActions {
text-align: center;
}
.Hsep {
display: inline-block;
margin-left:10px;
margin-right: 10px;
}
/***** Scheduler grid table *****/
scheduler table {
width: 100%;
table-layout: fixed;
}
scheduler table tr th, scheduler table tr td {
border-right: 1px solid #BBB;
padding: 0; margin: 0;
cursor: pointer;
vertical-align: middle;
text-align: center;
}
/***** Scheduler grid table HEAD *****/
scheduler table tr.monthLine th {
font-size: 1.2em;
background-color: #F5F5F5;
height: 45px;
}
scheduler table tr.dayLine th {
font-weight: bold;
background-color: #F5F5F5;
}
scheduler table tr.hourLine th {
border-right: 1px solid #E5E5E5;
font-weight: normal;
font-size: 0.8em;
}
scheduler table tr.hourLine th:last-of-type { border: none; }
/***** Scheduler grid table BODY *****/
scheduler table tbody tr td {
color: #BBB;
vertical-align: bottom;
}
scheduler table tbody tr td:nth-child(odd) {
background-color: #FAFAFA;
}
scheduler table tbody tr td:nth-child(even) {
background-color: #FFF;
}
scheduler table.hourGrid { width: 100%; height: 100%; }
scheduler table.hourGrid th { vertical-align: bottom; }
scheduler table.hourGrid th:last-of-type { border:none; }
/***** Scheduler grid special cells *****/
scheduler table td.today, scheduler table th.today {
background-color: #FFDBCE !important;
}
scheduler table td.sunday, scheduler table th.sunday {
border-right: 1px solid #F88;
}
scheduler table td.lastDmonth, scheduler table th.lastDmonth {
border-right: 1px solid #F33;
}
/***** Scheduler containers *****/
scheduler .timelineContainer {
width: 100%;
z-index: 100;
}
scheduler .eventsContainer {
position: absolute;
width: 100%;
top: 127px;
height: auto;
z-index: 900;
}
/***** Scheduler events *****/
scheduler event, scheduler eventhelper {
position: absolute;
box-sizing: border-box;
height: 50px;
background-color: #46b8da;
padding: 0;
border-radius: 5px;
box-shadow: 1px 2px 3px rgba(0,0,0,0.5);
z-index: 200;
}
scheduler event handle {
display: block;
position: absolute;
background-color: rgba(0,0,0,0.1);
height: 100%;
width: 10%;
min-width: 5px;
z-index: 300;
}
scheduler event handle.leftHandle {
left: 0;
cursor: w-resize;
border-radius: 5px 0 0 5px;
}
scheduler event handle.rightHandle {
right: 0;
cursor: e-resize;
border-radius: 0 5px 5px 0;
}
scheduler event label {
display: block;
padding: 17px 10%;
text-align: center;
font-size: 8pt;
color: #FFF;
margin: 0;
cursor: move;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
scheduler event.overLeft {
border-radius: 50px 0 0 50px;
}
scheduler event.overLeft handle.leftHandle {
display: none;
}
scheduler event.overRight {
border-radius: 0 50px 50px 0;
}
scheduler event.overRight handle.rightHandle {
display: none;
}
/***** Scheduler events special classes *****/
scheduler event.past {
background-color: #888 !important;
}
scheduler event.locked {
border: 2px dashed red;
box-shadow: none;
}
scheduler event.locked label {
cursor: not-allowed;
padding: 15px 10%;
}
scheduler event.current {
background: linear-gradient(45deg, transparent, transparent 40px, rgba(255,0,0,0.15) 40px, rgba(255,0,0,0.15) 80px, transparent 80px, transparent);
background-size: 120px;
background-position: 0 0;
-webkit-animation: animStripes 5s linear infinite;
-moz-animation: animStripes 5s linear infinite;
-o-animation: animStripes 5s linear infinite;
animation: animStripes 5s linear infinite;
}
/***** Scheduler event helper (when drag & drop) *****/
scheduler eventhelper {
display: none;
top: 0;
width: 0;
background-color: #FFF;
border: 2px dashed red;
color: #555;
text-align: center;
padding: 15px 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
/***** Animations *****/
@-webkit-keyframes animStripes {
from { background-position: 0 0; }
to { background-position: 120px 0; }
}
@-moz-keyframes animStripes {
from { background-position: 0 0; }
to { background-position: 120px 0; }
}
@-o-keyframes animStripes {
from { background-position: 0 0; }
to { background-position: 120px 0; }
}
@keyframes animStripes {
from { background-position: 0 0; }
to { background-position: 120px 0; }
}