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