Commit 35770e59e56e1c8ddc203814cfa99ab922d93391

Authored by AurelioAHeckert
1 parent 705d1057

ActionItem358: ups... i forget the conf on YAML.load_file(conf) :-p

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1759 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/helpers/application_helper.rb
... ... @@ -498,7 +498,7 @@ module ApplicationHelper
498 498 '/public/designs/themes/' +
499 499 current_theme.to_s() +
500 500 '/theme.yml'
501   - js = File.exists?(conf) ? YAML.load_file( )['js'] : []
  501 + js = File.exists?(conf) ? YAML.load_file(conf)['js'] : []
502 502 html = []
503 503 js.each do |file|
504 504 file = '/designs/themes/'+ current_theme.to_s() +
... ...
public/designs/themes/ecosol/stylesheets/common.css
... ... @@ -13,6 +13,19 @@ body.noosfero {
13 13 background-position: 50% 22px;
14 14 background-repeat: repeat-x;
15 15 background-image: url(../images/bg-top-azul.png);
  16 + border: 3px solid #2A5896;
  17 +}
  18 +body.category1 #wrap {
  19 + border-color: #E26B00;
  20 +}
  21 +body.category2 #wrap {
  22 + border-color: #58A80A;
  23 +}
  24 +body.category3 #wrap {
  25 + border-color: #694371;
  26 +}
  27 +body.category4 #wrap {
  28 + border-color: #B80000;
16 29 }
17 30  
18 31 body.category1 #wrap { background-image: url("../images/bg-top-laranja.png"); }
... ...
public/designs/themes/ecosol/stylesheets/menu.css
... ... @@ -13,6 +13,11 @@ body.category2 #menu_link_to_envhome { background-image: url(../images/ico-fbes-
13 13 body.category3 #menu_link_to_envhome { background-image: url(../images/ico-fbes-fundo-lilas.gif) }
14 14 body.category4 #menu_link_to_envhome { background-image: url(../images/ico-fbes-fundo-vermelho.gif) }
15 15  
  16 +#noosfero_bar {
  17 + left: 3px;
  18 + right: 3px;
  19 +}
  20 +
16 21 body.category1 #noosfero_bar { background-color: #E26B00 }
17 22 #category1 .linkSubMenu,
18 23 #category1 ul { background-color: #F57900 }
... ...
public/stylesheets/common.css
... ... @@ -32,22 +32,6 @@ body {
32 32 cursor: pointer;
33 33 }
34 34  
35   -#wrap {
36   - border: 3px solid #2A5896;
37   -}
38   -body.category1 #wrap {
39   - border-color: #E26B00;
40   -}
41   -body.category2 #wrap {
42   - border-color: #58A80A;
43   -}
44   -body.category3 #wrap {
45   - border-color: #694371;
46   -}
47   -body.category4 #wrap {
48   - border-color: #B80000;
49   -}
50   -
51 35 #environment_identification {
52 36 position: absolute !important;
53 37 background: url("../images/bg_blue_logo.png") 5px no-repeat !important;
... ...
public/stylesheets/menu.css
... ... @@ -9,8 +9,8 @@
9 9  
10 10 #noosfero_bar {
11 11 position: absolute;
12   - left: 3px;
13   - right: 3px;
  12 + left: 0px;
  13 + right: 0px;
14 14 height: 22px;
15 15 z-index: 100;
16 16 font-size: 11px;
... ...