Commit 6b3911b2faaac317cebf7316b9f50eb7afbfd43d
Initial commit
Too many changes.
To preserve performance only 100 of 227 files displayed.
1 | +++ a/TODO.md | |
... | ... | @@ -0,0 +1,55 @@ |
1 | +* Make animated inserting to the any position | |
2 | + | |
3 | +* Make drag'n'dropping with saving position | |
4 | + | |
5 | +* Correctly handle changing size of item | |
6 | + | |
7 | +* make rational spans | |
8 | +* make item-specific width | |
9 | + | |
10 | +* utilize modernizr to detect features | |
11 | + | |
12 | +* Insert inside the list - animate displacing | |
13 | + | |
14 | +* Make layouter - generic layout description thing | |
15 | + | |
16 | +* Correct chrome rounding of item offsets | |
17 | + | |
18 | +* Use translate-3d and calc, if possible. If not - use simple absolute positioning. | |
19 | + | |
20 | +* BUG: data-col-width fails to read | |
21 | + | |
22 | +* BUG: fix case where there’s only three items, but pasteable 4 columns (footer in kudago) | |
23 | + * Min-col-num property, max-col-num | |
24 | + | |
25 | +* Restrict max columns number | |
26 | + | |
27 | +* Move out animations to the css | |
28 | + | |
29 | +* Finish up deferreds (fix zepto/jquery bad behaviour, test for nested images) | |
30 | + | |
31 | +* Make full equivalent to css-columns | |
32 | + | |
33 | +* Test on jquery sequential image-loading along with non-image elements (as header inside content) | |
34 | + | |
35 | +* On `add` - animate from bottom of the screen | |
36 | + | |
37 | +* BUG: Fucks up layout if -webkit-animation top | |
38 | + | |
39 | +* Update only visible part on add, do not recalculate | |
40 | + | |
41 | +* Speed up appending of elements. Too slow for now. | |
42 | + | |
43 | +* Deferred image loading of new elements. | |
44 | + | |
45 | +* Scroll only visible part | |
46 | + | |
47 | +* Specified number of columns, e.g. 2,4,6. No 3. | |
48 | + | |
49 | +* Keep viewport scrolling on reflow | |
50 | + | |
51 | +* Fixed-width floating aside column | |
52 | +* Correct reflow when inner element size changed | |
53 | +* Displacement as on gplus when new item added. | |
54 | +* Test float elements with prerender mode | |
55 | +* Keep position(order) tracking, e.g. if I want to fix some element on top of column | |
0 | 56 | \ No newline at end of file | ... | ... |
1 | +++ a/appearance_menu.html.erb | |
... | ... | @@ -0,0 +1,17 @@ |
1 | +<div id="control_panel_bar" class="menu_aparence controller-profile_editor"> | |
2 | + | |
3 | +<ul class="control-panel"> | |
4 | + <li> | |
5 | + <%= link_to(_('Edit sideboxes'), url_for(:controller => 'profile_design', :action => 'index'), :class => 'control-panel-blocks') %> | |
6 | + </li> | |
7 | + | |
8 | + <li> | |
9 | + <%= link_to(_('Edit Appearance'), url_for(:controller => 'profile_themes', :action => 'index'), :class => 'control-panel-design-editor') %> | |
10 | + </li> | |
11 | + | |
12 | + <li> | |
13 | + <%= link_to(_('Edit Header and Footer'), url_for(:controller => 'profile_editor', :action => 'header_footer'), :class => 'control-panel-header-and-footer') unless profile.enterprise? && environment.enabled?('disable_header_and_footer') && !user.is_admin?(environment) %> | |
14 | + </li> | |
15 | +</ul> | |
16 | + | |
17 | +</div> | ... | ... |
1 | +++ a/cabecalho.css | |
... | ... | @@ -0,0 +1,1198 @@ |
1 | +/*(amarelo-claro=#fcdd4e)*/ | |
2 | +/*(amarelo-escuro=#f9c404)*/ | |
3 | +/****************** cabecalho ******************/ | |
4 | +#theme-header{height: auto;} | |
5 | + | |
6 | +#header { | |
7 | + padding: 13px 0 0 0; | |
8 | +background-color: #fcdd4e;/*(amarelo-claro)*/ | |
9 | + /* Old browsers */ | |
10 | + background-color: #f9c404; /*(amarelo-escuro)*/ | |
11 | + background-image: -moz-radial-gradient(center, ellipse cover, #fcdd4e 1%, #f9c404 100%); /*(amarelo-claro)(amarelo-escuro)*/ | |
12 | + /* FF3.6+ */ | |
13 | + background-image: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(1%,#fcdd4e), color-stop(100%,#f9c404)); | |
14 | + /* Chrome,Safari4+ */ | |
15 | + background-image: -webkit-radial-gradient(center, ellipse cover, #fcdd4e 1%,#f9c404 100%); | |
16 | + /* Chrome10+,Safari5.1+ */ | |
17 | + background-image: -o-radial-gradient(center, ellipse cover, #fcdd4e 1%,#f9c404 100%); | |
18 | + /* Opera 12+ */ | |
19 | + background-image: -ms-radial-gradient(center, ellipse cover, #fcdd4e 1%,#f9c404 100%); | |
20 | + /* IE10+ */ | |
21 | + background-image: radial-gradient(ellipse at center, #fcdd4e 1%,#f9c404 100%); | |
22 | + /* W3C */ | |
23 | +/* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcdd4e', endColorstr='#f9c404',GradientType=1 );*/ | |
24 | + /* IE6-9 fallback on horizontal gradient */ | |
25 | + color: #fff; | |
26 | +} | |
27 | + | |
28 | +#header>div { | |
29 | + max-width: 960px; | |
30 | + margin: 0 auto; | |
31 | +} | |
32 | + | |
33 | +.header-content * { | |
34 | + margin: 0; | |
35 | + padding: 0; | |
36 | + list-style: none; | |
37 | + vertical-align: baseline; | |
38 | +} | |
39 | + | |
40 | +.header-content { | |
41 | + height: 5px; | |
42 | + transition-duration: 0.6s; | |
43 | + overflow: hidden; | |
44 | +} | |
45 | + | |
46 | +.header-content:hover, | |
47 | +.header-content *:focus + .header-content, | |
48 | +.header-content *:focus > .header-content { | |
49 | + height: 173px; | |
50 | +} | |
51 | + | |
52 | +.header-content li { display: inline; } | |
53 | + | |
54 | +#brasilgov { | |
55 | + background: #00510f; | |
56 | + border-bottom: 1px solid #ffcc00; | |
57 | + padding: 5px 10px; | |
58 | + color: #03316f; | |
59 | +} | |
60 | + | |
61 | +#accessibility { | |
62 | + display: block !important; | |
63 | + float: left; | |
64 | + font-family: arial; | |
65 | + font-size: 10px; | |
66 | + width: 50%; | |
67 | +} | |
68 | + | |
69 | +#accessibility a { | |
70 | + color: #00500f; | |
71 | + margin-right: 8px; | |
72 | +} | |
73 | + | |
74 | +#accessibility span { | |
75 | + background: none repeat scroll 0 0 #497B16; | |
76 | + color: #FFFFFF; | |
77 | + padding: 0 4px; | |
78 | +} | |
79 | + | |
80 | + | |
81 | + | |
82 | +/* logo */ | |
83 | +#logo { | |
84 | + padding: 0; | |
85 | + float: left; | |
86 | + width: 70%; | |
87 | +} | |
88 | + | |
89 | +#logo span { | |
90 | + display: block; | |
91 | +} | |
92 | + | |
93 | +#logo a { | |
94 | + display: block; | |
95 | + width: 100%; | |
96 | + color: #03316f !important; | |
97 | + margin: 1em 0px; | |
98 | +} | |
99 | + | |
100 | +#logo a, #logo #portal-title { | |
101 | + color: #03316f; | |
102 | +} | |
103 | + | |
104 | +#logo #portal-title { | |
105 | + margin: 30px 0px 46px 0px; | |
106 | + color: #03316f; | |
107 | + font-size: 40px; | |
108 | + font-family: 'Open Sans Extrabold', Arial, Helvetica, sans-serif; | |
109 | + font-weight: normal; | |
110 | + line-height: 1em; | |
111 | + letter-spacing: -0.05em; | |
112 | +} | |
113 | + | |
114 | +#logo .luongo { | |
115 | + font-size: 3em !important; | |
116 | + line-height: 1.1em; | |
117 | + margin-bottom: 0.2em; | |
118 | +} | |
119 | + | |
120 | +#logo #portal-description { | |
121 | + font-size: 1.2em; | |
122 | + text-transform: uppercase; | |
123 | +} | |
124 | + | |
125 | +/* Site Actions */ | |
126 | +#portal-siteactions { | |
127 | + display: block; | |
128 | + float: right; | |
129 | + clear: left; | |
130 | + border-bottom: 1px dotted #00500f; | |
131 | + padding-bottom: 2px; | |
132 | + margin-top: -15px; | |
133 | + font-size: 10px; | |
134 | + text-align: center; | |
135 | +} | |
136 | + | |
137 | +#portal-siteactions a { | |
138 | + color: #00500f; | |
139 | + text-decoration: none; | |
140 | + padding: 4px 0 4px 10px; | |
141 | + text-transform: uppercase; | |
142 | + font-family: 'Open Sans', Arial, Helvetica, sans-serif; | |
143 | +} | |
144 | + | |
145 | +#portal-siteactions a:hover { | |
146 | + color: #03316f; | |
147 | +} | |
148 | + | |
149 | +#portal-siteactions li { | |
150 | + display: inline; | |
151 | +} | |
152 | + | |
153 | +#portal-siteactions li a:hover { | |
154 | +color: #75ad0a | |
155 | +} | |
156 | +#portal-siteactions li a { | |
157 | + padding: 4px 0px; | |
158 | +} | |
159 | + | |
160 | +#social-icons { | |
161 | + float: right; | |
162 | + clear: right; | |
163 | + margin: 0px; | |
164 | +} | |
165 | + | |
166 | +#social-icons ul { | |
167 | + display: table-row; | |
168 | +} | |
169 | + | |
170 | +#social-icons li { | |
171 | + display: table-cell; | |
172 | +} | |
173 | + | |
174 | +#social-icons li a { | |
175 | + border: none; | |
176 | + padding: 0 5px; | |
177 | +} | |
178 | + | |
179 | +#siteaction-accessibility, | |
180 | +#siteaction-contraste { | |
181 | + margin: 0px 15px 0px 0px; | |
182 | +} | |
183 | +/* */ | |
184 | + | |
185 | +/* Top links */ | |
186 | +#theme-header .header-content #link-faq a { | |
187 | + border-right: 1px solid #00500f; | |
188 | + padding: 0 10px; | |
189 | +} | |
190 | +#theme-header .header-content #link-contact a { | |
191 | + padding-left: 10px; | |
192 | +} | |
193 | + | |
194 | +#theme-header #sobre { | |
195 | + line-height: 20px; | |
196 | + font-size: 12px; | |
197 | +} | |
198 | +/* */ | |
199 | + | |
200 | +/* Sobre o brasil */ | |
201 | +#sobre { | |
202 | + clear: both; | |
203 | + max-width: 100% !important; | |
204 | + margin: 0; | |
205 | + background: #f8c300;/*amarelo-mais-escuro*/ | |
206 | + padding: 5px 0; | |
207 | +} | |
208 | + | |
209 | +#sobre ul { | |
210 | + max-width: 960px; | |
211 | + margin: 0 auto; | |
212 | + text-align: right; | |
213 | +} | |
214 | + | |
215 | +#sobre a { | |
216 | + color: #00500f; | |
217 | + font-family: 'Open Sans', Arial, Helvetica, sans-serif; | |
218 | +} | |
219 | + | |
220 | +#sobre .portalservicos-item a { | |
221 | + padding: 0 10px; | |
222 | + border-right: 1px solid #03316f; | |
223 | +} | |
224 | + | |
225 | +#sobre .last-item a { | |
226 | + padding: 0 0 0 10px; | |
227 | + border-right: none; | |
228 | +} | |
229 | + | |
230 | +/* Searchbox */ | |
231 | +.LSBox { | |
232 | + margin: 0; | |
233 | + padding: 0; | |
234 | + border: none; | |
235 | +} | |
236 | + | |
237 | +input.searchField { | |
238 | + -moz-appearance: none; | |
239 | +} | |
240 | + | |
241 | +#portal-searchbox { | |
242 | + clear: right; | |
243 | + float: right; | |
244 | + font-size: 80%; | |
245 | + margin: 30px 0 14px; | |
246 | + /*margin: 3.12em 0px 3px 0px;*/ | |
247 | + text-align: right; | |
248 | + border-radius: 5px; | |
249 | + -moz-border-radius: 5px; | |
250 | + -webkit-border-radius: 5px; | |
251 | + border: 1px solid #CCCCCC; | |
252 | + background: #fff; | |
253 | + padding: 2px; | |
254 | +} | |
255 | + | |
256 | +#portal-searchbox .searchField { | |
257 | + padding: 0.45em; | |
258 | + border-right: none; | |
259 | + border: none; | |
260 | + width: 170px; | |
261 | +} | |
262 | + | |
263 | +#portal-searchbox form { | |
264 | +white-space: nowrap; | |
265 | +} | |
266 | + | |
267 | +#portal-searchbox label { | |
268 | +font-weight: normal; | |
269 | +} | |
270 | + | |
271 | +#searchGadget { | |
272 | +width: 13em; | |
273 | +} | |
274 | + | |
275 | +#header input.searchButton { | |
276 | + padding: 0.3em; | |
277 | + background: transparent; | |
278 | + text-indent: -2000px; | |
279 | + padding: 4px 15px; | |
280 | + border: none; | |
281 | +} | |
282 | + | |
283 | +#content input.searchField { | |
284 | +margin-bottom: 1em; | |
285 | +} | |
286 | +input.searchField { | |
287 | +-moz-appearance: searchfield; | |
288 | +} | |
289 | + | |
290 | +#header input.searchButton { | |
291 | + background-image: url("images/search-button.gif"); | |
292 | + background-position: 8px 2px; | |
293 | + background-repeat: no-repeat; | |
294 | + background-color: #ffffff; | |
295 | +} | |
296 | + | |
297 | +#LSResult { | |
298 | + z-index: 1; | |
299 | + margin-top: 0.5%; | |
300 | +} | |
301 | + | |
302 | + | |
303 | +/* Search Button */ | |
304 | +#search-button a { | |
305 | + display: inline-block; | |
306 | + width: 29px; | |
307 | + height: 25px; | |
308 | + margin-right: 3px; | |
309 | + margin-top: 10px; | |
310 | +} | |
311 | + | |
312 | +#search-button a:hover { | |
313 | + opacity: 0.6; | |
314 | +} | |
315 | + | |
316 | +#search-button #sb_search { | |
317 | +background-image: url(images/search.png); | |
318 | +background-size: 100% 100%; | |
319 | +} | |
320 | + | |
321 | +#search-button span { display: none; } | |
322 | + | |
323 | + | |
324 | +/* */ | |
325 | + | |
326 | +/* Social Buttons */ | |
327 | +#social-buttons a { | |
328 | + width: 18px; | |
329 | + height: 20px; | |
330 | + margin-right: 3px; | |
331 | + margin-top: 10px; | |
332 | +} | |
333 | + | |
334 | +#social-icons li a { | |
335 | + width: 20px; | |
336 | + height: 20px; | |
337 | + padding: 0px; | |
338 | + display: inline-block; | |
339 | + background-repeat: no-repeat; | |
340 | +} | |
341 | + | |
342 | +#social-icons li { | |
343 | + float: right; | |
344 | + width: 20px; | |
345 | + margin-left: 4px; | |
346 | +} | |
347 | + | |
348 | +#social-icons #sb_face { | |
349 | +background-image: url(images/icone-verde-facebook.png); | |
350 | +} | |
351 | +#social-icons #sb_face:hover { | |
352 | +background: url(images/icone-verde-facebook.png) 0 20px; | |
353 | +} | |
354 | + | |
355 | +#social-icons #sb_tweet { | |
356 | +background-image: url(images/icone-verde-twitter.png); | |
357 | +} | |
358 | +#social-icons #sb_tweet:hover { | |
359 | +background: url(images/icone-verde-twitter.png) 0 20px; | |
360 | +} | |
361 | + | |
362 | +#social-icons #sb_youtb { | |
363 | +background-image: url(images/icone-verde-youtube.png); | |
364 | +} | |
365 | +#social-icons #sb_youtb:hover { | |
366 | +background: url(images/icone-verde-youtube.png) 0 20px; | |
367 | +} | |
368 | + | |
369 | +#social-icons #sb_flickr { | |
370 | +background-image: url(images/icone-verde-flickr.png); | |
371 | +} | |
372 | +#social-icons #sb_flickr:hover { | |
373 | +background: url(images/icone-verde-flickr.png) 0 20px; | |
374 | +} | |
375 | + | |
376 | +#social-icons span { display: none; } | |
377 | + | |
378 | +/* FIM social Buttons */ | |
379 | + | |
380 | +/****************** FIM cabecalho ******************/ | |
381 | + | |
382 | + | |
383 | + | |
384 | +/****************** Barra do usuário e Espaço do usuário ******************/ | |
385 | + | |
386 | +/********ABA Lateral - Espaço do Usuário**********/ | |
387 | +/*escondendo e revelando a aba lateral*/ | |
388 | +.notransition { | |
389 | + -webkit-transition: none !important; | |
390 | + -moz-transition: none !important; | |
391 | + -o-transition: none !important; | |
392 | + -ms-transition: none !important; | |
393 | + transition: none !important; | |
394 | +} | |
395 | +div#wrap-1,div#wrap-0,div#theme-footer { | |
396 | + transition-duration: 0.6s; | |
397 | + -webkit-transition-duration:0.6s; | |
398 | +} | |
399 | +div#wrap-1,div#theme-footer {float: right;width:100%;} | |
400 | +div#wrap-1.menu,div#theme-footer.menu {width: 80%;} | |
401 | +div#wrap-0.menu{/*width: 20%*/; /*float: left;height: 1px;*/} | |
402 | + | |
403 | +/*Propriedades da aba lateral e elementos internos*/ | |
404 | +#navigation-control { | |
405 | + width: 0%; | |
406 | + transition: 0.6s; | |
407 | + /*position: absolute;*/ | |
408 | + position: fixed; | |
409 | + left: 0px; | |
410 | + display: inline-block; | |
411 | + background-color: transparent; | |
412 | + color: black; | |
413 | + z-index: -1; | |
414 | + font-size:80%; | |
415 | +} | |
416 | + | |
417 | +.menu #navigation-control {width: 20%;} | |
418 | + | |
419 | +#navigation-control a{} | |
420 | + | |
421 | +#navigation-control ul li { | |
422 | + margin: 10px 0; | |
423 | + text-align: left; | |
424 | + list-style: none; | |
425 | +} | |
426 | + | |
427 | +#navigation-control ul li a.button.with-text, | |
428 | +#navigation-control ul li a.button.with-text:visited { | |
429 | + border: 0px solid #AAA; | |
430 | +} | |
431 | + | |
432 | +#navigation-control ul li a span { | |
433 | + background-repeat: no-repeat; | |
434 | + /*padding-left: 25px;*/ | |
435 | +} | |
436 | + | |
437 | +/**/ | |
438 | +#navigation-control .perfil{ | |
439 | + display: inline-block; | |
440 | + background-color: gray; | |
441 | + width: 100%; | |
442 | +} | |
443 | + | |
444 | +#navigation-control .perfil ul{padding-left: 0;} | |
445 | + | |
446 | +#navigation-control .perfil ul li{} | |
447 | + | |
448 | +#navigation-control .perfil .name{text-align: center;} | |
449 | + | |
450 | +#navigation-control .perfil .name h1{color: #fff;} | |
451 | + | |
452 | +#navigation-control .perfil .picture{display: inline-block;width: 100%;text-align: center;} | |
453 | + | |
454 | +#navigation-control .perfil .picture img{max-width: 140px; max-height: 140px;overflow: hidden;/*border-radius: 50%;border: 1px solid red;*/} | |
455 | + | |
456 | +#navigation-control .perfil .tasks_inner{cursor:pointer; color: #fff;display: inline-block;width: 49%;text-align: center;background: url(images/barra-menu-task.png) no-repeat 10px center gray;} | |
457 | + | |
458 | +#navigation-control .perfil .user_status{cursor:pointer; display:inline-block; width:49% ; text-align: center;} | |
459 | + | |
460 | +#navigation-control .perfil .online{color: greenyellow;} | |
461 | +#navigation-control .perfil .busy{color: red;} | |
462 | +#navigation-control .perfil .away{color: yellow;} | |
463 | +#navigation-control .perfil .offline{color: #ccc;} | |
464 | + | |
465 | +#navigation-control .perfil .online span{font-size: large;vertical-align: -1px;} | |
466 | + | |
467 | + | |
468 | +#navigation-control .menu_user{margin-top: 0;} | |
469 | + | |
470 | +#navigation-control .menu_user .activity_menu {margin-top: 0;padding: 0;border-top: 1px solid #ddd;} | |
471 | + | |
472 | +#navigation-control .menu_user .activity_menu .activity_menu_item{ | |
473 | + color: #ddd; | |
474 | + background-color: gray; | |
475 | + padding: 0 28px; | |
476 | + margin: 0; | |
477 | + border-bottom: 1px solid #ddd; | |
478 | + height: 40px; | |
479 | +} | |
480 | + | |
481 | +#navigation-control .menu_user .activity_menu .activity_menu_item * { | |
482 | + line-height: 40px; | |
483 | +} | |
484 | +#navigation-control .menu_user .activity_menu .activity_menu_item a { | |
485 | + display: inline-block; | |
486 | + width: 100%; | |
487 | +} | |
488 | + | |
489 | +#navigation-control .menu_user .activity_menu .activity_menu_item:hover {background-color: #ddd; color: #333;} | |
490 | + | |
491 | +#navigation-control .menu_user .activity_menu .activity_menu_item .arrow{float: right;} | |
492 | + | |
493 | +#navigation-control .menu_user .activity_menu .activity_menu_item .quick_post{padding: 14px;background-color: #fff;margin-top: 10px;display: none;} | |
494 | + | |
495 | +/********FIM ABA Lateral - Espaço do Usuário**********/ | |
496 | + | |
497 | + | |
498 | +/****************** Barra do usuário ******************/ | |
499 | +#top-bar { | |
500 | + position: relative; | |
501 | + height: 40px; | |
502 | + margin: auto; | |
503 | + background: url(images/top-bar-bg.png) repeat-x; | |
504 | +} | |
505 | + | |
506 | +#top-bar.top { | |
507 | + background-color: #fff; | |
508 | + height: 40px; | |
509 | +} | |
510 | + | |
511 | +#top-bar li { | |
512 | + float: left; | |
513 | +} | |
514 | + | |
515 | + | |
516 | +/*****Botões da barra do usuário - Menu - Pendẽncias - Mensagens *****/ | |
517 | +.btn_control_panel { | |
518 | + min-width: 40px; | |
519 | + height: 40px; | |
520 | + color: #999; | |
521 | + margin-top: 0; | |
522 | + margin-right: -3px; | |
523 | + display: inline-block; | |
524 | + /*float: left;*/ | |
525 | + vertical-align:top; | |
526 | + cursor: pointer; | |
527 | + border-right: 1px solid #999; | |
528 | + opacity:0.4; | |
529 | + filter:alpha(opacity=40); | |
530 | + padding: 0px 0px 0 35px; | |
531 | + position:relative; | |
532 | + /*z-index: 99;*/ | |
533 | +} | |
534 | + | |
535 | +#user .logged-in #pending-tasks-count { | |
536 | + background-color: #eee; | |
537 | + padding-left: 15px; | |
538 | + border-left: 1px solid #999; | |
539 | + border-right: 1px solid #999; | |
540 | + margin-left: 15px; | |
541 | + height: 40px; | |
542 | + display: inline-block; | |
543 | +} | |
544 | +#user .logged-in #pending-tasks-count i { | |
545 | + left: 0; | |
546 | +} | |
547 | + | |
548 | +#theme-header .btn_control_panel #user a:hover { | |
549 | + background-color: #eee; | |
550 | + opacity:0.8; | |
551 | + filter:alpha(opacity=80); | |
552 | +} | |
553 | +#theme-header .btn_control_panel #user a { | |
554 | + display: inline-block; | |
555 | + margin: 0; | |
556 | +} | |
557 | +#theme-header .btn_control_panel #user a strong { | |
558 | + line-height: 40px; | |
559 | + padding: 10px 5px 10px 33px; | |
560 | +} | |
561 | +#theme-header .btn_control_panel #user a span { | |
562 | + line-height: 40px; | |
563 | +} | |
564 | +#theme-header .btn_control_panel #user a i { | |
565 | + left: 10px; | |
566 | + top: 12px; | |
567 | +} | |
568 | +#theme-header .btn_control_panel #user a .task-count { | |
569 | + padding: 5px; | |
570 | + margin-left: 16px; | |
571 | +} | |
572 | +#theme-header .btn_control_panel #user .ctrl-panel { | |
573 | + display: none; | |
574 | +} | |
575 | + | |
576 | +/* | |
577 | +#theme-header .btn_control_panel #user a strong:hover { | |
578 | + line-height: 40px; | |
579 | +}*/ | |
580 | + | |
581 | +.btn_control_panel span{ | |
582 | + border: 1px solid gray; | |
583 | + border-radius: 5px; | |
584 | + background-color: white; | |
585 | + padding: 3px; | |
586 | + color: #333; | |
587 | + display: inline; | |
588 | +} | |
589 | + | |
590 | +a.btn_control_panel span{margin:0px; border: 0px solid gray;border-radius: 0px; background-color: transparent; padding: 0px;color: #333;display: inline-block;height: 35px;} | |
591 | + | |
592 | +.btn_control_panel ul {padding-left: 0;text-align: left;margin: 0;padding: 1em} | |
593 | + | |
594 | +.btn_control_panel ul li {display: none;padding-left: 0;text-align: left;margin: 0;padding: 1em} | |
595 | + | |
596 | +a.btn_control_panel:hover ul li{display: block;} | |
597 | + | |
598 | +.btn_control_panel ul li ul {display: none;} | |
599 | + | |
600 | +.btn_control_panel ul.menu_conteudo li:hover ul {display: inline-block} | |
601 | + | |
602 | +.btn_control_panel.btn_control {padding: 0;} | |
603 | + | |
604 | +/*****FIM Botões da barra do usuário - Menu - Pendẽncias - Mensagens *****/ | |
605 | + | |
606 | +/*.btn_control,*/ | |
607 | +.btn_menu { | |
608 | + background: url(images/barra-menu-control.png) no-repeat 14px center #eee; | |
609 | + padding-left: 10px; | |
610 | +} | |
611 | + | |
612 | +#navigation ul li#btn_profile { | |
613 | + border-left: 0; | |
614 | + padding: 0; | |
615 | + margin: 5px 10px; | |
616 | +} | |
617 | +#navigation ul li#btn_profile a { | |
618 | + border-left: 0; | |
619 | + padding: 0 10px; | |
620 | +} | |
621 | +#navigation ul li#btn_profile a img { | |
622 | + vertical-align: middle; | |
623 | +} | |
624 | +#navigation ul li#btn_profile span { | |
625 | + background: none; | |
626 | + padding: 0 0 0 5px; | |
627 | + color: rgb(170, 170, 170); | |
628 | + font-weight: bold; | |
629 | +} | |
630 | + | |
631 | +.icon-menu-tasks { | |
632 | + background-image: url(images/barra-menu-task.png); | |
633 | +} | |
634 | + | |
635 | +.btn_msg { | |
636 | + background: url(images/barra-menu-mail.png) no-repeat 10px center #eee; | |
637 | +} | |
638 | + | |
639 | + | |
640 | +/*tarefas da barra do usuário*/ | |
641 | +.task_list { | |
642 | + position: absolute; | |
643 | + background: #eee; | |
644 | + z-index: 9999; | |
645 | + margin-left: 50px; | |
646 | + visibility: visible; | |
647 | + display: block; | |
648 | +} | |
649 | + | |
650 | +#msg_list.task_list {margin-left: 122px;} | |
651 | + | |
652 | +.task_list ul {display: inline-block;padding-left: 0;} | |
653 | + | |
654 | +.task_list ul li { | |
655 | + float: none; | |
656 | + display: block; | |
657 | + padding: 10px; | |
658 | +} | |
659 | +.task_list ul .task_box { | |
660 | + border-bottom: 1px solid #ccc; | |
661 | + padding:16px; | |
662 | +} | |
663 | + | |
664 | +.task_icon { | |
665 | + float: left; | |
666 | + margin-right: 14px; | |
667 | +} | |
668 | + | |
669 | +.task_list ul .task_decisions { | |
670 | + clear: right; | |
671 | +} | |
672 | + | |
673 | +.task_information { | |
674 | + display: inline-block; | |
675 | + width: 300px; | |
676 | +} | |
677 | + | |
678 | +.task_list ul .task_title {margin-right: 0px !important} | |
679 | + | |
680 | +.task_list .button-bar{float: right;margin-right: 10px;} | |
681 | + | |
682 | +.task_list .button-bar a.button.with-text { | |
683 | + padding: 5px 10px; | |
684 | + padding-left: 20px; | |
685 | + padding-right: 5px; | |
686 | +} | |
687 | +.task_list .button-bar input.button.with-text { | |
688 | + max-height: 32px; | |
689 | + height: 32px; | |
690 | + padding: 0 25px; | |
691 | + padding-right: 10px; | |
692 | +} | |
693 | + | |
694 | +.task_list.hide {display: none; visibility: hidden;} | |
695 | + | |
696 | +/*FIM tarefas da barra do usuário*/ | |
697 | + | |
698 | + | |
699 | +/**/ | |
700 | + | |
701 | +/************* Bar Psocial Style - Menu Horizontal**************/ | |
702 | + | |
703 | +#user{ | |
704 | + font-size: 12px; | |
705 | + position: static; | |
706 | + z-index: 9; | |
707 | +} | |
708 | + | |
709 | +#user form { | |
710 | + top: -32px; | |
711 | + right: -200px; | |
712 | +} | |
713 | + | |
714 | +#user form input { | |
715 | + width: 180px; | |
716 | + height: 20px; | |
717 | +} | |
718 | + | |
719 | +#user .logged-in { | |
720 | + visibility: hidden; | |
721 | + display: block; | |
722 | + background:url("images/barra-menu-user-bg.png") repeat-x bottom center #FEFEFE; | |
723 | + display: block; | |
724 | + padding: 0; | |
725 | + text-align: left; | |
726 | + width: 130px; | |
727 | + border-radius: 10px | |
728 | +} | |
729 | + | |
730 | +#user .logged-in:hover { | |
731 | + visibility: visible; | |
732 | +} | |
733 | +#user .logged-in a#homepage-link { | |
734 | + visibility: visible; | |
735 | +} | |
736 | + | |
737 | + | |
738 | +#user .logged-in span.welcome { | |
739 | + display: none; | |
740 | +} | |
741 | + | |
742 | +#user .logged-in a { | |
743 | + width: auto; | |
744 | +} | |
745 | + | |
746 | +/*info do usuário na barra do usuário*/ | |
747 | +#top-bar .layout_user #user .logged-in a{text-decoration: none;} | |
748 | + | |
749 | +#top-bar .layout_user #user .logged-in { | |
750 | + visibility: visible; | |
751 | + display: block; | |
752 | + background: none; | |
753 | + display: block; | |
754 | + text-align: left; | |
755 | + width: auto; | |
756 | + border-radius: 0; | |
757 | + border: 0px; | |
758 | +} | |
759 | + | |
760 | +.btn_control_panel #user span.not-logged-in, | |
761 | +.btn_control_panel #user span.not-logged-in span { | |
762 | +margin: 5px 5px 5px 5px; | |
763 | +border: 0; | |
764 | +background-color: transparent; | |
765 | +padding: 3px; | |
766 | +color: #333; | |
767 | +} | |
768 | + | |
769 | +#top-bar .layout_user #user .not-logged-in a{text-decoration: none;} | |
770 | + | |
771 | +/*info do usuário no espaço do usuário*/ | |
772 | +#navigation-control{ | |
773 | + height: 100%; | |
774 | + overflow-y: scroll; | |
775 | + overflow-x: hidden; | |
776 | + background-color:gray; | |
777 | +} | |
778 | + | |
779 | +#navigation-control #user{margin-top: 0;width: 300px;} | |
780 | + | |
781 | + | |
782 | +#navigation-control #user .logged-in { | |
783 | + visibility: visible; | |
784 | + display: block; | |
785 | + background: none; | |
786 | + display: block; | |
787 | + padding: 5px; | |
788 | + text-align: left; | |
789 | + width: auto; | |
790 | + border-radius: 0; | |
791 | + border: 0px; | |
792 | + margin-top: 0; | |
793 | + padding: 0; | |
794 | + border-top: 0px solid #DDD; | |
795 | +} | |
796 | + | |
797 | +#navigation-control #user .logged-in a { | |
798 | + text-decoration: none; | |
799 | + color: #DDD; | |
800 | + background-color: #808080; | |
801 | + padding: 14px 28px; | |
802 | + margin: 0; | |
803 | + border-bottom: 1px solid #DDD; | |
804 | +} | |
805 | + | |
806 | +#navigation-control #user .logged-in a strong { | |
807 | +font-weight: normal; | |
808 | +color: #DDD; | |
809 | +background-color: #808080; | |
810 | +padding: 14px; | |
811 | +margin: 0; | |
812 | +border-bottom: 0px solid #DDD; | |
813 | +font-size: 16px; | |
814 | +font-family: Arial, sans-serif; | |
815 | +text-decoration: none; | |
816 | +} | |
817 | + | |
818 | +#navigation-control .menu_user .activity_menu{border-top: 0px solid #DDD;} | |
819 | + | |
820 | + | |
821 | +/*modificação da scroll bar DO ESPAÇO DO USUÁRIO*/ | |
822 | +#navigation-control::-webkit-scrollbar-button { | |
823 | + height: 0; | |
824 | + width: 0; | |
825 | +} | |
826 | + | |
827 | +#navigation-control::-webkit-scrollbar-thumb { | |
828 | + background-clip: padding-box; | |
829 | + background-color: gray;/*rgba(0,0,0,.3);*/ | |
830 | + border: 5px solid transparent; | |
831 | + border-radius: 10px; | |
832 | + min-height: 20px; | |
833 | + min-width: 20px; | |
834 | + height: 5px; | |
835 | + width: 5px; | |
836 | +} | |
837 | + | |
838 | +#navigation-control::-webkit-scrollbar-thumb:hover { | |
839 | + background-clip: padding-box; | |
840 | + background-color: #eee;/*rgba(0,0,0,.3);*/ | |
841 | + border: 5px solid transparent; | |
842 | + border-radius: 10px; | |
843 | + min-height: 20px; | |
844 | + min-width: 20px; | |
845 | + height: 5px; | |
846 | + width: 5px; | |
847 | +} | |
848 | + | |
849 | + | |
850 | +#navigation-control::-webkit-scrollbar { | |
851 | + height: 15px; | |
852 | + width: 15px; | |
853 | +} | |
854 | + | |
855 | +/*fim de modificação da scroll bar DO ESPAÇO DO USUÁRIO */ | |
856 | + | |
857 | +/****************** FIM Barra do usuário ******************/ | |
858 | + | |
859 | +/****************** FIM Barra do usuário e Menu do usuário ******************/ | |
860 | + | |
861 | + | |
862 | +/****************** Painel de Controle ******************/ | |
863 | + | |
864 | +.btn_home { | |
865 | + margin-right: 14px; | |
866 | + float: right; | |
867 | + line-height: 40px; | |
868 | +} | |
869 | + | |
870 | +.btn_home a{ | |
871 | + display: inline-block; | |
872 | + text-decoration: none; | |
873 | + margin-left: 5px; | |
874 | + width: 35px; | |
875 | + background: url("images/logo.png") no-repeat left center transparent; | |
876 | +} | |
877 | + | |
878 | +/*Botão Painel de controle*/ | |
879 | + | |
880 | +#btn_open_control_panel { | |
881 | +/* float: right;*/ | |
882 | +/* width: 100%;*/ | |
883 | + background-color: #eee; | |
884 | + position: relative; | |
885 | + padding: 0 14px; | |
886 | + text-decoration: none; | |
887 | + font-size: small; | |
888 | + color: #666; | |
889 | +} | |
890 | + | |
891 | +#navigation li span { | |
892 | + position: relative; | |
893 | + background: url("images/20-gear2.png") no-repeat left center transparent; | |
894 | + padding-left: 30px; | |
895 | + display: inline-block; | |
896 | + height: 30px; | |
897 | + line-height: 30px; | |
898 | + text-decoration: none; | |
899 | +} | |
900 | + | |
901 | +#btn_open_control_panel.show span {} | |
902 | + | |
903 | +/*****FIM Botão Painel de controle*****/ | |
904 | + | |
905 | +/*barra (menu) painel de controle*/ | |
906 | + | |
907 | +#control_panel_bar { | |
908 | + /*width: 100%;*/ | |
909 | + text-align: center; | |
910 | + display: inline-block; | |
911 | + padding-top: 0px; | |
912 | + overflow: hidden; | |
913 | + height: 0px; | |
914 | + transition: 0.6s; | |
915 | + /*margin-bottom: 14px;*/ | |
916 | + width: 100%; | |
917 | +} | |
918 | + | |
919 | +#control_panel_bar.show { | |
920 | + padding-top: 0px; | |
921 | + background-color: rgb(248, 248, 248); | |
922 | + height: 60px; | |
923 | +} | |
924 | + | |
925 | +#navigation { | |
926 | + text-align: right; | |
927 | + position: static; | |
928 | + background: none; | |
929 | + background-color: #eee; | |
930 | + border-bottom: 1px solid #d3d7cf; | |
931 | +} | |
932 | + | |
933 | +#navigation ul { | |
934 | + text-align: center; | |
935 | + height: auto; | |
936 | + float: none; | |
937 | + font-size: small; | |
938 | + color: #666; | |
939 | + padding: 0; | |
940 | +} | |
941 | +#wrap-1 #wrap-2 { | |
942 | + padding: 0; | |
943 | + border-top: none; | |
944 | +} | |
945 | + | |
946 | +#navigation #navigation-end { | |
947 | + width: 0px; | |
948 | + height: 0px; | |
949 | + background: none; | |
950 | + clear: both; | |
951 | +} | |
952 | + | |
953 | +#navigation ul li{ | |
954 | +border-left: 1px solid rgb(187, 187, 187); | |
955 | +padding: 0 14px; | |
956 | +width: auto; | |
957 | +margin: 12px 0; | |
958 | +float: right; | |
959 | +} | |
960 | +#navigation ul li:hover { | |
961 | + cursor: pointer; | |
962 | + background-color: rgb(112, 112, 112); | |
963 | + color: #FFF; | |
964 | +} | |
965 | + | |
966 | +#navigation ul li#btn_icon { | |
967 | + border: none; | |
968 | + padding: 4px; | |
969 | + margin: 0; | |
970 | + background: none; | |
971 | + cursor: auto; | |
972 | +} | |
973 | + | |
974 | +#control_panel_bar .btn_control_panel{ | |
975 | + float: none; | |
976 | +} | |
977 | + | |
978 | +#control_panel_bar #new_content{ | |
979 | + background-image: url(images/text-editor.png); | |
980 | + background-repeat: no-repeat; | |
981 | +} | |
982 | + | |
983 | +#control_panel_bar .btn_control { | |
984 | + background-position: center 3px; | |
985 | + height: 35px; | |
986 | + padding: 40px 14px 0px 14px; | |
987 | + display: inline-block; | |
988 | + width: 100px; | |
989 | + vertical-align: top; | |
990 | + background-size: 25%; | |
991 | +} | |
992 | + | |
993 | +#control_panel_bar .btn_menu{ | |
994 | + background-position: center 3px; | |
995 | + height: 0px; | |
996 | + overflow: hidden; | |
997 | + padding: 0px; | |
998 | + display: inline-block; | |
999 | + width: 100px; | |
1000 | + vertical-align: top; | |
1001 | + background-size: 25%; | |
1002 | + transition: 0.6s; | |
1003 | +} | |
1004 | + | |
1005 | +#control_panel_bar.show .btn_menu{ | |
1006 | + background-position: center 3px; | |
1007 | + height: 35px; | |
1008 | + overflow: hidden; | |
1009 | + padding: 40px 14px 0px 14px; | |
1010 | + display: inline-block; | |
1011 | + width: 100px; | |
1012 | + vertical-align: top; | |
1013 | + background-size: 25%; | |
1014 | +} | |
1015 | + | |
1016 | +#control_panel_bar.show .btn_menu:hover{ | |
1017 | + overflow: visible; | |
1018 | +} | |
1019 | + | |
1020 | +/*Menu e SubMenu do Painel de controle*/ | |
1021 | +#control_panel_bar a.btn_control_panel span{margin:0px; border: 0px solid gray;border-radius: 0px; background-color: transparent; padding: 0px;color: #333;display: inline-block;height: 35px;} | |
1022 | + | |
1023 | + | |
1024 | +#control_panel_bar .btn_control_panel ul {display: inline-block;padding-left: 0;padding-top: 0;text-align: left;margin: 0;position: relative;left: -14px;} | |
1025 | + | |
1026 | +#control_panel_bar .btn_control_panel ul:hover {} | |
1027 | + | |
1028 | +#control_panel_bar .btn_control_panel ul li {padding: 0;display: block;display: inline-block;}/*{display: block;padding-left: 0;text-align: left;margin: 0;padding: 0 1em}*/ | |
1029 | + | |
1030 | +#control_panel_bar a.btn_control_panel:hover ul li{display: block;} | |
1031 | + | |
1032 | +#control_panel_bar a.btn_control_panel ul li span{height: auto;width: 140px;background-color: #eee;padding: 7px 14px;} | |
1033 | + | |
1034 | +#control_panel_bar a.btn_control_panel ul li span:hover{background-color: #ccc;} | |
1035 | + | |
1036 | +#control_panel_bar .btn_control_panel ul li ul {display: none;} | |
1037 | + | |
1038 | +#control_panel_bar .btn_control_panel ul.menu_conteudo li:hover ul {display: inline-block} | |
1039 | +/*FIM Menu e SubMenu do Painel de controle*/ | |
1040 | + | |
1041 | +/* FIM barra (menu) painel de controle*/ | |
1042 | + | |
1043 | + | |
1044 | + | |
1045 | +/****************** FIM Painel de Controle ******************/ | |
1046 | + | |
1047 | + | |
1048 | +#assets-menu { | |
1049 | + background: #E8E8E8; | |
1050 | + top: 35px; | |
1051 | + left: 80px; | |
1052 | + min-width: 132px; | |
1053 | +} | |
1054 | + | |
1055 | +#assets-menu a { | |
1056 | + border: 1px solid #E8E8E8; | |
1057 | +} | |
1058 | + | |
1059 | +#categories_menu { | |
1060 | + /*max-width: 960px;*/ | |
1061 | + padding: 0 1em; | |
1062 | + margin: auto; | |
1063 | + float: left; | |
1064 | +} | |
1065 | + | |
1066 | +#cat_menu { | |
1067 | + background: url(images/logo-ps.png) no-repeat center left; | |
1068 | + height: 40px; | |
1069 | + padding-left: 70px; | |
1070 | + | |
1071 | +} | |
1072 | + | |
1073 | +#cat_menu li { | |
1074 | + list-style: none; | |
1075 | + font-size: 12px; | |
1076 | + font-weight: bold; | |
1077 | + padding: 0px 20px; | |
1078 | + height: 100%; | |
1079 | + text-transform: uppercase; | |
1080 | +} | |
1081 | + | |
1082 | +#cat_menu li:hover { | |
1083 | + background-color: #E1E4E4; | |
1084 | +} | |
1085 | + | |
1086 | +#cat_menu li a { | |
1087 | + line-height: 40px; | |
1088 | + width: 100%; | |
1089 | + height: 100%; | |
1090 | + display: block; | |
1091 | +} | |
1092 | +/************* FIM Bar Psocial Style - Menu Horizontal**************/ | |
1093 | + | |
1094 | +/*ajuste no content*/ | |
1095 | +#content{margin-top: 8px;} | |
1096 | + | |
1097 | + | |
1098 | +/******************Footer - Rodapé**********************************/ | |
1099 | + | |
1100 | +#theme-footer { | |
1101 | + background-color: #eee; | |
1102 | + position: relative; | |
1103 | + margin-bottom: 0; | |
1104 | +} | |
1105 | +} | |
1106 | + | |
1107 | +#footer-content { | |
1108 | + background: #fff; | |
1109 | +} | |
1110 | + | |
1111 | +#footer-logos { | |
1112 | + background: #F28F00; | |
1113 | + max-width: 100%; | |
1114 | + padding: 2em 0; | |
1115 | + height: 49px; | |
1116 | +} | |
1117 | + | |
1118 | +#footer-logos div { | |
1119 | + max-width: 960px; | |
1120 | + margin: 0 auto; | |
1121 | +} | |
1122 | + | |
1123 | +#footer-logos a { | |
1124 | + display: block; | |
1125 | + height: 49px; | |
1126 | + float: left; | |
1127 | +} | |
1128 | + | |
1129 | +#footer-logos span { | |
1130 | + display: none; | |
1131 | +} | |
1132 | + | |
1133 | +#footer-logos .logo-acesso { | |
1134 | + background: transparent url(images/acesso-a-informacao.png) center center no-repeat; | |
1135 | + width: 107px; | |
1136 | +} | |
1137 | + | |
1138 | +#footer-logos .logo-brasil { | |
1139 | + background: transparent url(images/brasil.png) center center no-repeat; | |
1140 | + width: 153px; | |
1141 | +} | |
1142 | + | |
1143 | +#footer-logos .logo-sgpr { | |
1144 | + background: transparent url(images/sgpr.png) center center no-repeat; | |
1145 | + width: 187px; | |
1146 | + margin-right: 30px; | |
1147 | +} | |
1148 | + | |
1149 | +#footer-logos .institucionais { | |
1150 | + float: right; | |
1151 | +} | |
1152 | + | |
1153 | +#footer-license { | |
1154 | + max-width: 960px; | |
1155 | + margin: 0 auto; | |
1156 | + text-align: left; | |
1157 | + padding: 19px; | |
1158 | +} | |
1159 | + | |
1160 | +#footer-license p { | |
1161 | + color: #F28F00; | |
1162 | + text-align: left; | |
1163 | +} | |
1164 | + | |
1165 | +#user #homepage-link { | |
1166 | + background: url(images/barra-menu-control.png) no-repeat 10px center; | |
1167 | + margin-left: 0px; | |
1168 | +} | |
1169 | +#user #homepage-link i { | |
1170 | + display: none; | |
1171 | +} | |
1172 | + | |
1173 | +#control_panel_bar .control-panel a { | |
1174 | + margin: 0; | |
1175 | + border: 0; | |
1176 | + line-height: normal; | |
1177 | + background-color: transparent; | |
1178 | + background-size: 32px; | |
1179 | + padding: 0 0 0 36px; | |
1180 | + width: 120px; | |
1181 | + font-size: 13px; | |
1182 | + background-position: 0 0; | |
1183 | + color: rgb(60, 60, 60); | |
1184 | +} | |
1185 | +#control_panel_bar .control-panel span { | |
1186 | + background: none; | |
1187 | + padding-left: 0; | |
1188 | +} | |
1189 | + | |
1190 | +.controller-profile_editor a.icon-new { | |
1191 | + background-image: url(../../../images/control-panel/text-editor.png); | |
1192 | +} | |
1193 | + | |
1194 | +#openchat .unread-messages { | |
1195 | + position: relative; | |
1196 | + left: 27px; | |
1197 | + border: 0; | |
1198 | +} | ... | ... |
1 | +++ a/content_menu.html.erb | |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<div id="control_panel_bar" class="menu_content controller-profile_editor"> | |
2 | + | |
3 | +<ul class="control-panel"> | |
4 | + <li> | |
5 | + <%= link_to(_('Manage Content'), url_for(:controller => 'cms'), :class => 'control-panel-cms') %> | |
6 | + </li> | |
7 | + <li> | |
8 | + <% article = @article || @page %> | |
9 | + <% parent_id = ((article && article.allow_children?) ? article : nil) %> | |
10 | + <%= colorbox_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> | |
11 | + </li> | |
12 | +</ul> | |
13 | + | |
14 | +</div> | ... | ... |
1 | +++ a/footer.html.erb | |
... | ... | @@ -0,0 +1,7 @@ |
1 | +<div id="footer-links"> | |
2 | + <a id="link-to-doc" class='icon-help'><%= link_to _('Manual'), '/doc' %></a> | |
3 | +</div><!-- end id="footer-links" --> | |
4 | +<div id="copyright"> | |
5 | + <p><%= _('This social network uses <a href="http://noosfero.org/">Noosfero</a>, developed by %s and licensed under the <a href="http://www.gnu.org/licenses/agpl.html">GNU Affero General Public License</a> version 3 or any later version.') % link_to('Colivre', 'http://colivre.coop.br/') %></p> | |
6 | +</div><!-- end id="copyright" --> | |
7 | +<%= language_chooser(environment) %> | ... | ... |
1 | +++ a/header.html.erb | |
... | ... | @@ -0,0 +1,21 @@ |
1 | +<% user = (session[:user] && User.find_by_id(session[:user])) || nil %> | |
2 | +<%= theme_include "user_menu", :locals => {:person => user.person} if user %> | |
3 | + | |
4 | +<!-- Nova Barra de usuário --> | |
5 | + | |
6 | +<div id="top-bar" class="top" > | |
7 | + <div class="btn_control_panel btn_control" title="Painel de Controle" alt="menu"> | |
8 | + <div class="layout_user"> | |
9 | + <%= render :partial => 'layouts/user' %> | |
10 | + </div> | |
11 | + </div> | |
12 | + | |
13 | +<!-- | |
14 | + <div id="categories_menu"> | |
15 | + <%= theme_include 'categories' %> | |
16 | + </div> | |
17 | + --> | |
18 | + <span class="btn_home" title="Página Inicial"><a href="<%=environment.top_url%>"> </a></span> | |
19 | +</div> | |
20 | +<!-- FIM Nova Barra de usuário --> | |
21 | + | ... | ... |
3.12 KB
9.42 KB
70.1 KB
174 KB
3.75 KB
3.75 KB
229 KB
567 Bytes
548 Bytes
230 Bytes
2.54 KB
268 Bytes
425 Bytes
300 Bytes
179 Bytes
2.93 KB
3.18 KB
3.12 KB
475 Bytes
533 Bytes
636 Bytes
883 Bytes
239 Bytes
187 Bytes
173 Bytes
14.3 KB
245 KB
695 Bytes
159 Bytes
418 Bytes
1.02 KB
3.01 KB
1.47 KB
3.13 KB
884 Bytes
856 Bytes
95.1 KB
78.5 KB
142 Bytes
216 Bytes
35 Bytes
43 Bytes
305 Bytes
127 Bytes
128 Bytes
1.85 KB
14 KB
969 Bytes
333 Bytes
969 Bytes
1.01 KB
2.85 KB
3.12 KB
445 Bytes
448 Bytes
174 Bytes
648 Bytes
648 Bytes
2.17 KB
52 KB
850 Bytes
771 Bytes
5.21 KB
579 Bytes
877 Bytes
7.01 KB
1.04 KB
3.32 KB
3.74 KB
4.75 KB
2.46 KB
624 Bytes
538 Bytes
2.09 KB
190 Bytes
1.71 KB
642 Bytes
182 KB
2.04 KB
1 | +++ a/images/google_follow.svg | |
... | ... | @@ -0,0 +1,23 @@ |
1 | +<?xml version="1.0" encoding="iso-8859-1"?> | |
2 | +<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> | |
3 | +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> | |
4 | +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
5 | + width="32px" height="32px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"> | |
6 | +<circle id="circle_x5F_bg_17_" style="fill:#CF4832;" cx="16" cy="16" r="16.005"/> | |
7 | +<g> | |
8 | + <polygon style="fill:#FFFFFF;" points="24.376,9.896 22.499,9.896 22.499,13.646 18.747,13.646 18.747,15.523 22.499,15.523 | |
9 | + 22.499,19.273 24.376,19.273 24.376,15.523 28.126,15.523 28.126,13.646 24.376,13.646 "/> | |
10 | +</g> | |
11 | +<g> | |
12 | + <path style="fill:#FFFFFF;" d="M14.933,25.068c-0.74-0.559-2.355-1.699-2.355-2.465c0-0.898,0.256-1.342,1.605-2.396 | |
13 | + c1.387-1.082,2.367-2.51,2.367-4.279c0-1.93-0.789-3.678-2.27-4.527h2.102l1.787-1.879c0,0-5.91,0-8.008,0 | |
14 | + c-4.061,0-7.447,2.996-7.447,6.291c0,3.367,2.225,6.051,6.045,6.051c0.264,0,0.523-0.01,0.775-0.027 | |
15 | + C9.286,22.309,9.11,22.84,9.11,23.395c0,0.938,0.518,1.473,1.148,2.09c-0.48,0-0.941,0.01-1.449,0.01 | |
16 | + c-1.805,0-3.395,0.486-4.67,1.254c0.396,0.436,0.814,0.85,1.254,1.238c1.1-0.949,2.709-1.561,4.471-1.541 | |
17 | + c0.748,0.004,1.449,0.127,2.082,0.332c1.746,1.215,3.156,1.971,3.508,3.357c0.066,0.275,0.102,0.566,0.102,0.861 | |
18 | + c0,0.34-0.033,0.666-0.098,0.982c0.174,0.006,0.342,0.025,0.518,0.025c0.639,0,1.264-0.047,1.883-0.119 | |
19 | + c0.119-0.406,0.186-0.818,0.186-1.232C18.044,28.225,17.521,27.008,14.933,25.068z M10.306,20.645 | |
20 | + c-2.156-0.066-4.209-2.049-4.58-4.881c-0.375-2.834,1.07-5.004,3.23-4.939c2.158,0.064,4.004,2.389,4.377,5.223 | |
21 | + S12.464,20.707,10.306,20.645z"/> | |
22 | +</g> | |
23 | +</svg> | ... | ... |
279 Bytes
349 Bytes
772 Bytes
674 Bytes
772 Bytes
674 Bytes
567 Bytes
424 Bytes
426 Bytes
357 Bytes
438 Bytes