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