Commit e0ba2f8e3e146bc26539543f6b3dabe67bf46548

Authored by Valessio Brito
1 parent 95851913

Add style "Portal Modelo" on Menu panel left.

footer.rhtml
... ... @@ -1 +0,0 @@
1   -../profile-base/footer.rhtml
2 0 \ No newline at end of file
footer.rhtml 0 → 100644
... ... @@ -0,0 +1,3 @@
  1 +<div id="footer-content">
  2 + <p><%= _('This site 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>
  3 +</div>
... ...
header.rhtml
... ... @@ -1 +0,0 @@
1   -../profile-base/header.rhtml
2 0 \ No newline at end of file
header.rhtml 0 → 100644
... ... @@ -0,0 +1,18 @@
  1 +<div id="assets-menu">
  2 + <ul>
  3 + <%= generate_assets_menu %>
  4 + </ul>
  5 +</div><!-- fim id="assets-menu" -->
  6 +
  7 +<script type="text/javascript">
  8 + jQuery(function($) {
  9 + $("#site-title, #assets-menu").mouseover(function() {
  10 + clearTimeout( window.closeAssetsTimeout );
  11 + $("#assets-menu").slideDown(400);
  12 + });
  13 + $("#site-title, #assets-menu").mouseout(function() {
  14 + window.closeAssetsTimeout =
  15 + setTimeout( function() { $("#assets-menu").slideUp(400); }, 500 );
  16 + });
  17 + });
  18 +</script>
... ...
site_title.rhtml
... ... @@ -1 +0,0 @@
1   -../profile-base/site_title.rhtml
2 0 \ No newline at end of file
site_title.rhtml 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +<% if File.exists?(File.join(Rails.root, 'public', "/designs/themes/#{environment.theme}/images/thin-logo.png")) %>
  2 + <%= link_to(image_tag("/designs/themes/#{environment.theme}/images/thin-logo.png"), environment.top_url) %>
  3 +<% else %>
  4 + <%= link_to(image_tag("/designs/themes/noosfero/images/thin-logo.png"), environment.top_url) %>
  5 +<% end %>
... ...
style.css
1 1 @import url(../profile-base/style.css);
2 2  
3   -/************************** left panel ***************************/
  3 +/* Painel lateral de menus */
  4 +.box-2 {
  5 +width: 160px;
  6 +}
4 7  
  8 +.box-2 .link-list-block li a.link-this-page {
  9 +width: 160px !important;
  10 +}
  11 +
  12 +.box-2 .link-list-block li a {
  13 +font-size: 14px;
  14 +line-height: auto;
  15 +color: #000;
  16 +background-color: none;
  17 +border-radius: 0px;
  18 +padding: 0.6em 1.5em !important;
  19 +}
  20 +
  21 +.box-2 .link-list-block li {
  22 +border-top: 1px solid #ddd;
  23 +border-bottom: none;
  24 +padding: 0 !important;
  25 +margin: 0;
  26 +}
... ...