From e0ba2f8e3e146bc26539543f6b3dabe67bf46548 Mon Sep 17 00:00:00 2001 From: Valessio Brito Date: Fri, 20 Sep 2013 08:21:30 -0300 Subject: [PATCH] Add style "Portal Modelo" on Menu panel left. --- footer.rhtml | 1 - footer.rhtml | 3 +++ header.rhtml | 1 - header.rhtml | 18 ++++++++++++++++++ site_title.rhtml | 1 - site_title.rhtml | 5 +++++ style.css | 24 +++++++++++++++++++++++- 7 files changed, 49 insertions(+), 4 deletions(-) delete mode 120000 footer.rhtml create mode 100644 footer.rhtml delete mode 120000 header.rhtml create mode 100644 header.rhtml delete mode 120000 site_title.rhtml create mode 100644 site_title.rhtml diff --git a/footer.rhtml b/footer.rhtml deleted file mode 120000 index 18e6abd..0000000 --- a/footer.rhtml +++ /dev/null @@ -1 +0,0 @@ -../profile-base/footer.rhtml \ No newline at end of file diff --git a/footer.rhtml b/footer.rhtml new file mode 100644 index 0000000..9218869 --- /dev/null +++ b/footer.rhtml @@ -0,0 +1,3 @@ + diff --git a/header.rhtml b/header.rhtml deleted file mode 120000 index ab83dcb..0000000 --- a/header.rhtml +++ /dev/null @@ -1 +0,0 @@ -../profile-base/header.rhtml \ No newline at end of file diff --git a/header.rhtml b/header.rhtml new file mode 100644 index 0000000..856bf3e --- /dev/null +++ b/header.rhtml @@ -0,0 +1,18 @@ +
+ +
+ + diff --git a/site_title.rhtml b/site_title.rhtml deleted file mode 120000 index a13a89e..0000000 --- a/site_title.rhtml +++ /dev/null @@ -1 +0,0 @@ -../profile-base/site_title.rhtml \ No newline at end of file diff --git a/site_title.rhtml b/site_title.rhtml new file mode 100644 index 0000000..ead1cf1 --- /dev/null +++ b/site_title.rhtml @@ -0,0 +1,5 @@ +<% if File.exists?(File.join(Rails.root, 'public', "/designs/themes/#{environment.theme}/images/thin-logo.png")) %> + <%= link_to(image_tag("/designs/themes/#{environment.theme}/images/thin-logo.png"), environment.top_url) %> +<% else %> + <%= link_to(image_tag("/designs/themes/noosfero/images/thin-logo.png"), environment.top_url) %> +<% end %> diff --git a/style.css b/style.css index aa7190f..ebc5cfe 100644 --- a/style.css +++ b/style.css @@ -1,4 +1,26 @@ @import url(../profile-base/style.css); -/************************** left panel ***************************/ +/* Painel lateral de menus */ +.box-2 { +width: 160px; +} +.box-2 .link-list-block li a.link-this-page { +width: 160px !important; +} + +.box-2 .link-list-block li a { +font-size: 14px; +line-height: auto; +color: #000; +background-color: none; +border-radius: 0px; +padding: 0.6em 1.5em !important; +} + +.box-2 .link-list-block li { +border-top: 1px solid #ddd; +border-bottom: none; +padding: 0 !important; +margin: 0; +} -- libgit2 0.21.2