##// END OF EJS Templates
css update for journal
marcink -
r788:873611d6 beta
parent child Browse files
Show More
@@ -1,512 +1,512 b''
1 """Helper functions
1 """Helper functions
2
2
3 Consists of functions to typically be used within templates, but also
3 Consists of functions to typically be used within templates, but also
4 available to Controllers. This module is available to both as 'h'.
4 available to Controllers. This module is available to both as 'h'.
5 """
5 """
6 import random
6 import random
7 import hashlib
7 import hashlib
8 from pygments.formatters import HtmlFormatter
8 from pygments.formatters import HtmlFormatter
9 from pygments import highlight as code_highlight
9 from pygments import highlight as code_highlight
10 from pylons import url, app_globals as g
10 from pylons import url, app_globals as g
11 from pylons.i18n.translation import _, ungettext
11 from pylons.i18n.translation import _, ungettext
12 from vcs.utils.annotate import annotate_highlight
12 from vcs.utils.annotate import annotate_highlight
13 from webhelpers.html import literal, HTML, escape
13 from webhelpers.html import literal, HTML, escape
14 from webhelpers.html.tools import *
14 from webhelpers.html.tools import *
15 from webhelpers.html.builder import make_tag
15 from webhelpers.html.builder import make_tag
16 from webhelpers.html.tags import auto_discovery_link, checkbox, css_classes, \
16 from webhelpers.html.tags import auto_discovery_link, checkbox, css_classes, \
17 end_form, file, form, hidden, image, javascript_link, link_to, link_to_if, \
17 end_form, file, form, hidden, image, javascript_link, link_to, link_to_if, \
18 link_to_unless, ol, required_legend, select, stylesheet_link, submit, text, \
18 link_to_unless, ol, required_legend, select, stylesheet_link, submit, text, \
19 password, textarea, title, ul, xml_declaration, radio
19 password, textarea, title, ul, xml_declaration, radio
20 from webhelpers.html.tools import auto_link, button_to, highlight, js_obfuscate, \
20 from webhelpers.html.tools import auto_link, button_to, highlight, js_obfuscate, \
21 mail_to, strip_links, strip_tags, tag_re
21 mail_to, strip_links, strip_tags, tag_re
22 from webhelpers.number import format_byte_size, format_bit_size
22 from webhelpers.number import format_byte_size, format_bit_size
23 from webhelpers.pylonslib import Flash as _Flash
23 from webhelpers.pylonslib import Flash as _Flash
24 from webhelpers.pylonslib.secure_form import secure_form
24 from webhelpers.pylonslib.secure_form import secure_form
25 from webhelpers.text import chop_at, collapse, convert_accented_entities, \
25 from webhelpers.text import chop_at, collapse, convert_accented_entities, \
26 convert_misc_entities, lchop, plural, rchop, remove_formatting, \
26 convert_misc_entities, lchop, plural, rchop, remove_formatting, \
27 replace_whitespace, urlify, truncate, wrap_paragraphs
27 replace_whitespace, urlify, truncate, wrap_paragraphs
28 from webhelpers.date import time_ago_in_words
28 from webhelpers.date import time_ago_in_words
29
29
30 from webhelpers.html.tags import _set_input_attrs, _set_id_attr, \
30 from webhelpers.html.tags import _set_input_attrs, _set_id_attr, \
31 convert_boolean_attrs, NotGiven
31 convert_boolean_attrs, NotGiven
32
32
33 def _reset(name, value=None, id=NotGiven, type="reset", **attrs):
33 def _reset(name, value=None, id=NotGiven, type="reset", **attrs):
34 _set_input_attrs(attrs, type, name, value)
34 _set_input_attrs(attrs, type, name, value)
35 _set_id_attr(attrs, id, name)
35 _set_id_attr(attrs, id, name)
36 convert_boolean_attrs(attrs, ["disabled"])
36 convert_boolean_attrs(attrs, ["disabled"])
37 return HTML.input(**attrs)
37 return HTML.input(**attrs)
38
38
39 reset = _reset
39 reset = _reset
40
40
41
41
42 def get_token():
42 def get_token():
43 """Return the current authentication token, creating one if one doesn't
43 """Return the current authentication token, creating one if one doesn't
44 already exist.
44 already exist.
45 """
45 """
46 token_key = "_authentication_token"
46 token_key = "_authentication_token"
47 from pylons import session
47 from pylons import session
48 if not token_key in session:
48 if not token_key in session:
49 try:
49 try:
50 token = hashlib.sha1(str(random.getrandbits(128))).hexdigest()
50 token = hashlib.sha1(str(random.getrandbits(128))).hexdigest()
51 except AttributeError: # Python < 2.4
51 except AttributeError: # Python < 2.4
52 token = hashlib.sha1(str(random.randrange(2 ** 128))).hexdigest()
52 token = hashlib.sha1(str(random.randrange(2 ** 128))).hexdigest()
53 session[token_key] = token
53 session[token_key] = token
54 if hasattr(session, 'save'):
54 if hasattr(session, 'save'):
55 session.save()
55 session.save()
56 return session[token_key]
56 return session[token_key]
57
57
58
58
59 #Custom helpers here :)
59 #Custom helpers here :)
60 class _Link(object):
60 class _Link(object):
61 '''
61 '''
62 Make a url based on label and url with help of url_for
62 Make a url based on label and url with help of url_for
63 :param label:name of link if not defined url is used
63 :param label:name of link if not defined url is used
64 :param url: the url for link
64 :param url: the url for link
65 '''
65 '''
66
66
67 def __call__(self, label='', *url_, **urlargs):
67 def __call__(self, label='', *url_, **urlargs):
68 if label is None or '':
68 if label is None or '':
69 label = url
69 label = url
70 link_fn = link_to(label, url(*url_, **urlargs))
70 link_fn = link_to(label, url(*url_, **urlargs))
71 return link_fn
71 return link_fn
72
72
73 link = _Link()
73 link = _Link()
74
74
75 class _GetError(object):
75 class _GetError(object):
76
76
77 def __call__(self, field_name, form_errors):
77 def __call__(self, field_name, form_errors):
78 tmpl = """<span class="error_msg">%s</span>"""
78 tmpl = """<span class="error_msg">%s</span>"""
79 if form_errors and form_errors.has_key(field_name):
79 if form_errors and form_errors.has_key(field_name):
80 return literal(tmpl % form_errors.get(field_name))
80 return literal(tmpl % form_errors.get(field_name))
81
81
82 get_error = _GetError()
82 get_error = _GetError()
83
83
84 def recursive_replace(str, replace=' '):
84 def recursive_replace(str, replace=' '):
85 """
85 """
86 Recursive replace of given sign to just one instance
86 Recursive replace of given sign to just one instance
87 :param str: given string
87 :param str: given string
88 :param replace:char to find and replace multiple instances
88 :param replace:char to find and replace multiple instances
89
89
90 Examples::
90 Examples::
91 >>> recursive_replace("Mighty---Mighty-Bo--sstones",'-')
91 >>> recursive_replace("Mighty---Mighty-Bo--sstones",'-')
92 'Mighty-Mighty-Bo-sstones'
92 'Mighty-Mighty-Bo-sstones'
93 """
93 """
94
94
95 if str.find(replace * 2) == -1:
95 if str.find(replace * 2) == -1:
96 return str
96 return str
97 else:
97 else:
98 str = str.replace(replace * 2, replace)
98 str = str.replace(replace * 2, replace)
99 return recursive_replace(str, replace)
99 return recursive_replace(str, replace)
100
100
101 class _ToolTip(object):
101 class _ToolTip(object):
102
102
103 def __call__(self, tooltip_title, trim_at=50):
103 def __call__(self, tooltip_title, trim_at=50):
104 """
104 """
105 Special function just to wrap our text into nice formatted autowrapped
105 Special function just to wrap our text into nice formatted autowrapped
106 text
106 text
107 :param tooltip_title:
107 :param tooltip_title:
108 """
108 """
109
109
110 return wrap_paragraphs(escape(tooltip_title), trim_at)\
110 return wrap_paragraphs(escape(tooltip_title), trim_at)\
111 .replace('\n', '<br/>')
111 .replace('\n', '<br/>')
112
112
113 def activate(self):
113 def activate(self):
114 """
114 """
115 Adds tooltip mechanism to the given Html all tooltips have to have
115 Adds tooltip mechanism to the given Html all tooltips have to have
116 set class tooltip and set attribute tooltip_title.
116 set class tooltip and set attribute tooltip_title.
117 Then a tooltip will be generated based on that
117 Then a tooltip will be generated based on that
118 All with yui js tooltip
118 All with yui js tooltip
119 """
119 """
120
120
121 js = '''
121 js = '''
122 YAHOO.util.Event.onDOMReady(function(){
122 YAHOO.util.Event.onDOMReady(function(){
123 function toolTipsId(){
123 function toolTipsId(){
124 var ids = [];
124 var ids = [];
125 var tts = YAHOO.util.Dom.getElementsByClassName('tooltip');
125 var tts = YAHOO.util.Dom.getElementsByClassName('tooltip');
126
126
127 for (var i = 0; i < tts.length; i++) {
127 for (var i = 0; i < tts.length; i++) {
128 //if element doesn't not have and id autgenerate one for tooltip
128 //if element doesn't not have and id autgenerate one for tooltip
129
129
130 if (!tts[i].id){
130 if (!tts[i].id){
131 tts[i].id='tt'+i*100;
131 tts[i].id='tt'+i*100;
132 }
132 }
133 ids.push(tts[i].id);
133 ids.push(tts[i].id);
134 }
134 }
135 return ids
135 return ids
136 };
136 };
137 var myToolTips = new YAHOO.widget.Tooltip("tooltip", {
137 var myToolTips = new YAHOO.widget.Tooltip("tooltip", {
138 context: toolTipsId(),
138 context: toolTipsId(),
139 monitorresize:false,
139 monitorresize:false,
140 xyoffset :[0,0],
140 xyoffset :[0,0],
141 autodismissdelay:300000,
141 autodismissdelay:300000,
142 hidedelay:5,
142 hidedelay:5,
143 showdelay:20,
143 showdelay:20,
144 });
144 });
145
145
146 //Mouse Over event disabled for new repositories since they don't
146 //Mouse Over event disabled for new repositories since they don't
147 //have last commit message
147 //have last commit message
148 myToolTips.contextMouseOverEvent.subscribe(
148 myToolTips.contextMouseOverEvent.subscribe(
149 function(type, args) {
149 function(type, args) {
150 var context = args[0];
150 var context = args[0];
151 var txt = context.getAttribute('tooltip_title');
151 var txt = context.getAttribute('tooltip_title');
152 if(txt){
152 if(txt){
153 return true;
153 return true;
154 }
154 }
155 else{
155 else{
156 return false;
156 return false;
157 }
157 }
158 });
158 });
159
159
160
160
161 // Set the text for the tooltip just before we display it. Lazy method
161 // Set the text for the tooltip just before we display it. Lazy method
162 myToolTips.contextTriggerEvent.subscribe(
162 myToolTips.contextTriggerEvent.subscribe(
163 function(type, args) {
163 function(type, args) {
164
164
165
165
166 var context = args[0];
166 var context = args[0];
167
167
168 var txt = context.getAttribute('tooltip_title');
168 var txt = context.getAttribute('tooltip_title');
169 this.cfg.setProperty("text", txt);
169 this.cfg.setProperty("text", txt);
170
170
171
171
172 // positioning of tooltip
172 // positioning of tooltip
173 var tt_w = this.element.clientWidth;
173 var tt_w = this.element.clientWidth;
174 var tt_h = this.element.clientHeight;
174 var tt_h = this.element.clientHeight;
175
175
176 var context_w = context.offsetWidth;
176 var context_w = context.offsetWidth;
177 var context_h = context.offsetHeight;
177 var context_h = context.offsetHeight;
178
178
179 var pos_x = YAHOO.util.Dom.getX(context);
179 var pos_x = YAHOO.util.Dom.getX(context);
180 var pos_y = YAHOO.util.Dom.getY(context);
180 var pos_y = YAHOO.util.Dom.getY(context);
181
181
182 var display_strategy = 'top';
182 var display_strategy = 'top';
183 var xy_pos = [0,0];
183 var xy_pos = [0,0];
184 switch (display_strategy){
184 switch (display_strategy){
185
185
186 case 'top':
186 case 'top':
187 var cur_x = (pos_x+context_w/2)-(tt_w/2);
187 var cur_x = (pos_x+context_w/2)-(tt_w/2);
188 var cur_y = pos_y-tt_h-4;
188 var cur_y = pos_y-tt_h-4;
189 xy_pos = [cur_x,cur_y];
189 xy_pos = [cur_x,cur_y];
190 break;
190 break;
191 case 'bottom':
191 case 'bottom':
192 var cur_x = (pos_x+context_w/2)-(tt_w/2);
192 var cur_x = (pos_x+context_w/2)-(tt_w/2);
193 var cur_y = pos_y+context_h+4;
193 var cur_y = pos_y+context_h+4;
194 xy_pos = [cur_x,cur_y];
194 xy_pos = [cur_x,cur_y];
195 break;
195 break;
196 case 'left':
196 case 'left':
197 var cur_x = (pos_x-tt_w-4);
197 var cur_x = (pos_x-tt_w-4);
198 var cur_y = pos_y-((tt_h/2)-context_h/2);
198 var cur_y = pos_y-((tt_h/2)-context_h/2);
199 xy_pos = [cur_x,cur_y];
199 xy_pos = [cur_x,cur_y];
200 break;
200 break;
201 case 'right':
201 case 'right':
202 var cur_x = (pos_x+context_w+4);
202 var cur_x = (pos_x+context_w+4);
203 var cur_y = pos_y-((tt_h/2)-context_h/2);
203 var cur_y = pos_y-((tt_h/2)-context_h/2);
204 xy_pos = [cur_x,cur_y];
204 xy_pos = [cur_x,cur_y];
205 break;
205 break;
206 default:
206 default:
207 var cur_x = (pos_x+context_w/2)-(tt_w/2);
207 var cur_x = (pos_x+context_w/2)-(tt_w/2);
208 var cur_y = pos_y-tt_h-4;
208 var cur_y = pos_y-tt_h-4;
209 xy_pos = [cur_x,cur_y];
209 xy_pos = [cur_x,cur_y];
210 break;
210 break;
211
211
212 }
212 }
213
213
214 this.cfg.setProperty("xy",xy_pos);
214 this.cfg.setProperty("xy",xy_pos);
215
215
216 });
216 });
217
217
218 //Mouse out
218 //Mouse out
219 myToolTips.contextMouseOutEvent.subscribe(
219 myToolTips.contextMouseOutEvent.subscribe(
220 function(type, args) {
220 function(type, args) {
221 var context = args[0];
221 var context = args[0];
222
222
223 });
223 });
224 });
224 });
225 '''
225 '''
226 return literal(js)
226 return literal(js)
227
227
228 tooltip = _ToolTip()
228 tooltip = _ToolTip()
229
229
230 class _FilesBreadCrumbs(object):
230 class _FilesBreadCrumbs(object):
231
231
232 def __call__(self, repo_name, rev, paths):
232 def __call__(self, repo_name, rev, paths):
233 url_l = [link_to(repo_name, url('files_home',
233 url_l = [link_to(repo_name, url('files_home',
234 repo_name=repo_name,
234 repo_name=repo_name,
235 revision=rev, f_path=''))]
235 revision=rev, f_path=''))]
236 paths_l = paths.split('/')
236 paths_l = paths.split('/')
237
237
238 for cnt, p in enumerate(paths_l):
238 for cnt, p in enumerate(paths_l):
239 if p != '':
239 if p != '':
240 url_l.append(link_to(p, url('files_home',
240 url_l.append(link_to(p, url('files_home',
241 repo_name=repo_name,
241 repo_name=repo_name,
242 revision=rev,
242 revision=rev,
243 f_path='/'.join(paths_l[:cnt + 1]))))
243 f_path='/'.join(paths_l[:cnt + 1]))))
244
244
245 return literal('/'.join(url_l))
245 return literal('/'.join(url_l))
246
246
247 files_breadcrumbs = _FilesBreadCrumbs()
247 files_breadcrumbs = _FilesBreadCrumbs()
248 class CodeHtmlFormatter(HtmlFormatter):
248 class CodeHtmlFormatter(HtmlFormatter):
249
249
250 def wrap(self, source, outfile):
250 def wrap(self, source, outfile):
251 return self._wrap_div(self._wrap_pre(self._wrap_code(source)))
251 return self._wrap_div(self._wrap_pre(self._wrap_code(source)))
252
252
253 def _wrap_code(self, source):
253 def _wrap_code(self, source):
254 for cnt, it in enumerate(source):
254 for cnt, it in enumerate(source):
255 i, t = it
255 i, t = it
256 t = '<div id="#S-%s">%s</div>' % (cnt + 1, t)
256 t = '<div id="#S-%s">%s</div>' % (cnt + 1, t)
257 yield i, t
257 yield i, t
258 def pygmentize(filenode, **kwargs):
258 def pygmentize(filenode, **kwargs):
259 """
259 """
260 pygmentize function using pygments
260 pygmentize function using pygments
261 :param filenode:
261 :param filenode:
262 """
262 """
263 return literal(code_highlight(filenode.content,
263 return literal(code_highlight(filenode.content,
264 filenode.lexer, CodeHtmlFormatter(**kwargs)))
264 filenode.lexer, CodeHtmlFormatter(**kwargs)))
265
265
266 def pygmentize_annotation(filenode, **kwargs):
266 def pygmentize_annotation(filenode, **kwargs):
267 """
267 """
268 pygmentize function for annotation
268 pygmentize function for annotation
269 :param filenode:
269 :param filenode:
270 """
270 """
271
271
272 color_dict = {}
272 color_dict = {}
273 def gen_color():
273 def gen_color():
274 """generator for getting 10k of evenly distibuted colors using hsv color
274 """generator for getting 10k of evenly distibuted colors using hsv color
275 and golden ratio.
275 and golden ratio.
276 """
276 """
277 import colorsys
277 import colorsys
278 n = 10000
278 n = 10000
279 golden_ratio = 0.618033988749895
279 golden_ratio = 0.618033988749895
280 h = 0.22717784590367374
280 h = 0.22717784590367374
281 #generate 10k nice web friendly colors in the same order
281 #generate 10k nice web friendly colors in the same order
282 for c in xrange(n):
282 for c in xrange(n):
283 h += golden_ratio
283 h += golden_ratio
284 h %= 1
284 h %= 1
285 HSV_tuple = [h, 0.95, 0.95]
285 HSV_tuple = [h, 0.95, 0.95]
286 RGB_tuple = colorsys.hsv_to_rgb(*HSV_tuple)
286 RGB_tuple = colorsys.hsv_to_rgb(*HSV_tuple)
287 yield map(lambda x:str(int(x * 256)), RGB_tuple)
287 yield map(lambda x:str(int(x * 256)), RGB_tuple)
288
288
289 cgenerator = gen_color()
289 cgenerator = gen_color()
290
290
291 def get_color_string(cs):
291 def get_color_string(cs):
292 if color_dict.has_key(cs):
292 if color_dict.has_key(cs):
293 col = color_dict[cs]
293 col = color_dict[cs]
294 else:
294 else:
295 col = color_dict[cs] = cgenerator.next()
295 col = color_dict[cs] = cgenerator.next()
296 return "color: rgb(%s)! important;" % (', '.join(col))
296 return "color: rgb(%s)! important;" % (', '.join(col))
297
297
298 def url_func(changeset):
298 def url_func(changeset):
299 tooltip_html = "<div style='font-size:0.8em'><b>Author:</b>" + \
299 tooltip_html = "<div style='font-size:0.8em'><b>Author:</b>" + \
300 " %s<br/><b>Date:</b> %s</b><br/><b>Message:</b> %s<br/></div>"
300 " %s<br/><b>Date:</b> %s</b><br/><b>Message:</b> %s<br/></div>"
301
301
302 tooltip_html = tooltip_html % (changeset.author,
302 tooltip_html = tooltip_html % (changeset.author,
303 changeset.date,
303 changeset.date,
304 tooltip(changeset.message))
304 tooltip(changeset.message))
305 lnk_format = '%5s:%s' % ('r%s' % changeset.revision,
305 lnk_format = '%5s:%s' % ('r%s' % changeset.revision,
306 short_id(changeset.raw_id))
306 short_id(changeset.raw_id))
307 uri = link_to(
307 uri = link_to(
308 lnk_format,
308 lnk_format,
309 url('changeset_home', repo_name=changeset.repository.name,
309 url('changeset_home', repo_name=changeset.repository.name,
310 revision=changeset.raw_id),
310 revision=changeset.raw_id),
311 style=get_color_string(changeset.raw_id),
311 style=get_color_string(changeset.raw_id),
312 class_='tooltip',
312 class_='tooltip',
313 tooltip_title=tooltip_html
313 tooltip_title=tooltip_html
314 )
314 )
315
315
316 uri += '\n'
316 uri += '\n'
317 return uri
317 return uri
318 return literal(annotate_highlight(filenode, url_func, **kwargs))
318 return literal(annotate_highlight(filenode, url_func, **kwargs))
319
319
320 def repo_name_slug(value):
320 def repo_name_slug(value):
321 """Return slug of name of repository
321 """Return slug of name of repository
322 This function is called on each creation/modification
322 This function is called on each creation/modification
323 of repository to prevent bad names in repo
323 of repository to prevent bad names in repo
324 """
324 """
325 slug = remove_formatting(value)
325 slug = remove_formatting(value)
326 slug = strip_tags(slug)
326 slug = strip_tags(slug)
327
327
328 for c in """=[]\;'"<>,/~!@#$%^&*()+{}|: """:
328 for c in """=[]\;'"<>,/~!@#$%^&*()+{}|: """:
329 slug = slug.replace(c, '-')
329 slug = slug.replace(c, '-')
330 slug = recursive_replace(slug, '-')
330 slug = recursive_replace(slug, '-')
331 slug = collapse(slug, '-')
331 slug = collapse(slug, '-')
332 return slug
332 return slug
333
333
334 def get_changeset_safe(repo, rev):
334 def get_changeset_safe(repo, rev):
335 from vcs.backends.base import BaseRepository
335 from vcs.backends.base import BaseRepository
336 from vcs.exceptions import RepositoryError
336 from vcs.exceptions import RepositoryError
337 if not isinstance(repo, BaseRepository):
337 if not isinstance(repo, BaseRepository):
338 raise Exception('You must pass an Repository '
338 raise Exception('You must pass an Repository '
339 'object as first argument got %s', type(repo))
339 'object as first argument got %s', type(repo))
340
340
341 try:
341 try:
342 cs = repo.get_changeset(rev)
342 cs = repo.get_changeset(rev)
343 except RepositoryError:
343 except RepositoryError:
344 from rhodecode.lib.utils import EmptyChangeset
344 from rhodecode.lib.utils import EmptyChangeset
345 cs = EmptyChangeset()
345 cs = EmptyChangeset()
346 return cs
346 return cs
347
347
348
348
349 flash = _Flash()
349 flash = _Flash()
350
350
351
351
352 #==============================================================================
352 #==============================================================================
353 # MERCURIAL FILTERS available via h.
353 # MERCURIAL FILTERS available via h.
354 #==============================================================================
354 #==============================================================================
355 from mercurial import util
355 from mercurial import util
356 from mercurial.templatefilters import person as _person
356 from mercurial.templatefilters import person as _person
357
357
358
358
359
359
360 def _age(curdate):
360 def _age(curdate):
361 """turns a datetime into an age string."""
361 """turns a datetime into an age string."""
362
362
363 if not curdate:
363 if not curdate:
364 return ''
364 return ''
365
365
366 from datetime import timedelta, datetime
366 from datetime import timedelta, datetime
367
367
368 agescales = [("year", 3600 * 24 * 365),
368 agescales = [("year", 3600 * 24 * 365),
369 ("month", 3600 * 24 * 30),
369 ("month", 3600 * 24 * 30),
370 ("day", 3600 * 24),
370 ("day", 3600 * 24),
371 ("hour", 3600),
371 ("hour", 3600),
372 ("minute", 60),
372 ("minute", 60),
373 ("second", 1), ]
373 ("second", 1), ]
374
374
375 age = datetime.now() - curdate
375 age = datetime.now() - curdate
376 age_seconds = (age.days * agescales[2][1]) + age.seconds
376 age_seconds = (age.days * agescales[2][1]) + age.seconds
377 pos = 1
377 pos = 1
378 for scale in agescales:
378 for scale in agescales:
379 if scale[1] <= age_seconds:
379 if scale[1] <= age_seconds:
380 if pos == 6:pos = 5
380 if pos == 6:pos = 5
381 return time_ago_in_words(curdate, agescales[pos][0]) + ' ' + _('ago')
381 return time_ago_in_words(curdate, agescales[pos][0]) + ' ' + _('ago')
382 pos += 1
382 pos += 1
383
383
384 return _('just now')
384 return _('just now')
385
385
386 age = lambda x:_age(x)
386 age = lambda x:_age(x)
387 capitalize = lambda x: x.capitalize()
387 capitalize = lambda x: x.capitalize()
388 email = util.email
388 email = util.email
389 email_or_none = lambda x: util.email(x) if util.email(x) != x else None
389 email_or_none = lambda x: util.email(x) if util.email(x) != x else None
390 person = lambda x: _person(x)
390 person = lambda x: _person(x)
391 short_id = lambda x: x[:12]
391 short_id = lambda x: x[:12]
392
392
393
393
394 def bool2icon(value):
394 def bool2icon(value):
395 """
395 """
396 Returns True/False values represented as small html image of true/false
396 Returns True/False values represented as small html image of true/false
397 icons
397 icons
398 :param value: bool value
398 :param value: bool value
399 """
399 """
400
400
401 if value is True:
401 if value is True:
402 return HTML.tag('img', src="/images/icons/accept.png", alt=_('True'))
402 return HTML.tag('img', src="/images/icons/accept.png", alt=_('True'))
403
403
404 if value is False:
404 if value is False:
405 return HTML.tag('img', src="/images/icons/cancel.png", alt=_('False'))
405 return HTML.tag('img', src="/images/icons/cancel.png", alt=_('False'))
406
406
407 return value
407 return value
408
408
409
409
410 def action_parser(user_log):
410 def action_parser(user_log):
411 """
411 """
412 This helper will map the specified string action into translated
412 This helper will map the specified string action into translated
413 fancy names with icons and links
413 fancy names with icons and links
414
414
415 @param action:
415 @param action:
416 """
416 """
417 action = user_log.action
417 action = user_log.action
418 action_params = None
418 action_params = None
419
419
420 x = action.split(':')
420 x = action.split(':')
421
421
422 if len(x) > 1:
422 if len(x) > 1:
423 action, action_params = x
423 action, action_params = x
424
424
425 def get_cs_links():
425 def get_cs_links():
426 if action == 'push':
426 if action == 'push':
427 revs_limit = 5
427 revs_limit = 5
428 revs = action_params.split(',')
428 revs = action_params.split(',')
429 cs_links = " " + ', '.join ([link(rev,
429 cs_links = " " + ', '.join ([link(rev,
430 url('changeset_home',
430 url('changeset_home',
431 repo_name=user_log.repository.repo_name,
431 repo_name=user_log.repository.repo_name,
432 revision=rev)) for rev in revs[:revs_limit] ])
432 revision=rev)) for rev in revs[:revs_limit] ])
433 if len(revs) > revs_limit:
433 if len(revs) > revs_limit:
434 html_tmpl = '<span title="%s"> %s </span>'
434 html_tmpl = '<span title="%s"> %s </span>'
435 cs_links += html_tmpl % (', '.join(r for r in revs[revs_limit:]),
435 cs_links += html_tmpl % (', '.join(r for r in revs[revs_limit:]),
436 _('and %s more revisions') \
436 _('and %s more revisions') \
437 % (len(revs) - revs_limit))
437 % (len(revs) - revs_limit))
438
438
439 return literal(cs_links)
439 return literal(cs_links)
440 return ''
440 return ''
441
441
442 def get_fork_name():
442 def get_fork_name():
443 if action == 'user_forked_repo':
443 if action == 'user_forked_repo':
444 from rhodecode.model.scm import ScmModel
444 from rhodecode.model.scm import ScmModel
445 repo_name = action_params
445 repo_name = action_params
446 repo = ScmModel().get(repo_name)
446 repo = ScmModel().get(repo_name)
447 if repo is None:
447 if repo is None:
448 return repo_name
448 return repo_name
449 return link_to(action_params, url('summary_home',
449 return link_to(action_params, url('summary_home',
450 repo_name=repo.name,),
450 repo_name=repo.name,),
451 title=repo.dbrepo.description)
451 title=repo.dbrepo.description)
452 return ''
452 return ''
453 map = {'user_deleted_repo':_('User [deleted] repository'),
453 map = {'user_deleted_repo':_('User [deleted] repository'),
454 'user_created_repo':_('User [created] repository'),
454 'user_created_repo':_('User [created] repository'),
455 'user_forked_repo':_('User [forked] repository as: ') + get_fork_name(),
455 'user_forked_repo':_('User [forked] repository as: ') + get_fork_name(),
456 'user_updated_repo':_('User [updated] repository'),
456 'user_updated_repo':_('User [updated] repository'),
457 'admin_deleted_repo':_('Admin [delete] repository'),
457 'admin_deleted_repo':_('Admin [delete] repository'),
458 'admin_created_repo':_('Admin [created] repository'),
458 'admin_created_repo':_('Admin [created] repository'),
459 'admin_forked_repo':_('Admin [forked] repository'),
459 'admin_forked_repo':_('Admin [forked] repository'),
460 'admin_updated_repo':_('Admin [updated] repository'),
460 'admin_updated_repo':_('Admin [updated] repository'),
461 'push':_('Pushed') + get_cs_links(),
461 'push':_('[Pushed]') + get_cs_links(),
462 'pull':_('Pulled'),
462 'pull':_('[Pulled]'),
463 'started_following_repo':_('User [started following] repository'),
463 'started_following_repo':_('User [started following] repository'),
464 'stopped_following_repo':_('User [stopped following] repository'),
464 'stopped_following_repo':_('User [stopped following] repository'),
465 }
465 }
466
466
467 action_str = map.get(action, action)
467 action_str = map.get(action, action)
468 return literal(action_str.replace('[', '<b>').replace(']', '</b>'))
468 return literal(action_str.replace('[', '<span class="journal_highlight">').replace(']', '</span>'))
469
469
470
470
471 #==============================================================================
471 #==============================================================================
472 # PERMS
472 # PERMS
473 #==============================================================================
473 #==============================================================================
474 from rhodecode.lib.auth import HasPermissionAny, HasPermissionAll, \
474 from rhodecode.lib.auth import HasPermissionAny, HasPermissionAll, \
475 HasRepoPermissionAny, HasRepoPermissionAll
475 HasRepoPermissionAny, HasRepoPermissionAll
476
476
477 #==============================================================================
477 #==============================================================================
478 # GRAVATAR URL
478 # GRAVATAR URL
479 #==============================================================================
479 #==============================================================================
480 import hashlib
480 import hashlib
481 import urllib
481 import urllib
482 from pylons import request
482 from pylons import request
483
483
484 def gravatar_url(email_address, size=30):
484 def gravatar_url(email_address, size=30):
485 ssl_enabled = 'https' == request.environ.get('HTTP_X_URL_SCHEME')
485 ssl_enabled = 'https' == request.environ.get('HTTP_X_URL_SCHEME')
486 default = 'identicon'
486 default = 'identicon'
487 baseurl_nossl = "http://www.gravatar.com/avatar/"
487 baseurl_nossl = "http://www.gravatar.com/avatar/"
488 baseurl_ssl = "https://secure.gravatar.com/avatar/"
488 baseurl_ssl = "https://secure.gravatar.com/avatar/"
489 baseurl = baseurl_ssl if ssl_enabled else baseurl_nossl
489 baseurl = baseurl_ssl if ssl_enabled else baseurl_nossl
490
490
491
491
492 # construct the url
492 # construct the url
493 gravatar_url = baseurl + hashlib.md5(email_address.lower()).hexdigest() + "?"
493 gravatar_url = baseurl + hashlib.md5(email_address.lower()).hexdigest() + "?"
494 gravatar_url += urllib.urlencode({'d':default, 's':str(size)})
494 gravatar_url += urllib.urlencode({'d':default, 's':str(size)})
495
495
496 return gravatar_url
496 return gravatar_url
497
497
498 def safe_unicode(str):
498 def safe_unicode(str):
499 """safe unicode function. In case of UnicodeDecode error we try to return
499 """safe unicode function. In case of UnicodeDecode error we try to return
500 unicode with errors replace, if this failes we return unicode with
500 unicode with errors replace, if this failes we return unicode with
501 string_escape decoding """
501 string_escape decoding """
502
502
503 try:
503 try:
504 u_str = unicode(str)
504 u_str = unicode(str)
505 except UnicodeDecodeError:
505 except UnicodeDecodeError:
506 try:
506 try:
507 u_str = unicode(str, 'utf-8', 'replace')
507 u_str = unicode(str, 'utf-8', 'replace')
508 except UnicodeDecodeError:
508 except UnicodeDecodeError:
509 #incase we have a decode error just represent as byte string
509 #incase we have a decode error just represent as byte string
510 u_str = unicode(str(str).encode('string_escape'))
510 u_str = unicode(str(str).encode('string_escape'))
511
511
512 return u_str
512 return u_str
@@ -1,2401 +1,2402 b''
1 html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
1 html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
2 border:0;
2 border:0;
3 outline:0;
3 outline:0;
4 font-size:100%;
4 font-size:100%;
5 vertical-align:baseline;
5 vertical-align:baseline;
6 background:transparent;
6 background:transparent;
7 margin:0;
7 margin:0;
8 padding:0;
8 padding:0;
9 }
9 }
10
10
11 body {
11 body {
12 line-height:1;
12 line-height:1;
13 height:100%;
13 height:100%;
14 background:url("../images/background.png") repeat scroll 0 0 #B0B0B0;
14 background:url("../images/background.png") repeat scroll 0 0 #B0B0B0;
15 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
15 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
16 font-size:12px;
16 font-size:12px;
17 color:#000;
17 color:#000;
18 margin:0;
18 margin:0;
19 padding:0;
19 padding:0;
20 }
20 }
21
21
22 ol,ul {
22 ol,ul {
23 list-style:none;
23 list-style:none;
24 }
24 }
25
25
26 blockquote,q {
26 blockquote,q {
27 quotes:none;
27 quotes:none;
28 }
28 }
29
29
30 blockquote:before,blockquote:after,q:before,q:after {
30 blockquote:before,blockquote:after,q:before,q:after {
31 content:none;
31 content:none;
32 }
32 }
33
33
34 :focus {
34 :focus {
35 outline:0;
35 outline:0;
36 }
36 }
37
37
38 del {
38 del {
39 text-decoration:line-through;
39 text-decoration:line-through;
40 }
40 }
41
41
42 table {
42 table {
43 border-collapse:collapse;
43 border-collapse:collapse;
44 border-spacing:0;
44 border-spacing:0;
45 }
45 }
46
46
47 html {
47 html {
48 height:100%;
48 height:100%;
49 }
49 }
50
50
51 a {
51 a {
52 color:#003367;
52 color:#003367;
53 text-decoration:none;
53 text-decoration:none;
54 cursor:pointer;
54 cursor:pointer;
55 font-weight:700;
55 font-weight:700;
56 }
56 }
57
57
58 a:hover {
58 a:hover {
59 color:#316293;
59 color:#316293;
60 text-decoration:underline;
60 text-decoration:underline;
61 }
61 }
62
62
63 h1,h2,h3,h4,h5,h6 {
63 h1,h2,h3,h4,h5,h6 {
64 color:#292929;
64 color:#292929;
65 font-weight:700;
65 font-weight:700;
66 }
66 }
67
67
68 h1 {
68 h1 {
69 font-size:22px;
69 font-size:22px;
70 }
70 }
71
71
72 h2 {
72 h2 {
73 font-size:20px;
73 font-size:20px;
74 }
74 }
75
75
76 h3 {
76 h3 {
77 font-size:18px;
77 font-size:18px;
78 }
78 }
79
79
80 h4 {
80 h4 {
81 font-size:16px;
81 font-size:16px;
82 }
82 }
83
83
84 h5 {
84 h5 {
85 font-size:14px;
85 font-size:14px;
86 }
86 }
87
87
88 h6 {
88 h6 {
89 font-size:11px;
89 font-size:11px;
90 }
90 }
91
91
92 ul.circle {
92 ul.circle {
93 list-style-type:circle;
93 list-style-type:circle;
94 }
94 }
95
95
96 ul.disc {
96 ul.disc {
97 list-style-type:disc;
97 list-style-type:disc;
98 }
98 }
99
99
100 ul.square {
100 ul.square {
101 list-style-type:square;
101 list-style-type:square;
102 }
102 }
103
103
104 ol.lower-roman {
104 ol.lower-roman {
105 list-style-type:lower-roman;
105 list-style-type:lower-roman;
106 }
106 }
107
107
108 ol.upper-roman {
108 ol.upper-roman {
109 list-style-type:upper-roman;
109 list-style-type:upper-roman;
110 }
110 }
111
111
112 ol.lower-alpha {
112 ol.lower-alpha {
113 list-style-type:lower-alpha;
113 list-style-type:lower-alpha;
114 }
114 }
115
115
116 ol.upper-alpha {
116 ol.upper-alpha {
117 list-style-type:upper-alpha;
117 list-style-type:upper-alpha;
118 }
118 }
119
119
120 ol.decimal {
120 ol.decimal {
121 list-style-type:decimal;
121 list-style-type:decimal;
122 }
122 }
123
123
124 div.color {
124 div.color {
125 clear:both;
125 clear:both;
126 overflow:hidden;
126 overflow:hidden;
127 position:absolute;
127 position:absolute;
128 background:#FFF;
128 background:#FFF;
129 margin:7px 0 0 60px;
129 margin:7px 0 0 60px;
130 padding:1px 1px 1px 0;
130 padding:1px 1px 1px 0;
131 }
131 }
132
132
133 div.color a {
133 div.color a {
134 width:15px;
134 width:15px;
135 height:15px;
135 height:15px;
136 display:block;
136 display:block;
137 float:left;
137 float:left;
138 margin:0 0 0 1px;
138 margin:0 0 0 1px;
139 padding:0;
139 padding:0;
140 }
140 }
141
141
142 div.options {
142 div.options {
143 clear:both;
143 clear:both;
144 overflow:hidden;
144 overflow:hidden;
145 position:absolute;
145 position:absolute;
146 background:#FFF;
146 background:#FFF;
147 margin:7px 0 0 162px;
147 margin:7px 0 0 162px;
148 padding:0;
148 padding:0;
149 }
149 }
150
150
151 div.options a {
151 div.options a {
152 height:1%;
152 height:1%;
153 display:block;
153 display:block;
154 text-decoration:none;
154 text-decoration:none;
155 margin:0;
155 margin:0;
156 padding:3px 8px;
156 padding:3px 8px;
157 }
157 }
158
158
159 .top-left-rounded-corner {
159 .top-left-rounded-corner {
160 -webkit-border-top-left-radius: 8px;
160 -webkit-border-top-left-radius: 8px;
161 -khtml-border-radius-topleft: 8px;
161 -khtml-border-radius-topleft: 8px;
162 -moz-border-radius-topleft: 8px;
162 -moz-border-radius-topleft: 8px;
163 border-top-left-radius: 8px;
163 border-top-left-radius: 8px;
164 }
164 }
165
165
166 .top-right-rounded-corner {
166 .top-right-rounded-corner {
167 -webkit-border-top-right-radius: 8px;
167 -webkit-border-top-right-radius: 8px;
168 -khtml-border-radius-topright: 8px;
168 -khtml-border-radius-topright: 8px;
169 -moz-border-radius-topright: 8px;
169 -moz-border-radius-topright: 8px;
170 border-top-right-radius: 8px;
170 border-top-right-radius: 8px;
171 }
171 }
172
172
173 .bottom-left-rounded-corner {
173 .bottom-left-rounded-corner {
174 -webkit-border-bottom-left-radius: 8px;
174 -webkit-border-bottom-left-radius: 8px;
175 -khtml-border-radius-bottomleft: 8px;
175 -khtml-border-radius-bottomleft: 8px;
176 -moz-border-radius-bottomleft: 8px;
176 -moz-border-radius-bottomleft: 8px;
177 border-bottom-left-radius: 8px;
177 border-bottom-left-radius: 8px;
178 }
178 }
179
179
180 .bottom-right-rounded-corner {
180 .bottom-right-rounded-corner {
181 -webkit-border-bottom-right-radius: 8px;
181 -webkit-border-bottom-right-radius: 8px;
182 -khtml-border-radius-bottomright: 8px;
182 -khtml-border-radius-bottomright: 8px;
183 -moz-border-radius-bottomright: 8px;
183 -moz-border-radius-bottomright: 8px;
184 border-bottom-right-radius: 8px;
184 border-bottom-right-radius: 8px;
185 }
185 }
186
186
187
187
188 #header {
188 #header {
189 margin:0;
189 margin:0;
190 padding:0 30px;
190 padding:0 30px;
191 }
191 }
192
192
193
193
194 #header ul#logged-user{
194 #header ul#logged-user{
195 margin-bottom:5px !important;
195 margin-bottom:5px !important;
196 -webkit-border-radius: 0px 0px 8px 8px;
196 -webkit-border-radius: 0px 0px 8px 8px;
197 -khtml-border-radius: 0px 0px 8px 8px;
197 -khtml-border-radius: 0px 0px 8px 8px;
198 -moz-border-radius: 0px 0px 8px 8px;
198 -moz-border-radius: 0px 0px 8px 8px;
199 border-radius: 0px 0px 8px 8px;
199 border-radius: 0px 0px 8px 8px;
200 height:37px;
200 height:37px;
201 background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367
201 background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367
202 }
202 }
203
203
204 #header ul#logged-user li {
204 #header ul#logged-user li {
205 list-style:none;
205 list-style:none;
206 float:left;
206 float:left;
207 margin:8px 0 0;
207 margin:8px 0 0;
208 padding:4px 12px;
208 padding:4px 12px;
209 border-left: 1px solid #316293;
209 border-left: 1px solid #316293;
210 }
210 }
211
211
212 #header ul#logged-user li.first {
212 #header ul#logged-user li.first {
213 border-left:none;
213 border-left:none;
214 margin:4px;
214 margin:4px;
215 }
215 }
216
216
217 #header ul#logged-user li.first div.gravatar {
217 #header ul#logged-user li.first div.gravatar {
218 margin-top:-2px;
218 margin-top:-2px;
219 }
219 }
220
220
221 #header ul#logged-user li.first div.account {
221 #header ul#logged-user li.first div.account {
222 padding-top:4px;
222 padding-top:4px;
223 float:left;
223 float:left;
224 }
224 }
225
225
226 #header ul#logged-user li.last {
226 #header ul#logged-user li.last {
227 border-right:none;
227 border-right:none;
228 }
228 }
229
229
230 #header ul#logged-user li a {
230 #header ul#logged-user li a {
231 color:#fff;
231 color:#fff;
232 font-weight:700;
232 font-weight:700;
233 text-decoration:none;
233 text-decoration:none;
234 }
234 }
235
235
236 #header ul#logged-user li a:hover {
236 #header ul#logged-user li a:hover {
237 text-decoration:underline;
237 text-decoration:underline;
238 }
238 }
239
239
240 #header ul#logged-user li.highlight a {
240 #header ul#logged-user li.highlight a {
241 color:#fff;
241 color:#fff;
242 }
242 }
243
243
244 #header ul#logged-user li.highlight a:hover {
244 #header ul#logged-user li.highlight a:hover {
245 color:#FFF;
245 color:#FFF;
246 }
246 }
247
247
248 #header #header-inner {
248 #header #header-inner {
249 height:40px;
249 height:40px;
250 clear:both;
250 clear:both;
251 position:relative;
251 position:relative;
252 background:#003367 url("../images/header_inner.png") repeat-x;
252 background:#003367 url("../images/header_inner.png") repeat-x;
253 border-bottom:2px solid #fff;
253 border-bottom:2px solid #fff;
254 margin:0;
254 margin:0;
255 padding:0;
255 padding:0;
256 }
256 }
257
257
258 #header #header-inner #home a {
258 #header #header-inner #home a {
259 height:40px;
259 height:40px;
260 width:46px;
260 width:46px;
261 display:block;
261 display:block;
262 background:url("../images/button_home.png");
262 background:url("../images/button_home.png");
263 background-position:0 0;
263 background-position:0 0;
264 margin:0;
264 margin:0;
265 padding:0;
265 padding:0;
266 }
266 }
267
267
268 #header #header-inner #home a:hover {
268 #header #header-inner #home a:hover {
269 background-position:0 -40px;
269 background-position:0 -40px;
270 }
270 }
271
271
272 #header #header-inner #logo h1 {
272 #header #header-inner #logo h1 {
273 color:#FFF;
273 color:#FFF;
274 font-size:18px;
274 font-size:18px;
275 margin:10px 0 0 13px;
275 margin:10px 0 0 13px;
276 padding:0;
276 padding:0;
277 }
277 }
278
278
279 #header #header-inner #logo a {
279 #header #header-inner #logo a {
280 color:#fff;
280 color:#fff;
281 text-decoration:none;
281 text-decoration:none;
282 }
282 }
283
283
284 #header #header-inner #logo a:hover {
284 #header #header-inner #logo a:hover {
285 color:#bfe3ff;
285 color:#bfe3ff;
286 }
286 }
287
287
288 #header #header-inner #quick,#header #header-inner #quick ul {
288 #header #header-inner #quick,#header #header-inner #quick ul {
289 position:relative;
289 position:relative;
290 float:right;
290 float:right;
291 list-style-type:none;
291 list-style-type:none;
292 list-style-position:outside;
292 list-style-position:outside;
293 margin:10px 5px 0 0;
293 margin:10px 5px 0 0;
294 padding:0;
294 padding:0;
295 }
295 }
296
296
297 #header #header-inner #quick li {
297 #header #header-inner #quick li {
298 position:relative;
298 position:relative;
299 float:left;
299 float:left;
300 margin:0 5px 0 0;
300 margin:0 5px 0 0;
301 padding:0;
301 padding:0;
302 }
302 }
303
303
304 #header #header-inner #quick li a {
304 #header #header-inner #quick li a {
305 top:0;
305 top:0;
306 left:0;
306 left:0;
307 height:1%;
307 height:1%;
308 display:block;
308 display:block;
309 clear:both;
309 clear:both;
310 overflow:hidden;
310 overflow:hidden;
311 color:#FFF;
311 color:#FFF;
312 font-weight:700;
312 font-weight:700;
313 text-decoration:none;
313 text-decoration:none;
314 background:#369 url("../../images/quick_l.png") no-repeat top left;
314 background:#369 url("../../images/quick_l.png") no-repeat top left;
315 padding:0;
315 padding:0;
316 }
316 }
317
317
318 #header #header-inner #quick li span.short {
318 #header #header-inner #quick li span.short {
319 padding:9px 6px 8px 6px;
319 padding:9px 6px 8px 6px;
320 }
320 }
321
321
322 #header #header-inner #quick li span {
322 #header #header-inner #quick li span {
323 top:0;
323 top:0;
324 right:0;
324 right:0;
325 height:1%;
325 height:1%;
326 display:block;
326 display:block;
327 float:left;
327 float:left;
328 background:url("../../images/quick_r.png") no-repeat top right;
328 background:url("../../images/quick_r.png") no-repeat top right;
329 border-left:1px solid #3f6f9f;
329 border-left:1px solid #3f6f9f;
330 margin:0;
330 margin:0;
331 padding:10px 12px 8px 10px;
331 padding:10px 12px 8px 10px;
332 }
332 }
333
333
334 #header #header-inner #quick li span.normal {
334 #header #header-inner #quick li span.normal {
335 border:none;
335 border:none;
336 padding:10px 12px 8px;
336 padding:10px 12px 8px;
337 }
337 }
338
338
339 #header #header-inner #quick li span.icon {
339 #header #header-inner #quick li span.icon {
340 top:0;
340 top:0;
341 left:0;
341 left:0;
342 border-left:none;
342 border-left:none;
343 background:url("../../images/quick_l.png") no-repeat top left;
343 background:url("../../images/quick_l.png") no-repeat top left;
344 border-right:1px solid #2e5c89;
344 border-right:1px solid #2e5c89;
345 padding:8px 8px 4px;
345 padding:8px 8px 4px;
346 }
346 }
347
347
348 #header #header-inner #quick li span.icon_short {
348 #header #header-inner #quick li span.icon_short {
349 top:0;
349 top:0;
350 left:0;
350 left:0;
351 border-left:none;
351 border-left:none;
352 background:url("../../images/quick_l.png") no-repeat top left;
352 background:url("../../images/quick_l.png") no-repeat top left;
353 border-right:1px solid #2e5c89;
353 border-right:1px solid #2e5c89;
354 padding:9px 4px 4px;
354 padding:9px 4px 4px;
355 }
355 }
356
356
357 #header #header-inner #quick li a:hover {
357 #header #header-inner #quick li a:hover {
358 background:#4e4e4e url("../../images/quick_l_selected.png") no-repeat top left;
358 background:#4e4e4e url("../../images/quick_l_selected.png") no-repeat top left;
359 }
359 }
360
360
361 #header #header-inner #quick li a:hover span {
361 #header #header-inner #quick li a:hover span {
362 border-left:1px solid #545454;
362 border-left:1px solid #545454;
363 background:url("../../images/quick_r_selected.png") no-repeat top right;
363 background:url("../../images/quick_r_selected.png") no-repeat top right;
364 }
364 }
365
365
366 #header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short {
366 #header #header-inner #quick li a:hover span.icon,#header #header-inner #quick li a:hover span.icon_short {
367 border-left:none;
367 border-left:none;
368 border-right:1px solid #464646;
368 border-right:1px solid #464646;
369 background:url("../../images/quick_l_selected.png") no-repeat top left;
369 background:url("../../images/quick_l_selected.png") no-repeat top left;
370 }
370 }
371
371
372
372
373 #header #header-inner #quick ul {
373 #header #header-inner #quick ul {
374 top:29px;
374 top:29px;
375 right:0;
375 right:0;
376 min-width:200px;
376 min-width:200px;
377 display:none;
377 display:none;
378 position:absolute;
378 position:absolute;
379 background:#FFF;
379 background:#FFF;
380 border:1px solid #666;
380 border:1px solid #666;
381 border-top:1px solid #003367;
381 border-top:1px solid #003367;
382 z-index:100;
382 z-index:100;
383 margin:0;
383 margin:0;
384 padding:0;
384 padding:0;
385 }
385 }
386
386
387 #header #header-inner #quick ul.repo_switcher {
387 #header #header-inner #quick ul.repo_switcher {
388 max-height:275px;
388 max-height:275px;
389 overflow-x:hidden;
389 overflow-x:hidden;
390 overflow-y:auto;
390 overflow-y:auto;
391 }
391 }
392
392
393 #header #header-inner #quick .repo_switcher_type{
393 #header #header-inner #quick .repo_switcher_type{
394 position:absolute;
394 position:absolute;
395 left:0;
395 left:0;
396 top:9px;
396 top:9px;
397
397
398 }
398 }
399 #header #header-inner #quick li ul li {
399 #header #header-inner #quick li ul li {
400 border-bottom:1px solid #ddd;
400 border-bottom:1px solid #ddd;
401 }
401 }
402
402
403 #header #header-inner #quick li ul li a {
403 #header #header-inner #quick li ul li a {
404 width:182px;
404 width:182px;
405 height:auto;
405 height:auto;
406 display:block;
406 display:block;
407 float:left;
407 float:left;
408 background:#FFF;
408 background:#FFF;
409 color:#003367;
409 color:#003367;
410 font-weight:400;
410 font-weight:400;
411 margin:0;
411 margin:0;
412 padding:7px 9px;
412 padding:7px 9px;
413 }
413 }
414
414
415 #header #header-inner #quick li ul li a:hover {
415 #header #header-inner #quick li ul li a:hover {
416 color:#000;
416 color:#000;
417 background:#FFF;
417 background:#FFF;
418 }
418 }
419
419
420 #header #header-inner #quick ul ul {
420 #header #header-inner #quick ul ul {
421 top:auto;
421 top:auto;
422 }
422 }
423
423
424 #header #header-inner #quick li ul ul {
424 #header #header-inner #quick li ul ul {
425 right:200px;
425 right:200px;
426 max-height:275px;
426 max-height:275px;
427 overflow:auto;
427 overflow:auto;
428 overflow-x:hidden;
428 overflow-x:hidden;
429 white-space:normal;
429 white-space:normal;
430 }
430 }
431
431
432 #header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover {
432 #header #header-inner #quick li ul li a.journal,#header #header-inner #quick li ul li a.journal:hover {
433 background:url("../images/icons/book.png") no-repeat scroll 4px 9px #FFF;
433 background:url("../images/icons/book.png") no-repeat scroll 4px 9px #FFF;
434 width:167px;
434 width:167px;
435 margin:0;
435 margin:0;
436 padding:12px 9px 7px 24px;
436 padding:12px 9px 7px 24px;
437 }
437 }
438
438
439 #header #header-inner #quick li ul li a.private_repo,#header #header-inner #quick li ul li a.private_repo:hover {
439 #header #header-inner #quick li ul li a.private_repo,#header #header-inner #quick li ul li a.private_repo:hover {
440 background:url("../images/icons/lock.png") no-repeat scroll 4px 9px #FFF;
440 background:url("../images/icons/lock.png") no-repeat scroll 4px 9px #FFF;
441 min-width:167px;
441 min-width:167px;
442 margin:0;
442 margin:0;
443 padding:12px 9px 7px 24px;
443 padding:12px 9px 7px 24px;
444 }
444 }
445
445
446 #header #header-inner #quick li ul li a.public_repo,#header #header-inner #quick li ul li a.public_repo:hover {
446 #header #header-inner #quick li ul li a.public_repo,#header #header-inner #quick li ul li a.public_repo:hover {
447 background:url("../images/icons/lock_open.png") no-repeat scroll 4px 9px #FFF;
447 background:url("../images/icons/lock_open.png") no-repeat scroll 4px 9px #FFF;
448 min-width:167px;
448 min-width:167px;
449 margin:0;
449 margin:0;
450 padding:12px 9px 7px 24px;
450 padding:12px 9px 7px 24px;
451 }
451 }
452
452
453 #header #header-inner #quick li ul li a.hg,#header #header-inner #quick li ul li a.hg:hover {
453 #header #header-inner #quick li ul li a.hg,#header #header-inner #quick li ul li a.hg:hover {
454 background:url("../images/icons/hgicon.png") no-repeat scroll 4px 9px #FFF;
454 background:url("../images/icons/hgicon.png") no-repeat scroll 4px 9px #FFF;
455 min-width:167px;
455 min-width:167px;
456 margin:0 0 0 14px;
456 margin:0 0 0 14px;
457 padding:12px 9px 7px 24px;
457 padding:12px 9px 7px 24px;
458 }
458 }
459
459
460 #header #header-inner #quick li ul li a.git,#header #header-inner #quick li ul li a.git:hover {
460 #header #header-inner #quick li ul li a.git,#header #header-inner #quick li ul li a.git:hover {
461 background:url("../images/icons/giticon.png") no-repeat scroll 4px 9px #FFF;
461 background:url("../images/icons/giticon.png") no-repeat scroll 4px 9px #FFF;
462 min-width:167px;
462 min-width:167px;
463 margin:0 0 0 14px;
463 margin:0 0 0 14px;
464 padding:12px 9px 7px 24px;
464 padding:12px 9px 7px 24px;
465 }
465 }
466
466
467 #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover {
467 #header #header-inner #quick li ul li a.repos,#header #header-inner #quick li ul li a.repos:hover {
468 background:url("../images/icons/database_edit.png") no-repeat scroll 4px 9px #FFF;
468 background:url("../images/icons/database_edit.png") no-repeat scroll 4px 9px #FFF;
469 width:167px;
469 width:167px;
470 margin:0;
470 margin:0;
471 padding:12px 9px 7px 24px;
471 padding:12px 9px 7px 24px;
472 }
472 }
473
473
474 #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover {
474 #header #header-inner #quick li ul li a.users,#header #header-inner #quick li ul li a.users:hover {
475 background:#FFF url("../images/icons/user_edit.png") no-repeat 4px 9px;
475 background:#FFF url("../images/icons/user_edit.png") no-repeat 4px 9px;
476 width:167px;
476 width:167px;
477 margin:0;
477 margin:0;
478 padding:12px 9px 7px 24px;
478 padding:12px 9px 7px 24px;
479 }
479 }
480
480
481 #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover {
481 #header #header-inner #quick li ul li a.settings,#header #header-inner #quick li ul li a.settings:hover {
482 background:#FFF url("../images/icons/cog.png") no-repeat 4px 9px;
482 background:#FFF url("../images/icons/cog.png") no-repeat 4px 9px;
483 width:167px;
483 width:167px;
484 margin:0;
484 margin:0;
485 padding:12px 9px 7px 24px;
485 padding:12px 9px 7px 24px;
486 }
486 }
487
487
488 #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover {
488 #header #header-inner #quick li ul li a.permissions,#header #header-inner #quick li ul li a.permissions:hover {
489 background:#FFF url("../images/icons/key.png") no-repeat 4px 9px;
489 background:#FFF url("../images/icons/key.png") no-repeat 4px 9px;
490 width:167px;
490 width:167px;
491 margin:0;
491 margin:0;
492 padding:12px 9px 7px 24px;
492 padding:12px 9px 7px 24px;
493 }
493 }
494
494
495 #header #header-inner #quick li ul li a.ldap,#header #header-inner #quick li ul li a.ldap:hover {
495 #header #header-inner #quick li ul li a.ldap,#header #header-inner #quick li ul li a.ldap:hover {
496 background:#FFF url("../images/icons/server_key.png") no-repeat 4px 9px;
496 background:#FFF url("../images/icons/server_key.png") no-repeat 4px 9px;
497 width:167px;
497 width:167px;
498 margin:0;
498 margin:0;
499 padding:12px 9px 7px 24px;
499 padding:12px 9px 7px 24px;
500 }
500 }
501
501
502 #header #header-inner #quick li ul li a.fork,#header #header-inner #quick li ul li a.fork:hover {
502 #header #header-inner #quick li ul li a.fork,#header #header-inner #quick li ul li a.fork:hover {
503 background:#FFF url("../images/icons/arrow_divide.png") no-repeat 4px 9px;
503 background:#FFF url("../images/icons/arrow_divide.png") no-repeat 4px 9px;
504 width:167px;
504 width:167px;
505 margin:0;
505 margin:0;
506 padding:12px 9px 7px 24px;
506 padding:12px 9px 7px 24px;
507 }
507 }
508
508
509 #header #header-inner #quick li ul li a.search,#header #header-inner #quick li ul li a.search:hover {
509 #header #header-inner #quick li ul li a.search,#header #header-inner #quick li ul li a.search:hover {
510 background:#FFF url("../images/icons/search_16.png") no-repeat 4px 9px;
510 background:#FFF url("../images/icons/search_16.png") no-repeat 4px 9px;
511 width:167px;
511 width:167px;
512 margin:0;
512 margin:0;
513 padding:12px 9px 7px 24px;
513 padding:12px 9px 7px 24px;
514 }
514 }
515
515
516 #header #header-inner #quick li ul li a.delete,#header #header-inner #quick li ul li a.delete:hover {
516 #header #header-inner #quick li ul li a.delete,#header #header-inner #quick li ul li a.delete:hover {
517 background:#FFF url("../images/icons/delete.png") no-repeat 4px 9px;
517 background:#FFF url("../images/icons/delete.png") no-repeat 4px 9px;
518 width:167px;
518 width:167px;
519 margin:0;
519 margin:0;
520 padding:12px 9px 7px 24px;
520 padding:12px 9px 7px 24px;
521 }
521 }
522
522
523 #header #header-inner #quick li ul li a.branches,#header #header-inner #quick li ul li a.branches:hover {
523 #header #header-inner #quick li ul li a.branches,#header #header-inner #quick li ul li a.branches:hover {
524 background:#FFF url("../images/icons/arrow_branch.png") no-repeat 4px 9px;
524 background:#FFF url("../images/icons/arrow_branch.png") no-repeat 4px 9px;
525 width:167px;
525 width:167px;
526 margin:0;
526 margin:0;
527 padding:12px 9px 7px 24px;
527 padding:12px 9px 7px 24px;
528 }
528 }
529
529
530 #header #header-inner #quick li ul li a.tags,#header #header-inner #quick li ul li a.tags:hover {
530 #header #header-inner #quick li ul li a.tags,#header #header-inner #quick li ul li a.tags:hover {
531 background:#FFF url("../images/icons/tag_blue.png") no-repeat 4px 9px;
531 background:#FFF url("../images/icons/tag_blue.png") no-repeat 4px 9px;
532 width:167px;
532 width:167px;
533 margin:0;
533 margin:0;
534 padding:12px 9px 7px 24px;
534 padding:12px 9px 7px 24px;
535 }
535 }
536
536
537 #header #header-inner #quick li ul li a.admin,#header #header-inner #quick li ul li a.admin:hover {
537 #header #header-inner #quick li ul li a.admin,#header #header-inner #quick li ul li a.admin:hover {
538 background:#FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px;
538 background:#FFF url("../images/icons/cog_edit.png") no-repeat 4px 9px;
539 width:167px;
539 width:167px;
540 margin:0;
540 margin:0;
541 padding:12px 9px 7px 24px;
541 padding:12px 9px 7px 24px;
542 }
542 }
543
543
544 #content #left {
544 #content #left {
545 left:0;
545 left:0;
546 width:280px;
546 width:280px;
547 position:absolute;
547 position:absolute;
548 }
548 }
549
549
550 #content #right {
550 #content #right {
551 margin:0 60px 10px 290px;
551 margin:0 60px 10px 290px;
552 }
552 }
553
553
554 #content div.box {
554 #content div.box {
555 clear:both;
555 clear:both;
556 overflow:hidden;
556 overflow:hidden;
557 background:#fff;
557 background:#fff;
558 margin:0 0 10px;
558 margin:0 0 10px;
559 padding:0 0 10px;
559 padding:0 0 10px;
560 }
560 }
561
561
562 #content div.box-left {
562 #content div.box-left {
563 width:49%;
563 width:49%;
564 clear:none;
564 clear:none;
565 float:left;
565 float:left;
566 margin:0 0 10px;
566 margin:0 0 10px;
567 }
567 }
568
568
569 #content div.box-right {
569 #content div.box-right {
570 width:49%;
570 width:49%;
571 clear:none;
571 clear:none;
572 float:right;
572 float:right;
573 margin:0 0 10px;
573 margin:0 0 10px;
574 }
574 }
575
575
576 #content div.box div.title {
576 #content div.box div.title {
577 clear:both;
577 clear:both;
578 overflow:hidden;
578 overflow:hidden;
579 background:#369 url("../images/header_inner.png") repeat-x;
579 background:#369 url("../images/header_inner.png") repeat-x;
580 margin:0 0 20px;
580 margin:0 0 20px;
581 padding:0;
581 padding:0;
582 }
582 }
583
583
584 #content div.box div.title h5 {
584 #content div.box div.title h5 {
585 float:left;
585 float:left;
586 border:none;
586 border:none;
587 color:#fff;
587 color:#fff;
588 text-transform:uppercase;
588 text-transform:uppercase;
589 margin:0;
589 margin:0;
590 padding:11px 0 11px 10px;
590 padding:11px 0 11px 10px;
591 }
591 }
592
592
593 #content div.box div.title ul.links li {
593 #content div.box div.title ul.links li {
594 list-style:none;
594 list-style:none;
595 float:left;
595 float:left;
596 margin:0;
596 margin:0;
597 padding:0;
597 padding:0;
598 }
598 }
599
599
600 #content div.box div.title ul.links li a {
600 #content div.box div.title ul.links li a {
601 height:1%;
601 height:1%;
602 display:block;
602 display:block;
603 float:left;
603 float:left;
604 border-left:1px solid #316293;
604 border-left:1px solid #316293;
605 color:#fff;
605 color:#fff;
606 font-size:11px;
606 font-size:11px;
607 font-weight:700;
607 font-weight:700;
608 text-decoration:none;
608 text-decoration:none;
609 margin:0;
609 margin:0;
610 padding:13px 16px 12px;
610 padding:13px 16px 12px;
611 }
611 }
612
612
613 #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6 {
613 #content div.box h1,#content div.box h2,#content div.box h3,#content div.box h4,#content div.box h5,#content div.box h6 {
614 clear:both;
614 clear:both;
615 overflow:hidden;
615 overflow:hidden;
616 border-bottom:1px solid #DDD;
616 border-bottom:1px solid #DDD;
617 margin:10px 20px;
617 margin:10px 20px;
618 padding:0 0 15px;
618 padding:0 0 15px;
619 }
619 }
620
620
621 #content div.box p {
621 #content div.box p {
622 color:#5f5f5f;
622 color:#5f5f5f;
623 font-size:12px;
623 font-size:12px;
624 line-height:150%;
624 line-height:150%;
625 margin:0 24px 10px;
625 margin:0 24px 10px;
626 padding:0;
626 padding:0;
627 }
627 }
628
628
629 #content div.box blockquote {
629 #content div.box blockquote {
630 border-left:4px solid #DDD;
630 border-left:4px solid #DDD;
631 color:#5f5f5f;
631 color:#5f5f5f;
632 font-size:11px;
632 font-size:11px;
633 line-height:150%;
633 line-height:150%;
634 margin:0 34px;
634 margin:0 34px;
635 padding:0 0 0 14px;
635 padding:0 0 0 14px;
636 }
636 }
637
637
638 #content div.box blockquote p {
638 #content div.box blockquote p {
639 margin:10px 0;
639 margin:10px 0;
640 padding:0;
640 padding:0;
641 }
641 }
642
642
643 #content div.box dl {
643 #content div.box dl {
644 margin:10px 24px;
644 margin:10px 24px;
645 }
645 }
646
646
647 #content div.box dt {
647 #content div.box dt {
648 font-size:12px;
648 font-size:12px;
649 margin:0;
649 margin:0;
650 }
650 }
651
651
652 #content div.box dd {
652 #content div.box dd {
653 font-size:12px;
653 font-size:12px;
654 margin:0;
654 margin:0;
655 padding:8px 0 8px 15px;
655 padding:8px 0 8px 15px;
656 }
656 }
657
657
658 #content div.box li {
658 #content div.box li {
659 font-size:12px;
659 font-size:12px;
660 padding:4px 0;
660 padding:4px 0;
661 }
661 }
662
662
663 #content div.box ul.disc,#content div.box ul.circle {
663 #content div.box ul.disc,#content div.box ul.circle {
664 margin:10px 24px 10px 38px;
664 margin:10px 24px 10px 38px;
665 }
665 }
666
666
667 #content div.box ul.square {
667 #content div.box ul.square {
668 margin:10px 24px 10px 40px;
668 margin:10px 24px 10px 40px;
669 }
669 }
670
670
671 #content div.box img.left {
671 #content div.box img.left {
672 border:none;
672 border:none;
673 float:left;
673 float:left;
674 margin:10px 10px 10px 0;
674 margin:10px 10px 10px 0;
675 }
675 }
676
676
677 #content div.box img.right {
677 #content div.box img.right {
678 border:none;
678 border:none;
679 float:right;
679 float:right;
680 margin:10px 0 10px 10px;
680 margin:10px 0 10px 10px;
681 }
681 }
682
682
683 #content div.box div.messages {
683 #content div.box div.messages {
684 clear:both;
684 clear:both;
685 overflow:hidden;
685 overflow:hidden;
686 margin:0 20px;
686 margin:0 20px;
687 padding:0;
687 padding:0;
688 }
688 }
689
689
690 #content div.box div.message {
690 #content div.box div.message {
691 clear:both;
691 clear:both;
692 overflow:hidden;
692 overflow:hidden;
693 margin:0;
693 margin:0;
694 padding:10px 0;
694 padding:10px 0;
695 }
695 }
696
696
697 #content div.box div.message a {
697 #content div.box div.message a {
698 font-weight:400 !important;
698 font-weight:400 !important;
699 }
699 }
700
700
701 #content div.box div.message div.image {
701 #content div.box div.message div.image {
702 float:left;
702 float:left;
703 margin:9px 0 0 5px;
703 margin:9px 0 0 5px;
704 padding:6px;
704 padding:6px;
705 }
705 }
706
706
707 #content div.box div.message div.image img {
707 #content div.box div.message div.image img {
708 vertical-align:middle;
708 vertical-align:middle;
709 margin:0;
709 margin:0;
710 }
710 }
711
711
712 #content div.box div.message div.text {
712 #content div.box div.message div.text {
713 float:left;
713 float:left;
714 margin:0;
714 margin:0;
715 padding:9px 6px;
715 padding:9px 6px;
716 }
716 }
717
717
718 #content div.box div.message div.dismiss a {
718 #content div.box div.message div.dismiss a {
719 height:16px;
719 height:16px;
720 width:16px;
720 width:16px;
721 display:block;
721 display:block;
722 background:url("../images/icons/cross.png") no-repeat;
722 background:url("../images/icons/cross.png") no-repeat;
723 margin:15px 14px 0 0;
723 margin:15px 14px 0 0;
724 padding:0;
724 padding:0;
725 }
725 }
726
726
727 #content div.box div.message div.text h1,#content div.box div.message div.text h2,#content div.box div.message div.text h3,#content div.box div.message div.text h4,#content div.box div.message div.text h5,#content div.box div.message div.text h6 {
727 #content div.box div.message div.text h1,#content div.box div.message div.text h2,#content div.box div.message div.text h3,#content div.box div.message div.text h4,#content div.box div.message div.text h5,#content div.box div.message div.text h6 {
728 border:none;
728 border:none;
729 margin:0;
729 margin:0;
730 padding:0;
730 padding:0;
731 }
731 }
732
732
733 #content div.box div.message div.text span {
733 #content div.box div.message div.text span {
734 height:1%;
734 height:1%;
735 display:block;
735 display:block;
736 margin:0;
736 margin:0;
737 padding:5px 0 0;
737 padding:5px 0 0;
738 }
738 }
739
739
740 #content div.box div.message-error {
740 #content div.box div.message-error {
741 height:1%;
741 height:1%;
742 clear:both;
742 clear:both;
743 overflow:hidden;
743 overflow:hidden;
744 background:#FBE3E4;
744 background:#FBE3E4;
745 border:1px solid #FBC2C4;
745 border:1px solid #FBC2C4;
746 color:#860006;
746 color:#860006;
747 }
747 }
748
748
749 #content div.box div.message-error h6 {
749 #content div.box div.message-error h6 {
750 color:#860006;
750 color:#860006;
751 }
751 }
752
752
753 #content div.box div.message-warning {
753 #content div.box div.message-warning {
754 height:1%;
754 height:1%;
755 clear:both;
755 clear:both;
756 overflow:hidden;
756 overflow:hidden;
757 background:#FFF6BF;
757 background:#FFF6BF;
758 border:1px solid #FFD324;
758 border:1px solid #FFD324;
759 color:#5f5200;
759 color:#5f5200;
760 }
760 }
761
761
762 #content div.box div.message-warning h6 {
762 #content div.box div.message-warning h6 {
763 color:#5f5200;
763 color:#5f5200;
764 }
764 }
765
765
766 #content div.box div.message-notice {
766 #content div.box div.message-notice {
767 height:1%;
767 height:1%;
768 clear:both;
768 clear:both;
769 overflow:hidden;
769 overflow:hidden;
770 background:#8FBDE0;
770 background:#8FBDE0;
771 border:1px solid #6BACDE;
771 border:1px solid #6BACDE;
772 color:#003863;
772 color:#003863;
773 }
773 }
774
774
775 #content div.box div.message-notice h6 {
775 #content div.box div.message-notice h6 {
776 color:#003863;
776 color:#003863;
777 }
777 }
778
778
779 #content div.box div.message-success {
779 #content div.box div.message-success {
780 height:1%;
780 height:1%;
781 clear:both;
781 clear:both;
782 overflow:hidden;
782 overflow:hidden;
783 background:#E6EFC2;
783 background:#E6EFC2;
784 border:1px solid #C6D880;
784 border:1px solid #C6D880;
785 color:#4e6100;
785 color:#4e6100;
786 }
786 }
787
787
788 #content div.box div.message-success h6 {
788 #content div.box div.message-success h6 {
789 color:#4e6100;
789 color:#4e6100;
790 }
790 }
791
791
792 #content div.box div.form div.fields div.field {
792 #content div.box div.form div.fields div.field {
793 height:1%;
793 height:1%;
794 border-bottom:1px solid #DDD;
794 border-bottom:1px solid #DDD;
795 clear:both;
795 clear:both;
796 margin:0;
796 margin:0;
797 padding:10px 0;
797 padding:10px 0;
798 }
798 }
799
799
800 #content div.box div.form div.fields div.field-first {
800 #content div.box div.form div.fields div.field-first {
801 padding:0 0 10px;
801 padding:0 0 10px;
802 }
802 }
803
803
804 #content div.box div.form div.fields div.field-noborder {
804 #content div.box div.form div.fields div.field-noborder {
805 border-bottom:0 !important;
805 border-bottom:0 !important;
806 }
806 }
807
807
808 #content div.box div.form div.fields div.field span.error-message {
808 #content div.box div.form div.fields div.field span.error-message {
809 height:1%;
809 height:1%;
810 display:inline-block;
810 display:inline-block;
811 color:red;
811 color:red;
812 margin:8px 0 0 4px;
812 margin:8px 0 0 4px;
813 padding:0;
813 padding:0;
814 }
814 }
815
815
816 #content div.box div.form div.fields div.field span.success {
816 #content div.box div.form div.fields div.field span.success {
817 height:1%;
817 height:1%;
818 display:block;
818 display:block;
819 color:#316309;
819 color:#316309;
820 margin:8px 0 0;
820 margin:8px 0 0;
821 padding:0;
821 padding:0;
822 }
822 }
823
823
824 #content div.box div.form div.fields div.field div.label {
824 #content div.box div.form div.fields div.field div.label {
825 left:80px;
825 left:80px;
826 width:auto;
826 width:auto;
827 position:absolute;
827 position:absolute;
828 margin:0;
828 margin:0;
829 padding:8px 0 0 5px;
829 padding:8px 0 0 5px;
830 }
830 }
831
831
832 #content div.box-left div.form div.fields div.field div.label,#content div.box-right div.form div.fields div.field div.label {
832 #content div.box-left div.form div.fields div.field div.label,#content div.box-right div.form div.fields div.field div.label {
833 clear:both;
833 clear:both;
834 overflow:hidden;
834 overflow:hidden;
835 left:0;
835 left:0;
836 width:auto;
836 width:auto;
837 position:relative;
837 position:relative;
838 margin:0;
838 margin:0;
839 padding:0 0 8px;
839 padding:0 0 8px;
840 }
840 }
841
841
842 #content div.box div.form div.fields div.field div.label-select {
842 #content div.box div.form div.fields div.field div.label-select {
843 padding:5px 0 0 5px;
843 padding:5px 0 0 5px;
844 }
844 }
845
845
846 #content div.box-left div.form div.fields div.field div.label-select,#content div.box-right div.form div.fields div.field div.label-select {
846 #content div.box-left div.form div.fields div.field div.label-select,#content div.box-right div.form div.fields div.field div.label-select {
847 padding:0 0 8px;
847 padding:0 0 8px;
848 }
848 }
849
849
850 #content div.box-left div.form div.fields div.field div.label-textarea,#content div.box-right div.form div.fields div.field div.label-textarea {
850 #content div.box-left div.form div.fields div.field div.label-textarea,#content div.box-right div.form div.fields div.field div.label-textarea {
851 padding:0 0 8px !important;
851 padding:0 0 8px !important;
852 }
852 }
853
853
854 #content div.box div.form div.fields div.field div.label label {
854 #content div.box div.form div.fields div.field div.label label {
855 color:#393939;
855 color:#393939;
856 font-weight:700;
856 font-weight:700;
857 }
857 }
858
858
859 #content div.box div.form div.fields div.field div.input {
859 #content div.box div.form div.fields div.field div.input {
860 margin:0 0 0 200px;
860 margin:0 0 0 200px;
861 }
861 }
862 #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input {
862 #content div.box-left div.form div.fields div.field div.input,#content div.box-right div.form div.fields div.field div.input {
863 margin:0 0 0 0px;
863 margin:0 0 0 0px;
864 }
864 }
865
865
866 #content div.box div.form div.fields div.field div.input input {
866 #content div.box div.form div.fields div.field div.input input {
867 background:#FFF;
867 background:#FFF;
868 border-top:1px solid #b3b3b3;
868 border-top:1px solid #b3b3b3;
869 border-left:1px solid #b3b3b3;
869 border-left:1px solid #b3b3b3;
870 border-right:1px solid #eaeaea;
870 border-right:1px solid #eaeaea;
871 border-bottom:1px solid #eaeaea;
871 border-bottom:1px solid #eaeaea;
872 color:#000;
872 color:#000;
873 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
873 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
874 font-size:11px;
874 font-size:11px;
875 margin:0;
875 margin:0;
876 padding:7px 7px 6px;
876 padding:7px 7px 6px;
877 }
877 }
878
878
879
879
880
880
881 #content div.box div.form div.fields div.field div.input input.small {
881 #content div.box div.form div.fields div.field div.input input.small {
882 width:30%;
882 width:30%;
883 }
883 }
884
884
885 #content div.box div.form div.fields div.field div.input input.medium {
885 #content div.box div.form div.fields div.field div.input input.medium {
886 width:55%;
886 width:55%;
887 }
887 }
888
888
889 #content div.box div.form div.fields div.field div.input input.large {
889 #content div.box div.form div.fields div.field div.input input.large {
890 width:85%;
890 width:85%;
891 }
891 }
892
892
893 #content div.box div.form div.fields div.field div.input input.date {
893 #content div.box div.form div.fields div.field div.input input.date {
894 width:177px;
894 width:177px;
895 }
895 }
896
896
897 #content div.box div.form div.fields div.field div.input input.button {
897 #content div.box div.form div.fields div.field div.input input.button {
898 background:#D4D0C8;
898 background:#D4D0C8;
899 border-top:1px solid #FFF;
899 border-top:1px solid #FFF;
900 border-left:1px solid #FFF;
900 border-left:1px solid #FFF;
901 border-right:1px solid #404040;
901 border-right:1px solid #404040;
902 border-bottom:1px solid #404040;
902 border-bottom:1px solid #404040;
903 color:#000;
903 color:#000;
904 margin:0;
904 margin:0;
905 padding:4px 8px;
905 padding:4px 8px;
906 }
906 }
907
907
908 #content div.box div.form div.fields div.field div.input a.ui-input-file {
908 #content div.box div.form div.fields div.field div.input a.ui-input-file {
909 width:28px;
909 width:28px;
910 height:28px;
910 height:28px;
911 display:inline;
911 display:inline;
912 position:absolute;
912 position:absolute;
913 overflow:hidden;
913 overflow:hidden;
914 cursor:pointer;
914 cursor:pointer;
915 background:#e5e3e3 url("../images/button_browse.png") no-repeat;
915 background:#e5e3e3 url("../images/button_browse.png") no-repeat;
916 border:none;
916 border:none;
917 text-decoration:none;
917 text-decoration:none;
918 margin:0 0 0 6px;
918 margin:0 0 0 6px;
919 padding:0;
919 padding:0;
920 }
920 }
921
921
922 #content div.box div.form div.fields div.field div.textarea {
922 #content div.box div.form div.fields div.field div.textarea {
923 border-top:1px solid #b3b3b3;
923 border-top:1px solid #b3b3b3;
924 border-left:1px solid #b3b3b3;
924 border-left:1px solid #b3b3b3;
925 border-right:1px solid #eaeaea;
925 border-right:1px solid #eaeaea;
926 border-bottom:1px solid #eaeaea;
926 border-bottom:1px solid #eaeaea;
927 margin:0 0 0 200px;
927 margin:0 0 0 200px;
928 padding:10px;
928 padding:10px;
929 }
929 }
930
930
931 #content div.box div.form div.fields div.field div.textarea-editor {
931 #content div.box div.form div.fields div.field div.textarea-editor {
932 border:1px solid #ddd;
932 border:1px solid #ddd;
933 padding:0;
933 padding:0;
934 }
934 }
935
935
936 #content div.box div.form div.fields div.field div.textarea textarea {
936 #content div.box div.form div.fields div.field div.textarea textarea {
937 width:100%;
937 width:100%;
938 height:220px;
938 height:220px;
939 overflow:hidden;
939 overflow:hidden;
940 background:#FFF;
940 background:#FFF;
941 color:#000;
941 color:#000;
942 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
942 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
943 font-size:11px;
943 font-size:11px;
944 outline:none;
944 outline:none;
945 border-width:0;
945 border-width:0;
946 margin:0;
946 margin:0;
947 padding:0;
947 padding:0;
948 }
948 }
949
949
950 #content div.box-left div.form div.fields div.field div.textarea textarea,#content div.box-right div.form div.fields div.field div.textarea textarea {
950 #content div.box-left div.form div.fields div.field div.textarea textarea,#content div.box-right div.form div.fields div.field div.textarea textarea {
951 width:100%;
951 width:100%;
952 height:100px;
952 height:100px;
953 }
953 }
954
954
955 #content div.box div.form div.fields div.field div.textarea table {
955 #content div.box div.form div.fields div.field div.textarea table {
956 width:100%;
956 width:100%;
957 border:none;
957 border:none;
958 margin:0;
958 margin:0;
959 padding:0;
959 padding:0;
960 }
960 }
961
961
962 #content div.box div.form div.fields div.field div.textarea table td {
962 #content div.box div.form div.fields div.field div.textarea table td {
963 background:#DDD;
963 background:#DDD;
964 border:none;
964 border:none;
965 padding:0;
965 padding:0;
966 }
966 }
967
967
968 #content div.box div.form div.fields div.field div.textarea table td table {
968 #content div.box div.form div.fields div.field div.textarea table td table {
969 width:auto;
969 width:auto;
970 border:none;
970 border:none;
971 margin:0;
971 margin:0;
972 padding:0;
972 padding:0;
973 }
973 }
974
974
975 #content div.box div.form div.fields div.field div.textarea table td table td {
975 #content div.box div.form div.fields div.field div.textarea table td table td {
976 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
976 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
977 font-size:11px;
977 font-size:11px;
978 padding:5px 5px 5px 0;
978 padding:5px 5px 5px 0;
979 }
979 }
980
980
981 #content div.box div.form div.fields div.field div.textarea table td table td a.mceButtonActive {
981 #content div.box div.form div.fields div.field div.textarea table td table td a.mceButtonActive {
982 background:#b1b1b1;
982 background:#b1b1b1;
983 }
983 }
984
984
985 #content div.box div.form div.fields div.field div.select a.ui-selectmenu {
985 #content div.box div.form div.fields div.field div.select a.ui-selectmenu {
986 color:#565656;
986 color:#565656;
987 text-decoration:none;
987 text-decoration:none;
988 }
988 }
989
989
990 #content div.box div.form div.fields div.field input[type=text]:focus,#content div.box div.form div.fields div.field input[type=password]:focus,#content div.box div.form div.fields div.field input[type=file]:focus,#content div.box div.form div.fields div.field textarea:focus,#content div.box div.form div.fields div.field select:focus {
990 #content div.box div.form div.fields div.field input[type=text]:focus,#content div.box div.form div.fields div.field input[type=password]:focus,#content div.box div.form div.fields div.field input[type=file]:focus,#content div.box div.form div.fields div.field textarea:focus,#content div.box div.form div.fields div.field select:focus {
991 background:#f6f6f6;
991 background:#f6f6f6;
992 border-color:#666;
992 border-color:#666;
993 }
993 }
994
994
995 div.form div.fields div.field div.button {
995 div.form div.fields div.field div.button {
996 margin:0;
996 margin:0;
997 padding:0 0 0 8px;
997 padding:0 0 0 8px;
998 }
998 }
999
999
1000 div.form div.fields div.field div.highlight .ui-state-default {
1000 div.form div.fields div.field div.highlight .ui-state-default {
1001 background:#4e85bb url("../images/button_highlight.png") repeat-x;
1001 background:#4e85bb url("../images/button_highlight.png") repeat-x;
1002 border-top:1px solid #5c91a4;
1002 border-top:1px solid #5c91a4;
1003 border-left:1px solid #2a6f89;
1003 border-left:1px solid #2a6f89;
1004 border-right:1px solid #2b7089;
1004 border-right:1px solid #2b7089;
1005 border-bottom:1px solid #1a6480;
1005 border-bottom:1px solid #1a6480;
1006 color:#FFF;
1006 color:#FFF;
1007 margin:0;
1007 margin:0;
1008 padding:6px 12px;
1008 padding:6px 12px;
1009 }
1009 }
1010
1010
1011 div.form div.fields div.field div.highlight .ui-state-hover {
1011 div.form div.fields div.field div.highlight .ui-state-hover {
1012 background:#46a0c1 url("../images/button_highlight_selected.png") repeat-x;
1012 background:#46a0c1 url("../images/button_highlight_selected.png") repeat-x;
1013 border-top:1px solid #78acbf;
1013 border-top:1px solid #78acbf;
1014 border-left:1px solid #34819e;
1014 border-left:1px solid #34819e;
1015 border-right:1px solid #35829f;
1015 border-right:1px solid #35829f;
1016 border-bottom:1px solid #257897;
1016 border-bottom:1px solid #257897;
1017 color:#FFF;
1017 color:#FFF;
1018 margin:0;
1018 margin:0;
1019 padding:6px 12px;
1019 padding:6px 12px;
1020 }
1020 }
1021
1021
1022 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-default {
1022 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-default {
1023 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
1023 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
1024 border-top:1px solid #5c91a4;
1024 border-top:1px solid #5c91a4;
1025 border-left:1px solid #2a6f89;
1025 border-left:1px solid #2a6f89;
1026 border-right:1px solid #2b7089;
1026 border-right:1px solid #2b7089;
1027 border-bottom:1px solid #1a6480;
1027 border-bottom:1px solid #1a6480;
1028 color:#fff;
1028 color:#fff;
1029 margin:0;
1029 margin:0;
1030 padding:6px 12px;
1030 padding:6px 12px;
1031 }
1031 }
1032
1032
1033 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-hover {
1033 #content div.box div.form div.fields div.buttons div.highlight input.ui-state-hover {
1034 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
1034 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
1035 border-top:1px solid #78acbf;
1035 border-top:1px solid #78acbf;
1036 border-left:1px solid #34819e;
1036 border-left:1px solid #34819e;
1037 border-right:1px solid #35829f;
1037 border-right:1px solid #35829f;
1038 border-bottom:1px solid #257897;
1038 border-bottom:1px solid #257897;
1039 color:#fff;
1039 color:#fff;
1040 margin:0;
1040 margin:0;
1041 padding:6px 12px;
1041 padding:6px 12px;
1042 }
1042 }
1043
1043
1044 #content div.box table {
1044 #content div.box table {
1045 width:100%;
1045 width:100%;
1046 border-collapse:collapse;
1046 border-collapse:collapse;
1047 margin:0;
1047 margin:0;
1048 padding:0;
1048 padding:0;
1049 }
1049 }
1050
1050
1051 #content div.box table th {
1051 #content div.box table th {
1052 background:#eee;
1052 background:#eee;
1053 border-bottom:1px solid #ddd;
1053 border-bottom:1px solid #ddd;
1054 padding:5px 0px 5px 5px;
1054 padding:5px 0px 5px 5px;
1055 }
1055 }
1056
1056
1057 #content div.box table th.left {
1057 #content div.box table th.left {
1058 text-align:left;
1058 text-align:left;
1059 }
1059 }
1060
1060
1061 #content div.box table th.right {
1061 #content div.box table th.right {
1062 text-align:right;
1062 text-align:right;
1063 }
1063 }
1064
1064
1065 #content div.box table th.center {
1065 #content div.box table th.center {
1066 text-align:center;
1066 text-align:center;
1067 }
1067 }
1068
1068
1069 #content div.box table th.selected {
1069 #content div.box table th.selected {
1070 vertical-align:middle;
1070 vertical-align:middle;
1071 padding:0;
1071 padding:0;
1072 }
1072 }
1073
1073
1074 #content div.box table td {
1074 #content div.box table td {
1075 background:#fff;
1075 background:#fff;
1076 border-bottom:1px solid #cdcdcd;
1076 border-bottom:1px solid #cdcdcd;
1077 vertical-align:middle;
1077 vertical-align:middle;
1078 padding:5px;
1078 padding:5px;
1079 }
1079 }
1080
1080
1081 #content div.box table tr.selected td {
1081 #content div.box table tr.selected td {
1082 background:#FFC;
1082 background:#FFC;
1083 }
1083 }
1084
1084
1085 #content div.box table td.selected {
1085 #content div.box table td.selected {
1086 width:3%;
1086 width:3%;
1087 text-align:center;
1087 text-align:center;
1088 vertical-align:middle;
1088 vertical-align:middle;
1089 padding:0;
1089 padding:0;
1090 }
1090 }
1091
1091
1092 #content div.box table td.action {
1092 #content div.box table td.action {
1093 width:45%;
1093 width:45%;
1094 text-align:left;
1094 text-align:left;
1095 }
1095 }
1096
1096
1097 #content div.box table td.date {
1097 #content div.box table td.date {
1098 width:33%;
1098 width:33%;
1099 text-align:center;
1099 text-align:center;
1100 }
1100 }
1101
1101
1102 #content div.box div.action {
1102 #content div.box div.action {
1103 float:right;
1103 float:right;
1104 background:#FFF;
1104 background:#FFF;
1105 text-align:right;
1105 text-align:right;
1106 margin:10px 0 0;
1106 margin:10px 0 0;
1107 padding:0;
1107 padding:0;
1108 }
1108 }
1109
1109
1110 #content div.box div.action select {
1110 #content div.box div.action select {
1111 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1111 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1112 font-size:11px;
1112 font-size:11px;
1113 margin:0;
1113 margin:0;
1114 }
1114 }
1115
1115
1116 #content div.box div.action .ui-selectmenu {
1116 #content div.box div.action .ui-selectmenu {
1117 margin:0;
1117 margin:0;
1118 padding:0;
1118 padding:0;
1119 }
1119 }
1120
1120
1121 #content div.box div.pagination {
1121 #content div.box div.pagination {
1122 height:1%;
1122 height:1%;
1123 clear:both;
1123 clear:both;
1124 overflow:hidden;
1124 overflow:hidden;
1125 margin:10px 0 0;
1125 margin:10px 0 0;
1126 padding:0;
1126 padding:0;
1127 }
1127 }
1128
1128
1129 #content div.box div.pagination ul.pager {
1129 #content div.box div.pagination ul.pager {
1130 float:right;
1130 float:right;
1131 text-align:right;
1131 text-align:right;
1132 margin:0;
1132 margin:0;
1133 padding:0;
1133 padding:0;
1134 }
1134 }
1135
1135
1136 #content div.box div.pagination ul.pager li {
1136 #content div.box div.pagination ul.pager li {
1137 height:1%;
1137 height:1%;
1138 float:left;
1138 float:left;
1139 list-style:none;
1139 list-style:none;
1140 background:#ebebeb url("../images/pager.png") repeat-x;
1140 background:#ebebeb url("../images/pager.png") repeat-x;
1141 border-top:1px solid #dedede;
1141 border-top:1px solid #dedede;
1142 border-left:1px solid #cfcfcf;
1142 border-left:1px solid #cfcfcf;
1143 border-right:1px solid #c4c4c4;
1143 border-right:1px solid #c4c4c4;
1144 border-bottom:1px solid #c4c4c4;
1144 border-bottom:1px solid #c4c4c4;
1145 color:#4A4A4A;
1145 color:#4A4A4A;
1146 font-weight:700;
1146 font-weight:700;
1147 margin:0 0 0 4px;
1147 margin:0 0 0 4px;
1148 padding:0;
1148 padding:0;
1149 }
1149 }
1150
1150
1151 #content div.box div.pagination ul.pager li.separator {
1151 #content div.box div.pagination ul.pager li.separator {
1152 padding:6px;
1152 padding:6px;
1153 }
1153 }
1154
1154
1155 #content div.box div.pagination ul.pager li.current {
1155 #content div.box div.pagination ul.pager li.current {
1156 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1156 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1157 border-top:1px solid #ccc;
1157 border-top:1px solid #ccc;
1158 border-left:1px solid #bebebe;
1158 border-left:1px solid #bebebe;
1159 border-right:1px solid #b1b1b1;
1159 border-right:1px solid #b1b1b1;
1160 border-bottom:1px solid #afafaf;
1160 border-bottom:1px solid #afafaf;
1161 color:#515151;
1161 color:#515151;
1162 padding:6px;
1162 padding:6px;
1163 }
1163 }
1164
1164
1165 #content div.box div.pagination ul.pager li a {
1165 #content div.box div.pagination ul.pager li a {
1166 height:1%;
1166 height:1%;
1167 display:block;
1167 display:block;
1168 float:left;
1168 float:left;
1169 color:#515151;
1169 color:#515151;
1170 text-decoration:none;
1170 text-decoration:none;
1171 margin:0;
1171 margin:0;
1172 padding:6px;
1172 padding:6px;
1173 }
1173 }
1174
1174
1175 #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active {
1175 #content div.box div.pagination ul.pager li a:hover,#content div.box div.pagination ul.pager li a:active {
1176 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1176 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1177 border-top:1px solid #ccc;
1177 border-top:1px solid #ccc;
1178 border-left:1px solid #bebebe;
1178 border-left:1px solid #bebebe;
1179 border-right:1px solid #b1b1b1;
1179 border-right:1px solid #b1b1b1;
1180 border-bottom:1px solid #afafaf;
1180 border-bottom:1px solid #afafaf;
1181 margin:-1px;
1181 margin:-1px;
1182 }
1182 }
1183
1183
1184 #content div.box div.pagination-wh {
1184 #content div.box div.pagination-wh {
1185 height:1%;
1185 height:1%;
1186 clear:both;
1186 clear:both;
1187 overflow:hidden;
1187 overflow:hidden;
1188 text-align:right;
1188 text-align:right;
1189 margin:10px 0 0;
1189 margin:10px 0 0;
1190 padding:0;
1190 padding:0;
1191 }
1191 }
1192
1192
1193 #content div.box div.pagination-right {
1193 #content div.box div.pagination-right {
1194 float:right;
1194 float:right;
1195 }
1195 }
1196
1196
1197 #content div.box div.pagination-wh a,#content div.box div.pagination-wh span.pager_dotdot {
1197 #content div.box div.pagination-wh a,#content div.box div.pagination-wh span.pager_dotdot {
1198 height:1%;
1198 height:1%;
1199 float:left;
1199 float:left;
1200 background:#ebebeb url("../images/pager.png") repeat-x;
1200 background:#ebebeb url("../images/pager.png") repeat-x;
1201 border-top:1px solid #dedede;
1201 border-top:1px solid #dedede;
1202 border-left:1px solid #cfcfcf;
1202 border-left:1px solid #cfcfcf;
1203 border-right:1px solid #c4c4c4;
1203 border-right:1px solid #c4c4c4;
1204 border-bottom:1px solid #c4c4c4;
1204 border-bottom:1px solid #c4c4c4;
1205 color:#4A4A4A;
1205 color:#4A4A4A;
1206 font-weight:700;
1206 font-weight:700;
1207 margin:0 0 0 4px;
1207 margin:0 0 0 4px;
1208 padding:6px;
1208 padding:6px;
1209 }
1209 }
1210
1210
1211 #content div.box div.pagination-wh span.pager_curpage {
1211 #content div.box div.pagination-wh span.pager_curpage {
1212 height:1%;
1212 height:1%;
1213 float:left;
1213 float:left;
1214 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1214 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1215 border-top:1px solid #ccc;
1215 border-top:1px solid #ccc;
1216 border-left:1px solid #bebebe;
1216 border-left:1px solid #bebebe;
1217 border-right:1px solid #b1b1b1;
1217 border-right:1px solid #b1b1b1;
1218 border-bottom:1px solid #afafaf;
1218 border-bottom:1px solid #afafaf;
1219 color:#515151;
1219 color:#515151;
1220 font-weight:700;
1220 font-weight:700;
1221 margin:0 0 0 4px;
1221 margin:0 0 0 4px;
1222 padding:6px;
1222 padding:6px;
1223 }
1223 }
1224
1224
1225 #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active {
1225 #content div.box div.pagination-wh a:hover,#content div.box div.pagination-wh a:active {
1226 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1226 background:#b4b4b4 url("../images/pager_selected.png") repeat-x;
1227 border-top:1px solid #ccc;
1227 border-top:1px solid #ccc;
1228 border-left:1px solid #bebebe;
1228 border-left:1px solid #bebebe;
1229 border-right:1px solid #b1b1b1;
1229 border-right:1px solid #b1b1b1;
1230 border-bottom:1px solid #afafaf;
1230 border-bottom:1px solid #afafaf;
1231 text-decoration:none;
1231 text-decoration:none;
1232 }
1232 }
1233
1233
1234 #content div.box div.traffic div.legend {
1234 #content div.box div.traffic div.legend {
1235 clear:both;
1235 clear:both;
1236 overflow:hidden;
1236 overflow:hidden;
1237 border-bottom:1px solid #ddd;
1237 border-bottom:1px solid #ddd;
1238 margin:0 0 10px;
1238 margin:0 0 10px;
1239 padding:0 0 10px;
1239 padding:0 0 10px;
1240 }
1240 }
1241
1241
1242 #content div.box div.traffic div.legend h6 {
1242 #content div.box div.traffic div.legend h6 {
1243 float:left;
1243 float:left;
1244 border:none;
1244 border:none;
1245 margin:0;
1245 margin:0;
1246 padding:0;
1246 padding:0;
1247 }
1247 }
1248
1248
1249 #content div.box div.traffic div.legend li {
1249 #content div.box div.traffic div.legend li {
1250 list-style:none;
1250 list-style:none;
1251 float:left;
1251 float:left;
1252 font-size:11px;
1252 font-size:11px;
1253 margin:0;
1253 margin:0;
1254 padding:0 8px 0 4px;
1254 padding:0 8px 0 4px;
1255 }
1255 }
1256
1256
1257 #content div.box div.traffic div.legend li.visits {
1257 #content div.box div.traffic div.legend li.visits {
1258 border-left:12px solid #edc240;
1258 border-left:12px solid #edc240;
1259 }
1259 }
1260
1260
1261 #content div.box div.traffic div.legend li.pageviews {
1261 #content div.box div.traffic div.legend li.pageviews {
1262 border-left:12px solid #afd8f8;
1262 border-left:12px solid #afd8f8;
1263 }
1263 }
1264
1264
1265 #content div.box div.traffic table {
1265 #content div.box div.traffic table {
1266 width:auto;
1266 width:auto;
1267 }
1267 }
1268
1268
1269 #content div.box div.traffic table td {
1269 #content div.box div.traffic table td {
1270 background:transparent;
1270 background:transparent;
1271 border:none;
1271 border:none;
1272 padding:2px 3px 3px;
1272 padding:2px 3px 3px;
1273 }
1273 }
1274
1274
1275 #content div.box div.traffic table td.legendLabel {
1275 #content div.box div.traffic table td.legendLabel {
1276 padding:0 3px 2px;
1276 padding:0 3px 2px;
1277 }
1277 }
1278
1278
1279 #footer {
1279 #footer {
1280 clear:both;
1280 clear:both;
1281 overflow:hidden;
1281 overflow:hidden;
1282 text-align:right;
1282 text-align:right;
1283 margin:0;
1283 margin:0;
1284 padding:0 30px 4px;
1284 padding:0 30px 4px;
1285 margin:-10px 0 0;
1285 margin:-10px 0 0;
1286 }
1286 }
1287
1287
1288 #footer div#footer-inner {
1288 #footer div#footer-inner {
1289 background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367;
1289 background:url("../images/header_inner.png") repeat-x scroll 0 0 #003367;
1290 border-top:2px solid #FFFFFF;
1290 border-top:2px solid #FFFFFF;
1291 }
1291 }
1292
1292
1293 #footer div#footer-inner p {
1293 #footer div#footer-inner p {
1294 padding:15px 25px 15px 0;
1294 padding:15px 25px 15px 0;
1295 color:#FFF;
1295 color:#FFF;
1296 font-weight:700;
1296 font-weight:700;
1297 }
1297 }
1298 #footer div#footer-inner .footer-link {
1298 #footer div#footer-inner .footer-link {
1299 float:left;
1299 float:left;
1300 padding-left:10px;
1300 padding-left:10px;
1301 }
1301 }
1302 #footer div#footer-inner .footer-link a {
1302 #footer div#footer-inner .footer-link a {
1303 color:#FFF;
1303 color:#FFF;
1304 }
1304 }
1305
1305
1306 #login div.title {
1306 #login div.title {
1307 width:420px;
1307 width:420px;
1308 clear:both;
1308 clear:both;
1309 overflow:hidden;
1309 overflow:hidden;
1310 position:relative;
1310 position:relative;
1311 background:#003367 url("../../images/header_inner.png") repeat-x;
1311 background:#003367 url("../../images/header_inner.png") repeat-x;
1312 margin:0 auto;
1312 margin:0 auto;
1313 padding:0;
1313 padding:0;
1314 }
1314 }
1315
1315
1316 #login div.inner {
1316 #login div.inner {
1317 width:380px;
1317 width:380px;
1318 background:#FFF url("../images/login.png") no-repeat top left;
1318 background:#FFF url("../images/login.png") no-repeat top left;
1319 border-top:none;
1319 border-top:none;
1320 border-bottom:none;
1320 border-bottom:none;
1321 margin:0 auto;
1321 margin:0 auto;
1322 padding:20px;
1322 padding:20px;
1323 }
1323 }
1324
1324
1325 #login div.form div.fields div.field div.label {
1325 #login div.form div.fields div.field div.label {
1326 width:173px;
1326 width:173px;
1327 float:left;
1327 float:left;
1328 text-align:right;
1328 text-align:right;
1329 margin:2px 10px 0 0;
1329 margin:2px 10px 0 0;
1330 padding:5px 0 0 5px;
1330 padding:5px 0 0 5px;
1331 }
1331 }
1332
1332
1333 #login div.form div.fields div.field div.input input {
1333 #login div.form div.fields div.field div.input input {
1334 width:176px;
1334 width:176px;
1335 background:#FFF;
1335 background:#FFF;
1336 border-top:1px solid #b3b3b3;
1336 border-top:1px solid #b3b3b3;
1337 border-left:1px solid #b3b3b3;
1337 border-left:1px solid #b3b3b3;
1338 border-right:1px solid #eaeaea;
1338 border-right:1px solid #eaeaea;
1339 border-bottom:1px solid #eaeaea;
1339 border-bottom:1px solid #eaeaea;
1340 color:#000;
1340 color:#000;
1341 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1341 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1342 font-size:11px;
1342 font-size:11px;
1343 margin:0;
1343 margin:0;
1344 padding:7px 7px 6px;
1344 padding:7px 7px 6px;
1345 }
1345 }
1346
1346
1347 #login div.form div.fields div.buttons {
1347 #login div.form div.fields div.buttons {
1348 clear:both;
1348 clear:both;
1349 overflow:hidden;
1349 overflow:hidden;
1350 border-top:1px solid #DDD;
1350 border-top:1px solid #DDD;
1351 text-align:right;
1351 text-align:right;
1352 margin:0;
1352 margin:0;
1353 padding:10px 0 0;
1353 padding:10px 0 0;
1354 }
1354 }
1355
1355
1356 #login div.form div.links {
1356 #login div.form div.links {
1357 clear:both;
1357 clear:both;
1358 overflow:hidden;
1358 overflow:hidden;
1359 margin:10px 0 0;
1359 margin:10px 0 0;
1360 padding:0 0 2px;
1360 padding:0 0 2px;
1361 }
1361 }
1362
1362
1363 #register div.title {
1363 #register div.title {
1364 clear:both;
1364 clear:both;
1365 overflow:hidden;
1365 overflow:hidden;
1366 position:relative;
1366 position:relative;
1367 background:#003367 url("../images/header_inner.png") repeat-x;
1367 background:#003367 url("../images/header_inner.png") repeat-x;
1368 margin:0 auto;
1368 margin:0 auto;
1369 padding:0;
1369 padding:0;
1370 }
1370 }
1371
1371
1372 #register div.inner {
1372 #register div.inner {
1373 background:#FFF;
1373 background:#FFF;
1374 border-top:none;
1374 border-top:none;
1375 border-bottom:none;
1375 border-bottom:none;
1376 margin:0 auto;
1376 margin:0 auto;
1377 padding:20px;
1377 padding:20px;
1378 }
1378 }
1379
1379
1380 #register div.form div.fields div.field div.label {
1380 #register div.form div.fields div.field div.label {
1381 width:135px;
1381 width:135px;
1382 float:left;
1382 float:left;
1383 text-align:right;
1383 text-align:right;
1384 margin:2px 10px 0 0;
1384 margin:2px 10px 0 0;
1385 padding:5px 0 0 5px;
1385 padding:5px 0 0 5px;
1386 }
1386 }
1387
1387
1388 #register div.form div.fields div.field div.input input {
1388 #register div.form div.fields div.field div.input input {
1389 width:300px;
1389 width:300px;
1390 background:#FFF;
1390 background:#FFF;
1391 border-top:1px solid #b3b3b3;
1391 border-top:1px solid #b3b3b3;
1392 border-left:1px solid #b3b3b3;
1392 border-left:1px solid #b3b3b3;
1393 border-right:1px solid #eaeaea;
1393 border-right:1px solid #eaeaea;
1394 border-bottom:1px solid #eaeaea;
1394 border-bottom:1px solid #eaeaea;
1395 color:#000;
1395 color:#000;
1396 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1396 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
1397 font-size:11px;
1397 font-size:11px;
1398 margin:0;
1398 margin:0;
1399 padding:7px 7px 6px;
1399 padding:7px 7px 6px;
1400 }
1400 }
1401
1401
1402 #register div.form div.fields div.buttons {
1402 #register div.form div.fields div.buttons {
1403 clear:both;
1403 clear:both;
1404 overflow:hidden;
1404 overflow:hidden;
1405 border-top:1px solid #DDD;
1405 border-top:1px solid #DDD;
1406 text-align:left;
1406 text-align:left;
1407 margin:0;
1407 margin:0;
1408 padding:10px 0 0 114px;
1408 padding:10px 0 0 114px;
1409 }
1409 }
1410
1410
1411 #register div.form div.fields div.buttons div.highlight input.ui-state-default {
1411 #register div.form div.fields div.buttons div.highlight input.ui-state-default {
1412 background:url("../images/button_highlight.png") repeat-x scroll 0 0 #4E85BB;
1412 background:url("../images/button_highlight.png") repeat-x scroll 0 0 #4E85BB;
1413 color:#FFF;
1413 color:#FFF;
1414 border-color:#5C91A4 #2B7089 #1A6480 #2A6F89;
1414 border-color:#5C91A4 #2B7089 #1A6480 #2A6F89;
1415 border-style:solid;
1415 border-style:solid;
1416 border-width:1px;
1416 border-width:1px;
1417 }
1417 }
1418
1418
1419 #register div.form div.activation_msg {
1419 #register div.form div.activation_msg {
1420 padding-top:4px;
1420 padding-top:4px;
1421 padding-bottom:4px;
1421 padding-bottom:4px;
1422 }
1422 }
1423
1423
1424 .trending_language_tbl,.trending_language_tbl td {
1424 .trending_language_tbl,.trending_language_tbl td {
1425 border:0 !important;
1425 border:0 !important;
1426 margin:0 !important;
1426 margin:0 !important;
1427 padding:0 !important;
1427 padding:0 !important;
1428 }
1428 }
1429
1429
1430 .trending_language {
1430 .trending_language {
1431 background-color:#003367;
1431 background-color:#003367;
1432 color:#FFF;
1432 color:#FFF;
1433 display:block;
1433 display:block;
1434 min-width:20px;
1434 min-width:20px;
1435 text-decoration:none;
1435 text-decoration:none;
1436 height:12px;
1436 height:12px;
1437 margin-bottom:4px;
1437 margin-bottom:4px;
1438 margin-left:5px;
1438 margin-left:5px;
1439 white-space:pre;
1439 white-space:pre;
1440 padding:3px;
1440 padding:3px;
1441 }
1441 }
1442
1442
1443 h3.files_location {
1443 h3.files_location {
1444 font-size:1.8em;
1444 font-size:1.8em;
1445 font-weight:700;
1445 font-weight:700;
1446 border-bottom:none !important;
1446 border-bottom:none !important;
1447 margin:10px 0 !important;
1447 margin:10px 0 !important;
1448 }
1448 }
1449
1449
1450 #files_data dl dt {
1450 #files_data dl dt {
1451 float:left;
1451 float:left;
1452 width:115px;
1452 width:115px;
1453 margin:0 !important;
1453 margin:0 !important;
1454 padding:5px;
1454 padding:5px;
1455 }
1455 }
1456
1456
1457 #files_data dl dd {
1457 #files_data dl dd {
1458 margin:0 !important;
1458 margin:0 !important;
1459 padding:5px !important;
1459 padding:5px !important;
1460 }
1460 }
1461
1461
1462 #changeset_content {
1462 #changeset_content {
1463 border:1px solid #CCC;
1463 border:1px solid #CCC;
1464 padding:5px;
1464 padding:5px;
1465 }
1465 }
1466
1466
1467 #changeset_content .container {
1467 #changeset_content .container {
1468 min-height:120px;
1468 min-height:120px;
1469 font-size:1.2em;
1469 font-size:1.2em;
1470 overflow:hidden;
1470 overflow:hidden;
1471 }
1471 }
1472
1472
1473 #changeset_content .container .right {
1473 #changeset_content .container .right {
1474 float:right;
1474 float:right;
1475 width:25%;
1475 width:25%;
1476 text-align:right;
1476 text-align:right;
1477 }
1477 }
1478
1478
1479 #changeset_content .container .left .message {
1479 #changeset_content .container .left .message {
1480 font-style:italic;
1480 font-style:italic;
1481 color:#556CB5;
1481 color:#556CB5;
1482 white-space:pre-wrap;
1482 white-space:pre-wrap;
1483 }
1483 }
1484
1484
1485 .cs_files .cs_added {
1485 .cs_files .cs_added {
1486 background:url("../images/icons/page_white_add.png") no-repeat scroll 3px;
1486 background:url("../images/icons/page_white_add.png") no-repeat scroll 3px;
1487 height:16px;
1487 height:16px;
1488 padding-left:20px;
1488 padding-left:20px;
1489 margin-top:7px;
1489 margin-top:7px;
1490 text-align:left;
1490 text-align:left;
1491 }
1491 }
1492
1492
1493 .cs_files .cs_changed {
1493 .cs_files .cs_changed {
1494 background:url("../images/icons/page_white_edit.png") no-repeat scroll 3px;
1494 background:url("../images/icons/page_white_edit.png") no-repeat scroll 3px;
1495 height:16px;
1495 height:16px;
1496 padding-left:20px;
1496 padding-left:20px;
1497 margin-top:7px;
1497 margin-top:7px;
1498 text-align:left;
1498 text-align:left;
1499 }
1499 }
1500
1500
1501 .cs_files .cs_removed {
1501 .cs_files .cs_removed {
1502 background:url("../images/icons/page_white_delete.png") no-repeat scroll 3px;
1502 background:url("../images/icons/page_white_delete.png") no-repeat scroll 3px;
1503 height:16px;
1503 height:16px;
1504 padding-left:20px;
1504 padding-left:20px;
1505 margin-top:7px;
1505 margin-top:7px;
1506 text-align:left;
1506 text-align:left;
1507 }
1507 }
1508
1508
1509 #graph {
1509 #graph {
1510 overflow:hidden;
1510 overflow:hidden;
1511 }
1511 }
1512
1512
1513 #graph_nodes {
1513 #graph_nodes {
1514 width:160px;
1514 width:160px;
1515 float:left;
1515 float:left;
1516 margin-left:-50px;
1516 margin-left:-50px;
1517 margin-top:5px;
1517 margin-top:5px;
1518 }
1518 }
1519
1519
1520 #graph_content {
1520 #graph_content {
1521 width:800px;
1521 width:800px;
1522 float:left;
1522 float:left;
1523 }
1523 }
1524
1524
1525 #graph_content .container_header {
1525 #graph_content .container_header {
1526 border:1px solid #CCC;
1526 border:1px solid #CCC;
1527 padding:10px;
1527 padding:10px;
1528 }
1528 }
1529
1529
1530 #graph_content .container {
1530 #graph_content .container {
1531 border-bottom:1px solid #CCC;
1531 border-bottom:1px solid #CCC;
1532 border-left:1px solid #CCC;
1532 border-left:1px solid #CCC;
1533 border-right:1px solid #CCC;
1533 border-right:1px solid #CCC;
1534 min-height:80px;
1534 min-height:80px;
1535 overflow:hidden;
1535 overflow:hidden;
1536 font-size:1.2em;
1536 font-size:1.2em;
1537 }
1537 }
1538
1538
1539 #graph_content .container .right {
1539 #graph_content .container .right {
1540 float:right;
1540 float:right;
1541 width:28%;
1541 width:28%;
1542 text-align:right;
1542 text-align:right;
1543 padding-bottom:5px;
1543 padding-bottom:5px;
1544 }
1544 }
1545
1545
1546 #graph_content .container .left .date {
1546 #graph_content .container .left .date {
1547 font-weight:700;
1547 font-weight:700;
1548 padding-bottom:5px;
1548 padding-bottom:5px;
1549 }
1549 }
1550
1550
1551 #graph_content .container .left .message {
1551 #graph_content .container .left .message {
1552 font-size:100%;
1552 font-size:100%;
1553 padding-top:3px;
1553 padding-top:3px;
1554 white-space:pre-wrap;
1554 white-space:pre-wrap;
1555 }
1555 }
1556
1556
1557 .right div {
1557 .right div {
1558 clear:both;
1558 clear:both;
1559 }
1559 }
1560
1560
1561 .right .changes .added,.changed,.removed {
1561 .right .changes .added,.changed,.removed {
1562 border:1px solid #DDD;
1562 border:1px solid #DDD;
1563 display:block;
1563 display:block;
1564 float:right;
1564 float:right;
1565 text-align:center;
1565 text-align:center;
1566 min-width:15px;
1566 min-width:15px;
1567 }
1567 }
1568
1568
1569 .right .changes .added {
1569 .right .changes .added {
1570 background:#BFB;
1570 background:#BFB;
1571 }
1571 }
1572
1572
1573 .right .changes .changed {
1573 .right .changes .changed {
1574 background:#FD8;
1574 background:#FD8;
1575 }
1575 }
1576
1576
1577 .right .changes .removed {
1577 .right .changes .removed {
1578 background:#F88;
1578 background:#F88;
1579 }
1579 }
1580
1580
1581 .right .merge {
1581 .right .merge {
1582 vertical-align:top;
1582 vertical-align:top;
1583 font-size:0.75em;
1583 font-size:0.75em;
1584 font-weight:700;
1584 font-weight:700;
1585 }
1585 }
1586
1586
1587 .right .parent {
1587 .right .parent {
1588 font-size:90%;
1588 font-size:90%;
1589 font-family:monospace;
1589 font-family:monospace;
1590 }
1590 }
1591
1591
1592 .right .logtags .branchtag {
1592 .right .logtags .branchtag {
1593 background:#FFF url("../images/icons/arrow_branch.png") no-repeat right 6px;
1593 background:#FFF url("../images/icons/arrow_branch.png") no-repeat right 6px;
1594 display:block;
1594 display:block;
1595 font-size:0.8em;
1595 font-size:0.8em;
1596 padding:11px 16px 0 0;
1596 padding:11px 16px 0 0;
1597 }
1597 }
1598
1598
1599 .right .logtags .tagtag {
1599 .right .logtags .tagtag {
1600 background:#FFF url("../images/icons/tag_blue.png") no-repeat right 6px;
1600 background:#FFF url("../images/icons/tag_blue.png") no-repeat right 6px;
1601 display:block;
1601 display:block;
1602 font-size:0.8em;
1602 font-size:0.8em;
1603 padding:11px 16px 0 0;
1603 padding:11px 16px 0 0;
1604 }
1604 }
1605
1605
1606 div.browserblock {
1606 div.browserblock {
1607 overflow:hidden;
1607 overflow:hidden;
1608 border:1px solid #ccc;
1608 border:1px solid #ccc;
1609 background:#f8f8f8;
1609 background:#f8f8f8;
1610 font-size:100%;
1610 font-size:100%;
1611 line-height:125%;
1611 line-height:125%;
1612 padding:0;
1612 padding:0;
1613 }
1613 }
1614
1614
1615 div.browserblock .browser-header {
1615 div.browserblock .browser-header {
1616 border-bottom:1px solid #CCC;
1616 border-bottom:1px solid #CCC;
1617 background:#FFF;
1617 background:#FFF;
1618 color:blue;
1618 color:blue;
1619 padding:10px 0;
1619 padding:10px 0;
1620 }
1620 }
1621
1621
1622 div.browserblock .browser-header span {
1622 div.browserblock .browser-header span {
1623 margin-left:25px;
1623 margin-left:25px;
1624 font-weight:700;
1624 font-weight:700;
1625 }
1625 }
1626
1626
1627 div.browserblock .browser-body {
1627 div.browserblock .browser-body {
1628 background:#EEE;
1628 background:#EEE;
1629 }
1629 }
1630
1630
1631 table.code-browser {
1631 table.code-browser {
1632 border-collapse:collapse;
1632 border-collapse:collapse;
1633 width:100%;
1633 width:100%;
1634 }
1634 }
1635
1635
1636 table.code-browser tr {
1636 table.code-browser tr {
1637 margin:3px;
1637 margin:3px;
1638 }
1638 }
1639
1639
1640 table.code-browser thead th {
1640 table.code-browser thead th {
1641 background-color:#EEE;
1641 background-color:#EEE;
1642 height:20px;
1642 height:20px;
1643 font-size:1.1em;
1643 font-size:1.1em;
1644 font-weight:700;
1644 font-weight:700;
1645 text-align:left;
1645 text-align:left;
1646 padding-left:10px;
1646 padding-left:10px;
1647 }
1647 }
1648
1648
1649 table.code-browser tbody td {
1649 table.code-browser tbody td {
1650 padding-left:10px;
1650 padding-left:10px;
1651 height:20px;
1651 height:20px;
1652 }
1652 }
1653
1653
1654 table.code-browser .browser-file {
1654 table.code-browser .browser-file {
1655 background:url("../images/icons/document_16.png") no-repeat scroll 3px;
1655 background:url("../images/icons/document_16.png") no-repeat scroll 3px;
1656 height:16px;
1656 height:16px;
1657 padding-left:20px;
1657 padding-left:20px;
1658 text-align:left;
1658 text-align:left;
1659 }
1659 }
1660
1660
1661 table.code-browser .browser-dir {
1661 table.code-browser .browser-dir {
1662 background:url("../images/icons/folder_16.png") no-repeat scroll 3px;
1662 background:url("../images/icons/folder_16.png") no-repeat scroll 3px;
1663 height:16px;
1663 height:16px;
1664 padding-left:20px;
1664 padding-left:20px;
1665 text-align:left;
1665 text-align:left;
1666 }
1666 }
1667
1667
1668 .box .search {
1668 .box .search {
1669 clear:both;
1669 clear:both;
1670 overflow:hidden;
1670 overflow:hidden;
1671 margin:0;
1671 margin:0;
1672 padding:0 20px 10px;
1672 padding:0 20px 10px;
1673 }
1673 }
1674
1674
1675 .box .search div.search_path {
1675 .box .search div.search_path {
1676 background:none repeat scroll 0 0 #EEE;
1676 background:none repeat scroll 0 0 #EEE;
1677 border:1px solid #CCC;
1677 border:1px solid #CCC;
1678 color:blue;
1678 color:blue;
1679 margin-bottom:10px;
1679 margin-bottom:10px;
1680 padding:10px 0;
1680 padding:10px 0;
1681 }
1681 }
1682
1682
1683 .box .search div.search_path div.link {
1683 .box .search div.search_path div.link {
1684 font-weight:700;
1684 font-weight:700;
1685 margin-left:25px;
1685 margin-left:25px;
1686 }
1686 }
1687
1687
1688 .box .search div.search_path div.link a {
1688 .box .search div.search_path div.link a {
1689 color:#003367;
1689 color:#003367;
1690 cursor:pointer;
1690 cursor:pointer;
1691 text-decoration:none;
1691 text-decoration:none;
1692 }
1692 }
1693
1693
1694 #path_unlock {
1694 #path_unlock {
1695 color:red;
1695 color:red;
1696 font-size:1.2em;
1696 font-size:1.2em;
1697 padding-left:4px;
1697 padding-left:4px;
1698 }
1698 }
1699
1699
1700 .info_box * {
1700 .info_box * {
1701 background:url("../../images/pager.png") repeat-x scroll 0 0 #EBEBEB;
1701 background:url("../../images/pager.png") repeat-x scroll 0 0 #EBEBEB;
1702 color:#4A4A4A;
1702 color:#4A4A4A;
1703 font-weight:700;
1703 font-weight:700;
1704 height:1%;
1704 height:1%;
1705 display:inline;
1705 display:inline;
1706 border-color:#DEDEDE #C4C4C4 #C4C4C4 #CFCFCF;
1706 border-color:#DEDEDE #C4C4C4 #C4C4C4 #CFCFCF;
1707 border-style:solid;
1707 border-style:solid;
1708 border-width:1px;
1708 border-width:1px;
1709 padding:4px 6px;
1709 padding:4px 6px;
1710 }
1710 }
1711
1711
1712 .info_box span {
1712 .info_box span {
1713 margin-left:3px;
1713 margin-left:3px;
1714 margin-right:3px;
1714 margin-right:3px;
1715 }
1715 }
1716
1716
1717 .info_box input#at_rev {
1717 .info_box input#at_rev {
1718 text-align:center;
1718 text-align:center;
1719 padding:5px 3px 3px 2px;
1719 padding:5px 3px 3px 2px;
1720 }
1720 }
1721
1721
1722 .info_box input#view {
1722 .info_box input#view {
1723 text-align:center;
1723 text-align:center;
1724 padding:4px 3px 2px 2px;
1724 padding:4px 3px 2px 2px;
1725 }
1725 }
1726
1726
1727 .yui-overlay,.yui-panel-container {
1727 .yui-overlay,.yui-panel-container {
1728 visibility:hidden;
1728 visibility:hidden;
1729 position:absolute;
1729 position:absolute;
1730 z-index:2;
1730 z-index:2;
1731 }
1731 }
1732
1732
1733 .yui-tt {
1733 .yui-tt {
1734 visibility:hidden;
1734 visibility:hidden;
1735 position:absolute;
1735 position:absolute;
1736 color:#666;
1736 color:#666;
1737 background-color:#FFF;
1737 background-color:#FFF;
1738 font-family:arial, helvetica, verdana, sans-serif;
1738 font-family:arial, helvetica, verdana, sans-serif;
1739 border:2px solid #003367;
1739 border:2px solid #003367;
1740 font:100% sans-serif;
1740 font:100% sans-serif;
1741 width:auto;
1741 width:auto;
1742 opacity:1px;
1742 opacity:1px;
1743 padding:8px;
1743 padding:8px;
1744 white-space: pre;
1744 white-space: pre;
1745 }
1745 }
1746
1746
1747 .ac {
1747 .ac {
1748 vertical-align:top;
1748 vertical-align:top;
1749 }
1749 }
1750
1750
1751 .ac .yui-ac {
1751 .ac .yui-ac {
1752 position:relative;
1752 position:relative;
1753 font-family:arial;
1753 font-family:arial;
1754 font-size:100%;
1754 font-size:100%;
1755 }
1755 }
1756
1756
1757 .ac .perm_ac {
1757 .ac .perm_ac {
1758 width:15em;
1758 width:15em;
1759 }
1759 }
1760
1760
1761 .ac .yui-ac-input {
1761 .ac .yui-ac-input {
1762 width:100%;
1762 width:100%;
1763 }
1763 }
1764
1764
1765 .ac .yui-ac-container {
1765 .ac .yui-ac-container {
1766 position:absolute;
1766 position:absolute;
1767 top:1.6em;
1767 top:1.6em;
1768 width:100%;
1768 width:100%;
1769 }
1769 }
1770
1770
1771 .ac .yui-ac-content {
1771 .ac .yui-ac-content {
1772 position:absolute;
1772 position:absolute;
1773 width:100%;
1773 width:100%;
1774 border:1px solid gray;
1774 border:1px solid gray;
1775 background:#fff;
1775 background:#fff;
1776 overflow:hidden;
1776 overflow:hidden;
1777 z-index:9050;
1777 z-index:9050;
1778 }
1778 }
1779
1779
1780 .ac .yui-ac-shadow {
1780 .ac .yui-ac-shadow {
1781 position:absolute;
1781 position:absolute;
1782 width:100%;
1782 width:100%;
1783 background:#000;
1783 background:#000;
1784 -moz-opacity:0.1px;
1784 -moz-opacity:0.1px;
1785 opacity:.10;
1785 opacity:.10;
1786 filter:alpha(opacity = 10);
1786 filter:alpha(opacity = 10);
1787 z-index:9049;
1787 z-index:9049;
1788 margin:.3em;
1788 margin:.3em;
1789 }
1789 }
1790
1790
1791 .ac .yui-ac-content ul {
1791 .ac .yui-ac-content ul {
1792 width:100%;
1792 width:100%;
1793 margin:0;
1793 margin:0;
1794 padding:0;
1794 padding:0;
1795 }
1795 }
1796
1796
1797 .ac .yui-ac-content li {
1797 .ac .yui-ac-content li {
1798 cursor:default;
1798 cursor:default;
1799 white-space:nowrap;
1799 white-space:nowrap;
1800 margin:0;
1800 margin:0;
1801 padding:2px 5px;
1801 padding:2px 5px;
1802 }
1802 }
1803
1803
1804 .ac .yui-ac-content li.yui-ac-prehighlight {
1804 .ac .yui-ac-content li.yui-ac-prehighlight {
1805 background:#B3D4FF;
1805 background:#B3D4FF;
1806 }
1806 }
1807
1807
1808 .ac .yui-ac-content li.yui-ac-highlight {
1808 .ac .yui-ac-content li.yui-ac-highlight {
1809 background:#556CB5;
1809 background:#556CB5;
1810 color:#FFF;
1810 color:#FFF;
1811 }
1811 }
1812
1812
1813 .follow{
1813 .follow{
1814 background:url("../images/icons/heart_add.png") no-repeat scroll 3px;
1814 background:url("../images/icons/heart_add.png") no-repeat scroll 3px;
1815 height: 16px;
1815 height: 16px;
1816 width: 20px;
1816 width: 20px;
1817 cursor: pointer;
1817 cursor: pointer;
1818 display: block;
1818 display: block;
1819 float: right;
1819 float: right;
1820 margin-top: 2px;
1820 margin-top: 2px;
1821 }
1821 }
1822
1822
1823 .following{
1823 .following{
1824 background:url("../images/icons/heart_delete.png") no-repeat scroll 3px;
1824 background:url("../images/icons/heart_delete.png") no-repeat scroll 3px;
1825 height: 16px;
1825 height: 16px;
1826 width: 20px;
1826 width: 20px;
1827 cursor: pointer;
1827 cursor: pointer;
1828 display: block;
1828 display: block;
1829 float: right;
1829 float: right;
1830 margin-top: 2px;
1830 margin-top: 2px;
1831 }
1831 }
1832
1832
1833 .currently_following{
1833 .currently_following{
1834
1835 padding-left: 10px;
1834 padding-left: 10px;
1836 padding-bottom:5px;
1835 padding-bottom:5px;
1837
1838 }
1836 }
1839
1837
1840
1838 .journal_highlight{
1839 font-weight: bold;
1840 text-decoration: underline;
1841 }
1841
1842
1842 .add_icon {
1843 .add_icon {
1843 background:url("../images/icons/add.png") no-repeat scroll 3px;
1844 background:url("../images/icons/add.png") no-repeat scroll 3px;
1844 height:16px;
1845 height:16px;
1845 padding-left:20px;
1846 padding-left:20px;
1846 padding-top:1px;
1847 padding-top:1px;
1847 text-align:left;
1848 text-align:left;
1848 }
1849 }
1849
1850
1850 .edit_icon {
1851 .edit_icon {
1851 background:url("../images/icons/folder_edit.png") no-repeat scroll 3px;
1852 background:url("../images/icons/folder_edit.png") no-repeat scroll 3px;
1852 height:16px;
1853 height:16px;
1853 padding-left:20px;
1854 padding-left:20px;
1854 padding-top:1px;
1855 padding-top:1px;
1855 text-align:left;
1856 text-align:left;
1856 }
1857 }
1857
1858
1858 .delete_icon {
1859 .delete_icon {
1859 background:url("../images/icons/delete.png") no-repeat scroll 3px;
1860 background:url("../images/icons/delete.png") no-repeat scroll 3px;
1860 height:16px;
1861 height:16px;
1861 padding-left:20px;
1862 padding-left:20px;
1862 padding-top:1px;
1863 padding-top:1px;
1863 text-align:left;
1864 text-align:left;
1864 }
1865 }
1865
1866
1866 .refresh_icon {
1867 .refresh_icon {
1867 background:url("../images/icons/arrow_refresh.png") no-repeat scroll 3px;
1868 background:url("../images/icons/arrow_refresh.png") no-repeat scroll 3px;
1868 height:16px;
1869 height:16px;
1869 padding-left:20px;
1870 padding-left:20px;
1870 padding-top:1px;
1871 padding-top:1px;
1871 text-align:left;
1872 text-align:left;
1872 }
1873 }
1873
1874
1874 .rss_icon {
1875 .rss_icon {
1875 background:url("../images/icons/rss_16.png") no-repeat scroll 3px;
1876 background:url("../images/icons/rss_16.png") no-repeat scroll 3px;
1876 height:16px;
1877 height:16px;
1877 padding-left:20px;
1878 padding-left:20px;
1878 padding-top:1px;
1879 padding-top:1px;
1879 text-align:left;
1880 text-align:left;
1880 }
1881 }
1881
1882
1882 .atom_icon {
1883 .atom_icon {
1883 background:url("../images/icons/atom.png") no-repeat scroll 3px;
1884 background:url("../images/icons/atom.png") no-repeat scroll 3px;
1884 height:16px;
1885 height:16px;
1885 padding-left:20px;
1886 padding-left:20px;
1886 padding-top:1px;
1887 padding-top:1px;
1887 text-align:left;
1888 text-align:left;
1888 }
1889 }
1889
1890
1890 .archive_icon {
1891 .archive_icon {
1891 background:url("../images/icons/compress.png") no-repeat scroll 3px;
1892 background:url("../images/icons/compress.png") no-repeat scroll 3px;
1892 height:16px;
1893 height:16px;
1893 padding-left:20px;
1894 padding-left:20px;
1894 text-align:left;
1895 text-align:left;
1895 padding-top:1px;
1896 padding-top:1px;
1896 }
1897 }
1897
1898
1898 .action_button {
1899 .action_button {
1899 border:0;
1900 border:0;
1900 display:block;
1901 display:block;
1901 }
1902 }
1902
1903
1903 .action_button:hover {
1904 .action_button:hover {
1904 border:0;
1905 border:0;
1905 text-decoration:underline;
1906 text-decoration:underline;
1906 cursor:pointer;
1907 cursor:pointer;
1907 }
1908 }
1908
1909
1909 #switch_repos {
1910 #switch_repos {
1910 position:absolute;
1911 position:absolute;
1911 height:25px;
1912 height:25px;
1912 z-index:1;
1913 z-index:1;
1913 }
1914 }
1914
1915
1915 #switch_repos select {
1916 #switch_repos select {
1916 min-width:150px;
1917 min-width:150px;
1917 max-height:250px;
1918 max-height:250px;
1918 z-index:1;
1919 z-index:1;
1919 }
1920 }
1920
1921
1921 .breadcrumbs {
1922 .breadcrumbs {
1922 border:medium none;
1923 border:medium none;
1923 color:#FFF;
1924 color:#FFF;
1924 float:left;
1925 float:left;
1925 text-transform:uppercase;
1926 text-transform:uppercase;
1926 font-weight:700;
1927 font-weight:700;
1927 font-size:14px;
1928 font-size:14px;
1928 margin:0;
1929 margin:0;
1929 padding:11px 0 11px 10px;
1930 padding:11px 0 11px 10px;
1930 }
1931 }
1931
1932
1932 .breadcrumbs a {
1933 .breadcrumbs a {
1933 color:#FFF;
1934 color:#FFF;
1934 }
1935 }
1935
1936
1936 .flash_msg ul {
1937 .flash_msg ul {
1937 margin:0;
1938 margin:0;
1938 padding:0 0 10px;
1939 padding:0 0 10px;
1939 }
1940 }
1940
1941
1941 .error_msg {
1942 .error_msg {
1942 background-color:#FFCFCF;
1943 background-color:#FFCFCF;
1943 background-image:url("../../images/icons/error_msg.png");
1944 background-image:url("../../images/icons/error_msg.png");
1944 border:1px solid #FF9595;
1945 border:1px solid #FF9595;
1945 color:#C30;
1946 color:#C30;
1946 }
1947 }
1947
1948
1948 .warning_msg {
1949 .warning_msg {
1949 background-color:#FFFBCC;
1950 background-color:#FFFBCC;
1950 background-image:url("../../images/icons/warning_msg.png");
1951 background-image:url("../../images/icons/warning_msg.png");
1951 border:1px solid #FFF35E;
1952 border:1px solid #FFF35E;
1952 color:#C69E00;
1953 color:#C69E00;
1953 }
1954 }
1954
1955
1955 .success_msg {
1956 .success_msg {
1956 background-color:#D5FFCF;
1957 background-color:#D5FFCF;
1957 background-image:url("../../images/icons/success_msg.png");
1958 background-image:url("../../images/icons/success_msg.png");
1958 border:1px solid #97FF88;
1959 border:1px solid #97FF88;
1959 color:#090;
1960 color:#090;
1960 }
1961 }
1961
1962
1962 .notice_msg {
1963 .notice_msg {
1963 background-color:#DCE3FF;
1964 background-color:#DCE3FF;
1964 background-image:url("../../images/icons/notice_msg.png");
1965 background-image:url("../../images/icons/notice_msg.png");
1965 border:1px solid #93A8FF;
1966 border:1px solid #93A8FF;
1966 color:#556CB5;
1967 color:#556CB5;
1967 }
1968 }
1968
1969
1969 .success_msg,.error_msg,.notice_msg,.warning_msg {
1970 .success_msg,.error_msg,.notice_msg,.warning_msg {
1970 background-position:10px center;
1971 background-position:10px center;
1971 background-repeat:no-repeat;
1972 background-repeat:no-repeat;
1972 font-size:12px;
1973 font-size:12px;
1973 font-weight:700;
1974 font-weight:700;
1974 min-height:14px;
1975 min-height:14px;
1975 line-height:14px;
1976 line-height:14px;
1976 margin-bottom:0;
1977 margin-bottom:0;
1977 margin-top:0;
1978 margin-top:0;
1978 display:block;
1979 display:block;
1979 overflow:auto;
1980 overflow:auto;
1980 padding:6px 10px 6px 40px;
1981 padding:6px 10px 6px 40px;
1981 }
1982 }
1982
1983
1983 #msg_close {
1984 #msg_close {
1984 background:transparent url("../../icons/cross_grey_small.png") no-repeat scroll 0 0;
1985 background:transparent url("../../icons/cross_grey_small.png") no-repeat scroll 0 0;
1985 cursor:pointer;
1986 cursor:pointer;
1986 height:16px;
1987 height:16px;
1987 position:absolute;
1988 position:absolute;
1988 right:5px;
1989 right:5px;
1989 top:5px;
1990 top:5px;
1990 width:16px;
1991 width:16px;
1991 }
1992 }
1992
1993
1993 div#legend_container table,div#legend_choices table {
1994 div#legend_container table,div#legend_choices table {
1994 width:auto !important;
1995 width:auto !important;
1995 }
1996 }
1996
1997
1997 table#permissions_manage {
1998 table#permissions_manage {
1998 width:0 !important;
1999 width:0 !important;
1999 }
2000 }
2000
2001
2001 table#permissions_manage span.private_repo_msg {
2002 table#permissions_manage span.private_repo_msg {
2002 font-size:0.8em;
2003 font-size:0.8em;
2003 opacity:0.6px;
2004 opacity:0.6px;
2004 }
2005 }
2005
2006
2006 table#permissions_manage td.private_repo_msg {
2007 table#permissions_manage td.private_repo_msg {
2007 font-size:0.8em;
2008 font-size:0.8em;
2008 }
2009 }
2009
2010
2010 table#permissions_manage tr#add_perm_input td {
2011 table#permissions_manage tr#add_perm_input td {
2011 vertical-align:middle;
2012 vertical-align:middle;
2012 }
2013 }
2013
2014
2014 div.gravatar {
2015 div.gravatar {
2015 background-color:#FFF;
2016 background-color:#FFF;
2016 border:1px solid #D0D0D0;
2017 border:1px solid #D0D0D0;
2017 float:left;
2018 float:left;
2018 margin-right:0.7em;
2019 margin-right:0.7em;
2019 padding:2px 2px 0;
2020 padding:2px 2px 0;
2020 }
2021 }
2021
2022
2022 #header,#content,#footer {
2023 #header,#content,#footer {
2023 min-width:1024px;
2024 min-width:1024px;
2024 }
2025 }
2025
2026
2026 #content {
2027 #content {
2027 min-height:100%;
2028 min-height:100%;
2028 clear:both;
2029 clear:both;
2029 overflow:hidden;
2030 overflow:hidden;
2030 padding:14px 30px;
2031 padding:14px 30px;
2031 }
2032 }
2032
2033
2033 #content div.box div.title div.search {
2034 #content div.box div.title div.search {
2034 background:url("../../images/title_link.png") no-repeat top left;
2035 background:url("../../images/title_link.png") no-repeat top left;
2035 border-left:1px solid #316293;
2036 border-left:1px solid #316293;
2036 }
2037 }
2037
2038
2038 #content div.box div.title div.search div.input input {
2039 #content div.box div.title div.search div.input input {
2039 border:1px solid #316293;
2040 border:1px solid #316293;
2040 }
2041 }
2041
2042
2042 #content div.box div.title div.search div.button input.ui-state-default {
2043 #content div.box div.title div.search div.button input.ui-state-default {
2043 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
2044 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
2044 border:1px solid #316293;
2045 border:1px solid #316293;
2045 border-left:none;
2046 border-left:none;
2046 color:#FFF;
2047 color:#FFF;
2047 }
2048 }
2048
2049
2049 #content div.box div.title div.search div.button input.ui-state-hover {
2050 #content div.box div.title div.search div.button input.ui-state-hover {
2050 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
2051 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
2051 border:1px solid #316293;
2052 border:1px solid #316293;
2052 border-left:none;
2053 border-left:none;
2053 color:#FFF;
2054 color:#FFF;
2054 }
2055 }
2055
2056
2056 #content div.box div.form div.fields div.field div.highlight .ui-state-default {
2057 #content div.box div.form div.fields div.field div.highlight .ui-state-default {
2057 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
2058 background:#4e85bb url("../../images/button_highlight.png") repeat-x;
2058 border-top:1px solid #5c91a4;
2059 border-top:1px solid #5c91a4;
2059 border-left:1px solid #2a6f89;
2060 border-left:1px solid #2a6f89;
2060 border-right:1px solid #2b7089;
2061 border-right:1px solid #2b7089;
2061 border-bottom:1px solid #1a6480;
2062 border-bottom:1px solid #1a6480;
2062 color:#fff;
2063 color:#fff;
2063 }
2064 }
2064
2065
2065 #content div.box div.form div.fields div.field div.highlight .ui-state-hover {
2066 #content div.box div.form div.fields div.field div.highlight .ui-state-hover {
2066 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
2067 background:#46a0c1 url("../../images/button_highlight_selected.png") repeat-x;
2067 border-top:1px solid #78acbf;
2068 border-top:1px solid #78acbf;
2068 border-left:1px solid #34819e;
2069 border-left:1px solid #34819e;
2069 border-right:1px solid #35829f;
2070 border-right:1px solid #35829f;
2070 border-bottom:1px solid #257897;
2071 border-bottom:1px solid #257897;
2071 color:#fff;
2072 color:#fff;
2072 }
2073 }
2073
2074
2074 ins,div.options a:hover {
2075 ins,div.options a:hover {
2075 text-decoration:none;
2076 text-decoration:none;
2076 }
2077 }
2077
2078
2078 img,#header #header-inner #quick li a:hover span.normal,#header #header-inner #quick li ul li.last,#content div.box div.form div.fields div.field div.textarea table td table td a,#clone_url {
2079 img,#header #header-inner #quick li a:hover span.normal,#header #header-inner #quick li ul li.last,#content div.box div.form div.fields div.field div.textarea table td table td a,#clone_url {
2079 border:none;
2080 border:none;
2080 }
2081 }
2081
2082
2082 img.icon,.right .merge img {
2083 img.icon,.right .merge img {
2083 vertical-align:bottom;
2084 vertical-align:bottom;
2084 }
2085 }
2085
2086
2086 #header ul#logged-user,#content div.box div.title ul.links,#content div.box div.message div.dismiss,#content div.box div.traffic div.legend ul {
2087 #header ul#logged-user,#content div.box div.title ul.links,#content div.box div.message div.dismiss,#content div.box div.traffic div.legend ul {
2087 float:right;
2088 float:right;
2088 margin:0;
2089 margin:0;
2089 padding:0;
2090 padding:0;
2090 }
2091 }
2091
2092
2092 #header #header-inner #home,#header #header-inner #logo,#content div.box ul.left,#content div.box ol.left,#content div.box div.pagination-left,div#commit_history,div#legend_data,div#legend_container,div#legend_choices {
2093 #header #header-inner #home,#header #header-inner #logo,#content div.box ul.left,#content div.box ol.left,#content div.box div.pagination-left,div#commit_history,div#legend_data,div#legend_container,div#legend_choices {
2093 float:left;
2094 float:left;
2094 }
2095 }
2095
2096
2096 #header #header-inner #quick li:hover ul ul,#header #header-inner #quick li:hover ul ul ul,#header #header-inner #quick li:hover ul ul ul ul,#content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow {
2097 #header #header-inner #quick li:hover ul ul,#header #header-inner #quick li:hover ul ul ul,#header #header-inner #quick li:hover ul ul ul ul,#content #left #menu ul.closed,#content #left #menu li ul.collapsed,.yui-tt-shadow {
2097 display:none;
2098 display:none;
2098 }
2099 }
2099
2100
2100 #header #header-inner #quick li:hover ul,#header #header-inner #quick li li:hover ul,#header #header-inner #quick li li li:hover ul,#header #header-inner #quick li li li li:hover ul,#content #left #menu ul.opened,#content #left #menu li ul.expanded {
2101 #header #header-inner #quick li:hover ul,#header #header-inner #quick li li:hover ul,#header #header-inner #quick li li li:hover ul,#header #header-inner #quick li li li li:hover ul,#content #left #menu ul.opened,#content #left #menu li ul.expanded {
2101 display:block;
2102 display:block;
2102 }
2103 }
2103
2104
2104 #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a {
2105 #content div.box div.title ul.links li a:hover,#content div.box div.title ul.links li.ui-tabs-selected a {
2105 color:#bfe3ff;
2106 color:#bfe3ff;
2106 }
2107 }
2107
2108
2108 #content div.box ol.lower-roman,#content div.box ol.upper-roman,#content div.box ol.lower-alpha,#content div.box ol.upper-alpha,#content div.box ol.decimal {
2109 #content div.box ol.lower-roman,#content div.box ol.upper-roman,#content div.box ol.lower-alpha,#content div.box ol.upper-alpha,#content div.box ol.decimal {
2109 margin:10px 24px 10px 44px;
2110 margin:10px 24px 10px 44px;
2110 }
2111 }
2111
2112
2112 #content div.box div.form,#content div.box div.table,#content div.box div.traffic {
2113 #content div.box div.form,#content div.box div.table,#content div.box div.traffic {
2113 clear:both;
2114 clear:both;
2114 overflow:hidden;
2115 overflow:hidden;
2115 margin:0;
2116 margin:0;
2116 padding:0 20px 10px;
2117 padding:0 20px 10px;
2117 }
2118 }
2118
2119
2119 #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields {
2120 #content div.box div.form div.fields,#login div.form,#login div.form div.fields,#register div.form,#register div.form div.fields {
2120 clear:both;
2121 clear:both;
2121 overflow:hidden;
2122 overflow:hidden;
2122 margin:0;
2123 margin:0;
2123 padding:0;
2124 padding:0;
2124 }
2125 }
2125
2126
2126 #content div.box div.form div.fields div.field div.label span,#login div.form div.fields div.field div.label span,#register div.form div.fields div.field div.label span {
2127 #content div.box div.form div.fields div.field div.label span,#login div.form div.fields div.field div.label span,#register div.form div.fields div.field div.label span {
2127 height:1%;
2128 height:1%;
2128 display:block;
2129 display:block;
2129 color:#363636;
2130 color:#363636;
2130 margin:0;
2131 margin:0;
2131 padding:2px 0 0;
2132 padding:2px 0 0;
2132 }
2133 }
2133
2134
2134 #content div.box div.form div.fields div.field div.input input.error,#login div.form div.fields div.field div.input input.error,#register div.form div.fields div.field div.input input.error {
2135 #content div.box div.form div.fields div.field div.input input.error,#login div.form div.fields div.field div.input input.error,#register div.form div.fields div.field div.input input.error {
2135 background:#FBE3E4;
2136 background:#FBE3E4;
2136 border-top:1px solid #e1b2b3;
2137 border-top:1px solid #e1b2b3;
2137 border-left:1px solid #e1b2b3;
2138 border-left:1px solid #e1b2b3;
2138 border-right:1px solid #FBC2C4;
2139 border-right:1px solid #FBC2C4;
2139 border-bottom:1px solid #FBC2C4;
2140 border-bottom:1px solid #FBC2C4;
2140 }
2141 }
2141
2142
2142 #content div.box div.form div.fields div.field div.input input.success,#login div.form div.fields div.field div.input input.success,#register div.form div.fields div.field div.input input.success {
2143 #content div.box div.form div.fields div.field div.input input.success,#login div.form div.fields div.field div.input input.success,#register div.form div.fields div.field div.input input.success {
2143 background:#E6EFC2;
2144 background:#E6EFC2;
2144 border-top:1px solid #cebb98;
2145 border-top:1px solid #cebb98;
2145 border-left:1px solid #cebb98;
2146 border-left:1px solid #cebb98;
2146 border-right:1px solid #c6d880;
2147 border-right:1px solid #c6d880;
2147 border-bottom:1px solid #c6d880;
2148 border-bottom:1px solid #c6d880;
2148 }
2149 }
2149
2150
2150 #content div.box-left div.form div.fields div.field div.textarea,#content div.box-right div.form div.fields div.field div.textarea,#content div.box div.form div.fields div.field div.select select,#content div.box table th.selected input,#content div.box table td.selected input {
2151 #content div.box-left div.form div.fields div.field div.textarea,#content div.box-right div.form div.fields div.field div.textarea,#content div.box div.form div.fields div.field div.select select,#content div.box table th.selected input,#content div.box table td.selected input {
2151 margin:0;
2152 margin:0;
2152 }
2153 }
2153
2154
2154 #content div.box-left div.form div.fields div.field div.select,#content div.box-left div.form div.fields div.field div.checkboxes,#content div.box-left div.form div.fields div.field div.radios,#content div.box-right div.form div.fields div.field div.select,#content div.box-right div.form div.fields div.field div.checkboxes,#content div.box-right div.form div.fields div.field div.radios{
2155 #content div.box-left div.form div.fields div.field div.select,#content div.box-left div.form div.fields div.field div.checkboxes,#content div.box-left div.form div.fields div.field div.radios,#content div.box-right div.form div.fields div.field div.select,#content div.box-right div.form div.fields div.field div.checkboxes,#content div.box-right div.form div.fields div.field div.radios{
2155 margin:0 0 0 0px !important;
2156 margin:0 0 0 0px !important;
2156 padding:0;
2157 padding:0;
2157 }
2158 }
2158
2159
2159 #content div.box div.form div.fields div.field div.select,#content div.box div.form div.fields div.field div.checkboxes,#content div.box div.form div.fields div.field div.radios {
2160 #content div.box div.form div.fields div.field div.select,#content div.box div.form div.fields div.field div.checkboxes,#content div.box div.form div.fields div.field div.radios {
2160 margin:0 0 0 200px;
2161 margin:0 0 0 200px;
2161 padding:0;
2162 padding:0;
2162 }
2163 }
2163
2164
2164
2165
2165 #content div.box div.form div.fields div.field div.select a:hover,#content div.box div.form div.fields div.field div.select a.ui-selectmenu:hover,#content div.box div.action a:hover {
2166 #content div.box div.form div.fields div.field div.select a:hover,#content div.box div.form div.fields div.field div.select a.ui-selectmenu:hover,#content div.box div.action a:hover {
2166 color:#000;
2167 color:#000;
2167 text-decoration:none;
2168 text-decoration:none;
2168 }
2169 }
2169
2170
2170 #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus {
2171 #content div.box div.form div.fields div.field div.select a.ui-selectmenu-focus,#content div.box div.action a.ui-selectmenu-focus {
2171 border:1px solid #666;
2172 border:1px solid #666;
2172 }
2173 }
2173
2174
2174 #content div.box div.form div.fields div.field div.checkboxes div.checkbox,#content div.box div.form div.fields div.field div.radios div.radio {
2175 #content div.box div.form div.fields div.field div.checkboxes div.checkbox,#content div.box div.form div.fields div.field div.radios div.radio {
2175 clear:both;
2176 clear:both;
2176 overflow:hidden;
2177 overflow:hidden;
2177 margin:0;
2178 margin:0;
2178 padding:8px 0 2px;
2179 padding:8px 0 2px;
2179 }
2180 }
2180
2181
2181 #content div.box div.form div.fields div.field div.checkboxes div.checkbox input,#content div.box div.form div.fields div.field div.radios div.radio input {
2182 #content div.box div.form div.fields div.field div.checkboxes div.checkbox input,#content div.box div.form div.fields div.field div.radios div.radio input {
2182 float:left;
2183 float:left;
2183 margin:0;
2184 margin:0;
2184 }
2185 }
2185
2186
2186 #content div.box div.form div.fields div.field div.checkboxes div.checkbox label,#content div.box div.form div.fields div.field div.radios div.radio label {
2187 #content div.box div.form div.fields div.field div.checkboxes div.checkbox label,#content div.box div.form div.fields div.field div.radios div.radio label {
2187 height:1%;
2188 height:1%;
2188 display:block;
2189 display:block;
2189 float:left;
2190 float:left;
2190 margin:2px 0 0 4px;
2191 margin:2px 0 0 4px;
2191 }
2192 }
2192
2193
2193 div.form div.fields div.field div.button input,#content div.box div.form div.fields div.buttons input,div.form div.fields div.buttons input,#content div.box div.action div.button input {
2194 div.form div.fields div.field div.button input,#content div.box div.form div.fields div.buttons input,div.form div.fields div.buttons input,#content div.box div.action div.button input {
2194 color:#000;
2195 color:#000;
2195 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
2196 font-family:Lucida Grande, Verdana, Lucida Sans Regular, Lucida Sans Unicode, Arial, sans-serif;
2196 font-size:11px;
2197 font-size:11px;
2197 font-weight:700;
2198 font-weight:700;
2198 margin:0;
2199 margin:0;
2199 }
2200 }
2200
2201
2201 div.form div.fields div.field div.button .ui-state-default,#content div.box div.form div.fields div.buttons input.ui-state-default {
2202 div.form div.fields div.field div.button .ui-state-default,#content div.box div.form div.fields div.buttons input.ui-state-default {
2202 background:#e5e3e3 url("../images/button.png") repeat-x;
2203 background:#e5e3e3 url("../images/button.png") repeat-x;
2203 border-top:1px solid #DDD;
2204 border-top:1px solid #DDD;
2204 border-left:1px solid #c6c6c6;
2205 border-left:1px solid #c6c6c6;
2205 border-right:1px solid #DDD;
2206 border-right:1px solid #DDD;
2206 border-bottom:1px solid #c6c6c6;
2207 border-bottom:1px solid #c6c6c6;
2207 color:#515151;
2208 color:#515151;
2208 outline:none;
2209 outline:none;
2209 margin:0;
2210 margin:0;
2210 padding:6px 12px;
2211 padding:6px 12px;
2211 }
2212 }
2212
2213
2213 div.form div.fields div.field div.button .ui-state-hover,#content div.box div.form div.fields div.buttons input.ui-state-hover {
2214 div.form div.fields div.field div.button .ui-state-hover,#content div.box div.form div.fields div.buttons input.ui-state-hover {
2214 background:#b4b4b4 url("../images/button_selected.png") repeat-x;
2215 background:#b4b4b4 url("../images/button_selected.png") repeat-x;
2215 border-top:1px solid #ccc;
2216 border-top:1px solid #ccc;
2216 border-left:1px solid #bebebe;
2217 border-left:1px solid #bebebe;
2217 border-right:1px solid #b1b1b1;
2218 border-right:1px solid #b1b1b1;
2218 border-bottom:1px solid #afafaf;
2219 border-bottom:1px solid #afafaf;
2219 color:#515151;
2220 color:#515151;
2220 outline:none;
2221 outline:none;
2221 margin:0;
2222 margin:0;
2222 padding:6px 12px;
2223 padding:6px 12px;
2223 }
2224 }
2224
2225
2225 div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight {
2226 div.form div.fields div.field div.highlight,#content div.box div.form div.fields div.buttons div.highlight {
2226 display:inline;
2227 display:inline;
2227 }
2228 }
2228
2229
2229 #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons {
2230 #content div.box div.form div.fields div.buttons,div.form div.fields div.buttons {
2230 margin:10px 0 0 200px;
2231 margin:10px 0 0 200px;
2231 padding:0;
2232 padding:0;
2232 }
2233 }
2233
2234
2234 #content div.box-left div.form div.fields div.buttons,#content div.box-right div.form div.fields div.buttons,div.box-left div.form div.fields div.buttons,div.box-right div.form div.fields div.buttons {
2235 #content div.box-left div.form div.fields div.buttons,#content div.box-right div.form div.fields div.buttons,div.box-left div.form div.fields div.buttons,div.box-right div.form div.fields div.buttons {
2235 margin:10px 0 0;
2236 margin:10px 0 0;
2236 }
2237 }
2237
2238
2238 #content div.box table td.user,#content div.box table td.address {
2239 #content div.box table td.user,#content div.box table td.address {
2239 width:10%;
2240 width:10%;
2240 text-align:center;
2241 text-align:center;
2241 }
2242 }
2242
2243
2243 #content div.box div.action div.button,#login div.form div.fields div.field div.input div.link,#register div.form div.fields div.field div.input div.link {
2244 #content div.box div.action div.button,#login div.form div.fields div.field div.input div.link,#register div.form div.fields div.field div.input div.link {
2244 text-align:right;
2245 text-align:right;
2245 margin:6px 0 0;
2246 margin:6px 0 0;
2246 padding:0;
2247 padding:0;
2247 }
2248 }
2248
2249
2249 #content div.box div.action div.button input.ui-state-default,#login div.form div.fields div.buttons input.ui-state-default,#register div.form div.fields div.buttons input.ui-state-default {
2250 #content div.box div.action div.button input.ui-state-default,#login div.form div.fields div.buttons input.ui-state-default,#register div.form div.fields div.buttons input.ui-state-default {
2250 background:#e5e3e3 url("../images/button.png") repeat-x;
2251 background:#e5e3e3 url("../images/button.png") repeat-x;
2251 border-top:1px solid #DDD;
2252 border-top:1px solid #DDD;
2252 border-left:1px solid #c6c6c6;
2253 border-left:1px solid #c6c6c6;
2253 border-right:1px solid #DDD;
2254 border-right:1px solid #DDD;
2254 border-bottom:1px solid #c6c6c6;
2255 border-bottom:1px solid #c6c6c6;
2255 color:#515151;
2256 color:#515151;
2256 margin:0;
2257 margin:0;
2257 padding:6px 12px;
2258 padding:6px 12px;
2258 }
2259 }
2259
2260
2260 #content div.box div.action div.button input.ui-state-hover,#login div.form div.fields div.buttons input.ui-state-hover,#register div.form div.fields div.buttons input.ui-state-hover {
2261 #content div.box div.action div.button input.ui-state-hover,#login div.form div.fields div.buttons input.ui-state-hover,#register div.form div.fields div.buttons input.ui-state-hover {
2261 background:#b4b4b4 url("../images/button_selected.png") repeat-x;
2262 background:#b4b4b4 url("../images/button_selected.png") repeat-x;
2262 border-top:1px solid #ccc;
2263 border-top:1px solid #ccc;
2263 border-left:1px solid #bebebe;
2264 border-left:1px solid #bebebe;
2264 border-right:1px solid #b1b1b1;
2265 border-right:1px solid #b1b1b1;
2265 border-bottom:1px solid #afafaf;
2266 border-bottom:1px solid #afafaf;
2266 color:#515151;
2267 color:#515151;
2267 margin:0;
2268 margin:0;
2268 padding:6px 12px;
2269 padding:6px 12px;
2269 }
2270 }
2270
2271
2271 #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results {
2272 #content div.box div.pagination div.results,#content div.box div.pagination-wh div.results {
2272 text-align:left;
2273 text-align:left;
2273 float:left;
2274 float:left;
2274 margin:0;
2275 margin:0;
2275 padding:0;
2276 padding:0;
2276 }
2277 }
2277
2278
2278 #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span {
2279 #content div.box div.pagination div.results span,#content div.box div.pagination-wh div.results span {
2279 height:1%;
2280 height:1%;
2280 display:block;
2281 display:block;
2281 float:left;
2282 float:left;
2282 background:#ebebeb url("../images/pager.png") repeat-x;
2283 background:#ebebeb url("../images/pager.png") repeat-x;
2283 border-top:1px solid #dedede;
2284 border-top:1px solid #dedede;
2284 border-left:1px solid #cfcfcf;
2285 border-left:1px solid #cfcfcf;
2285 border-right:1px solid #c4c4c4;
2286 border-right:1px solid #c4c4c4;
2286 border-bottom:1px solid #c4c4c4;
2287 border-bottom:1px solid #c4c4c4;
2287 color:#4A4A4A;
2288 color:#4A4A4A;
2288 font-weight:700;
2289 font-weight:700;
2289 margin:0;
2290 margin:0;
2290 padding:6px 8px;
2291 padding:6px 8px;
2291 }
2292 }
2292
2293
2293 #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled {
2294 #content div.box div.pagination ul.pager li.disabled,#content div.box div.pagination-wh a.disabled {
2294 color:#B4B4B4;
2295 color:#B4B4B4;
2295 padding:6px;
2296 padding:6px;
2296 }
2297 }
2297
2298
2298 #login,#register {
2299 #login,#register {
2299 width:520px;
2300 width:520px;
2300 margin:10% auto 0;
2301 margin:10% auto 0;
2301 padding:0;
2302 padding:0;
2302 }
2303 }
2303
2304
2304 #login div.color,#register div.color {
2305 #login div.color,#register div.color {
2305 clear:both;
2306 clear:both;
2306 overflow:hidden;
2307 overflow:hidden;
2307 background:#FFF;
2308 background:#FFF;
2308 margin:10px auto 0;
2309 margin:10px auto 0;
2309 padding:3px 3px 3px 0;
2310 padding:3px 3px 3px 0;
2310 }
2311 }
2311
2312
2312 #login div.color a,#register div.color a {
2313 #login div.color a,#register div.color a {
2313 width:20px;
2314 width:20px;
2314 height:20px;
2315 height:20px;
2315 display:block;
2316 display:block;
2316 float:left;
2317 float:left;
2317 margin:0 0 0 3px;
2318 margin:0 0 0 3px;
2318 padding:0;
2319 padding:0;
2319 }
2320 }
2320
2321
2321 #login div.title h5,#register div.title h5 {
2322 #login div.title h5,#register div.title h5 {
2322 color:#fff;
2323 color:#fff;
2323 margin:10px;
2324 margin:10px;
2324 padding:0;
2325 padding:0;
2325 }
2326 }
2326
2327
2327 #login div.form div.fields div.field,#register div.form div.fields div.field {
2328 #login div.form div.fields div.field,#register div.form div.fields div.field {
2328 clear:both;
2329 clear:both;
2329 overflow:hidden;
2330 overflow:hidden;
2330 margin:0;
2331 margin:0;
2331 padding:0 0 10px;
2332 padding:0 0 10px;
2332 }
2333 }
2333
2334
2334 #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message {
2335 #login div.form div.fields div.field span.error-message,#register div.form div.fields div.field span.error-message {
2335 height:1%;
2336 height:1%;
2336 display:block;
2337 display:block;
2337 color:red;
2338 color:red;
2338 margin:8px 0 0;
2339 margin:8px 0 0;
2339 padding:0;
2340 padding:0;
2340 max-width: 320px;
2341 max-width: 320px;
2341 }
2342 }
2342
2343
2343 #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label {
2344 #login div.form div.fields div.field div.label label,#register div.form div.fields div.field div.label label {
2344 color:#000;
2345 color:#000;
2345 font-weight:700;
2346 font-weight:700;
2346 }
2347 }
2347
2348
2348 #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input {
2349 #login div.form div.fields div.field div.input,#register div.form div.fields div.field div.input {
2349 float:left;
2350 float:left;
2350 margin:0;
2351 margin:0;
2351 padding:0;
2352 padding:0;
2352 }
2353 }
2353
2354
2354 #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox {
2355 #login div.form div.fields div.field div.checkbox,#register div.form div.fields div.field div.checkbox {
2355 margin:0 0 0 184px;
2356 margin:0 0 0 184px;
2356 padding:0;
2357 padding:0;
2357 }
2358 }
2358
2359
2359 #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label {
2360 #login div.form div.fields div.field div.checkbox label,#register div.form div.fields div.field div.checkbox label {
2360 color:#565656;
2361 color:#565656;
2361 font-weight:700;
2362 font-weight:700;
2362 }
2363 }
2363
2364
2364 #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input {
2365 #login div.form div.fields div.buttons input,#register div.form div.fields div.buttons input {
2365 color:#000;
2366 color:#000;
2366 font-size:1em;
2367 font-size:1em;
2367 font-weight:700;
2368 font-weight:700;
2368 font-family:Verdana, Helvetica, Sans-Serif;
2369 font-family:Verdana, Helvetica, Sans-Serif;
2369 margin:0;
2370 margin:0;
2370 }
2371 }
2371
2372
2372 #changeset_content .container .wrapper,#graph_content .container .wrapper {
2373 #changeset_content .container .wrapper,#graph_content .container .wrapper {
2373 width:600px;
2374 width:600px;
2374 }
2375 }
2375
2376
2376 #changeset_content .container .left,#graph_content .container .left {
2377 #changeset_content .container .left,#graph_content .container .left {
2377 float:left;
2378 float:left;
2378 width:70%;
2379 width:70%;
2379 padding-left:5px;
2380 padding-left:5px;
2380 }
2381 }
2381
2382
2382 #changeset_content .container .left .date,.ac .match {
2383 #changeset_content .container .left .date,.ac .match {
2383 font-weight:700;
2384 font-weight:700;
2384 padding-top: 5px;
2385 padding-top: 5px;
2385 padding-bottom:5px;
2386 padding-bottom:5px;
2386 }
2387 }
2387
2388
2388 div#legend_container table td,div#legend_choices table td {
2389 div#legend_container table td,div#legend_choices table td {
2389 border:none !important;
2390 border:none !important;
2390 height:20px !important;
2391 height:20px !important;
2391 padding:0 !important;
2392 padding:0 !important;
2392 }
2393 }
2393
2394
2394 #q_filter{
2395 #q_filter{
2395 border:0 none;
2396 border:0 none;
2396 color:#AAAAAA;
2397 color:#AAAAAA;
2397 margin-bottom:-4px;
2398 margin-bottom:-4px;
2398 margin-top:-4px;
2399 margin-top:-4px;
2399 padding-left:3px;
2400 padding-left:3px;
2400 }
2401 }
2401
2402
General Comments 0
You need to be logged in to leave comments. Login now