somatics3 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/LICENSE +20 -0
- data/README.rdoc +91 -0
- data/Rakefile +72 -0
- data/VERSION +1 -0
- data/bin/somatics +23 -0
- data/bin/somatify +21 -0
- data/lib/generators/somatics.rb +37 -0
- data/lib/generators/somatics/associated/associated_generator.rb +184 -0
- data/lib/generators/somatics/associated/templates/migration.rb +11 -0
- data/lib/generators/somatics/attributes/attributes_generator.rb +115 -0
- data/lib/generators/somatics/attributes/templates/migration.rb +11 -0
- data/lib/generators/somatics/authenticated/authenticated_generator.rb +65 -0
- data/lib/generators/somatics/authenticated/templates/partial_form.html.erb +23 -0
- data/lib/generators/somatics/authenticated_controller/authenticated_controller_generator.rb +38 -0
- data/lib/generators/somatics/authenticated_controller/templates/locales_en.yml +6 -0
- data/lib/generators/somatics/authenticated_controller/templates/locales_zh-TW.yml +6 -0
- data/lib/generators/somatics/authenticated_controller/templates/login.html.erb +31 -0
- data/lib/generators/somatics/authenticated_controller/templates/sessions_controller.rb +11 -0
- data/lib/generators/somatics/helper/helper_generator.rb +16 -0
- data/lib/generators/somatics/install/install_generator.rb +101 -0
- data/lib/generators/somatics/install/templates/config/locales/devise_zh-TW.yml +39 -0
- data/lib/generators/somatics/install/templates/config/locales/somatics_en.yml +35 -0
- data/lib/generators/somatics/install/templates/config/locales/somatics_zh-TW.yml +35 -0
- data/lib/generators/somatics/install/templates/controller_admin.rb +17 -0
- data/lib/generators/somatics/install/templates/controller_home.rb +4 -0
- data/lib/generators/somatics/install/templates/helper_admin.rb +99 -0
- data/lib/generators/somatics/install/templates/initializer_paper_trail.rb +2 -0
- data/lib/generators/somatics/install/templates/layout_admin.html.erb +87 -0
- data/lib/generators/somatics/install/templates/lib/active_record/diff.rb +61 -0
- data/lib/generators/somatics/install/templates/lib/somatic_link_renderer.rb +24 -0
- data/lib/generators/somatics/install/templates/lib/tasks/heroku.rake +30 -0
- data/lib/generators/somatics/install/templates/lib/tasks/svn.rake +47 -0
- data/lib/generators/somatics/install/templates/partial_menu.html.erb +1 -0
- data/lib/generators/somatics/install/templates/partial_versions.html.erb +56 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/add.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/arrow_collapsed.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/arrow_expanded.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/attachment.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_arrow_left.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_arrow_right.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_diamond.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_end.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_go.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_toggle_minus.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/bullet_toggle_plus.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/c.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/cancel.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/changeset.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/comment.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/comments.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/content-left.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/content-right.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/copy.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/csharp.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/database_key.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/default.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/delete.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/document.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/draft.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/duplicate.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/edit.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/exclamation.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/external.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/fav.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/fav_off.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/feed.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/folder.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/folder_open.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/footer-bg.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/footer-left.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/footer-right.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/group.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/help.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/history.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/image.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/lightning.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/link.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/loading.gif +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/locked.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/message.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/milestone.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/move.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/news.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/openid-bg.gif +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/package.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/pdf.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/php.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/plugin.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/projects.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/rails.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/reload.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/report.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ruby.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/save.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/sort_asc.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/sort_desc.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/stats.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/table_multiple.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/task_done.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/task_late.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/task_parent_end.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/task_todo.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/text.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/text_list_bullets.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/textfield.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ticket.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ticket_checked.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ticket_edit.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ticket_go.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/ticket_note.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/time.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/time_add.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/toggle_check.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/true.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/unlock.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/user.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/warning.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/wiki_edit.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/xml.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/zip.png +0 -0
- data/lib/generators/somatics/install/templates/public/images/somatics/zoom_in.png +0 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/base.js +237 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/context_menu.js +237 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/controls.js +965 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/dragdrop.js +974 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/effects.js +1123 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/prototype.js +6001 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/rails.js +175 -0
- data/lib/generators/somatics/install/templates/public/javascripts/somatics/select_list_move.js +82 -0
- data/lib/generators/somatics/install/templates/public/stylesheets/application.css +863 -0
- data/lib/generators/somatics/install/templates/public/stylesheets/somatics/base.css +951 -0
- data/lib/generators/somatics/install/templates/public/stylesheets/somatics/context_menu.css +52 -0
- data/lib/generators/somatics/install/templates/public/stylesheets/somatics/csshover.htc +122 -0
- data/lib/generators/somatics/install/templates/public/stylesheets/somatics/jstoolbar.css +95 -0
- data/lib/generators/somatics/install/templates/public/themes/default/stylesheets/application.css +951 -0
- data/lib/generators/somatics/install/templates/view_index.html.erb +46 -0
- data/lib/generators/somatics/relationship/relationship_generator.rb +173 -0
- data/lib/generators/somatics/relationship/templates/migration.rb +11 -0
- data/lib/generators/somatics/scaffold/scaffold_generator.rb +24 -0
- data/lib/generators/somatics/scaffold/templates/_form.html.erb +23 -0
- data/lib/generators/somatics/scaffold/templates/edit.html.erb +6 -0
- data/lib/generators/somatics/scaffold/templates/index.html.erb +27 -0
- data/lib/generators/somatics/scaffold/templates/new.html.erb +5 -0
- data/lib/generators/somatics/scaffold/templates/show.html.erb +12 -0
- data/lib/generators/somatics/scaffold_controller/USAGE +20 -0
- data/lib/generators/somatics/scaffold_controller/scaffold_controller_generator.rb +108 -0
- data/lib/generators/somatics/scaffold_controller/templates/builder_index.xls.builder +24 -0
- data/lib/generators/somatics/scaffold_controller/templates/builder_index.xml.builder +10 -0
- data/lib/generators/somatics/scaffold_controller/templates/controller.rb +123 -0
- data/lib/generators/somatics/scaffold_controller/templates/locales_en.yml +17 -0
- data/lib/generators/somatics/scaffold_controller/templates/locales_zh-TW.yml +20 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_bulk.html.erb +12 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_edit.html.erb +7 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_form.html.erb +13 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_list.html.erb +30 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_menu.html.erb +1 -0
- data/lib/generators/somatics/scaffold_controller/templates/partial_show.html.erb +31 -0
- data/lib/generators/somatics/scaffold_controller/templates/view_edit.html.erb +24 -0
- data/lib/generators/somatics/scaffold_controller/templates/view_index.html.erb +27 -0
- data/lib/generators/somatics/scaffold_controller/templates/view_new.html.erb +14 -0
- data/lib/generators/somatics/scaffold_controller/templates/view_show.html.erb +26 -0
- data/lib/generators/somatics/settings/settings_generator.rb +86 -0
- data/lib/generators/somatics/settings_controller/USAGE +20 -0
- data/lib/generators/somatics/settings_controller/settings_controller_generator.rb +11 -0
- data/lib/generators/somatics/settings_controller/templates/builder_index.xls.builder +24 -0
- data/lib/generators/somatics/settings_controller/templates/builder_index.xml.builder +10 -0
- data/lib/generators/somatics/settings_controller/templates/controller.rb +64 -0
- data/lib/generators/somatics/settings_controller/templates/helper.rb +2 -0
- data/lib/generators/somatics/settings_controller/templates/locales_en.yml +9 -0
- data/lib/generators/somatics/settings_controller/templates/locales_zh-TW.yml +28 -0
- data/lib/generators/somatics/settings_controller/templates/migration.rb +17 -0
- data/lib/generators/somatics/settings_controller/templates/partial_bulk.html.erb +12 -0
- data/lib/generators/somatics/settings_controller/templates/partial_edit.html.erb +7 -0
- data/lib/generators/somatics/settings_controller/templates/partial_form.html.erb +15 -0
- data/lib/generators/somatics/settings_controller/templates/partial_list.html.erb +28 -0
- data/lib/generators/somatics/settings_controller/templates/partial_menu.html.erb +1 -0
- data/lib/generators/somatics/settings_controller/templates/partial_show.html.erb +13 -0
- data/lib/generators/somatics/settings_controller/templates/view_edit.html.erb +23 -0
- data/lib/generators/somatics/settings_controller/templates/view_index.html.erb +22 -0
- data/lib/generators/somatics/settings_controller/templates/view_new.html.erb +14 -0
- data/lib/generators/somatics/settings_controller/templates/view_show.html.erb +23 -0
- data/lib/somatics.rb +9 -0
- data/somatics.gemspec +249 -0
- data/somatics3.gemspec +248 -0
- data/templates/somatics.rb +106 -0
- data/test/helper.rb +10 -0
- data/test/test_somatics3-generators.rb +7 -0
- metadata +398 -0
@@ -0,0 +1,52 @@
|
|
1
|
+
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
|
2
|
+
|
3
|
+
#context-menu ul, #context-menu li, #context-menu a {
|
4
|
+
display:block;
|
5
|
+
margin:0;
|
6
|
+
padding:0;
|
7
|
+
border:0;
|
8
|
+
}
|
9
|
+
|
10
|
+
#context-menu ul {
|
11
|
+
width:150px;
|
12
|
+
border-top:1px solid #ddd;
|
13
|
+
border-left:1px solid #ddd;
|
14
|
+
border-bottom:1px solid #777;
|
15
|
+
border-right:1px solid #777;
|
16
|
+
background:white;
|
17
|
+
list-style:none;
|
18
|
+
}
|
19
|
+
|
20
|
+
#context-menu li {
|
21
|
+
position:relative;
|
22
|
+
padding:1px;
|
23
|
+
z-index:39;
|
24
|
+
}
|
25
|
+
#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; }
|
26
|
+
#context-menu li.folder>ul { left:148px; }
|
27
|
+
|
28
|
+
#context-menu.reverse-y li.folder>ul { top:auto; bottom:0; }
|
29
|
+
#context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
|
30
|
+
#context-menu.reverse-x li.folder>ul { right:148px; }
|
31
|
+
|
32
|
+
#context-menu a {
|
33
|
+
border:1px solid white;
|
34
|
+
text-decoration:none !important;
|
35
|
+
background-repeat: no-repeat;
|
36
|
+
background-position: 1px 50%;
|
37
|
+
padding: 1px 0px 1px 20px;
|
38
|
+
width:100%; /* IE */
|
39
|
+
}
|
40
|
+
#context-menu li>a { width:auto; } /* others */
|
41
|
+
#context-menu a.disabled, #context-menu a.disabled:hover {color: #ccc;}
|
42
|
+
#context-menu li a.submenu { background:url("/images/admin/bullet_arrow_right.png") right no-repeat; }
|
43
|
+
#context-menu a:hover { border-color:gray; background-color:#eee; color:#2A5685; }
|
44
|
+
#context-menu li.folder a:hover { background-color:#eee; }
|
45
|
+
#context-menu li.folder:hover { z-index:40; }
|
46
|
+
#context-menu ul ul, #context-menu li:hover ul ul { display:none; }
|
47
|
+
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
|
48
|
+
|
49
|
+
/* selected element */
|
50
|
+
.context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; }
|
51
|
+
.context-menu-selection a, .context-menu-selection a:hover { color:#f8f8f8 !important; }
|
52
|
+
.context-menu-selection:hover { background-color:#507AAA !important; color:#f8f8f8 !important; }
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<attach event="ondocumentready" handler="parseStylesheets" />
|
2
|
+
<script>
|
3
|
+
/**
|
4
|
+
* Whatever:hover - V1.42.060206 - hover & active
|
5
|
+
* ------------------------------------------------------------
|
6
|
+
* (c) 2005 - Peter Nederlof
|
7
|
+
* Peterned - http://www.xs4all.nl/~peterned/
|
8
|
+
* License - http://creativecommons.org/licenses/LGPL/2.1/
|
9
|
+
*
|
10
|
+
* Whatever:hover is free software; you can redistribute it and/or
|
11
|
+
* modify it under the terms of the GNU Lesser General Public
|
12
|
+
* License as published by the Free Software Foundation; either
|
13
|
+
* version 2.1 of the License, or (at your option) any later version.
|
14
|
+
*
|
15
|
+
* Whatever:hover is distributed in the hope that it will be useful,
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
18
|
+
* Lesser General Public License for more details.
|
19
|
+
*
|
20
|
+
* Credits and thanks to:
|
21
|
+
* Arnoud Berendsen, Martin Reurings, Robert Hanson
|
22
|
+
*
|
23
|
+
* howto: body { behavior:url("csshover.htc"); }
|
24
|
+
* ------------------------------------------------------------
|
25
|
+
*/
|
26
|
+
|
27
|
+
var csshoverReg = /(^|\s)(([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active)/i,
|
28
|
+
currentSheet, doc = window.document, hoverEvents = [], activators = {
|
29
|
+
onhover:{on:'onmouseover', off:'onmouseout'},
|
30
|
+
onactive:{on:'onmousedown', off:'onmouseup'}
|
31
|
+
}
|
32
|
+
|
33
|
+
function parseStylesheets() {
|
34
|
+
if(!/MSIE (5|6)/.test(navigator.userAgent)) return;
|
35
|
+
window.attachEvent('onunload', unhookHoverEvents);
|
36
|
+
var sheets = doc.styleSheets, l = sheets.length;
|
37
|
+
for(var i=0; i<l; i++)
|
38
|
+
parseStylesheet(sheets[i]);
|
39
|
+
}
|
40
|
+
function parseStylesheet(sheet) {
|
41
|
+
if(sheet.imports) {
|
42
|
+
try {
|
43
|
+
var imports = sheet.imports, l = imports.length;
|
44
|
+
for(var i=0; i<l; i++) parseStylesheet(sheet.imports[i]);
|
45
|
+
} catch(securityException){}
|
46
|
+
}
|
47
|
+
|
48
|
+
try {
|
49
|
+
var rules = (currentSheet = sheet).rules, l = rules.length;
|
50
|
+
for(var j=0; j<l; j++) parseCSSRule(rules[j]);
|
51
|
+
} catch(securityException){}
|
52
|
+
}
|
53
|
+
|
54
|
+
function parseCSSRule(rule) {
|
55
|
+
var select = rule.selectorText, style = rule.style.cssText;
|
56
|
+
if(!csshoverReg.test(select) || !style) return;
|
57
|
+
|
58
|
+
var pseudo = select.replace(/[^:]+:([a-z-]+).*/i, 'on$1');
|
59
|
+
var newSelect = select.replace(/(\.([a-z0-9_-]+):[a-z]+)|(:[a-z]+)/gi, '.$2' + pseudo);
|
60
|
+
var className = (/\.([a-z0-9_-]*on(hover|active))/i).exec(newSelect)[1];
|
61
|
+
var affected = select.replace(/:(hover|active).*$/, '');
|
62
|
+
var elements = getElementsBySelect(affected);
|
63
|
+
if(elements.length == 0) return;
|
64
|
+
|
65
|
+
currentSheet.addRule(newSelect, style);
|
66
|
+
for(var i=0; i<elements.length; i++)
|
67
|
+
new HoverElement(elements[i], className, activators[pseudo]);
|
68
|
+
}
|
69
|
+
|
70
|
+
function HoverElement(node, className, events) {
|
71
|
+
if(!node.hovers) node.hovers = {};
|
72
|
+
if(node.hovers[className]) return;
|
73
|
+
node.hovers[className] = true;
|
74
|
+
hookHoverEvent(node, events.on, function() { node.className += ' ' + className; });
|
75
|
+
hookHoverEvent(node, events.off, function() { node.className = node.className.replace(new RegExp('\\s+'+className, 'g'),''); });
|
76
|
+
}
|
77
|
+
function hookHoverEvent(node, type, handler) {
|
78
|
+
node.attachEvent(type, handler);
|
79
|
+
hoverEvents[hoverEvents.length] = {
|
80
|
+
node:node, type:type, handler:handler
|
81
|
+
};
|
82
|
+
}
|
83
|
+
|
84
|
+
function unhookHoverEvents() {
|
85
|
+
for(var e,i=0; i<hoverEvents.length; i++) {
|
86
|
+
e = hoverEvents[i];
|
87
|
+
e.node.detachEvent(e.type, e.handler);
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
function getElementsBySelect(rule) {
|
92
|
+
var parts, nodes = [doc];
|
93
|
+
parts = rule.split(' ');
|
94
|
+
for(var i=0; i<parts.length; i++) {
|
95
|
+
nodes = getSelectedNodes(parts[i], nodes);
|
96
|
+
} return nodes;
|
97
|
+
}
|
98
|
+
function getSelectedNodes(select, elements) {
|
99
|
+
var result, node, nodes = [];
|
100
|
+
var identify = (/\#([a-z0-9_-]+)/i).exec(select);
|
101
|
+
if(identify) {
|
102
|
+
var element = doc.getElementById(identify[1]);
|
103
|
+
return element? [element]:nodes;
|
104
|
+
}
|
105
|
+
|
106
|
+
var classname = (/\.([a-z0-9_-]+)/i).exec(select);
|
107
|
+
var tagName = select.replace(/(\.|\#|\:)[a-z0-9_-]+/i, '');
|
108
|
+
var classReg = classname? new RegExp('\\b' + classname[1] + '\\b'):false;
|
109
|
+
for(var i=0; i<elements.length; i++) {
|
110
|
+
result = tagName? elements[i].all.tags(tagName):elements[i].all;
|
111
|
+
for(var j=0; j<result.length; j++) {
|
112
|
+
node = result[j];
|
113
|
+
if(classReg && !classReg.test(node.className)) continue;
|
114
|
+
nodes[nodes.length] = node;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
|
118
|
+
return nodes;
|
119
|
+
}
|
120
|
+
|
121
|
+
window.parseStylesheets = parseStylesheets;
|
122
|
+
</script>
|
@@ -0,0 +1,95 @@
|
|
1
|
+
.jstEditor {
|
2
|
+
padding-left: 0px;
|
3
|
+
}
|
4
|
+
.jstEditor textarea, .jstEditor iframe {
|
5
|
+
margin: 0;
|
6
|
+
}
|
7
|
+
|
8
|
+
.jstHandle {
|
9
|
+
height: 10px;
|
10
|
+
font-size: 0.1em;
|
11
|
+
cursor: s-resize;
|
12
|
+
/*background: transparent url(img/resizer.png) no-repeat 45% 50%;*/
|
13
|
+
}
|
14
|
+
|
15
|
+
.jstElements {
|
16
|
+
padding: 3px 3px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.jstElements button {
|
20
|
+
margin-right : 6px;
|
21
|
+
width : 24px;
|
22
|
+
height: 24px;
|
23
|
+
padding: 4px;
|
24
|
+
border-style: solid;
|
25
|
+
border-width: 1px;
|
26
|
+
border-color: #ddd;
|
27
|
+
background-color : #f7f7f7;
|
28
|
+
background-position : 50% 50%;
|
29
|
+
background-repeat: no-repeat;
|
30
|
+
}
|
31
|
+
.jstElements button:hover {
|
32
|
+
border-color : #000;
|
33
|
+
}
|
34
|
+
.jstElements button span {
|
35
|
+
display : none;
|
36
|
+
}
|
37
|
+
.jstElements span {
|
38
|
+
display : inline;
|
39
|
+
}
|
40
|
+
|
41
|
+
.jstSpacer {
|
42
|
+
width : 0px;
|
43
|
+
font-size: 1px;
|
44
|
+
margin-right: 4px;
|
45
|
+
}
|
46
|
+
|
47
|
+
.jstElements .help { float: right; margin-right: 1em; padding-top: 8px; font-size: 0.9em; }
|
48
|
+
|
49
|
+
/* Buttons
|
50
|
+
-------------------------------------------------------- */
|
51
|
+
.jstb_strong {
|
52
|
+
background-image: url(/images/admin/jstoolbar/bt_strong.png);
|
53
|
+
}
|
54
|
+
.jstb_em {
|
55
|
+
background-image: url(/images/admin/jstoolbar/bt_em.png);
|
56
|
+
}
|
57
|
+
.jstb_ins {
|
58
|
+
background-image: url(/images/admin/jstoolbar/bt_ins.png);
|
59
|
+
}
|
60
|
+
.jstb_del {
|
61
|
+
background-image: url(/images/admin/jstoolbar/bt_del.png);
|
62
|
+
}
|
63
|
+
.jstb_code {
|
64
|
+
background-image: url(/images/admin/jstoolbar/bt_code.png);
|
65
|
+
}
|
66
|
+
.jstb_h1 {
|
67
|
+
background-image: url(/images/admin/jstoolbar/bt_h1.png);
|
68
|
+
}
|
69
|
+
.jstb_h2 {
|
70
|
+
background-image: url(/images/admin/jstoolbar/bt_h2.png);
|
71
|
+
}
|
72
|
+
.jstb_h3 {
|
73
|
+
background-image: url(/images/admin/jstoolbar/bt_h3.png);
|
74
|
+
}
|
75
|
+
.jstb_ul {
|
76
|
+
background-image: url(/images/admin/jstoolbar/bt_ul.png);
|
77
|
+
}
|
78
|
+
.jstb_ol {
|
79
|
+
background-image: url(/images/admin/jstoolbar/bt_ol.png);
|
80
|
+
}
|
81
|
+
.jstb_bq {
|
82
|
+
background-image: url(/images/admin/jstoolbar/bt_bq.png);
|
83
|
+
}
|
84
|
+
.jstb_unbq {
|
85
|
+
background-image: url(/images/admin/jstoolbar/bt_bq_remove.png);
|
86
|
+
}
|
87
|
+
.jstb_pre {
|
88
|
+
background-image: url(/images/admin/jstoolbar/bt_pre.png);
|
89
|
+
}
|
90
|
+
.jstb_link {
|
91
|
+
background-image: url(/images/admin/jstoolbar/bt_link.png);
|
92
|
+
}
|
93
|
+
.jstb_img {
|
94
|
+
background-image: url(/images/admin/jstoolbar/bt_img.png);
|
95
|
+
}
|
data/lib/generators/somatics/install/templates/public/themes/default/stylesheets/application.css
ADDED
@@ -0,0 +1,951 @@
|
|
1
|
+
body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; padding: 0; min-width: 900px; }
|
2
|
+
|
3
|
+
h1, h2, h3, h4 { font-family: "Trebuchet MS", Verdana, sans-serif;}
|
4
|
+
h1 {margin:0; padding:0; font-size: 24px;}
|
5
|
+
h2, .wiki h1 {font-size: 20px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
|
6
|
+
h3, .wiki h2 {font-size: 16px;padding: 2px 10px 1px 0px;margin: 0 0 10px 0; border-bottom: 1px solid #bbbbbb; color: #444;}
|
7
|
+
h4, .wiki h3 {font-size: 13px;padding: 2px 10px 1px 0px;margin-bottom: 5px; border-bottom: 1px dotted #bbbbbb; color: #444;}
|
8
|
+
|
9
|
+
/***** Layout *****/
|
10
|
+
#wrapper {background: white;}
|
11
|
+
|
12
|
+
#top-menu {background: #2C4056; color: #fff; height:1.8em; font-size: 0.8em; padding: 2px 2px 0px 6px;}
|
13
|
+
#top-menu ul {margin: 0; padding: 0;}
|
14
|
+
#top-menu li {
|
15
|
+
float:left;
|
16
|
+
list-style-type:none;
|
17
|
+
margin: 0px 0px 0px 0px;
|
18
|
+
padding: 0px 0px 0px 0px;
|
19
|
+
white-space:nowrap;
|
20
|
+
}
|
21
|
+
#top-menu a {color: #fff; margin-right: 8px; font-weight: bold;}
|
22
|
+
#top-menu #loggedas { float: right; margin-right: 0.5em; color: #fff; }
|
23
|
+
|
24
|
+
#account {float:right;}
|
25
|
+
|
26
|
+
#header {height:5.3em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
|
27
|
+
#header a {color:#f8f8f8;}
|
28
|
+
#header h1 a.ancestor { font-size: 80%; }
|
29
|
+
#quick-search {float:right;}
|
30
|
+
|
31
|
+
#main-menu {position: absolute; bottom: 0px; left:6px; margin-right: -500px;}
|
32
|
+
#main-menu ul {margin: 0; padding: 0;}
|
33
|
+
#main-menu li {
|
34
|
+
float:left;
|
35
|
+
list-style-type:none;
|
36
|
+
margin: 0px 2px 0px 0px;
|
37
|
+
padding: 0px 0px 0px 0px;
|
38
|
+
white-space:nowrap;
|
39
|
+
}
|
40
|
+
#main-menu li a {
|
41
|
+
display: block;
|
42
|
+
color: #fff;
|
43
|
+
text-decoration: none;
|
44
|
+
font-weight: bold;
|
45
|
+
margin: 0;
|
46
|
+
padding: 4px 10px 4px 10px;
|
47
|
+
}
|
48
|
+
#main-menu li a:hover {background:#759FCF; color:#fff;}
|
49
|
+
#main-menu li a.selected, #main-menu li a.selected:hover {background:#fff; color:#555;}
|
50
|
+
#main-menu ul li ul {display:none;}
|
51
|
+
#main-menu ul li:hover ul {display:block;position:absolute;}
|
52
|
+
#main-menu ul li ul li{list-style-type: none;float:none;}
|
53
|
+
|
54
|
+
#admin-menu ul {margin: 0; padding: 0;}
|
55
|
+
#admin-menu li {margin: 0; padding: 0 0 12px 0; list-style-type:none;}
|
56
|
+
|
57
|
+
#admin-menu a { background-position: 0% 40%; background-repeat: no-repeat; padding-left: 20px; padding-top: 2px; padding-bottom: 3px;}
|
58
|
+
#admin-menu a.projects { background-image: url(/images/somatics/projects.png); }
|
59
|
+
#admin-menu a.users { background-image: url(/images/somatics/user.png); }
|
60
|
+
#admin-menu a.groups { background-image: url(/images/somatics/group.png); }
|
61
|
+
#admin-menu a.roles { background-image: url(/images/somatics/database_key.png); }
|
62
|
+
#admin-menu a.trackers { background-image: url(/images/somatics/ticket.png); }
|
63
|
+
#admin-menu a.issue_statuses { background-image: url(/images/somatics/ticket_edit.png); }
|
64
|
+
#admin-menu a.workflows { background-image: url(/images/somatics/ticket_go.png); }
|
65
|
+
#admin-menu a.custom_fields { background-image: url(/images/somatics/textfield.png); }
|
66
|
+
#admin-menu a.enumerations { background-image: url(/images/somatics/text_list_bullets.png); }
|
67
|
+
#admin-menu a.settings { background-image: url(/images/somatics/changeset.png); }
|
68
|
+
#admin-menu a.plugins { background-image: url(/images/somatics/plugin.png); }
|
69
|
+
#admin-menu a.info { background-image: url(/images/somatics/help.png); }
|
70
|
+
|
71
|
+
#main {background-color:#EEEEEE;}
|
72
|
+
|
73
|
+
#sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
|
74
|
+
* html #sidebar{ width: 22%; }
|
75
|
+
#sidebar h3{ font-size: 14px; margin-top:14px; color: #666; }
|
76
|
+
#sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ccc; border: 0; }
|
77
|
+
* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ccc; }
|
78
|
+
#sidebar .contextual { margin-right: 1em; }
|
79
|
+
|
80
|
+
#content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; }
|
81
|
+
* html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
|
82
|
+
html>body #content { min-height: 600px; }
|
83
|
+
* html body #content { height: 600px; } /* IE */
|
84
|
+
|
85
|
+
#main.nosidebar #sidebar{ display: none; }
|
86
|
+
#main.nosidebar #content{ width: auto; border-right: 0; }
|
87
|
+
|
88
|
+
#footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;}
|
89
|
+
|
90
|
+
#login-form table {margin-top:5em; padding:1em; margin-left: auto; margin-right: auto; border: 2px solid #FDBF3B; background-color:#FFEBC1; }
|
91
|
+
#login-form table td {padding: 6px;}
|
92
|
+
#login-form label {font-weight: bold;}
|
93
|
+
#login-form input#username, #login-form input#login, #login-form input#password { width: 300px; }
|
94
|
+
|
95
|
+
input#openid_url { background: url(/images/somatics/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }
|
96
|
+
|
97
|
+
.clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
98
|
+
|
99
|
+
/***** Links *****/
|
100
|
+
a, a:link, a:visited{ color: #169; text-decoration: none; }
|
101
|
+
a:hover, a:active{ color: #c61a1a; text-decoration: underline;}
|
102
|
+
a img{ border: 0; }
|
103
|
+
|
104
|
+
a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
|
105
|
+
|
106
|
+
/***** Tables *****/
|
107
|
+
table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
|
108
|
+
table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; }
|
109
|
+
table.list td { vertical-align: top; }
|
110
|
+
table.list td.id { width: 2%; text-align: center;}
|
111
|
+
table.list td.checkbox { width: 15px; padding: 0px;}
|
112
|
+
table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
|
113
|
+
table.list td.buttons a { padding-right: 0.6em; }
|
114
|
+
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
|
115
|
+
|
116
|
+
tr.project td.name a { white-space:nowrap; }
|
117
|
+
|
118
|
+
tr.project.idnt td.name a {background: url(/images/somatics/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
|
119
|
+
tr.project.idnt-1 td.name {padding-left: 0.5em;}
|
120
|
+
tr.project.idnt-2 td.name {padding-left: 2em;}
|
121
|
+
tr.project.idnt-3 td.name {padding-left: 3.5em;}
|
122
|
+
tr.project.idnt-4 td.name {padding-left: 5em;}
|
123
|
+
tr.project.idnt-5 td.name {padding-left: 6.5em;}
|
124
|
+
tr.project.idnt-6 td.name {padding-left: 8em;}
|
125
|
+
tr.project.idnt-7 td.name {padding-left: 9.5em;}
|
126
|
+
tr.project.idnt-8 td.name {padding-left: 11em;}
|
127
|
+
tr.project.idnt-9 td.name {padding-left: 12.5em;}
|
128
|
+
|
129
|
+
tr.issue { text-align: center; white-space: nowrap; }
|
130
|
+
tr.issue td.subject, tr.issue td.category, td.assigned_to { white-space: normal; }
|
131
|
+
tr.issue td.subject { text-align: left; }
|
132
|
+
tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
|
133
|
+
|
134
|
+
tr.issue.idnt td.subject a {background: url(/images/somatics/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
|
135
|
+
tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
|
136
|
+
tr.issue.idnt-2 td.subject {padding-left: 2em;}
|
137
|
+
tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
|
138
|
+
tr.issue.idnt-4 td.subject {padding-left: 5em;}
|
139
|
+
tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
|
140
|
+
tr.issue.idnt-6 td.subject {padding-left: 8em;}
|
141
|
+
tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
|
142
|
+
tr.issue.idnt-8 td.subject {padding-left: 11em;}
|
143
|
+
tr.issue.idnt-9 td.subject {padding-left: 12.5em;}
|
144
|
+
|
145
|
+
tr.entry { border: 1px solid #f8f8f8; }
|
146
|
+
tr.entry td { white-space: nowrap; }
|
147
|
+
tr.entry td.filename { width: 30%; }
|
148
|
+
tr.entry td.size { text-align: right; font-size: 90%; }
|
149
|
+
tr.entry td.revision, tr.entry td.author { text-align: center; }
|
150
|
+
tr.entry td.age { text-align: right; }
|
151
|
+
tr.entry.file td.filename a { margin-left: 16px; }
|
152
|
+
|
153
|
+
tr span.expander {background-image: url(/images/somatics/bullet_toggle_plus.png); padding-left: 8px; margin-left: 0; cursor: pointer;}
|
154
|
+
tr.open span.expander {background-image: url(/images/somatics/bullet_toggle_minus.png);}
|
155
|
+
|
156
|
+
tr.changeset td.author { text-align: center; width: 15%; }
|
157
|
+
tr.changeset td.committed_on { text-align: center; width: 15%; }
|
158
|
+
|
159
|
+
table.files tr.file td { text-align: center; }
|
160
|
+
table.files tr.file td.filename { text-align: left; padding-left: 24px; }
|
161
|
+
table.files tr.file td.digest { font-size: 80%; }
|
162
|
+
|
163
|
+
table.members td.roles, table.memberships td.roles { width: 45%; }
|
164
|
+
|
165
|
+
tr.message { height: 2.6em; }
|
166
|
+
tr.message td.subject { padding-left: 20px; }
|
167
|
+
tr.message td.created_on { white-space: nowrap; }
|
168
|
+
tr.message td.last_message { font-size: 80%; white-space: nowrap; }
|
169
|
+
tr.message.locked td.subject { background: url(/images/somatics/locked.png) no-repeat 0 1px; }
|
170
|
+
tr.message.sticky td.subject { background: url(/images/somatics/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
|
171
|
+
|
172
|
+
tr.version.closed, tr.version.closed a { color: #999; }
|
173
|
+
tr.version td.name { padding-left: 20px; }
|
174
|
+
tr.version.shared td.name { background: url(/images/somatics/link.png) no-repeat 0% 70%; }
|
175
|
+
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; }
|
176
|
+
|
177
|
+
tr.user td { width:13%; }
|
178
|
+
tr.user td.email { width:18%; }
|
179
|
+
tr.user td { white-space: nowrap; }
|
180
|
+
tr.user.locked, tr.user.registered { color: #aaa; }
|
181
|
+
tr.user.locked a, tr.user.registered a { color: #aaa; }
|
182
|
+
|
183
|
+
tr.time-entry { text-align: center; white-space: nowrap; }
|
184
|
+
tr.time-entry td.subject, tr.time-entry td.comments { text-align: left; white-space: normal; }
|
185
|
+
td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
|
186
|
+
td.hours .hours-dec { font-size: 0.9em; }
|
187
|
+
|
188
|
+
table.plugins td { vertical-align: middle; }
|
189
|
+
table.plugins td.configure { text-align: right; padding-right: 1em; }
|
190
|
+
table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
|
191
|
+
table.plugins span.description { display: block; font-size: 0.9em; }
|
192
|
+
table.plugins span.url { display: block; font-size: 0.9em; }
|
193
|
+
|
194
|
+
table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; }
|
195
|
+
table.list tbody tr.group span.count { color: #aaa; font-size: 80%; }
|
196
|
+
|
197
|
+
table.list tbody tr:hover { background-color:#ffffdd; }
|
198
|
+
table.list tbody tr.group:hover { background-color:inherit; }
|
199
|
+
table td {padding:2px;}
|
200
|
+
table p {margin:0;}
|
201
|
+
.odd {background-color:#f6f7f8;}
|
202
|
+
.even {background-color: #fff;}
|
203
|
+
|
204
|
+
a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
|
205
|
+
a.sort.asc { background-image: url(/images/somatics/sort_asc.png); }
|
206
|
+
a.sort.desc { background-image: url(/images/somatics/sort_desc.png); }
|
207
|
+
|
208
|
+
table.attributes { width: 100% }
|
209
|
+
table.attributes th { vertical-align: top; text-align: left; }
|
210
|
+
table.attributes td { vertical-align: top; }
|
211
|
+
|
212
|
+
table.boards a.board, h3.comments { background: url(/images/somatics/comment.png) no-repeat 0% 50%; padding-left: 20px; }
|
213
|
+
|
214
|
+
td.center {text-align:center;}
|
215
|
+
|
216
|
+
h3.version { background: url(/images/somatics/package.png) no-repeat 0% 50%; padding-left: 20px; }
|
217
|
+
|
218
|
+
div.issues h3 { background: url(/images/somatics/ticket.png) no-repeat 0% 50%; padding-left: 20px; }
|
219
|
+
div.members h3 { background: url(/images/somatics/group.png) no-repeat 0% 50%; padding-left: 20px; }
|
220
|
+
div.news h3 { background: url(/images/somatics/news.png) no-repeat 0% 50%; padding-left: 20px; }
|
221
|
+
div.projects h3 { background: url(/images/somatics/projects.png) no-repeat 0% 50%; padding-left: 20px; }
|
222
|
+
|
223
|
+
#watchers ul {margin: 0; padding: 0;}
|
224
|
+
#watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
|
225
|
+
#watchers select {width: 95%; display: block;}
|
226
|
+
#watchers a.delete {opacity: 0.4;}
|
227
|
+
#watchers a.delete:hover {opacity: 1;}
|
228
|
+
#watchers img.gravatar {vertical-align: middle;margin-right: 4px;}
|
229
|
+
|
230
|
+
.highlight { background-color: #FCFD8D;}
|
231
|
+
.highlight.token-1 { background-color: #faa;}
|
232
|
+
.highlight.token-2 { background-color: #afa;}
|
233
|
+
.highlight.token-3 { background-color: #aaf;}
|
234
|
+
|
235
|
+
.box{
|
236
|
+
padding:6px;
|
237
|
+
margin-bottom: 10px;
|
238
|
+
background-color:#f6f6f6;
|
239
|
+
color:#505050;
|
240
|
+
line-height:1.5em;
|
241
|
+
border: 1px solid #e4e4e4;
|
242
|
+
}
|
243
|
+
|
244
|
+
div.square {
|
245
|
+
border: 1px solid #999;
|
246
|
+
float: left;
|
247
|
+
margin: .3em .4em 0 .4em;
|
248
|
+
overflow: hidden;
|
249
|
+
width: .6em; height: .6em;
|
250
|
+
}
|
251
|
+
.contextual {float:right; white-space: nowrap; line-height:1.4em;margin-top:5px; padding-left: 10px; font-size:0.9em;}
|
252
|
+
.contextual input, .contextual select {font-size:0.9em;}
|
253
|
+
.message .contextual { margin-top: 0; }
|
254
|
+
|
255
|
+
.splitcontentleft{float:left; width:49%;}
|
256
|
+
.splitcontentright{float:right; width:49%;}
|
257
|
+
form {display: inline;}
|
258
|
+
input, select {vertical-align: middle; margin-top: 1px; margin-bottom: 1px;}
|
259
|
+
fieldset {border: 1px solid #e4e4e4; margin:0;}
|
260
|
+
legend {color: #484848;}
|
261
|
+
hr { width: 100%; height: 1px; background: #ccc; border: 0;}
|
262
|
+
blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0.6em; margin-left: 2.4em;}
|
263
|
+
blockquote blockquote { margin-left: 0;}
|
264
|
+
acronym { border-bottom: 1px dotted; cursor: help; }
|
265
|
+
textarea.wiki-edit { width: 99%; }
|
266
|
+
li p {margin-top: 0;}
|
267
|
+
div.issue {background:#ffffdd; padding:6px; margin-bottom:6px;border: 1px solid #d7d7d7;}
|
268
|
+
p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
|
269
|
+
p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
|
270
|
+
p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }
|
271
|
+
|
272
|
+
div.issue div.subject div div { padding-left: 16px; }
|
273
|
+
div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
|
274
|
+
div.issue div.subject>div>p { margin-top: 0.5em; }
|
275
|
+
div.issue div.subject h3 {margin: 0; margin-bottom: 0.1em;}
|
276
|
+
|
277
|
+
#issue_tree table.issues { border: 0; }
|
278
|
+
#issue_tree td.checkbox {display:none;}
|
279
|
+
|
280
|
+
fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
|
281
|
+
fieldset.collapsible legend { padding-left: 16px; background: url(/images/somatics/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
|
282
|
+
fieldset.collapsible.collapsed legend { background-image: url(/images/somatics/arrow_collapsed.png); }
|
283
|
+
|
284
|
+
fieldset#date-range p { margin: 2px 0 2px 0; }
|
285
|
+
fieldset#filters table { border-collapse: collapse; }
|
286
|
+
fieldset#filters table td { padding: 0; vertical-align: middle; }
|
287
|
+
fieldset#filters tr.filter { height: 2em; }
|
288
|
+
fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
|
289
|
+
.buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
|
290
|
+
|
291
|
+
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
|
292
|
+
div#issue-changesets .changeset { padding: 4px;}
|
293
|
+
div#issue-changesets .changeset { border-bottom: 1px solid #ddd; }
|
294
|
+
div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}
|
295
|
+
|
296
|
+
div#activity dl, #search-results { margin-left: 2em; }
|
297
|
+
div#activity dd, #search-results dd { margin-bottom: 1em; padding-left: 18px; font-size: 0.9em; }
|
298
|
+
div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
|
299
|
+
div#activity dt.me .time { border-bottom: 1px solid #999; }
|
300
|
+
div#activity dt .time { color: #777; font-size: 80%; }
|
301
|
+
div#activity dd .description, #search-results dd .description { font-style: italic; }
|
302
|
+
div#activity span.project:after, #search-results span.project:after { content: " -"; }
|
303
|
+
div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
|
304
|
+
|
305
|
+
#search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }
|
306
|
+
|
307
|
+
div#search-results-counts {float:right;}
|
308
|
+
div#search-results-counts ul { margin-top: 0.5em; }
|
309
|
+
div#search-results-counts li { list-style-type:none; float: left; margin-left: 1em; }
|
310
|
+
|
311
|
+
dt.issue { background-image: url(/images/somatics/ticket.png); }
|
312
|
+
dt.issue-edit { background-image: url(/images/somatics/ticket_edit.png); }
|
313
|
+
dt.issue-closed { background-image: url(/images/somatics/ticket_checked.png); }
|
314
|
+
dt.issue-note { background-image: url(/images/somatics/ticket_note.png); }
|
315
|
+
dt.changeset { background-image: url(/images/somatics/changeset.png); }
|
316
|
+
dt.news { background-image: url(/images/somatics/news.png); }
|
317
|
+
dt.message { background-image: url(/images/somatics/message.png); }
|
318
|
+
dt.reply { background-image: url(/images/somatics/comments.png); }
|
319
|
+
dt.wiki-page { background-image: url(/images/somatics/wiki_edit.png); }
|
320
|
+
dt.attachment { background-image: url(/images/somatics/attachment.png); }
|
321
|
+
dt.document { background-image: url(/images/somatics/document.png); }
|
322
|
+
dt.project { background-image: url(/images/somatics/projects.png); }
|
323
|
+
dt.time-entry { background-image: url(/images/somatics/time.png); }
|
324
|
+
|
325
|
+
#search-results dt.issue.closed { background-image: url(/images/somatics/ticket_checked.png); }
|
326
|
+
|
327
|
+
div#roadmap .related-issues { margin-bottom: 1em; }
|
328
|
+
div#roadmap .related-issues td.checkbox { display: none; }
|
329
|
+
div#roadmap .wiki h1:first-child { display: none; }
|
330
|
+
div#roadmap .wiki h1 { font-size: 120%; }
|
331
|
+
div#roadmap .wiki h2 { font-size: 110%; }
|
332
|
+
|
333
|
+
div#version-summary { float:right; width:380px; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
|
334
|
+
div#version-summary fieldset { margin-bottom: 1em; }
|
335
|
+
div#version-summary .total-hours { text-align: right; }
|
336
|
+
|
337
|
+
table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
|
338
|
+
table#time-report tbody tr { font-style: italic; color: #777; }
|
339
|
+
table#time-report tbody tr.last-level { font-style: normal; color: #555; }
|
340
|
+
table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
|
341
|
+
table#time-report .hours-dec { font-size: 0.9em; }
|
342
|
+
|
343
|
+
form .attributes { margin-bottom: 8px; }
|
344
|
+
form .attributes p { padding-top: 1px; padding-bottom: 2px; }
|
345
|
+
form .attributes select { min-width: 50%; }
|
346
|
+
|
347
|
+
ul.projects { margin: 0; padding-left: 1em; }
|
348
|
+
ul.projects.root { margin: 0; padding: 0; }
|
349
|
+
ul.projects ul { border-left: 3px solid #e0e0e0; }
|
350
|
+
ul.projects li { list-style-type:none; }
|
351
|
+
ul.projects li.root { margin-bottom: 1em; }
|
352
|
+
ul.projects li.child { margin-top: 1em;}
|
353
|
+
ul.projects div.root a.project { font-family: "Trebuchet MS", Verdana, sans-serif; font-weight: bold; font-size: 16px; margin: 0 0 10px 0; }
|
354
|
+
.my-project { padding-left: 18px; background: url(/images/somatics/fav.png) no-repeat 0 50%; }
|
355
|
+
|
356
|
+
#tracker_project_ids ul { margin: 0; padding-left: 1em; }
|
357
|
+
#tracker_project_ids li { list-style-type:none; }
|
358
|
+
|
359
|
+
ul.properties {padding:0; font-size: 0.9em; color: #777;}
|
360
|
+
ul.properties li {list-style-type:none;}
|
361
|
+
ul.properties li span {font-style:italic;}
|
362
|
+
|
363
|
+
.total-hours { font-size: 110%; font-weight: bold; }
|
364
|
+
.total-hours span.hours-int { font-size: 120%; }
|
365
|
+
|
366
|
+
.autoscroll {overflow-x: auto; padding:1px; margin-bottom: 1.2em;}
|
367
|
+
#user_firstname, #user_lastname, #user_mail, #my_account_form select { width: 90%; }
|
368
|
+
|
369
|
+
#workflow_copy_form select { width: 200px; }
|
370
|
+
|
371
|
+
.pagination {font-size: 90%}
|
372
|
+
p.pagination {margin-top:8px;}
|
373
|
+
|
374
|
+
/***** Tabular forms ******/
|
375
|
+
.tabular p{
|
376
|
+
margin: 0;
|
377
|
+
padding: 5px 0 8px 0;
|
378
|
+
padding-left: 180px; /*width of left column containing the label elements*/
|
379
|
+
height: 1%;
|
380
|
+
clear:left;
|
381
|
+
}
|
382
|
+
|
383
|
+
html>body .tabular p {overflow:hidden;}
|
384
|
+
|
385
|
+
.tabular label{
|
386
|
+
font-weight: bold;
|
387
|
+
float: left;
|
388
|
+
text-align: right;
|
389
|
+
margin-left: -180px; /*width of left column*/
|
390
|
+
width: 175px; /*width of labels. Should be smaller than left column to create some right
|
391
|
+
margin*/
|
392
|
+
}
|
393
|
+
|
394
|
+
.tabular label.floating{
|
395
|
+
font-weight: normal;
|
396
|
+
margin-left: 0px;
|
397
|
+
text-align: left;
|
398
|
+
width: 270px;
|
399
|
+
}
|
400
|
+
|
401
|
+
.tabular label.block{
|
402
|
+
font-weight: normal;
|
403
|
+
margin-left: 0px !important;
|
404
|
+
text-align: left;
|
405
|
+
float: none;
|
406
|
+
display: block;
|
407
|
+
width: auto;
|
408
|
+
}
|
409
|
+
|
410
|
+
input#time_entry_comments { width: 90%;}
|
411
|
+
|
412
|
+
#preview fieldset {margin-top: 1em; background: url(/images/somatics/draft.png)}
|
413
|
+
|
414
|
+
.tabular.settings p{ padding-left: 300px; }
|
415
|
+
.tabular.settings label{ margin-left: -300px; width: 295px; }
|
416
|
+
.tabular.settings textarea { width: 99%; }
|
417
|
+
|
418
|
+
fieldset.settings label { display: block; }
|
419
|
+
|
420
|
+
.required {color: #bb0000;}
|
421
|
+
.summary {font-style: italic;}
|
422
|
+
|
423
|
+
#attachments_fields input[type=text] {margin-left: 8px; }
|
424
|
+
|
425
|
+
div.attachments { margin-top: 12px; }
|
426
|
+
div.attachments p { margin:4px 0 2px 0; }
|
427
|
+
div.attachments img { vertical-align: middle; }
|
428
|
+
div.attachments span.author { font-size: 0.9em; color: #888; }
|
429
|
+
|
430
|
+
p.other-formats { text-align: right; font-size:0.9em; color: #666; }
|
431
|
+
.other-formats span + span:before { content: "| "; }
|
432
|
+
|
433
|
+
a.atom { background: url(/images/somatics/feed.png) no-repeat 1px 50%; padding: 2px 0px 3px 16px; }
|
434
|
+
|
435
|
+
/* Project members tab */
|
436
|
+
div#tab-content-members .splitcontentleft, div#tab-content-memberships .splitcontentleft, div#tab-content-users .splitcontentleft { width: 64% }
|
437
|
+
div#tab-content-members .splitcontentright, div#tab-content-memberships .splitcontentright, div#tab-content-users .splitcontentright { width: 34% }
|
438
|
+
div#tab-content-members fieldset, div#tab-content-memberships fieldset, div#tab-content-users fieldset { padding:1em; margin-bottom: 1em; }
|
439
|
+
div#tab-content-members fieldset legend, div#tab-content-memberships fieldset legend, div#tab-content-users fieldset legend { font-weight: bold; }
|
440
|
+
div#tab-content-members fieldset label, div#tab-content-memberships fieldset label, div#tab-content-users fieldset label { display: block; }
|
441
|
+
div#tab-content-members fieldset div, div#tab-content-users fieldset div { max-height: 400px; overflow:auto; }
|
442
|
+
|
443
|
+
table.members td.group { padding-left: 20px; background: url(/images/somatics/group.png) no-repeat 0% 50%; }
|
444
|
+
|
445
|
+
* html div#tab-content-members fieldset div { height: 450px; }
|
446
|
+
|
447
|
+
/***** Flash & error messages ****/
|
448
|
+
#errorExplanation, div.flash, .nodata, .warning {
|
449
|
+
padding: 4px 4px 4px 30px;
|
450
|
+
margin-bottom: 12px;
|
451
|
+
font-size: 1.1em;
|
452
|
+
border: 2px solid;
|
453
|
+
}
|
454
|
+
|
455
|
+
div.flash {margin-top: 8px;}
|
456
|
+
|
457
|
+
div.flash.error, #errorExplanation {
|
458
|
+
background: url(/images/somatics/exclamation.png) 8px 50% no-repeat;
|
459
|
+
background-color: #ffe3e3;
|
460
|
+
border-color: #dd0000;
|
461
|
+
color: #880000;
|
462
|
+
}
|
463
|
+
|
464
|
+
div.flash.notice {
|
465
|
+
background: url(/images/somatics/true.png) 8px 5px no-repeat;
|
466
|
+
background-color: #dfffdf;
|
467
|
+
border-color: #9fcf9f;
|
468
|
+
color: #005f00;
|
469
|
+
}
|
470
|
+
|
471
|
+
div.flash.warning {
|
472
|
+
background: url(/images/somatics/warning.png) 8px 5px no-repeat;
|
473
|
+
background-color: #FFEBC1;
|
474
|
+
border-color: #FDBF3B;
|
475
|
+
color: #A6750C;
|
476
|
+
text-align: left;
|
477
|
+
}
|
478
|
+
|
479
|
+
.nodata, .warning {
|
480
|
+
text-align: center;
|
481
|
+
background-color: #FFEBC1;
|
482
|
+
border-color: #FDBF3B;
|
483
|
+
color: #A6750C;
|
484
|
+
}
|
485
|
+
|
486
|
+
#errorExplanation ul { font-size: 0.9em;}
|
487
|
+
#errorExplanation h2, #errorExplanation p { display: none; }
|
488
|
+
|
489
|
+
/***** Ajax indicator ******/
|
490
|
+
#ajax-indicator {
|
491
|
+
position: absolute; /* fixed not supported by IE */
|
492
|
+
background-color:#eee;
|
493
|
+
border: 1px solid #bbb;
|
494
|
+
top:35%;
|
495
|
+
left:40%;
|
496
|
+
width:20%;
|
497
|
+
font-weight:bold;
|
498
|
+
text-align:center;
|
499
|
+
padding:0.6em;
|
500
|
+
z-index:100;
|
501
|
+
filter:alpha(opacity=50);
|
502
|
+
opacity: 0.5;
|
503
|
+
}
|
504
|
+
|
505
|
+
html>body #ajax-indicator { position: fixed; }
|
506
|
+
|
507
|
+
#ajax-indicator span {
|
508
|
+
background-position: 0% 40%;
|
509
|
+
background-repeat: no-repeat;
|
510
|
+
background-image: url(/images/somatics/loading.gif);
|
511
|
+
padding-left: 26px;
|
512
|
+
vertical-align: bottom;
|
513
|
+
}
|
514
|
+
|
515
|
+
/***** Calendar *****/
|
516
|
+
table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
|
517
|
+
table.cal thead th {width: 14%;}
|
518
|
+
table.cal tbody tr {height: 100px;}
|
519
|
+
table.cal th { background-color:#EEEEEE; padding: 4px; }
|
520
|
+
table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
|
521
|
+
table.cal td p.day-num {font-size: 1.1em; text-align:right;}
|
522
|
+
table.cal td.odd p.day-num {color: #bbb;}
|
523
|
+
table.cal td.today {background:#ffffdd;}
|
524
|
+
table.cal td.today p.day-num {font-weight: bold;}
|
525
|
+
table.cal .starting a, p.cal.legend .starting {background: url(/images/somatics/bullet_go.png) no-repeat -1px -2px; padding-left:16px;}
|
526
|
+
table.cal .ending a, p.cal.legend .ending {background: url(/images/somatics/bullet_end.png) no-repeat -1px -2px; padding-left:16px;}
|
527
|
+
table.cal .starting.ending a, p.cal.legend .starting.ending {background: url(/images/somatics/bullet_diamond.png) no-repeat -1px -2px; padding-left:16px;}
|
528
|
+
p.cal.legend span {display:block;}
|
529
|
+
|
530
|
+
/***** Tooltips ******/
|
531
|
+
.tooltip{position:relative;z-index:24;}
|
532
|
+
.tooltip:hover{z-index:25;color:#000;}
|
533
|
+
.tooltip span.tip{display: none; text-align:left;}
|
534
|
+
|
535
|
+
div.tooltip:hover span.tip{
|
536
|
+
display:block;
|
537
|
+
position:absolute;
|
538
|
+
top:12px; left:24px; width:270px;
|
539
|
+
border:1px solid #555;
|
540
|
+
background-color:#fff;
|
541
|
+
padding: 4px;
|
542
|
+
font-size: 0.8em;
|
543
|
+
color:#505050;
|
544
|
+
}
|
545
|
+
|
546
|
+
/***** Progress bar *****/
|
547
|
+
table.progress {
|
548
|
+
border: 1px solid #D7D7D7;
|
549
|
+
border-collapse: collapse;
|
550
|
+
border-spacing: 0pt;
|
551
|
+
empty-cells: show;
|
552
|
+
text-align: center;
|
553
|
+
float:left;
|
554
|
+
margin: 1px 6px 1px 0px;
|
555
|
+
}
|
556
|
+
|
557
|
+
table.progress td { height: 0.9em; }
|
558
|
+
table.progress td.closed { background: #BAE0BA none repeat scroll 0%; }
|
559
|
+
table.progress td.done { background: #DEF0DE none repeat scroll 0%; }
|
560
|
+
table.progress td.open { background: #FFF none repeat scroll 0%; }
|
561
|
+
p.pourcent {font-size: 80%;}
|
562
|
+
p.progress-info {clear: left; font-style: italic; font-size: 80%;}
|
563
|
+
|
564
|
+
/***** Tabs *****/
|
565
|
+
#content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
|
566
|
+
#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:1em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
|
567
|
+
#content .tabs ul li {
|
568
|
+
float:left;
|
569
|
+
list-style-type:none;
|
570
|
+
white-space:nowrap;
|
571
|
+
margin-right:8px;
|
572
|
+
background:#fff;
|
573
|
+
position:relative;
|
574
|
+
margin-bottom:-1px;
|
575
|
+
}
|
576
|
+
#content .tabs ul li a{
|
577
|
+
display:block;
|
578
|
+
font-size: 0.9em;
|
579
|
+
text-decoration:none;
|
580
|
+
line-height:1.3em;
|
581
|
+
padding:4px 6px 4px 6px;
|
582
|
+
border: 1px solid #ccc;
|
583
|
+
border-bottom: 1px solid #bbbbbb;
|
584
|
+
background-color: #eeeeee;
|
585
|
+
color:#777;
|
586
|
+
font-weight:bold;
|
587
|
+
}
|
588
|
+
|
589
|
+
#content .tabs ul li a:hover {
|
590
|
+
background-color: #ffffdd;
|
591
|
+
text-decoration:none;
|
592
|
+
}
|
593
|
+
|
594
|
+
#content .tabs ul li a.selected {
|
595
|
+
background-color: #fff;
|
596
|
+
border: 1px solid #bbbbbb;
|
597
|
+
border-bottom: 1px solid #fff;
|
598
|
+
}
|
599
|
+
|
600
|
+
#content .tabs ul li a.selected:hover {
|
601
|
+
background-color: #fff;
|
602
|
+
}
|
603
|
+
|
604
|
+
div.tabs-buttons { position:absolute; right: 0; width: 48px; height: 24px; background: white; bottom: 0; border-bottom: 1px solid #bbbbbb; }
|
605
|
+
|
606
|
+
button.tab-left, button.tab-right {
|
607
|
+
font-size: 0.9em;
|
608
|
+
cursor: pointer;
|
609
|
+
height:24px;
|
610
|
+
border: 1px solid #ccc;
|
611
|
+
border-bottom: 1px solid #bbbbbb;
|
612
|
+
position:absolute;
|
613
|
+
padding:4px;
|
614
|
+
width: 20px;
|
615
|
+
bottom: -1px;
|
616
|
+
}
|
617
|
+
|
618
|
+
button.tab-left {
|
619
|
+
right: 20px;
|
620
|
+
background: #eeeeee url(/images/somatics/bullet_arrow_left.png) no-repeat 50% 50%;
|
621
|
+
}
|
622
|
+
|
623
|
+
button.tab-right {
|
624
|
+
right: 0;
|
625
|
+
background: #eeeeee url(/images/somatics/bullet_arrow_right.png) no-repeat 50% 50%;
|
626
|
+
}
|
627
|
+
|
628
|
+
/***** Auto-complete *****/
|
629
|
+
div.autocomplete {
|
630
|
+
position:absolute;
|
631
|
+
width:400px;
|
632
|
+
margin:0;
|
633
|
+
padding:0;
|
634
|
+
}
|
635
|
+
div.autocomplete ul {
|
636
|
+
list-style-type:none;
|
637
|
+
margin:0;
|
638
|
+
padding:0;
|
639
|
+
}
|
640
|
+
div.autocomplete ul li {
|
641
|
+
list-style-type:none;
|
642
|
+
display:block;
|
643
|
+
margin:-1px 0 0 0;
|
644
|
+
padding:2px;
|
645
|
+
cursor:pointer;
|
646
|
+
font-size: 90%;
|
647
|
+
border: 1px solid #ccc;
|
648
|
+
border-left: 1px solid #ccc;
|
649
|
+
border-right: 1px solid #ccc;
|
650
|
+
background-color:white;
|
651
|
+
}
|
652
|
+
div.autocomplete ul li.selected { background-color: #ffb;}
|
653
|
+
div.autocomplete ul li span.informal {
|
654
|
+
font-size: 80%;
|
655
|
+
color: #aaa;
|
656
|
+
}
|
657
|
+
|
658
|
+
#parent_issue_candidates ul li {width: 500px;}
|
659
|
+
|
660
|
+
/***** Diff *****/
|
661
|
+
.diff_out { background: #fcc; }
|
662
|
+
.diff_in { background: #cfc; }
|
663
|
+
|
664
|
+
/***** Wiki *****/
|
665
|
+
div.wiki table {
|
666
|
+
border: 1px solid #505050;
|
667
|
+
border-collapse: collapse;
|
668
|
+
margin-bottom: 1em;
|
669
|
+
}
|
670
|
+
|
671
|
+
div.wiki table, div.wiki td, div.wiki th {
|
672
|
+
border: 1px solid #bbb;
|
673
|
+
padding: 4px;
|
674
|
+
}
|
675
|
+
|
676
|
+
div.wiki .external {
|
677
|
+
background-position: 0% 60%;
|
678
|
+
background-repeat: no-repeat;
|
679
|
+
padding-left: 12px;
|
680
|
+
background-image: url(/images/somatics/external.png);
|
681
|
+
}
|
682
|
+
|
683
|
+
div.wiki a.new {
|
684
|
+
color: #b73535;
|
685
|
+
}
|
686
|
+
|
687
|
+
div.wiki pre {
|
688
|
+
margin: 1em 1em 1em 1.6em;
|
689
|
+
padding: 2px 2px 2px 0;
|
690
|
+
background-color: #fafafa;
|
691
|
+
border: 1px solid #dadada;
|
692
|
+
width:auto;
|
693
|
+
overflow-x: auto;
|
694
|
+
}
|
695
|
+
|
696
|
+
div.wiki ul.toc {
|
697
|
+
background-color: #ffffdd;
|
698
|
+
border: 1px solid #e4e4e4;
|
699
|
+
padding: 4px;
|
700
|
+
line-height: 1.2em;
|
701
|
+
margin-bottom: 12px;
|
702
|
+
margin-right: 12px;
|
703
|
+
margin-left: 0;
|
704
|
+
display: table
|
705
|
+
}
|
706
|
+
* html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */
|
707
|
+
|
708
|
+
div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
|
709
|
+
div.wiki ul.toc.left { float: left; margin-right: 12px; margin-left: 0; width: auto; }
|
710
|
+
div.wiki ul.toc li { list-style-type:none;}
|
711
|
+
div.wiki ul.toc li.heading2 { margin-left: 6px; }
|
712
|
+
div.wiki ul.toc li.heading3 { margin-left: 12px; font-size: 0.8em; }
|
713
|
+
|
714
|
+
div.wiki ul.toc a {
|
715
|
+
font-size: 0.9em;
|
716
|
+
font-weight: normal;
|
717
|
+
text-decoration: none;
|
718
|
+
color: #606060;
|
719
|
+
}
|
720
|
+
div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}
|
721
|
+
|
722
|
+
a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
|
723
|
+
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
|
724
|
+
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }
|
725
|
+
|
726
|
+
div.wiki img { vertical-align: middle; }
|
727
|
+
|
728
|
+
/***** My page layout *****/
|
729
|
+
.block-receiver {
|
730
|
+
border:1px dashed #c0c0c0;
|
731
|
+
margin-bottom: 20px;
|
732
|
+
padding: 15px 0 15px 0;
|
733
|
+
}
|
734
|
+
|
735
|
+
.mypage-box {
|
736
|
+
margin:0 0 20px 0;
|
737
|
+
color:#505050;
|
738
|
+
line-height:1.5em;
|
739
|
+
}
|
740
|
+
|
741
|
+
.handle {
|
742
|
+
cursor: move;
|
743
|
+
}
|
744
|
+
|
745
|
+
a.close-icon {
|
746
|
+
display:block;
|
747
|
+
margin-top:3px;
|
748
|
+
overflow:hidden;
|
749
|
+
width:12px;
|
750
|
+
height:12px;
|
751
|
+
background-repeat: no-repeat;
|
752
|
+
cursor:pointer;
|
753
|
+
background-image:url('/images/somatics/close.png');
|
754
|
+
}
|
755
|
+
|
756
|
+
a.close-icon:hover {
|
757
|
+
background-image:url('/images/somatics/close_hl.png');
|
758
|
+
}
|
759
|
+
|
760
|
+
/***** Gantt chart *****/
|
761
|
+
.gantt_hdr {
|
762
|
+
position:absolute;
|
763
|
+
top:0;
|
764
|
+
height:16px;
|
765
|
+
border-top: 1px solid #c0c0c0;
|
766
|
+
border-bottom: 1px solid #c0c0c0;
|
767
|
+
border-right: 1px solid #c0c0c0;
|
768
|
+
text-align: center;
|
769
|
+
overflow: hidden;
|
770
|
+
}
|
771
|
+
|
772
|
+
.task {
|
773
|
+
position: absolute;
|
774
|
+
height:8px;
|
775
|
+
font-size:0.8em;
|
776
|
+
color:#888;
|
777
|
+
padding:0;
|
778
|
+
margin:0;
|
779
|
+
line-height:0.8em;
|
780
|
+
white-space:nowrap;
|
781
|
+
}
|
782
|
+
|
783
|
+
.task_late { background:#f66 url(/images/somatics/task_late.png); border: 1px solid #f66; }
|
784
|
+
.task_done { background:#66f url(/images/somatics/task_done.png); border: 1px solid #66f; }
|
785
|
+
.task_todo { background:#aaa url(/images/somatics/task_todo.png); border: 1px solid #aaa; }
|
786
|
+
|
787
|
+
.task_todo.parent { background: #888; border: 1px solid #888; height: 6px;}
|
788
|
+
.task_late.parent, .task_done.parent { height: 3px;}
|
789
|
+
.task_todo.parent .left { position: absolute; background: url(/images/somatics/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -5px; left: 0px; top: -1px;}
|
790
|
+
.task_todo.parent .right { position: absolute; background: url(/images/somatics/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-right: -5px; right: 0px; top: -1px;}
|
791
|
+
|
792
|
+
.milestone { background-image:url(/images/somatics/milestone.png); background-repeat: no-repeat; border: 0; }
|
793
|
+
|
794
|
+
/***** Icons *****/
|
795
|
+
.icon {
|
796
|
+
background-position: 0% 50%;
|
797
|
+
background-repeat: no-repeat;
|
798
|
+
padding-left: 20px;
|
799
|
+
padding-top: 2px;
|
800
|
+
padding-bottom: 3px;
|
801
|
+
}
|
802
|
+
|
803
|
+
.icon-add { background-image: url(/images/somatics/add.png); }
|
804
|
+
.icon-edit { background-image: url(/images/somatics/edit.png); }
|
805
|
+
.icon-copy { background-image: url(/images/somatics/copy.png); }
|
806
|
+
.icon-duplicate { background-image: url(/images/somatics/duplicate.png); }
|
807
|
+
.icon-del { background-image: url(/images/somatics/delete.png); }
|
808
|
+
.icon-move { background-image: url(/images/somatics/move.png); }
|
809
|
+
.icon-save { background-image: url(/images/somatics/save.png); }
|
810
|
+
.icon-cancel { background-image: url(/images/somatics/cancel.png); }
|
811
|
+
.icon-multiple { background-image: url(/images/somatics/table_multiple.png); }
|
812
|
+
.icon-folder { background-image: url(/images/somatics/folder.png); }
|
813
|
+
.open .icon-folder { background-image: url(/images/somatics/folder_open.png); }
|
814
|
+
.icon-package { background-image: url(/images/somatics/package.png); }
|
815
|
+
.icon-home { background-image: url(/images/somatics/home.png); }
|
816
|
+
.icon-user { background-image: url(/images/somatics/user.png); }
|
817
|
+
.icon-projects { background-image: url(/images/somatics/projects.png); }
|
818
|
+
.icon-help { background-image: url(/images/somatics/help.png); }
|
819
|
+
.icon-attachment { background-image: url(/images/somatics/attachment.png); }
|
820
|
+
.icon-history { background-image: url(/images/somatics/history.png); }
|
821
|
+
.icon-time { background-image: url(/images/somatics/time.png); }
|
822
|
+
.icon-time-add { background-image: url(/images/somatics/time_add.png); }
|
823
|
+
.icon-stats { background-image: url(/images/somatics/stats.png); }
|
824
|
+
.icon-warning { background-image: url(/images/somatics/warning.png); }
|
825
|
+
.icon-fav { background-image: url(/images/somatics/fav.png); }
|
826
|
+
.icon-fav-off { background-image: url(/images/somatics/fav_off.png); }
|
827
|
+
.icon-reload { background-image: url(/images/somatics/reload.png); }
|
828
|
+
.icon-lock { background-image: url(/images/somatics/locked.png); }
|
829
|
+
.icon-unlock { background-image: url(/images/somatics/unlock.png); }
|
830
|
+
.icon-checked { background-image: url(/images/somatics/true.png); }
|
831
|
+
.icon-details { background-image: url(/images/somatics/zoom_in.png); }
|
832
|
+
.icon-report { background-image: url(/images/somatics/report.png); }
|
833
|
+
.icon-comment { background-image: url(/images/somatics/comment.png); }
|
834
|
+
.icon-summary { background-image: url(/images/somatics/lightning.png); }
|
835
|
+
|
836
|
+
.icon-file { background-image: url(/images/somatics/files/default.png); }
|
837
|
+
.icon-file.text-plain { background-image: url(/images/somatics/files/text.png); }
|
838
|
+
.icon-file.text-x-c { background-image: url(/images/somatics/files/c.png); }
|
839
|
+
.icon-file.text-x-csharp { background-image: url(/images/somatics/files/csharp.png); }
|
840
|
+
.icon-file.text-x-php { background-image: url(/images/somatics/files/php.png); }
|
841
|
+
.icon-file.text-x-ruby { background-image: url(/images/somatics/files/ruby.png); }
|
842
|
+
.icon-file.text-xml { background-image: url(/images/somatics/files/xml.png); }
|
843
|
+
.icon-file.image-gif { background-image: url(/images/somatics/files/image.png); }
|
844
|
+
.icon-file.image-jpeg { background-image: url(/images/somatics/files/image.png); }
|
845
|
+
.icon-file.image-png { background-image: url(/images/somatics/files/image.png); }
|
846
|
+
.icon-file.image-tiff { background-image: url(/images/somatics/files/image.png); }
|
847
|
+
.icon-file.application-pdf { background-image: url(/images/somatics/files/pdf.png); }
|
848
|
+
.icon-file.application-zip { background-image: url(/images/somatics/files/zip.png); }
|
849
|
+
.icon-file.application-x-gzip { background-image: url(/images/somatics/files/zip.png); }
|
850
|
+
|
851
|
+
img.gravatar {
|
852
|
+
padding: 2px;
|
853
|
+
border: solid 1px #d5d5d5;
|
854
|
+
background: #fff;
|
855
|
+
}
|
856
|
+
|
857
|
+
div.issue img.gravatar {
|
858
|
+
float: right;
|
859
|
+
margin: 0 0 0 1em;
|
860
|
+
padding: 5px;
|
861
|
+
}
|
862
|
+
|
863
|
+
div.issue table img.gravatar {
|
864
|
+
height: 14px;
|
865
|
+
width: 14px;
|
866
|
+
padding: 2px;
|
867
|
+
float: left;
|
868
|
+
margin: 0 0.5em 0 0;
|
869
|
+
}
|
870
|
+
|
871
|
+
h2 img.gravatar {
|
872
|
+
padding: 3px;
|
873
|
+
margin: -2px 4px -4px 0;
|
874
|
+
vertical-align: top;
|
875
|
+
}
|
876
|
+
|
877
|
+
h4 img.gravatar {
|
878
|
+
padding: 3px;
|
879
|
+
margin: -6px 0 -4px 0;
|
880
|
+
vertical-align: top;
|
881
|
+
}
|
882
|
+
|
883
|
+
td.username img.gravatar {
|
884
|
+
float: left;
|
885
|
+
margin: 0 1em 0 0;
|
886
|
+
}
|
887
|
+
|
888
|
+
#activity dt img.gravatar {
|
889
|
+
float: left;
|
890
|
+
margin: 0 1em 1em 0;
|
891
|
+
}
|
892
|
+
|
893
|
+
#activity dt,
|
894
|
+
.journal {
|
895
|
+
clear: left;
|
896
|
+
}
|
897
|
+
|
898
|
+
h2 img { vertical-align:middle; }
|
899
|
+
|
900
|
+
.hascontextmenu { cursor: context-menu; }
|
901
|
+
|
902
|
+
/***** Media print specific styles *****/
|
903
|
+
@media print {
|
904
|
+
#top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
|
905
|
+
#main { background: #fff; }
|
906
|
+
#content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
|
907
|
+
#wiki_add_attachment { display:none; }
|
908
|
+
}
|
909
|
+
|
910
|
+
|
911
|
+
body{ background: #F1EFE2; font-family: Verdana, sans-serif;}
|
912
|
+
|
913
|
+
#wrapper { background: #fff url(/images/somatics/content-right.png) 100% 0 repeat-y; padding-right:10px; }
|
914
|
+
#wrapper2 { background: #fff url(/images/somatics/content-left.png) repeat-y; padding-left:10px; }
|
915
|
+
|
916
|
+
#top-menu { font-size: 80%; height: 1.8em; }
|
917
|
+
#top-menu a { font-weight: bold; }
|
918
|
+
#header {height:6.2em;margin:0;background-color:#507AAA;color:#f8f8f8; padding: 4px 8px 0px 6px; position:relative;}
|
919
|
+
#header h1 { margin-top: 0.3em; margin-left: 0px; }
|
920
|
+
#quick-search {float:right; margin-top: 0.8em; }
|
921
|
+
|
922
|
+
#main-menu li {
|
923
|
+
float:left;
|
924
|
+
list-style-type:none;
|
925
|
+
margin: 0px 2px 0px 0px;
|
926
|
+
padding: 0px 0px 0px 0px;
|
927
|
+
white-space:nowrap;
|
928
|
+
}
|
929
|
+
#main-menu li a {
|
930
|
+
padding: 4px 10px 4px 10px;
|
931
|
+
background: #507AAA;
|
932
|
+
font-weight: bold;
|
933
|
+
}
|
934
|
+
#main-menu li a:hover {background:#759FCF;}
|
935
|
+
#main-menu li a.selected {background: #fff; color:#555; }
|
936
|
+
|
937
|
+
table.list { font-size:90% }
|
938
|
+
table#browser a { line-height: 16px; }
|
939
|
+
|
940
|
+
#footer { text-align: right; height: 40px; color: #999; background: #F1EFE2 url(/images/somatics/footer-bg.png) 0 0 repeat-x; border: 0; margin-left: -10px; margin-right: -10px; margin-top: -4px; padding: 0;}
|
941
|
+
#footer a { color: #999; font-weight: bold; text-decoration: underline; }
|
942
|
+
|
943
|
+
#footer .bgl { height: 40px; background: transparent url(/images/somatics/footer-left.png) 0 0 no-repeat; }
|
944
|
+
#footer .bgr { height: 40px; background: transparent url(/images/somatics/footer-right.png) 100% 0 no-repeat; padding-top: 22px; padding-right: 30px; }
|
945
|
+
|
946
|
+
#main { font:100% Verdana,sans-serif; background: #fff; }
|
947
|
+
#content { background: #fff; border-right: 2px solid #ddd; }
|
948
|
+
|
949
|
+
h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 { border-bottom: 0px; color:#606060; font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
|
950
|
+
h2, .wiki h1 { letter-spacing:-1px; }
|
951
|
+
h4 { border-bottom: dotted 1px #c0c0c0; }
|