##// END OF EJS Templates
project settings tabs redesign...
Jean-Philippe Lang -
r179:e51c20c49609
parent child
Show More
@@ -1,123 +1,115
1 1 <h2><%=l(:label_settings)%></h2>
2 2
3 3 <div class="tabs">
4 4 <ul>
5 5 <li><%= link_to l(:label_information_plural), {}, :id=> "tab-info", :onclick => "showTab('info'); this.blur(); return false;" %></li>
6 6 <li><%= link_to l(:label_member_plural), {}, :id=> "tab-members", :onclick => "showTab('members'); this.blur(); return false;" %></li>
7 7 <li><%= link_to l(:label_version_plural), {}, :id=> "tab-versions", :onclick => "showTab('versions'); this.blur(); return false;" %></li>
8 8 <li><%= link_to l(:label_issue_category_plural), {}, :id=> "tab-categories", :onclick => "showTab('categories'); this.blur(); return false;" %></li>
9 9 </ul>
10 10 </div>
11 11
12 12 <div id="tab-content-info" class="tab-content">
13 13 <% if authorize_for('projects', 'edit') %>
14 14 <% labelled_tabular_form_for :project, @project, :url => { :action => "edit", :id => @project } do |f| %>
15 15 <%= render :partial => 'form', :locals => { :f => f } %>
16 16 <%= submit_tag l(:button_save) %>
17 17 <% end %>
18 18 <% end %>
19 19 </div>
20 20
21 <div id="tab-content-members" class="tab-content" style="display:none;">
22 <div class="box">
23 <h3><%=l(:label_member_plural)%></h3>
21 <div id="tab-content-members" class="tab-content" style="display:none;">
24 22 <%= error_messages_for 'member' %>
25 <table>
26 <% for member in @project.members.find(:all, :include => :user) %>
23 <table class="list">
24 <thead><th><%= l(:label_user) %></th><th><%= l(:label_role) %></th><th></th></thead>
25 <tbody>
26 <% for member in @project.members.find(:all, :include => :user) %>
27 27 <% unless member.new_record? %>
28 <tr>
28 <tr class="<%= cycle 'odd', 'even' %>">
29 29 <td><%= member.user.display_name %></td>
30 <td>
30 <td align="center">
31 31 <% if authorize_for('members', 'edit') %>
32 32 <%= start_form_tag :controller => 'members', :action => 'edit', :id => member %>
33 33 <select name="member[role_id]">
34 34 <%= options_from_collection_for_select @roles, "id", "name", member.role_id %>
35 35 </select>
36 36 <%= submit_tag l(:button_change), :class => "button-small" %>
37 37 <%= end_form_tag %>
38 38 <% end %>
39 39 </td>
40 <td>
40 <td align="center">
41 41 <%= link_to_if_authorized l(:button_delete), {:controller => 'members', :action => 'destroy', :id => member}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
42 42 </td>
43 </tr>
44 <% end %>
45 <% end %>
43 </tr>
44 <% end %>
45 </tbody>
46 <% end; reset_cycle %>
46 47 </table>
47 48 <% if authorize_for('projects', 'add_member') %>
48 <hr />
49 49 <label><%=l(:label_member_new)%></label><br/>
50 50 <%= start_form_tag :controller => 'projects', :action => 'add_member', :tab => 'members', :id => @project %>
51 51 <select name="member[user_id]">
52 52 <%= options_from_collection_for_select @users, "id", "display_name", @member.user_id %>
53 53 </select>
54 54 <select name="member[role_id]">
55 55 <%= options_from_collection_for_select @roles, "id", "name", @member.role_id %>
56 56 </select>
57 57 <%= submit_tag l(:button_add) %>
58 58 <%= end_form_tag %>
59 59 <% end %>
60 </div>
61 60 </div>
62 61
63 62 <div id="tab-content-versions" class="tab-content" style="display:none;">
64 <div class="box">
65 <h3><%=l(:label_version_plural)%></h3>
66 <table>
63 <table class="list">
64 <thead><th><%= l(:label_version) %></th><th><%= l(:field_effective_date) %></th><th><%= l(:field_description) %></th><th></th><th></th></thead>
65 <tbody>
67 66 <% for version in @project.versions %>
68 <tr>
69 <td width="100"><strong><%=h version.name %></strong></td>
70 <td width="100"><%= format_date(version.effective_date) %></td>
71 <td><%=h version.description %></td>
72 <td>
73 <%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %>
74 <%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
75 </td>
76 </tr>
77 <% end %>
78 </table>
79 <% if authorize_for('projects', 'add_version') %>
80 <hr />
81 <%= link_to l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %>
82 <% end %>
83 </div>
67 <tr class="<%= cycle 'odd', 'even' %>">
68 <td><strong><%=h version.name %></strong></td>
69 <td align="center"><%= format_date(version.effective_date) %></td>
70 <td><%=h version.description %></td>
71 <td align="center"><%= link_to_if_authorized l(:button_edit), { :controller => 'versions', :action => 'edit', :id => version }, :class => 'icon icon-edit' %></td>
72 <td align="center"><%= link_to_if_authorized l(:button_delete), {:controller => 'versions', :action => 'destroy', :id => version}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %></td>
73 </td>
74 </tr>
75 <% end; reset_cycle %>
76 </tbody>
77 </table>
78 <%= link_to_if_authorized l(:label_version_new), :controller => 'projects', :action => 'add_version', :id => @project %>
84 79 </div>
85 80
86 81 <div id="tab-content-categories" class="tab-content" style="display:none;">
87 <div class="box">
88 <h3><%=l(:label_issue_category_plural)%></h3>
89 <table>
82 <table class="list">
83 <thead><th><%= l(:label_issue_status) %></th><th></th></thead>
84 <tbody>
90 85 <% for @category in @project.issue_categories %>
91 86 <% unless @category.new_record? %>
92 <tr>
87 <tr class="<%= cycle 'odd', 'even' %>">
93 88 <td>
94 89 <%= start_form_tag :controller => 'issue_categories', :action => 'edit', :id => @category %>
95 90 <%= text_field 'category', 'name', :size => 25 %>
96 </td>
97 <td>
98 91 <% if authorize_for('issue_categories', 'edit') %>
99 92 <%= submit_tag l(:button_save), :class => "button-small" %>
100 93 <%= end_form_tag %>
101 94 <% end %>
102 95 </td>
103 <td>
96 <td align="center">
104 97 <%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => @category}, :confirm => l(:text_are_you_sure), :post => true, :class => 'icon icon-del' %>
105 98 </td>
106 99 </tr>
107 100 <% end %>
108 101 <% end %>
102 </tbody>
109 103 </table>
110 104 <% if authorize_for('projects', 'add_issue_category') %>
111 <hr />
112 105 <%= start_form_tag :action => 'add_issue_category', :tab => 'categories', :id => @project %>
113 106 <label for="issue_category_name"><%=l(:label_issue_category_new)%></label><br/>
114 107 <%= error_messages_for 'issue_category' %>
115 108 <%= text_field 'issue_category', 'name', :size => 25 %>
116 109 <%= submit_tag l(:button_create) %>
117 110 <%= end_form_tag %>
118 111 <% end %>
119 112 </div>
120 </div>
121 113
122 114 <%= tab = params[:tab] ? h(params[:tab]) : 'info'
123 115 javascript_tag "showTab('#{tab}');" %> No newline at end of file
@@ -1,630 +1,634
1 1 /* andreas08 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use in any way and for any purpose as long as the proper credits are given to the original designer. Version: 1.0, November 28, 2005 */
2 2 /* Edited by Jean-Philippe Lang *>
3 3 /**************** Body and tag styles ****************/
4 4
5 5
6 6 #header * {margin:0; padding:0;}
7 7 p, ul, ol, li {margin:0; padding:0;}
8 8
9 9
10 10 body{
11 11 font:76% Verdana,Tahoma,Arial,sans-serif;
12 12 line-height:1.4em;
13 13 text-align:center;
14 14 color:#303030;
15 15 background:#e8eaec;
16 16 margin:0;
17 17 }
18 18
19 19
20 20 a{
21 21 color:#467aa7;
22 22 font-weight:bold;
23 23 text-decoration:none;
24 24 background-color:inherit;
25 25 }
26 26
27 27 a:hover{color:#2a5a8a; text-decoration:none; background-color:inherit;}
28 28 a img{border:none;}
29 29
30 30 p{margin:0 0 1em 0;}
31 31 p form{margin-top:0; margin-bottom:20px;}
32 32
33 33 img.left,img.center,img.right{padding:4px; border:1px solid #a0a0a0;}
34 34 img.left{float:left; margin:0 12px 5px 0;}
35 35 img.center{display:block; margin:0 auto 5px auto;}
36 36 img.right{float:right; margin:0 0 5px 12px;}
37 37
38 38 /**************** Header and navigation styles ****************/
39 39
40 40 #container{
41 41 width:100%;
42 42 min-width: 800px;
43 43 margin:0;
44 44 padding:0;
45 45 text-align:left;
46 46 background:#ffffff;
47 47 color:#303030;
48 48 }
49 49
50 50 #header{
51 51 height:4.5em;
52 52 margin:0;
53 53 background:#467aa7;
54 54 color:#ffffff;
55 55 margin-bottom:1px;
56 56 }
57 57
58 58 #header h1{
59 59 padding:10px 0 0 20px;
60 60 font-size:2em;
61 61 background-color:inherit;
62 62 color:#fff;
63 63 letter-spacing:-1px;
64 64 font-weight:bold;
65 65 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
66 66 }
67 67
68 68 #header h2{
69 69 margin:3px 0 0 40px;
70 70 font-size:1.5em;
71 71 background-color:inherit;
72 72 color:#f0f2f4;
73 73 letter-spacing:-1px;
74 74 font-weight:normal;
75 75 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
76 76 }
77 77
78 78 #navigation{
79 79 height:2.2em;
80 80 line-height:2.2em;
81 81 margin:0;
82 82 background:#578bb8;
83 83 color:#ffffff;
84 84 }
85 85
86 86 #navigation li{
87 87 float:left;
88 88 list-style-type:none;
89 89 border-right:1px solid #ffffff;
90 90 white-space:nowrap;
91 91 }
92 92
93 93 #navigation li.right {
94 94 float:right;
95 95 list-style-type:none;
96 96 border-right:0;
97 97 border-left:1px solid #ffffff;
98 98 white-space:nowrap;
99 99 }
100 100
101 101 #navigation li a{
102 102 display:block;
103 103 padding:0px 10px 0px 22px;
104 104 font-size:0.8em;
105 105 font-weight:normal;
106 106 text-decoration:none;
107 107 background-color:inherit;
108 108 color: #ffffff;
109 109 }
110 110
111 111 #navigation li.submenu {
112 112 background:url(../images/arrow_down.png) 96% 80% no-repeat;
113 113 }
114 114
115 115 #navigation li.submenu a {
116 116 padding:0px 16px 0px 22px;
117 117 }
118 118
119 119 * html #navigation a {width:1%;}
120 120
121 121 #navigation .selected,#navigation a:hover{
122 122 color:#ffffff;
123 123 text-decoration:none;
124 124 background-color: #80b0da;
125 125 }
126 126
127 127 /**************** Icons *******************/
128 128 .icon {
129 129 background-position: 0% 40%;
130 130 background-repeat: no-repeat;
131 131 padding-left: 20px;
132 132 padding-top: 2px;
133 133 padding-bottom: 3px;
134 134 vertical-align: middle;
135 135 }
136 136
137 137 #navigation .icon {
138 138 background-position: 4px 50%;
139 139 }
140 140
141 141 .icon22 {
142 142 background-position: 0% 40%;
143 143 background-repeat: no-repeat;
144 144 padding-left: 26px;
145 145 line-height: 22px;
146 146 vertical-align: middle;
147 147 }
148 148
149 149 .icon-add { background-image: url(../images/add.png); }
150 150 .icon-edit { background-image: url(../images/edit.png); }
151 151 .icon-del { background-image: url(../images/delete.png); }
152 152 .icon-move { background-image: url(../images/move.png); }
153 153 .icon-save { background-image: url(../images/save.png); }
154 154 .icon-pdf { background-image: url(../images/pdf.png); }
155 155 .icon-csv { background-image: url(../images/csv.png); }
156 156 .icon-file { background-image: url(../images/file.png); }
157 157 .icon-folder { background-image: url(../images/folder.png); }
158 158 .icon-package { background-image: url(../images/package.png); }
159 159 .icon-home { background-image: url(../images/home.png); }
160 160 .icon-user { background-image: url(../images/user.png); }
161 161 .icon-mypage { background-image: url(../images/user_page.png); }
162 162 .icon-admin { background-image: url(../images/admin.png); }
163 163 .icon-projects { background-image: url(../images/projects.png); }
164 164 .icon-logout { background-image: url(../images/logout.png); }
165 165 .icon-help { background-image: url(../images/help.png); }
166 166 .icon-attachment { background-image: url(../images/attachment.png); }
167 167
168 168 .icon22-projects { background-image: url(../images/22x22/projects.png); }
169 169 .icon22-users { background-image: url(../images/22x22/users.png); }
170 170 .icon22-tracker { background-image: url(../images/22x22/tracker.png); }
171 171 .icon22-role { background-image: url(../images/22x22/role.png); }
172 172 .icon22-workflow { background-image: url(../images/22x22/workflow.png); }
173 173 .icon22-options { background-image: url(../images/22x22/options.png); }
174 174 .icon22-notifications { background-image: url(../images/22x22/notifications.png); }
175 175 .icon22-authent { background-image: url(../images/22x22/authent.png); }
176 176 .icon22-info { background-image: url(../images/22x22/info.png); }
177 177 .icon22-comment { background-image: url(../images/22x22/comment.png); }
178 178 .icon22-package { background-image: url(../images/22x22/package.png); }
179 179 .icon22-settings { background-image: url(../images/22x22/settings.png); }
180 180
181 181 /**************** Content styles ****************/
182 182
183 183 html>body #content {
184 184 height: auto;
185 185 min-height: 500px;
186 186 }
187 187
188 188 #content{
189 189 width: auto;
190 190 height:500px;
191 191 font-size:0.9em;
192 192 padding:20px 10px 10px 20px;
193 193 margin-left: 120px;
194 194 border-left: 1px dashed #c0c0c0;
195 195
196 196 }
197 197
198 198 #content h2{
199 199 display:block;
200 200 margin:0 0 16px 0;
201 201 font-size:1.7em;
202 202 font-weight:normal;
203 203 letter-spacing:-1px;
204 204 color:#606060;
205 205 background-color:inherit;
206 206 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
207 207 }
208 208
209 209 #content h2 a{font-weight:normal;}
210 210 #content h3{margin:0 0 12px 0; font-size:1.4em;color:#707070;font-family: Trebuchet MS,Georgia,"Times New Roman",serif;}
211 211 #content h4{font-size: 1em; margin-bottom: 12px; margin-top: 20px; font-weight: normal; border-bottom: dotted 1px #c0c0c0;}
212 212 #content a:hover,#subcontent a:hover{text-decoration:underline;}
213 213 #content ul,#content ol{margin:0 5px 16px 35px;}
214 214 #content dl{margin:0 5px 10px 25px;}
215 215 #content dt{font-weight:bold; margin-bottom:5px;}
216 216 #content dd{margin:0 0 10px 15px;}
217 217
218 218 #content .tabs{height: 2.6em;}
219 219 #content .tabs ul{margin:0;}
220 220 #content .tabs ul li{
221 221 float:left;
222 222 list-style-type:none;
223 223 white-space:nowrap;
224 224 margin-right:8px;
225 225 background:#fff;
226 226 }
227 227 #content .tabs ul li a{
228 228 display:block;
229 229 font-size: 0.9em;
230 230 text-decoration:none;
231 231 line-height:1em;
232 232 padding:4px;
233 233 border: 1px solid #c0c0c0;
234 234 }
235 235
236 236 #content .tabs ul li a.selected, #content .tabs ul li a:hover{
237 237 background-color: #80b0da;
238 238 border: 1px solid #80b0da;
239 239 color: #fff;
240 240 text-decoration:none;
241 241 }
242 242
243 243 /***********************************************/
244 244
245 245 form {
246 246 display: inline;
247 247 }
248 248
249 249 blockquote {
250 250 padding-left: 6px;
251 251 border-left: 2px solid #ccc;
252 252 }
253 253
254 254 input, select {
255 255 vertical-align: middle;
256 256 margin-bottom: 4px;
257 257 }
258 258
259 259 input.button-small
260 260 {
261 261 font-size: 0.8em;
262 262 }
263 263
264 264 .select-small
265 265 {
266 266 font-size: 0.8em;
267 267 }
268 268
269 269 label {
270 270 font-weight: bold;
271 271 font-size: 1em;
272 272 color: #505050;
273 273 }
274 274
275 275 fieldset {
276 276 border:1px solid #c0c0c0;
277 277 padding: 6px;
278 278 }
279 279
280 280 legend {
281 281 color: #505050;
282 282
283 283 }
284 284
285 285 .required {
286 286 color: #bb0000;
287 287 }
288 288
289 289 .odd {
290 290 background-color:#f6f7f8;
291 291 }
292 292 .even {
293 293 background-color: #fff;
294 294 }
295 295
296 296 hr { border:none; border-bottom: dotted 1px #c0c0c0; }
297 297
298 298 div.square {
299 299 border: 1px solid #999;
300 300 float: left;
301 301 margin: .4em .5em 0 0;
302 302 overflow: hidden;
303 303 width: .6em; height: .6em;
304 304 }
305 305
306 306 table p {
307 307 margin:0;
308 308 padding:0;
309 309 }
310 310
311 311 ul.documents {
312 312 list-style-type: none;
313 313 padding: 0;
314 314 margin: 0;
315 315 }
316 316
317 317 ul.documents li {
318 318 background-image: url(../images/32x32/file.png);
319 319 background-repeat: no-repeat;
320 320 background-position: 0 1px;
321 321 padding-left: 36px;
322 322 margin-bottom: 10px;
323 323 margin-left: -37px;
324 324 }
325 325
326 326 /********** Table used to display lists of things ***********/
327 327
328 328 table.list {
329 329 width:100%;
330 330 border-collapse: collapse;
331 331 border: 1px dotted #d0d0d0;
332 332 margin-bottom: 6px;
333 333 }
334 334
335 335 table.with-cells td {
336 336 border: 1px solid #d7d7d7;
337 337 }
338 338
339 table.list td {
340 padding:2px;
341 }
342
339 343 table.list thead th {
340 344 text-align: center;
341 345 background: #eee;
342 346 border: 1px solid #d7d7d7;
343 347 color: #777;
344 348 }
345 349
346 350 table.list tbody th {
347 351 font-weight: normal;
348 352 background: #eed;
349 353 border: 1px solid #d7d7d7;
350 354 }
351 355
352 356 /********** Validation error messages *************/
353 357 #errorExplanation {
354 358 width: 400px;
355 359 border: 0;
356 360 padding: 7px;
357 361 padding-bottom: 3px;
358 362 margin-bottom: 0px;
359 363 }
360 364
361 365 #errorExplanation h2 {
362 366 text-align: left;
363 367 font-weight: bold;
364 368 padding: 5px 5px 10px 26px;
365 369 font-size: 1em;
366 370 margin: -7px;
367 371 background: url(../images/alert.png) no-repeat 6px 6px;
368 372 }
369 373
370 374 #errorExplanation p {
371 375 color: #333;
372 376 margin-bottom: 0;
373 377 padding: 5px;
374 378 }
375 379
376 380 #errorExplanation ul li {
377 381 font-size: 1em;
378 382 list-style: none;
379 383 margin-left: -16px;
380 384 }
381 385
382 386 /*========== Drop down menu ==============*/
383 387 div.menu {
384 388 background-color: #FFFFFF;
385 389 border-style: solid;
386 390 border-width: 1px;
387 391 border-color: #7F9DB9;
388 392 position: absolute;
389 393 top: 0px;
390 394 left: 0px;
391 395 padding: 0;
392 396 visibility: hidden;
393 397 z-index: 101;
394 398 }
395 399
396 400 div.menu a.menuItem {
397 401 font-size: 10px;
398 402 font-weight: normal;
399 403 line-height: 2em;
400 404 color: #000000;
401 405 background-color: #FFFFFF;
402 406 cursor: default;
403 407 display: block;
404 408 padding: 0 1em;
405 409 margin: 0;
406 410 border: 0;
407 411 text-decoration: none;
408 412 white-space: nowrap;
409 413 }
410 414
411 415 div.menu a.menuItem:hover, div.menu a.menuItemHighlight {
412 416 background-color: #80b0da;
413 417 color: #ffffff;
414 418 }
415 419
416 420 div.menu a.menuItem span.menuItemText {}
417 421
418 422 div.menu a.menuItem span.menuItemArrow {
419 423 margin-right: -.75em;
420 424 }
421 425
422 426 /**************** Sidebar styles ****************/
423 427
424 428 #subcontent{
425 429 position: absolute;
426 430 left: 0px;
427 431 width:110px;
428 432 padding:20px 20px 10px 5px;
429 433 }
430 434
431 435 #subcontent h2{
432 436 display:block;
433 437 margin:0 0 5px 0;
434 438 font-size:1.0em;
435 439 font-weight:bold;
436 440 text-align:left;
437 441 color:#606060;
438 442 background-color:inherit;
439 443 font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
440 444 }
441 445
442 446 #subcontent p{margin:0 0 16px 0; font-size:0.9em;}
443 447
444 448 /**************** Menublock styles ****************/
445 449
446 450 .menublock{margin:0 0 20px 8px; font-size:0.8em;}
447 451 .menublock li{list-style:none; display:block; padding:1px; margin-bottom:0px;}
448 452 .menublock li a{font-weight:bold; text-decoration:none;}
449 453 .menublock li a:hover{text-decoration:none;}
450 454 .menublock li ul{margin:0; font-size:1em; font-weight:normal;}
451 455 .menublock li ul li{margin-bottom:0;}
452 456 .menublock li ul a{font-weight:normal;}
453 457
454 458 /**************** Footer styles ****************/
455 459
456 460 #footer{
457 461 clear:both;
458 462 padding:5px 0;
459 463 margin:0;
460 464 font-size:0.9em;
461 465 color:#f0f0f0;
462 466 background:#467aa7;
463 467 }
464 468
465 469 #footer p{padding:0; margin:0; text-align:center;}
466 470 #footer a{color:#f0f0f0; background-color:inherit; font-weight:bold;}
467 471 #footer a:hover{color:#ffffff; background-color:inherit; text-decoration: underline;}
468 472
469 473 /**************** Misc classes and styles ****************/
470 474
471 475 .splitcontentleft{float:left; width:49%;}
472 476 .splitcontentright{float:right; width:49%;}
473 477 .clear{clear:both;}
474 478 .small{font-size:0.8em;line-height:1.4em;padding:0 0 0 0;}
475 479 .hide{display:none;}
476 480 .textcenter{text-align:center;}
477 481 .textright{text-align:right;}
478 482 .important{color:#f02025; background-color:inherit; font-weight:bold;}
479 483
480 484 .box{
481 485 margin:0 0 20px 0;
482 486 padding:10px;
483 487 border:1px solid #c0c0c0;
484 488 background-color:#fafbfc;
485 489 color:#505050;
486 490 line-height:1.5em;
487 491 }
488 492
489 493 a.close-icon {
490 494 display:block;
491 495 margin-top:3px;
492 496 overflow:hidden;
493 497 width:12px;
494 498 height:12px;
495 499 background-repeat: no-repeat;
496 500 cursor:pointer;
497 501 background-image:url('../images/close.png');
498 502 }
499 503
500 504 a.close-icon:hover {
501 505 background-image:url('../images/close_hl.png');
502 506 }
503 507
504 508 .rightbox{
505 509 background: #fafbfc;
506 510 border: 1px solid #c0c0c0;
507 511 float: right;
508 512 padding: 8px;
509 513 position: relative;
510 514 margin: 0 5px 5px;
511 515 }
512 516
513 517 .layout-active {
514 518 background: #ECF3E1;
515 519 }
516 520
517 521 .block-receiver {
518 522 border:1px dashed #c0c0c0;
519 523 margin-bottom: 20px;
520 524 padding: 15px 0 15px 0;
521 525 }
522 526
523 527 .mypage-box {
524 528 margin:0 0 20px 0;
525 529 color:#505050;
526 530 line-height:1.5em;
527 531 }
528 532
529 533 .handle {
530 534 cursor: move;
531 535 }
532 536
533 537 .login {
534 538 width: 50%;
535 539 text-align: left;
536 540 }
537 541
538 542 img.calendar-trigger {
539 543 cursor: pointer;
540 544 vertical-align: middle;
541 545 margin-left: 4px;
542 546 }
543 547
544 548 #history p {
545 549 margin-left: 34px;
546 550 }
547 551
548 552 /***** Contextual links div *****/
549 553 .contextual {
550 554 float: right;
551 555 font-size: 0.8em;
552 556 line-height: 16px;
553 557 padding: 2px;
554 558 }
555 559
556 560 .contextual select, .contextual input {
557 561 font-size: 1em;
558 562 }
559 563
560 564 /***** Gantt chart *****/
561 565 .gantt_hdr {
562 566 position:absolute;
563 567 top:0;
564 568 height:16px;
565 569 border-top: 1px solid #c0c0c0;
566 570 border-bottom: 1px solid #c0c0c0;
567 571 border-right: 1px solid #c0c0c0;
568 572 text-align: center;
569 573 overflow: hidden;
570 574 }
571 575
572 576 .task {
573 577 position: absolute;
574 578 height:8px;
575 579 font-size:0.8em;
576 580 color:#888;
577 581 padding:0;
578 582 margin:0;
579 583 line-height:0.8em;
580 584 }
581 585
582 586 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
583 587 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
584 588 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
585 589
586 590 /***** Tooltips ******/
587 591 .tooltip{position:relative;z-index:24;}
588 592 .tooltip:hover{z-index:25;color:#000;}
589 593 .tooltip span.tip{display: none}
590 594
591 595 div.tooltip:hover span.tip{
592 596 display:block;
593 597 position:absolute;
594 598 top:12px; left:24px; width:270px;
595 599 border:1px solid #555;
596 600 background-color:#fff;
597 601 padding: 4px;
598 602 font-size: 0.8em;
599 603 color:#505050;
600 604 }
601 605
602 606 /***** CSS FORM ******/
603 607 .tabular p{
604 608 margin: 0;
605 609 padding: 5px 0 8px 0;
606 610 padding-left: 180px; /*width of left column containing the label elements*/
607 611 height: 1%;
608 612 }
609 613
610 614 .tabular label{
611 615 font-weight: bold;
612 616 float: left;
613 617 margin-left: -180px; /*width of left column*/
614 618 width: 175px; /*width of labels. Should be smaller than left column to create some right
615 619 margin*/
616 620 }
617 621
618 622 .error {
619 623 color: #cc0000;
620 624 }
621 625
622 626
623 627 /*.threepxfix class below:
624 628 Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
625 629 to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
626 630 */
627 631
628 632 * html .threepxfix{
629 633 margin-left: 3px;
630 634 } No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now