##// END OF EJS Templates
Move hardcoded calendar images to css classes....
Jean-Philippe Lang -
r3363:01dbba72ab27
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: new file 100644, binary diff hidden
@@ -1,39 +1,32
1 1 <table class="cal">
2 2 <thead>
3 3 <tr><td></td><% 7.times do |i| %><th><%= day_name( (calendar.first_wday+i)%7 ) %></th><% end %></tr>
4 4 </thead>
5 5 <tbody>
6 6 <tr>
7 7 <% day = calendar.startdt
8 8 while day <= calendar.enddt %>
9 9 <%= "<th>#{day.cweek}</th>" if day.cwday == calendar.first_wday %>
10 10 <td class="<%= day.month==calendar.month ? 'even' : 'odd' %><%= ' today' if Date.today == day %>">
11 11 <p class="day-num"><%= day.day %></p>
12 12 <% calendar.events_on(day).each do |i| %>
13 13 <% if i.is_a? Issue %>
14 <div class="<%= i.css_classes %> tooltip">
15 <%= if day == i.start_date && day == i.due_date
16 image_tag('arrow_bw.png')
17 elsif day == i.start_date
18 image_tag('arrow_from.png')
19 elsif day == i.due_date
20 image_tag('arrow_to.png')
21 end %>
14 <div class="<%= i.css_classes %> <%= 'starting' if day == i.start_date %> <%= 'ending' if day == i.due_date %> tooltip">
22 15 <%= h("#{i.project} -") unless @project && @project == i.project %>
23 16 <%= link_to_issue i, :truncate => 30 %>
24 17 <span class="tip"><%= render_issue_tooltip i %></span>
25 18 </div>
26 19 <% else %>
27 20 <span class="icon icon-package">
28 21 <%= h("#{i.project} -") unless @project && @project == i.project %>
29 22 <%= link_to_version i%>
30 23 </span>
31 24 <% end %>
32 25 <% end %>
33 26 </td>
34 27 <%= '</tr><tr>' if day.cwday==calendar.last_wday and day!=calendar.enddt %>
35 28 <% day = day + 1
36 29 end %>
37 30 </tr>
38 31 </tbody>
39 32 </table>
@@ -1,52 +1,54
1 1 <h2><%= l(:label_calendar) %></h2>
2 2
3 3 <% form_tag({}, :id => 'query_form') do %>
4 4 <fieldset id="filters" class="collapsible">
5 5 <legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
6 6 <div>
7 7 <%= render :partial => 'queries/filters', :locals => {:query => @query} %>
8 8 </div>
9 9 </fieldset>
10 10
11 11 <p style="float:right;">
12 12 <%= link_to_remote ('&#171; ' + (@month==1 ? "#{month_name(12)} #{@year-1}" : "#{month_name(@month-1)}")),
13 13 {:update => "content", :url => { :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1) }},
14 14 {:href => url_for(:action => 'calendar', :year => (@month==1 ? @year-1 : @year), :month =>(@month==1 ? 12 : @month-1))}
15 15 %> |
16 16 <%= link_to_remote ((@month==12 ? "#{month_name(1)} #{@year+1}" : "#{month_name(@month+1)}") + ' &#187;'),
17 17 {:update => "content", :url => { :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1) }},
18 18 {:href => url_for(:action => 'calendar', :year => (@month==12 ? @year+1 : @year), :month =>(@month==12 ? 1 : @month+1))}
19 19 %>
20 20 </p>
21 21
22 22 <p class="buttons">
23 23 <%= select_month(@month, :prefix => "month", :discard_type => true) %>
24 24 <%= select_year(@year, :prefix => "year", :discard_type => true) %>
25 25
26 26 <%= link_to_remote l(:button_apply),
27 27 { :url => { :set_filter => (@query.new_record? ? 1 : nil) },
28 28 :update => "content",
29 29 :with => "Form.serialize('query_form')"
30 30 }, :class => 'icon icon-checked' %>
31 31
32 32 <%= link_to_remote l(:button_clear),
33 33 { :url => { :set_filter => (@query.new_record? ? 1 : nil) },
34 34 :update => "content",
35 35 }, :class => 'icon icon-reload' if @query.new_record? %>
36 36 </p>
37 37 <% end %>
38 38
39 39 <%= error_messages_for 'query' %>
40 40 <% if @query.valid? %>
41 41 <%= render :partial => 'common/calendar', :locals => {:calendar => @calendar} %>
42 42
43 <%= image_tag 'arrow_from.png' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_day) %><br />
44 <%= image_tag 'arrow_to.png' %>&nbsp;&nbsp;<%= l(:text_tip_task_end_day) %><br />
45 <%= image_tag 'arrow_bw.png' %>&nbsp;&nbsp;<%= l(:text_tip_task_begin_end_day) %><br />
43 <p class="legend cal">
44 <span class="starting"><%= l(:text_tip_task_begin_day) %></span>
45 <span class="ending"><%= l(:text_tip_task_end_day) %></span>
46 <span class="starting ending"><%= l(:text_tip_task_begin_end_day) %></span>
47 </p>
46 48 <% end %>
47 49
48 50 <% content_for :sidebar do %>
49 51 <%= render :partial => 'issues/sidebar' %>
50 52 <% end %>
51 53
52 54 <% html_title(l(:label_calendar)) -%>
@@ -1,855 +1,859
1 1 body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
2 2
3 3 h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
4 4 h1 {margin:0; padding:0; font-size: 24px;}
5 5 h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
6 6 h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
7 7 h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
8 8
9 9 /***** Layout *****/
10 10 #wrapper {background: white;}
11 11
12 12 #top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
13 13 #top-menu ul {margin: 0; padding: 0;}
14 14 #top-menu li {
15 15 float:left;
16 16 list-style-type:none;
17 17 margin: 0px 0px 0px 0px;
18 18 padding: 0px 0px 0px 0px;
19 19 white-space:nowrap;
20 20 }
21 21 #top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
22 22 #top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
23 23
24 24 #account {float:right;}
25 25
26 26 #header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
27 27 #header a {color:#f8f8f8;}
28 28 #header h1 a.ancestor { font-size: 80%; }
29 29 #quick-search {float:right;}
30 30
31 31 #main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
32 32 #main-menu ul {margin: 0; padding: 0;}
33 33 #main-menu li {
34 34 float:left;
35 35 list-style-type:none;
36 36 margin: 0px 2px 0px 0px;
37 37 padding: 0px 0px 0px 0px;
38 38 white-space:nowrap;
39 39 }
40 40 #main-menu li a {
41 41 display: block;
42 42 color: #fff;
43 43 text-decoration: none;
44 44 font-weight: bold;
45 45 margin: 0;
46 46 padding: 4px 10px 4px 10px;
47 47 }
48 48 #main-menu li a:hover {background:#759FCF; color:#fff;}
49 49 #main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
50 50
51 51 #admin-menu ul {margin: 0; padding: 0;}
52 52 #admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
53 53
54 54 #admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
55 55 #admin-menu a.projects { background-image: url(../images/projects.png); }
56 56 #admin-menu a.users { background-image: url(../images/user.png); }
57 57 #admin-menu a.groups { background-image: url(../images/group.png); }
58 58 #admin-menu a.roles { background-image: url(../images/database_key.png); }
59 59 #admin-menu a.trackers { background-image: url(../images/ticket.png); }
60 60 #admin-menu a.issue_statuses { background-image: url(../images/ticket_edit.png); }
61 61 #admin-menu a.workflows { background-image: url(../images/ticket_go.png); }
62 62 #admin-menu a.custom_fields { background-image: url(../images/textfield.png); }
63 63 #admin-menu a.enumerations { background-image: url(../images/text_list_bullets.png); }
64 64 #admin-menu a.settings { background-image: url(../images/changeset.png); }
65 65 #admin-menu a.plugins { background-image: url(../images/plugin.png); }
66 66 #admin-menu a.info { background-image: url(../images/help.png); }
67 67
68 68 #main {background-color:#EEEEEE;}
69 69
70 70 #sidebar{ float: right; width: 17%; position: relative; z-index: 9; min-height: 600px; padding: 0; margin: 0;}
71 71 * html #sidebar{ width: 17%; }
72 72 #sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
73 73 #sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
74 74 * html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
75 75
76 76 #content { width: 80%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
77 77 * html #content{ width: 80%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
78 78 html>body #content { min-height: 600px; }
79 79 * html body #content { height: 600px; } /* IE */
80 80
81 81 #main.nosidebar #sidebar{ display: none; }
82 82 #main.nosidebar #content{ width: auto; border-right: 0; }
83 83
84 84 #footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
85 85
86 86 #login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
87 87 #login-form table td {padding: 6px;}
88 88 #login-form label {font-weight: bold;}
89 89 #login-form input#username, #login-form input#password { width: 300px; }
90 90
91 91 input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
92 92
93 93 .clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
94 94
95 95 /***** Links *****/
96 96 a, a:link, a:visited{ color: #2A5685; text-decoration: none; }
97 97 a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
98 98 a img{ border: 0; }
99 99
100 100 a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
101 101
102 102 /***** Tables *****/
103 103 table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
104 104 table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
105 105 table.list td { vertical-align: top; }
106 106 table.list td.id { width: 2%; text-align: center;}
107 107 table.list td.checkbox { width: 15px; padding: 0px;}
108 108 table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
109 109 table.list td.buttons a { padding-right: 0.6em; }
110 110
111 111 tr.project td.name a { padding-left: 16px; white-space:nowrap; }
112 112 tr.project.parent td.name a { background: url('../images/bullet_toggle_minus.png') no-repeat; }
113 113
114 114 tr.issue { text-align: center; white-space: nowrap; }
115 115 tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
116 116 tr.issue td.subject { text-align: left; }
117 117 tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
118 118
119 119 tr.entry { border: 1px solid #f8f8f8; }
120 120 tr.entry td { white-space: nowrap; }
121 121 tr.entry td.filename { width: 30%; }
122 122 tr.entry td.size { text-align: right; font-size: 90%; }
123 123 tr.entry td.revision, tr.entry td.author { text-align: center; }
124 124 tr.entry td.age { text-align: right; }
125 125 tr.entry.file td.filename a { margin-left: 16px; }
126 126
127 127 tr span.expander {background-image: url(../images/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
128 128 tr.open span.expander {background-image: url(../images/bullet_toggle_minus.png);}
129 129
130 130 tr.changeset td.author { text-align: center; width: 15%; }
131 131 tr.changeset td.committed_on { text-align: center; width: 15%; }
132 132
133 133 table.files tr.file td { text-align: center; }
134 134 table.files tr.file td.filename { text-align: left; padding-left: 24px; }
135 135 table.files tr.file td.digest { font-size: 80%; }
136 136
137 137 table.members td.roles, table.memberships td.roles { width: 45%; }
138 138
139 139 tr.message { height: 2.6em; }
140 140 tr.message td.subject { padding-left: 20px; }
141 141 tr.message td.created_on { white-space: nowrap; }
142 142 tr.message td.last_message { font-size: 80%; white-space: nowrap; }
143 143 tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
144 144 tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
145 145
146 146 tr.version.closed, tr.version.closed a { color: #999; }
147 147 tr.version td.name { padding-left: 20px; }
148 148 tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
149 149 tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
150 150
151 151 tr.user td { width:13%; }
152 152 tr.user td.email { width:18%; }
153 153 tr.user td { white-space: nowrap; }
154 154 tr.user.locked, tr.user.registered { color: #aaa; }
155 155 tr.user.locked a, tr.user.registered a { color: #aaa; }
156 156
157 157 tr.time-entry { text-align: center; white-space: nowrap; }
158 158 tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
159 159 td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
160 160 td.hours .hours-dec { font-size: 0.9em; }
161 161
162 162 table.plugins td { vertical-align: middle; }
163 163 table.plugins td.configure { text-align: right; padding-right: 1em; }
164 164 table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
165 165 table.plugins span.description { display: block; font-size: 0.9em; }
166 166 table.plugins span.url { display: block; font-size: 0.9em; }
167 167
168 168 table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
169 169 table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
170 170
171 171 table.list tbody tr:hover { background-color:#ffffdd; }
172 172 table.list tbody tr.group:hover { background-color:inherit; }
173 173 table td {padding:2px;}
174 174 table p {margin:0;}
175 175 .odd {background-color:#f6f7f8;}
176 176 .even {background-color: #fff;}
177 177
178 178 a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
179 179 a.sort.asc { background-image: url(../images/sort_asc.png); }
180 180 a.sort.desc { background-image: url(../images/sort_desc.png); }
181 181
182 182 table.attributes { width: 100% }
183 183 table.attributes th { vertical-align: top; text-align: left; }
184 184 table.attributes td { vertical-align: top; }
185 185
186 186 table.boards a.board, h3.comments { background: url(../images/comment.png) no-repeat 0% 50%; padding-left: 20px; }
187 187
188 188 td.center {text-align:center;}
189 189
190 190 h3.version { background: url(../images/package.png) no-repeat 0% 50%; padding-left: 20px; }
191 191
192 192 div.issues h3 { background: url(../images/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
193 193 div.members h3 { background: url(../images/group.png) no-repeat 0% 50%; padding-left: 20px; }
194 194 div.news h3 { background: url(../images/news.png) no-repeat 0% 50%; padding-left: 20px; }
195 195 div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padding-left: 20px; }
196 196
197 197 .highlight { background-color: #FCFD8D;}
198 198 .highlight.token-1 { background-color: #faa;}
199 199 .highlight.token-2 { background-color: #afa;}
200 200 .highlight.token-3 { background-color: #aaf;}
201 201
202 202 .box{
203 203 padding:6px;
204 204 margin-bottom: 10px;
205 205 background-color:#f6f6f6;
206 206 color:#505050;
207 207 line-height:1.5em;
208 208 border: 1px solid #e4e4e4;
209 209 }
210 210
211 211 div.square {
212 212 border: 1px solid #999;
213 213 float: left;
214 214 margin: .3em .4em 0 .4em;
215 215 overflow: hidden;
216 216 width: .6em; height: .6em;
217 217 }
218 218 .contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
219 219 .contextual input, .contextual select {font-size:0.9em;}
220 220 .message .contextual { margin-top: 0; }
221 221
222 222 .splitcontentleft{float:left; width:49%;}
223 223 .splitcontentright{float:right; width:49%;}
224 224 form {display: inline;}
225 225 input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
226 226 fieldset {border: 1px solid #e4e4e4; margin:0;}
227 227 legend {color: #484848;}
228 228 hr { width: 100%; height: 1px; background: #ccc; border: 0;}
229 229 blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
230 230 blockquote blockquote { margin-left: 0;}
231 231 acronym { border-bottom: 1px dotted; cursor: help; }
232 232 textarea.wiki-edit { width: 99%; }
233 233 li p {margin-top: 0;}
234 234 div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
235 235 p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
236 236 p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
237 237 p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
238 238
239 239 fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
240 240 fieldset.collapsible legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
241 241 fieldset.collapsible.collapsed legend { background-image: url(../images/arrow_collapsed.png); }
242 242
243 243 fieldset#date-range p { margin: 2px 0 2px 0; }
244 244 fieldset#filters table { border-collapse: collapse; }
245 245 fieldset#filters table td { padding: 0; vertical-align: middle; }
246 246 fieldset#filters tr.filter { height: 2em; }
247 247 fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
248 248 .buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
249 249
250 250 div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
251 251 div#issue-changesets .changeset { padding: 4px;}
252 252 div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
253 253 div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
254 254
255 255 div#activity dl, #search-results { margin-left: 2em; }
256 256 div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
257 257 div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
258 258 div#activity dt.me .time { border-bottom: 1px solid #999; }
259 259 div#activity dt .time { color: #777; font-size: 80%; }
260 260 div#activity dd .description, #search-results dd .description { font-style: italic; }
261 261 div#activity span.project:after, #search-results span.project:after { content: " -"; }
262 262 div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
263 263
264 264 #search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
265 265
266 266 div#search-results-counts {float:right;}
267 267 div#search-results-counts ul { margin-top: 0.5em; }
268 268 div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
269 269
270 270 dt.issue { background-image: url(../images/ticket.png); }
271 271 dt.issue-edit { background-image: url(../images/ticket_edit.png); }
272 272 dt.issue-closed { background-image: url(../images/ticket_checked.png); }
273 273 dt.issue-note { background-image: url(../images/ticket_note.png); }
274 274 dt.changeset { background-image: url(../images/changeset.png); }
275 275 dt.news { background-image: url(../images/news.png); }
276 276 dt.message { background-image: url(../images/message.png); }
277 277 dt.reply { background-image: url(../images/comments.png); }
278 278 dt.wiki-page { background-image: url(../images/wiki_edit.png); }
279 279 dt.attachment { background-image: url(../images/attachment.png); }
280 280 dt.document { background-image: url(../images/document.png); }
281 281 dt.project { background-image: url(../images/projects.png); }
282 282 dt.time-entry { background-image: url(../images/time.png); }
283 283
284 284 #search-results dt.issue.closed { background-image: url(../images/ticket_checked.png); }
285 285
286 286 div#roadmap fieldset.related-issues { margin-bottom: 1em; }
287 287 div#roadmap fieldset.related-issues ul { margin-top: 0.3em; margin-bottom: 0.3em; }
288 288 div#roadmap .wiki h1:first-child { display: none; }
289 289 div#roadmap .wiki h1 { font-size: 120%; }
290 290 div#roadmap .wiki h2 { font-size: 110%; }
291 291
292 292 div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
293 293 div#version-summary fieldset { margin-bottom: 1em; }
294 294 div#version-summary .total-hours { text-align: right; }
295 295
296 296 table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
297 297 table#time-report tbody tr { font-style: italic; color: #777; }
298 298 table#time-report tbody tr.last-level { font-style: normal; color: #555; }
299 299 table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
300 300 table#time-report .hours-dec { font-size: 0.9em; }
301 301
302 302 form#issue-form .attributes { margin-bottom: 8px; }
303 303 form#issue-form .attributes p { padding-top: 1px; padding-bottom: 2px; }
304 304 form#issue-form .attributes select { min-width: 30%; }
305 305
306 306 ul.projects { margin: 0; padding-left: 1em; }
307 307 ul.projects.root { margin: 0; padding: 0; }
308 308 ul.projects ul { border-left: 3px solid #e0e0e0; }
309 309 ul.projects li { list-style-type:none; }
310 310 ul.projects li.root { margin-bottom: 1em; }
311 311 ul.projects li.child { margin-top: 1em;}
312 312 ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
313 313 .my-project { padding-left: 18px; background: url(../images/fav.png) no-repeat 0 50%; }
314 314
315 315 #tracker_project_ids ul { margin: 0; padding-left: 1em; }
316 316 #tracker_project_ids li { list-style-type:none; }
317 317
318 318 ul.properties {padding:0; font-size: 0.9em; color: #777;}
319 319 ul.properties li {list-style-type:none;}
320 320 ul.properties li span {font-style:italic;}
321 321
322 322 .total-hours { font-size: 110%; font-weight: bold; }
323 323 .total-hours span.hours-int { font-size: 120%; }
324 324
325 325 .autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
326 326 #user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
327 327
328 328 #workflow_copy_form select { width: 200px; }
329 329
330 330 .pagination {font-size: 90%}
331 331 p.pagination {margin-top:8px;}
332 332
333 333 /***** Tabular forms ******/
334 334 .tabular p{
335 335 margin: 0;
336 336 padding: 5px 0 8px 0;
337 337 padding-left: 180px; /*width of left column containing the label elements*/
338 338 height: 1%;
339 339 clear:left;
340 340 }
341 341
342 342 html>body .tabular p {overflow:hidden;}
343 343
344 344 .tabular label{
345 345 font-weight: bold;
346 346 float: left;
347 347 text-align: right;
348 348 margin-left: -180px; /*width of left column*/
349 349 width: 175px; /*width of labels. Should be smaller than left column to create some right
350 350 margin*/
351 351 }
352 352
353 353 .tabular label.floating{
354 354 font-weight: normal;
355 355 margin-left: 0px;
356 356 text-align: left;
357 357 width: 270px;
358 358 }
359 359
360 360 .tabular label.block{
361 361 font-weight: normal;
362 362 margin-left: 0px !important;
363 363 text-align: left;
364 364 float: none;
365 365 display: block;
366 366 width: auto;
367 367 }
368 368
369 369 input#time_entry_comments { width: 90%;}
370 370
371 371 #preview fieldset {margin-top: 1em; background: url(../images/draft.png)}
372 372
373 373 .tabular.settings p{ padding-left: 300px; }
374 374 .tabular.settings label{ margin-left: -300px; width: 295px; }
375 375 .tabular.settings textarea { width: 99%; }
376 376
377 377 fieldset.settings label { display: block; }
378 378
379 379 .required {color: #bb0000;}
380 380 .summary {font-style: italic;}
381 381
382 382 #attachments_fields input[type=text] {margin-left: 8px; }
383 383
384 384 div.attachments { margin-top: 12px; }
385 385 div.attachments p { margin:4px 0 2px 0; }
386 386 div.attachments img { vertical-align: middle; }
387 387 div.attachments span.author { font-size: 0.9em; color: #888; }
388 388
389 389 p.other-formats { text-align: right; font-size:0.9em; color: #666; }
390 390 .other-formats span + span:before { content: "| "; }
391 391
392 392 a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
393 393
394 394 /* Project members tab */
395 395 div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
396 396 div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
397 397 div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
398 398 div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
399 399 div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
400 400 div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
401 401
402 402 table.members td.group { padding-left: 20px; background: url(../images/group.png) no-repeat 0% 50%; }
403 403
404 404 * html div#tab-content-members fieldset div { height: 450px; }
405 405
406 406 /***** Flash & error messages ****/
407 407 #errorExplanation, div.flash, .nodata, .warning {
408 408 padding: 4px 4px 4px 30px;
409 409 margin-bottom: 12px;
410 410 font-size: 1.1em;
411 411 border: 2px solid;
412 412 }
413 413
414 414 div.flash {margin-top: 8px;}
415 415
416 416 div.flash.error, #errorExplanation {
417 417 background: url(../images/exclamation.png) 8px 50% no-repeat;
418 418 background-color: #ffe3e3;
419 419 border-color: #dd0000;
420 420 color: #880000;
421 421 }
422 422
423 423 div.flash.notice {
424 424 background: url(../images/true.png) 8px 5px no-repeat;
425 425 background-color: #dfffdf;
426 426 border-color: #9fcf9f;
427 427 color: #005f00;
428 428 }
429 429
430 430 div.flash.warning {
431 431 background: url(../images/warning.png) 8px 5px no-repeat;
432 432 background-color: #FFEBC1;
433 433 border-color: #FDBF3B;
434 434 color: #A6750C;
435 435 text-align: left;
436 436 }
437 437
438 438 .nodata, .warning {
439 439 text-align: center;
440 440 background-color: #FFEBC1;
441 441 border-color: #FDBF3B;
442 442 color: #A6750C;
443 443 }
444 444
445 445 #errorExplanation ul { font-size: 0.9em;}
446 446 #errorExplanation h2, #errorExplanation p { display: none; }
447 447
448 448 /***** Ajax indicator ******/
449 449 #ajax-indicator {
450 450 position: absolute; /* fixed not supported by IE */
451 451 background-color:#eee;
452 452 border: 1px solid #bbb;
453 453 top:35%;
454 454 left:40%;
455 455 width:20%;
456 456 font-weight:bold;
457 457 text-align:center;
458 458 padding:0.6em;
459 459 z-index:100;
460 460 filter:alpha(opacity=50);
461 461 opacity: 0.5;
462 462 }
463 463
464 464 html>body #ajax-indicator { position: fixed; }
465 465
466 466 #ajax-indicator span {
467 467 background-position: 0% 40%;
468 468 background-repeat: no-repeat;
469 469 background-image: url(../images/loading.gif);
470 470 padding-left: 26px;
471 471 vertical-align: bottom;
472 472 }
473 473
474 474 /***** Calendar *****/
475 475 table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
476 476 table.cal thead th {width: 14%;}
477 477 table.cal tbody tr {height: 100px;}
478 478 table.cal th { background-color:#EEEEEE; padding: 4px; }
479 479 table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
480 480 table.cal td p.day-num {font-size: 1.1em; text-align:right;}
481 481 table.cal td.odd p.day-num {color: #bbb;}
482 482 table.cal td.today {background:#ffffdd;}
483 483 table.cal td.today p.day-num {font-weight: bold;}
484 table.cal .starting a, p.cal.legend .starting {background: url(../images/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
485 table.cal .ending a, p.cal.legend .ending {background: url(../images/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
486 table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(../images/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
487 p.cal.legend span {display:block;}
484 488
485 489 /***** Tooltips ******/
486 490 .tooltip{position:relative;z-index:24;}
487 491 .tooltip:hover{z-index:25;color:#000;}
488 492 .tooltip span.tip{display: none; text-align:left;}
489 493
490 494 div.tooltip:hover span.tip{
491 495 display:block;
492 496 position:absolute;
493 497 top:12px; left:24px; width:270px;
494 498 border:1px solid #555;
495 499 background-color:#fff;
496 500 padding: 4px;
497 501 font-size: 0.8em;
498 502 color:#505050;
499 503 }
500 504
501 505 /***** Progress bar *****/
502 506 table.progress {
503 507 border: 1px solid #D7D7D7;
504 508 border-collapse: collapse;
505 509 border-spacing: 0pt;
506 510 empty-cells: show;
507 511 text-align: center;
508 512 float:left;
509 513 margin: 1px 6px 1px 0px;
510 514 }
511 515
512 516 table.progress td { height: 0.9em; }
513 517 table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
514 518 table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
515 519 table.progress td.open { background: #FFF none repeat scroll 0%; }
516 520 p.pourcent {font-size: 80%;}
517 521 p.progress-info {clear: left; font-style: italic; font-size: 80%;}
518 522
519 523 /***** Tabs *****/
520 524 #content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
521 525 #content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:1em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
522 526 #content .tabs ul li {
523 527 float:left;
524 528 list-style-type:none;
525 529 white-space:nowrap;
526 530 margin-right:8px;
527 531 background:#fff;
528 532 position:relative;
529 533 margin-bottom:-1px;
530 534 }
531 535 #content .tabs ul li a{
532 536 display:block;
533 537 font-size: 0.9em;
534 538 text-decoration:none;
535 539 line-height:1.3em;
536 540 padding:4px 6px 4px 6px;
537 541 border: 1px solid #ccc;
538 542 border-bottom: 1px solid #bbbbbb;
539 543 background-color: #eeeeee;
540 544 color:#777;
541 545 font-weight:bold;
542 546 }
543 547
544 548 #content .tabs ul li a:hover {
545 549 background-color: #ffffdd;
546 550 text-decoration:none;
547 551 }
548 552
549 553 #content .tabs ul li a.selected {
550 554 background-color: #fff;
551 555 border: 1px solid #bbbbbb;
552 556 border-bottom: 1px solid #fff;
553 557 }
554 558
555 559 #content .tabs ul li a.selected:hover {
556 560 background-color: #fff;
557 561 }
558 562
559 563 div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
560 564
561 565 button.tab-left, button.tab-right {
562 566 font-size: 0.9em;
563 567 cursor: pointer;
564 568 height:24px;
565 569 border: 1px solid #ccc;
566 570 border-bottom: 1px solid #bbbbbb;
567 571 position:absolute;
568 572 padding:4px;
569 573 width: 20px;
570 574 bottom: -1px;
571 575 }
572 576
573 577 button.tab-left {
574 578 right: 20px;
575 579 background: #eeeeee url(../images/bullet_arrow_left.png) no-repeat 50% 50%;
576 580 }
577 581
578 582 button.tab-right {
579 583 right: 0;
580 584 background: #eeeeee url(../images/bullet_arrow_right.png) no-repeat 50% 50%;
581 585 }
582 586
583 587 /***** Auto-complete *****/
584 588 div.autocomplete {
585 589 position:absolute;
586 590 width:250px;
587 591 background-color:white;
588 592 margin:0;
589 593 padding:0;
590 594 }
591 595 div.autocomplete ul {
592 596 list-style-type:none;
593 597 margin:0;
594 598 padding:0;
595 599 }
596 600 div.autocomplete ul li.selected { background-color: #ffb;}
597 601 div.autocomplete ul li {
598 602 list-style-type:none;
599 603 display:block;
600 604 margin:0;
601 605 padding:2px;
602 606 cursor:pointer;
603 607 font-size: 90%;
604 608 border-bottom: 1px solid #ccc;
605 609 border-left: 1px solid #ccc;
606 610 border-right: 1px solid #ccc;
607 611 }
608 612 div.autocomplete ul li span.informal {
609 613 font-size: 80%;
610 614 color: #aaa;
611 615 }
612 616
613 617 /***** Diff *****/
614 618 .diff_out { background: #fcc; }
615 619 .diff_in { background: #cfc; }
616 620
617 621 /***** Wiki *****/
618 622 div.wiki table {
619 623 border: 1px solid #505050;
620 624 border-collapse: collapse;
621 625 margin-bottom: 1em;
622 626 }
623 627
624 628 div.wiki table, div.wiki td, div.wiki th {
625 629 border: 1px solid #bbb;
626 630 padding: 4px;
627 631 }
628 632
629 633 div.wiki .external {
630 634 background-position: 0% 60%;
631 635 background-repeat: no-repeat;
632 636 padding-left: 12px;
633 637 background-image: url(../images/external.png);
634 638 }
635 639
636 640 div.wiki a.new {
637 641 color: #b73535;
638 642 }
639 643
640 644 div.wiki pre {
641 645 margin: 1em 1em 1em 1.6em;
642 646 padding: 2px;
643 647 background-color: #fafafa;
644 648 border: 1px solid #dadada;
645 649 width:95%;
646 650 overflow-x: auto;
647 651 }
648 652
649 653 div.wiki ul.toc {
650 654 background-color: #ffffdd;
651 655 border: 1px solid #e4e4e4;
652 656 padding: 4px;
653 657 line-height: 1.2em;
654 658 margin-bottom: 12px;
655 659 margin-right: 12px;
656 660 margin-left: 0;
657 661 display: table
658 662 }
659 663 * html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
660 664
661 665 div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
662 666 div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
663 667 div.wiki ul.toc li { list-style-type:none;}
664 668 div.wiki ul.toc li.heading2 { margin-left: 6px; }
665 669 div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
666 670
667 671 div.wiki ul.toc a {
668 672 font-size: 0.9em;
669 673 font-weight: normal;
670 674 text-decoration: none;
671 675 color: #606060;
672 676 }
673 677 div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
674 678
675 679 a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
676 680 a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
677 681 h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
678 682
679 683 div.wiki img { vertical-align: middle; }
680 684
681 685 /***** My page layout *****/
682 686 .block-receiver {
683 687 border:1px dashed #c0c0c0;
684 688 margin-bottom: 20px;
685 689 padding: 15px 0 15px 0;
686 690 }
687 691
688 692 .mypage-box {
689 693 margin:0 0 20px 0;
690 694 color:#505050;
691 695 line-height:1.5em;
692 696 }
693 697
694 698 .handle {
695 699 cursor: move;
696 700 }
697 701
698 702 a.close-icon {
699 703 display:block;
700 704 margin-top:3px;
701 705 overflow:hidden;
702 706 width:12px;
703 707 height:12px;
704 708 background-repeat: no-repeat;
705 709 cursor:pointer;
706 710 background-image:url('../images/close.png');
707 711 }
708 712
709 713 a.close-icon:hover {
710 714 background-image:url('../images/close_hl.png');
711 715 }
712 716
713 717 /***** Gantt chart *****/
714 718 .gantt_hdr {
715 719 position:absolute;
716 720 top:0;
717 721 height:16px;
718 722 border-top: 1px solid #c0c0c0;
719 723 border-bottom: 1px solid #c0c0c0;
720 724 border-right: 1px solid #c0c0c0;
721 725 text-align: center;
722 726 overflow: hidden;
723 727 }
724 728
725 729 .task {
726 730 position: absolute;
727 731 height:8px;
728 732 font-size:0.8em;
729 733 color:#888;
730 734 padding:0;
731 735 margin:0;
732 736 line-height:0.8em;
733 737 white-space:nowrap;
734 738 }
735 739
736 740 .task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
737 741 .task_done { background:#66f url(../images/task_done.png); border: 1px solid #66f; }
738 742 .task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }
739 743 .milestone { background-image:url(../images/milestone.png); background-repeat: no-repeat; border: 0; }
740 744
741 745 /***** Icons *****/
742 746 .icon {
743 747 background-position: 0% 50%;
744 748 background-repeat: no-repeat;
745 749 padding-left: 20px;
746 750 padding-top: 2px;
747 751 padding-bottom: 3px;
748 752 }
749 753
750 754 .icon-add { background-image: url(../images/add.png); }
751 755 .icon-edit { background-image: url(../images/edit.png); }
752 756 .icon-copy { background-image: url(../images/copy.png); }
753 757 .icon-duplicate { background-image: url(../images/duplicate.png); }
754 758 .icon-del { background-image: url(../images/delete.png); }
755 759 .icon-move { background-image: url(../images/move.png); }
756 760 .icon-save { background-image: url(../images/save.png); }
757 761 .icon-cancel { background-image: url(../images/cancel.png); }
758 762 .icon-multiple { background-image: url(../images/table_multiple.png); }
759 763 .icon-folder { background-image: url(../images/folder.png); }
760 764 .open .icon-folder { background-image: url(../images/folder_open.png); }
761 765 .icon-package { background-image: url(../images/package.png); }
762 766 .icon-home { background-image: url(../images/home.png); }
763 767 .icon-user { background-image: url(../images/user.png); }
764 768 .icon-projects { background-image: url(../images/projects.png); }
765 769 .icon-help { background-image: url(../images/help.png); }
766 770 .icon-attachment { background-image: url(../images/attachment.png); }
767 771 .icon-history { background-image: url(../images/history.png); }
768 772 .icon-time { background-image: url(../images/time.png); }
769 773 .icon-time-add { background-image: url(../images/time_add.png); }
770 774 .icon-stats { background-image: url(../images/stats.png); }
771 775 .icon-warning { background-image: url(../images/warning.png); }
772 776 .icon-fav { background-image: url(../images/fav.png); }
773 777 .icon-fav-off { background-image: url(../images/fav_off.png); }
774 778 .icon-reload { background-image: url(../images/reload.png); }
775 779 .icon-lock { background-image: url(../images/locked.png); }
776 780 .icon-unlock { background-image: url(../images/unlock.png); }
777 781 .icon-checked { background-image: url(../images/true.png); }
778 782 .icon-details { background-image: url(../images/zoom_in.png); }
779 783 .icon-report { background-image: url(../images/report.png); }
780 784 .icon-comment { background-image: url(../images/comment.png); }
781 785 .icon-summary { background-image: url(../images/lightning.png); }
782 786
783 787 .icon-file { background-image: url(../images/files/default.png); }
784 788 .icon-file.text-plain { background-image: url(../images/files/text.png); }
785 789 .icon-file.text-x-c { background-image: url(../images/files/c.png); }
786 790 .icon-file.text-x-csharp { background-image: url(../images/files/csharp.png); }
787 791 .icon-file.text-x-php { background-image: url(../images/files/php.png); }
788 792 .icon-file.text-x-ruby { background-image: url(../images/files/ruby.png); }
789 793 .icon-file.text-xml { background-image: url(../images/files/xml.png); }
790 794 .icon-file.image-gif { background-image: url(../images/files/image.png); }
791 795 .icon-file.image-jpeg { background-image: url(../images/files/image.png); }
792 796 .icon-file.image-png { background-image: url(../images/files/image.png); }
793 797 .icon-file.image-tiff { background-image: url(../images/files/image.png); }
794 798 .icon-file.application-pdf { background-image: url(../images/files/pdf.png); }
795 799 .icon-file.application-zip { background-image: url(../images/files/zip.png); }
796 800 .icon-file.application-x-gzip { background-image: url(../images/files/zip.png); }
797 801
798 802 img.gravatar {
799 803 padding: 2px;
800 804 border: solid 1px #d5d5d5;
801 805 background: #fff;
802 806 }
803 807
804 808 div.issue img.gravatar {
805 809 float: right;
806 810 margin: 0 0 0 1em;
807 811 padding: 5px;
808 812 }
809 813
810 814 div.issue table img.gravatar {
811 815 height: 14px;
812 816 width: 14px;
813 817 padding: 2px;
814 818 float: left;
815 819 margin: 0 0.5em 0 0;
816 820 }
817 821
818 822 h2 img.gravatar {
819 823 padding: 3px;
820 824 margin: -2px 4px 0 0;
821 825 float: left;
822 826 }
823 827
824 828 h4 img.gravatar {
825 829 padding: 3px;
826 830 margin: -6px 4px 0 0;
827 831 float: left;
828 832 }
829 833
830 834 td.username img.gravatar {
831 835 float: left;
832 836 margin: 0 1em 0 0;
833 837 }
834 838
835 839 #activity dt img.gravatar {
836 840 float: left;
837 841 margin: 0 1em 1em 0;
838 842 }
839 843
840 844 #activity dt,
841 845 .journal {
842 846 clear: left;
843 847 }
844 848
845 849 h2 img { vertical-align:middle; }
846 850
847 851 .hascontextmenu { cursor: context-menu; }
848 852
849 853 /***** Media print specific styles *****/
850 854 @media print {
851 855 #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
852 856 #main { background: #fff; }
853 857 #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
854 858 #wiki_add_attachment { display:none; }
855 859 }
1 NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
General Comments 0
You need to be logged in to leave comments. Login now