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