social_stream-base 0.9.15 → 0.9.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/app/assets/images/frontpage/right_conference.png +0 -0
  2. data/app/assets/images/loader.gif +0 -0
  3. data/app/assets/javascripts/jquery.ad-gallery.js +850 -0
  4. data/app/assets/javascripts/jquery.ad-gallery.pack.js +10 -0
  5. data/app/assets/stylesheets/_colors.scss +6 -3
  6. data/app/assets/stylesheets/ad_next.png +0 -0
  7. data/app/assets/stylesheets/ad_prev.png +0 -0
  8. data/app/assets/stylesheets/ad_scroll_back.png +0 -0
  9. data/app/assets/stylesheets/ad_scroll_forward.png +0 -0
  10. data/app/assets/stylesheets/contacts.css.scss +1 -0
  11. data/app/assets/stylesheets/frontpage.css.scss +10 -3
  12. data/app/assets/stylesheets/header.css.scss +5 -5
  13. data/app/assets/stylesheets/{home.css → home.css.scss} +12 -11
  14. data/app/assets/stylesheets/jquery.ad-gallery.css +171 -0
  15. data/app/assets/stylesheets/loader.gif +0 -0
  16. data/app/assets/stylesheets/{location.css → location.css.scss} +3 -1
  17. data/app/assets/stylesheets/menu.css.scss +19 -0
  18. data/app/assets/stylesheets/{messages.css → messages.css.scss} +17 -15
  19. data/app/assets/stylesheets/opa75.png +0 -0
  20. data/app/assets/stylesheets/{relation_customs.css → relation_customs.css.scss} +9 -27
  21. data/app/assets/stylesheets/{search.css → search.css.scss} +26 -23
  22. data/app/assets/stylesheets/{ties.css → ties.css.scss} +4 -2
  23. data/app/controllers/search_controller.rb +1 -1
  24. data/app/helpers/search_helper.rb +25 -5
  25. data/app/helpers/toolbar_helper.rb +1 -1
  26. data/app/models/post.rb +4 -4
  27. data/app/views/frontpage/_caracteristics.html.erb +7 -7
  28. data/app/views/frontpage/_header.html.erb +2 -4
  29. data/app/views/frontpage/_social_networks.html.erb +5 -0
  30. data/app/views/frontpage/index.html.erb +0 -3
  31. data/app/views/groups/_group_focus_search.html.erb +2 -0
  32. data/app/views/groups/_group_global_search.html.erb +2 -0
  33. data/app/views/groups/_show.html.erb +33 -0
  34. data/app/views/groups/_show_frontpage.html.erb +11 -0
  35. data/app/views/groups/show.html.erb +5 -32
  36. data/app/views/layouts/application.html.erb +2 -2
  37. data/app/views/posts/_post_focus_search.html.erb +3 -0
  38. data/app/views/posts/_post_global_search.html.erb +16 -0
  39. data/app/views/posts/_post_with_details.html.erb +3 -0
  40. data/app/views/search/_extended_search.html.erb +7 -2
  41. data/app/views/search/_header_search.html.erb +1 -1
  42. data/app/views/users/_show.html.erb +33 -0
  43. data/app/views/users/_show_frontpage.html.erb +11 -0
  44. data/app/views/users/_user_focus_search.html.erb +2 -0
  45. data/app/views/users/_user_global_search.html.erb +2 -0
  46. data/app/views/users/show.html.erb +5 -32
  47. data/config/locales/en.yml +5 -3
  48. data/config/locales/es.yml +2 -2
  49. data/lib/social_stream/base/version.rb +1 -1
  50. data/lib/social_stream-base.rb +2 -2
  51. metadata +33 -12
  52. data/app/assets/stylesheets/menu.css +0 -26
  53. data/spec/support/thinking-sphinx.rb +0 -10
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Copyright (c) 2010 Anders Ekdahl (http://coffeescripter.com/)
3
+ * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
4
+ * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
5
+ *
6
+ * Version: 1.2.4
7
+ *
8
+ * Demo and documentation: http://coffeescripter.com/code/ad-gallery/
9
+ */
10
+ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(8($){$.3n.3o=8(b){5 c={2s:\'Z.3p\',1W:0,1X:q,11:0.7,2t:q,1b:3q,v:q,x:q,2u:B,2v:B,1Y:0,t:{1c:B,1Z:q,1d:3r,2w:\'3s\',2x:\'3t\',20:B,2y:\'(\',2z:\')\',2A:q,2B:q},2C:\'21-2D\',2E:B,1z:B,1A:{1e:q,2F:q,2G:q}};5 d=$.2H(q,c,b);4(b&&b.t){d.t=$.2H(q,c.t,b.t)};4(!d.t.1c){d.t.1Z=q};5 e=[];$(3).2I(8(){5 a=1B 22(3,d);e[e.J]=a});w e};8 2J(a,b,c){5 d=12(a.u(\'Q\'),10);4(b==\'C\'){5 e=\'-\'+3.D+\'z\';a.u(\'Q\',3.D+\'z\')}y{5 e=3.D+\'z\';a.u(\'Q\',\'-\'+3.D+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{Q:e},1h:{Q:d}}};8 2K(a,b,c){5 d=12(a.u(\'C\'),10);4(b==\'C\'){5 e=\'-\'+3.K+\'z\';a.u(\'C\',3.K+\'z\')}y{5 e=3.K+\'z\';a.u(\'C\',\'-\'+3.K+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{C:e},1h:{C:d}}};8 2L(a,b,c){5 d=a.v();5 e=a.x();5 f=12(a.u(\'C\'),10);5 g=12(a.u(\'Q\'),10);a.u({v:0,x:0,Q:3.D/2,C:3.K/2});w{1g:{v:0,x:0,Q:3.D/2,C:3.K/2},1h:{v:d,x:e,Q:g,C:f}}};8 2M(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1}}};8 2N(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1},1d:0}};8 22(a,b){3.1e(a,b)};22.2O={17:q,T:q,1D:q,V:q,Z:q,1r:q,N:q,1E:q,1F:q,1i:q,1j:q,t:q,K:0,D:0,O:0,18:q,R:q,1G:0,r:q,G:q,1k:q,1H:q,1e:8(b,c){5 d=3;3.17=$(b);3.r=c;3.2P();3.2Q();4(3.r.v){3.K=3.r.v;3.T.v(3.r.v);3.17.v(3.r.v)}y{3.K=3.T.v()};4(3.r.x){3.D=3.r.x;3.T.x(3.r.x)}y{3.D=3.T.x()};3.1G=3.V.v();3.O=0;3.18=q;3.R=q;3.1k=q;3.2R();4(3.r.2u){3.2S()};5 e=8(a){w d.1I(a)};3.t=1B 23(e,3.r.t);3.L.F(3.t.2T());4(3.r.t.1c){3.t.1c()}y{3.t.24()};4(3.r.2v){3.2U()};4(3.r.2E){3.2V()};5 f=12(3.r.1W,10);4(25.26.27&&25.26.27.3u(\'#s-W\')===0){f=25.26.27.2W(/[^0-9]+/g,\'\');4((f*1)!=f){f=3.r.1W}};3.1J(B);3.1s(f,8(){4(d.r.t.1Z){d.14(f+1);d.t.1t()}});3.P(3.r.1A.1e)},2Q:8(){3.1H={\'21-3v\':2J,\'21-2D\':2K,\'3w\':2L,\'3x\':2M,\'3y\':2N}},2P:8(){3.L=3.17.E(\'.s-L\');3.1D=$(\'<p H="s-3z"></p>\');3.L.F(3.1D);3.T=3.17.E(\'.s-W-17\');3.T.3A();3.V=3.17.E(\'.s-V\');3.N=3.V.E(\'.s-3B\');3.1r=$(\'<A H="s-1r"></A>\');3.Z=$(\'<19 H="s-Z" 1K="\'+3.r.2s+\'">\');3.T.F(3.Z);3.Z.15();$(1L.3C).F(3.1r)},1J:8(a){4(a){3.Z.1l()}y{3.Z.15()}},3D:8(a,b){4($.28(b)){3.1H[a]=b}},2R:8(){5 f=3;3.G=[];5 g=0;5 h=0;5 j=3.N.E(\'a\');5 k=j.J;4(3.r.11<1){j.E(\'19\').u(\'S\',3.r.11)};j.2I(8(i){5 a=$(3);5 b=a.I(\'2X\');5 c=a.E(\'19\');4(!f.29(c[0])){c.2Y(8(){g+=3.1u.1u.2a;h++})}y{g+=c[0].1u.1u.2a;h++};a.1M(\'s-1N\'+i);a.1v(8(){f.1s(i);f.t.M();w q}).2Z(8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,1)};f.14(i)},8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,f.r.11)}});5 a=q;4(c.1n(\'s-1x\')){a=c.1n(\'s-1x\')}y 4(c.I(\'2b\')&&c.I(\'2b\').J){a=c.I(\'2b\')};5 d=q;4(c.1n(\'s-1o\')){d=c.1n(\'s-1o\')}y 4(c.I(\'2c\')&&c.I(\'2c\').J){d=c.I(\'2c\')};5 e=q;4(c.1n(\'s-U\')){e=c.1n(\'s-U\')}y 4(c.I(\'U\')&&c.I(\'U\').J){e=c.I(\'U\')};f.G[i]={1N:c.I(\'1K\'),W:b,2d:q,1p:q,1o:d,U:e,1q:q,1x:a}});5 l=2e(8(){4(k==h){f.V.E(\'.s-1N-3E\').u(\'v\',g+\'z\');1Q(l)}},3F)},2V:8(){5 a=3;$(1L).31(8(e){4(e.2f==39){a.1I();a.t.M()}y 4(e.2f==37){a.2g();a.t.M()}})},2S:8(){3.1i=$(\'<A H="s-2h"><A H="s-2h-W"></A></A>\');3.1j=$(\'<A H="s-32"><A H="s-32-W"></A></A>\');3.T.F(3.1i);3.T.F(3.1j);5 a=3;3.1j.33(3.1i).3G(8(e){$(3).u(\'x\',a.D);$(3).E(\'A\').1l()}).3H(8(e){$(3).E(\'A\').15()}).1v(8(){4($(3).1w(\'.s-2h\')){a.1I();a.t.M()}y{a.2g();a.t.M()}}).E(\'A\').u(\'S\',0.7)},2U:8(){5 c=3;3.1F=$(\'<A H="s-2i"></A>\');3.1E=$(\'<A H="s-3I"></A>\');3.V.F(3.1F);3.V.34(3.1E);5 d=0;5 e=q;$(3.1E).33(3.1F).1v(8(){5 a=c.1G-3J;4(c.r.1Y>0){5 a=c.r.1Y};4($(3).1w(\'.s-2i\')){5 b=c.N.1a()+a}y{5 b=c.N.1a()-a};4(c.r.t.20){c.t.M()};c.N.13({1a:b+\'z\'});w q}).u(\'S\',0.6).2Z(8(){5 b=\'C\';4($(3).1w(\'.s-2i\')){b=\'2j\'};e=2e(8(){d++;4(d>30&&c.r.t.20){c.t.M()};5 a=c.N.1a()+1;4(b==\'C\'){a=c.N.1a()-1};c.N.1a(a)},10);$(3).u(\'S\',1)},8(){d=0;1Q(e);$(3).u(\'S\',0.6)})},2k:8(){3.1D.2l((3.O+1)+\' / \'+3.G.J);4(!3.r.1z){3.1j.1l().u(\'x\',3.D);3.1i.1l().u(\'x\',3.D);4(3.O==(3.G.J-1)){3.1i.15()};4(3.O==0){3.1j.15()}};3.P(3.r.1A.2F)},35:8(a,b){4(b>3.D){5 c=a/b;b=3.D;a=3.D*c};4(a>3.K){5 c=b/a;a=3.K;b=3.K*c};w{v:a,x:b}},36:8(a,b,c){a.u(\'Q\',\'38\');4(c<3.D){5 d=3.D-c;a.u(\'Q\',(d/2)+\'z\')};a.u(\'C\',\'38\');4(b<3.K){5 d=3.K-b;a.u(\'C\',(d/2)+\'z\')}},3a:8(a){5 b=q;4(a.1o.J||a.U.J){5 c=\'\';4(a.U.J){c=\'<3b H="s-3c-U">\'+a.U+\'</3b>\'};5 b=\'\';4(a.1o.J){b=\'<16>\'+a.1o+\'</16>\'};b=$(\'<p H="s-W-3c">\'+c+b+\'</p>\')};w b},1s:8(a,b){4(3.G[a]&&!3.1k){5 c=3;5 d=3.G[a];3.1k=B;4(!d.1p){3.1J(B);3.14(a,8(){c.1J(q);c.2m(a,b)})}y{3.2m(a,b)}}},2m:8(a,b){4(3.G[a]){5 c=3;5 d=3.G[a];5 e=$(1L.3K(\'A\')).1M(\'s-W\');5 f=$(1B 3d()).I(\'1K\',d.W);4(d.1x){5 g=$(\'<a 2X="\'+d.1x+\'" 3L="3M"></a>\');g.F(f);e.F(g)}y{e.F(f)}3.T.34(e);5 h=3.35(d.1q.v,d.1q.x);f.I(\'v\',h.v);f.I(\'x\',h.x);e.u({v:h.v+\'z\',x:h.x+\'z\'});3.36(e,h.v,h.x);5 i=3.3a(d,e);4(i){4(!3.r.1X){e.F(i);5 j=h.v-12(i.u(\'3e-C\'),10)-12(i.u(\'3e-2j\'),10);i.u(\'v\',j+\'z\')}y{3.r.1X.F(i)}};3.3f(3.V.E(\'.s-1N\'+a));5 k=\'2j\';4(3.O<a){k=\'C\'};3.P(3.r.1A.2G);4(3.18||3.r.2t){5 l=3.r.1b;5 m=\'3N\';5 n=3.1H[3.r.2C].2n(3,e,k,i);4(1R n.1d!=\'1S\'){l=n.1d};4(1R n.3g!=\'1S\'){m=n.3g};4(3.18){5 o=3.18;5 p=3.R;o.13(n.1g,l,m,8(){o.3h();4(p)p.3h()})};e.13(n.1h,l,m,8(){c.O=a;c.18=e;c.R=i;c.1k=q;c.2k();c.P(b)})}y{3.O=a;3.18=e;c.R=i;3.1k=q;c.2k();3.P(b)}}},3i:8(){4(3.O==(3.G.J-1)){4(!3.r.1z){w q};5 a=0}y{5 a=3.O+1};w a},1I:8(a){5 b=3.3i();4(b===q)w q;3.14(b+1);3.1s(b,a);w B},3j:8(){4(3.O==0){4(!3.r.1z){w q};5 a=3.G.J-1}y{5 a=3.O-1};w a},2g:8(a){5 b=3.3j();4(b===q)w q;3.14(b-1);3.1s(b,a);w B},3O:8(){5 a=3;5 i=0;8 2o(){4(i<a.G.J){i++;a.14(i,2o)}};a.14(i,2o)},14:8(a,b){4(3.G[a]){5 c=3.G[a];4(!3.G[a].1p){5 d=$(1B 3d());d.I(\'1K\',c.W);4(!3.29(d[0])){3.1r.F(d);5 e=3;d.2Y(8(){c.1p=B;c.1q={v:3.v,x:3.x};e.P(b)}).2d(8(){c.2d=B;c.1p=q;c.1q=q})}y{c.1p=B;c.1q={v:d[0].v,x:d[0].x};3.P(b)}}y{3.P(b)}}},29:8(a){4(1R a.3k!=\'1S\'&&!a.3k){w q};4(1R a.3l!=\'1S\'&&a.3l==0){w q};w B},3f:8(a){3.N.E(\'.s-1m\').3m(\'s-1m\');a.1M(\'s-1m\');4(3.r.11<1){3.N.E(\'a:3P(.s-1m) 19\').1O(1P,3.r.11);a.E(\'19\').1O(1P,1)};5 b=a[0].1u.3Q;b-=(3.1G/2)-(a[0].2a/2);3.N.13({1a:b+\'z\'})},P:8(a){4($.28(a)){a.2n(3)}}};8 23(a,b){3.1e(a,b)};23.2O={1T:q,1U:q,X:q,L:q,r:q,2p:q,1y:q,Y:q,1V:q,1e:8(a,b){5 c=3;3.2p=a;3.r=b},2T:8(){3.1T=$(\'<16 H="s-t-1t">\'+3.r.2w+\'</16>\');3.1U=$(\'<16 H="s-t-M">\'+3.r.2x+\'</16>\');3.X=$(\'<16 H="s-t-X"></16>\');3.L=$(\'<A H="s-t-L"></A>\');3.L.F(3.1T).F(3.1U).F(3.X);3.X.15();5 a=3;3.1T.1v(8(){a.1t()});3.1U.1v(8(){a.M()});$(1L).31(8(e){4(e.2f==3R){4(a.Y){a.M()}y{a.1t()}}});w 3.L},24:8(){3.1y=q;3.M();3.L.15()},1c:8(){3.1y=B;3.L.1l()},3S:8(){4(3.1y){3.24()}y{3.1c()}},1t:8(){4(3.Y||!3.1y)w q;5 a=3;3.Y=B;3.L.1M(\'s-t-Y\');3.2q();3.P(3.r.2A);w B},M:8(){4(!3.Y)w q;3.Y=q;3.X.15();3.L.3m(\'s-t-Y\');1Q(3.1V);3.P(3.r.2B);w B},2q:8(){5 c=3;5 d=3.r.2y;5 e=3.r.2z;1Q(c.1V);3.X.1l().2l(d+(3.r.1d/2r)+e);5 f=0;3.1V=2e(8(){f+=2r;4(f>=c.r.1d){5 a=8(){4(c.Y){c.2q()};f=0};4(!c.2p(a)){c.M()};f=0};5 b=12(c.X.3T().2W(/[^0-9]/g,\'\'),10);b--;4(b>0){c.X.2l(d+b+e)}},2r)},P:8(a){4($.28(a)){a.2n(3)}}}})(3U);',62,243,'|||this|if|var|||function||||||||||||||||||false|settings|ad|slideshow|css|width|return|height|else|px|div|true|left|image_wrapper_height|find|append|images|class|attr|length|image_wrapper_width|controls|stop|thumbs_wrapper|current_index|fireCallback|top|current_description|opacity|image_wrapper|title|nav|image|countdown|running|loader||thumb_opacity|parseInt|animate|preloadImage|hide|span|wrapper|current_image|img|scrollLeft|animation_speed|enable|speed|init|bottom|old_image|new_image|next_link|prev_link|in_transition|show|active|data|desc|preloaded|size|preloads|showImage|start|parentNode|click|is|link|enabled|cycle|callbacks|new|offsetHeight|gallery_info|scroll_back|scroll_forward|nav_display_width|animations|nextImage|loading|src|document|addClass|thumb|fadeTo|300|clearInterval|typeof|undefined|start_link|stop_link|countdown_interval|start_at_index|description_wrapper|scroll_jump|autostart|stop_on_scroll|slide|AdGallery|AdGallerySlideshow|disable|window|location|hash|isFunction|isImageLoaded|offsetWidth|longdesc|alt|error|setInterval|keyCode|prevImage|next|forward|right|_afterShow|html|_showWhenLoaded|call|preloadNext|nextimage_callback|_next|1000|loader_image|animate_first_image|display_next_and_prev|display_back_and_forward|start_label|stop_label|countdown_prefix|countdown_sufix|onStart|onStop|effect|hori|enable_keyboard_move|afterImageVisible|beforeImageVisible|extend|each|VerticalSlideAnimation|HorizontalSlideAnimation|ResizeAnimation|FadeAnimation|NoneAnimation|prototype|setupElements|setupAnimations|findImages|initNextAndPrev|create|initBackAndForward|initKeyEvents|replace|href|load|hover||keydown|prev|add|prepend|_getContainedImageSize|_centerImage||0px||_getDescription|strong|description|Image|padding|highLightThumb|easing|remove|nextIndex|prevIndex|complete|naturalWidth|removeClass|fn|adGallery|gif|400|5000|Start|Stop|indexOf|vert|resize|fade|none|info|empty|thumbs|body|addAnimation|list|100|mouseover|mouseout|back|50|createElement|target|_blank|swing|preloadAll|not|offsetLeft|83|toggle|text|jQuery'.split('|'),0,{}))
@@ -10,13 +10,16 @@ $success-background: #DFF2BF;
10
10
  $auxiliar-color: #879EB5;
11
11
  $input-border-color: #BDC7D8;
12
12
  $main-color: #1F4A75; /* #2A3890*/
13
- $secondary-color: #DEEFF8;
13
+ $secondary-color: #DEEFF8; /* #E0EEF5*/
14
14
  $separation-color: #D4E4EA;
15
+ $header-color: #1F4A75;
16
+ $header-notification-color: #879EB5;
15
17
 
16
18
  /**GREYS**/
17
- $details-color: #666;
19
+ $details-color: #666; /* #6C6D6F*/
18
20
  $fill-color: #f5f5f5;
19
21
 
20
22
  /**OTHERS**/
21
23
  $sentence-color: #000;
22
- $text-over-main: #FFF;
24
+ $text-over-main: #FFF;
25
+ $unread-color: #E0E0FF;
Binary file
Binary file
@@ -50,6 +50,7 @@ span.ui-checkbox, span.ui-radio {
50
50
  width: 16px;
51
51
  height: 17px;
52
52
  background: url(icon_checkbox.png) 0 -40px no-repeat;
53
+ cursor: pointer;
53
54
  }
54
55
 
55
56
  span.ui-helper-hidden {
@@ -49,14 +49,21 @@ span.find{ padding-right:5px;}
49
49
 
50
50
  /*********** TEXT Frontpage **********/
51
51
  #caracteristics{ vertical-align: top;}
52
- #caracteristics span { float:left; padding-right: 13px; vertical-align: top; padding-top: 5px;}
53
- #caracteristics ul{ list-style: none; margin: 0px; float:left;}
52
+ #caracteristics #video { float:left; padding-right: 14px; vertical-align: top; padding-top: 5px;}
53
+ #caracteristics ul { list-style: none; margin: 0px; float:left;}
54
54
  #caracteristics ul li{ font-size:13px; line-height:18px; padding:7px 0 8px 30px;}
55
+ #gallery ul li{ font-size:13px; line-height:18px; padding:0px 0 0px 2px;}
56
+ li.conferences{background: transparent url("frontpage/right_conference.png") no-repeat left center;}
55
57
  li.participants{background: transparent url("frontpage/right_webcam.gif") no-repeat left center;}
56
58
  li.organizers{background: transparent url("frontpage/right_organizers.gif") no-repeat left center;}
57
- li.spaces{background: transparent url("frontpage/right_people.gif") no-repeat left center;}
59
+ li.groups{background: transparent url("frontpage/right_people.gif") no-repeat left center;}
58
60
  li.comments{background: transparent url("frontpage/right_comments.gif") no-repeat left center;}
59
61
  li.tags{background: transparent url("frontpage/right_tags.gif") no-repeat left center;}
60
62
  li.networks{background: transparent url("frontpage/right_social.gif") no-repeat left center;}
61
63
 
62
64
 
65
+
66
+
67
+
68
+
69
+
@@ -1,7 +1,7 @@
1
1
  @import "colors";
2
2
 
3
3
  /****************** HEADER STRUCTURE ******/
4
- #headerFront { width: 100%; padding: 0; background: $main-color; padding: 2px 0px 0px 0px;}
4
+ #headerFront { width: 100%; padding: 0; background: $header-color; padding: 2px 0px 0px 0px;}
5
5
  #header_left { left: 0px; float: left; padding-left: 5px;}
6
6
  #header_right { right: 0px; float: right; padding-right: 10px; }
7
7
  .banner_top{ width: 960px; margin-left: auto; margin-right: auto; margin-top: 3px; padding-bottom: 3px;
@@ -26,7 +26,7 @@
26
26
  #new_representation { display: inline-block;}
27
27
  #header_notifications a{color: white; padding: 4px 10px 6px 11px;
28
28
  background: transparent url('btn/header_notifications.png') no-repeat center center;}
29
- #header_inbox_count a{ color: white; background-color: $auxiliar-color; padding: 2px 7px 2px 7px;}
29
+ #header_inbox_count a{ color: white; background-color: $header-notification-color; padding: 2px 7px 2px 7px;}
30
30
  #representation { display: inline; padding-left:3px; padding-right:3px;}
31
31
  .txt_config {color: $text-over-main; vertical-align: top; display: inline; padding-top: 2px;
32
32
  border-right: thin solid; padding-right: 3px;}
@@ -125,14 +125,14 @@ ul.sf-menu li li li.sfHover ul {
125
125
 
126
126
  }
127
127
  .sf-menu li {
128
- background: $main-color;
128
+ background: $header-color;
129
129
  }
130
130
 
131
131
  .sf-menu li li {
132
- background: $main-color;
132
+ background: $header-color;
133
133
  }
134
134
  .sf-menu li li li {
135
- background: $main-color;
135
+ background: $header-color;
136
136
  }
137
137
  .sf-menu li:hover, .sf-menu li.sfHover,
138
138
  .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
@@ -1,20 +1,25 @@
1
+ @import "colors";
2
+
1
3
  /******** MAIN Structure home *********/
2
4
  #center_body {
3
5
  width: 560px;
4
- border-right: thin solid #D4E4EA;
5
- border-bottom: thin solid #D4E4EA;
6
- border-left: thin solid #D4E4EA;
6
+ border-right: thin solid $separation-color;
7
+ border-bottom: thin solid $separation-color;
8
+ border-left: thin solid $separation-color;
7
9
  vertical-align: top;
8
10
  display: table-cell;
9
11
  padding-top: 10px;
10
12
  font-size: 14px;
11
13
  }
14
+ #center_body.frontpage_view {
15
+ width: 100%;
16
+ }
12
17
  #sidebar {width: 220px; display: table-cell;vertical-align: top;}
13
18
  #sidebarContent{ padding-left:3px; padding-right:3px;}
14
- #sponsor{background-color:#fff}
15
- #toolbar { width: 160px; border-color: #000; vertical-align: top; display: table-cell;padding: 5px 5px 5px 5px;}
19
+ #sponsor{background-color:$text-over-main}
20
+ #toolbar { width: 160px; border-color: $sentence-color; vertical-align: top; display: table-cell;padding: 5px;}
16
21
  #toolbarContent{}
17
- #wrapper_body{ background-color: #ffffff; }
22
+ #wrapper_body{ background-color: $text-over-main; }
18
23
  #content_logo{/*width: 779px*/}
19
24
 
20
25
 
@@ -22,7 +27,7 @@
22
27
  #logo_index { text-align: center;}
23
28
  #map_location {padding-left: 4px; display: inline-block; }
24
29
  .content_size {font-size: 13px;}
25
- .space_center_border { padding-top: 8px; padding-right: 4px; border-bottom: thin solid #D4E4EA;}
30
+ .space_center_border { padding-top: 8px; padding-right: 4px; border-bottom: thin solid $separation-color;}
26
31
  .title_bold{font-size:14px; font-weight:bold;}
27
32
 
28
33
  /********GROUPS HOME************/
@@ -45,7 +50,3 @@
45
50
  .user .title a:hover, .group .title a:hover{ display:block; text-decoration:underline;}
46
51
 
47
52
 
48
-
49
-
50
-
51
-
@@ -0,0 +1,171 @@
1
+ .ad-gallery {
2
+ width: 320px;
3
+ }
4
+
5
+ .ad-gallery, .ad-gallery * {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ .ad-gallery .ad-image-wrapper {
11
+ width: 100%;
12
+ height: 210px;
13
+ /*margin-bottom: 10px;*/
14
+ position: relative;
15
+ overflow: hidden;
16
+ }
17
+ .ad-gallery .ad-image-wrapper .ad-loader {
18
+ position: absolute;
19
+ z-index: 3;
20
+ top: 2px;
21
+ left: 48%;
22
+ border: 1px solid #CCC;
23
+ }
24
+ .ad-gallery .ad-image-wrapper .ad-next {
25
+ position: absolute;
26
+ right: 0;
27
+ top: 0px;
28
+ width: 25%;
29
+ height: 95%;
30
+ cursor: pointer;
31
+ display: block;
32
+ z-index: 100;
33
+ }
34
+ .ad-gallery .ad-image-wrapper .ad-prev {
35
+ position: absolute;
36
+ left: 0;
37
+ top: 0px;
38
+ width: 25%;
39
+ height: 95%;
40
+ cursor: pointer;
41
+ display: block;
42
+ z-index: 150;
43
+ }
44
+ .ad-gallery .ad-image-wrapper .ad-prev, .ad-gallery .ad-image-wrapper .ad-next {
45
+ /* Or else IE will hide it */
46
+ background: url(non-existing.jpg)\9
47
+ }
48
+ .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image, .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
49
+ background: url(ad_prev.png);
50
+ width: 30px;
51
+ height: 30px;
52
+ display: none;
53
+ position: absolute;
54
+ /*top: 47%;*/
55
+ top:80px;
56
+ left: 0;
57
+ z-index: 101;
58
+ }
59
+ .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
60
+ background: url(ad_next.png);
61
+ width: 30px;
62
+ height: 30px;
63
+ right: 0;
64
+ left: auto;
65
+ }
66
+ .ad-gallery .ad-image-wrapper .ad-image {
67
+ position: absolute;
68
+ overflow: hidden;
69
+ top: 0;
70
+ left: 0;
71
+ z-index: 9;
72
+ }
73
+ .ad-gallery .ad-image-wrapper .ad-image a img {
74
+ border: 0;
75
+ }
76
+ .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
77
+ position: absolute;
78
+ bottom: 0px;
79
+ left: 0px;
80
+ padding: 7px;
81
+ text-align: left;
82
+ width: 100%;
83
+ z-index: 2;
84
+ background: url(opa75.png);
85
+ color: #000;
86
+ }
87
+ * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
88
+ background: none;
89
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='opa75.png');
90
+ }
91
+ .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
92
+ display: block;
93
+ }
94
+ .ad-gallery .ad-controls {
95
+ height: 15px;
96
+ }
97
+ .ad-gallery .ad-info {
98
+ float: left;
99
+ }
100
+ .ad-gallery .ad-slideshow-controls {
101
+ float: right;
102
+ }
103
+ .ad-gallery .ad-slideshow-controls .ad-slideshow-start, .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
104
+ padding-left: 5px;
105
+ cursor: pointer;
106
+ }
107
+ .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
108
+ padding-left: 5px;
109
+ font-size: 0.9em;
110
+ }
111
+ .ad-gallery .ad-slideshow-running .ad-slideshow-start {
112
+ cursor: default;
113
+ font-style: italic;
114
+ }
115
+ .ad-gallery .ad-nav {
116
+ width: 100%;
117
+ position: relative;
118
+ }
119
+ .ad-gallery .ad-forward, .ad-gallery .ad-back {
120
+ position: absolute;
121
+ top: 0;
122
+ height: 100%;
123
+ z-index: 10;
124
+ }
125
+ /* IE 6 doesn't like height: 100% */
126
+ * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
127
+ height: 100px;
128
+ }
129
+ .ad-gallery .ad-back {
130
+ cursor: pointer;
131
+ left: -20px;
132
+ width: 13px;
133
+ display: block;
134
+ background: url(ad_scroll_back.png) 0px 22px no-repeat;
135
+ }
136
+ .ad-gallery .ad-forward {
137
+ cursor: pointer;
138
+ display: block;
139
+ right: -20px;
140
+ width: 13px;
141
+ background: url(ad_scroll_forward.png) 0px 22px no-repeat;
142
+ }
143
+ .ad-gallery .ad-nav .ad-thumbs {
144
+ overflow: hidden;
145
+ width: 100%;
146
+ }
147
+ .ad-gallery .ad-thumbs .ad-thumb-list {
148
+ float: left;
149
+ width: 9000px;
150
+ list-style: none;
151
+ }
152
+ .ad-gallery .ad-thumbs li {
153
+ float: left;
154
+ /* padding-right: 5px;*/
155
+ }
156
+ .ad-gallery .ad-thumbs li a {
157
+ display: block;
158
+ }
159
+ .ad-gallery .ad-thumbs li a img {
160
+ border: 3px solid #CCC;
161
+ display: block;
162
+ }
163
+ .ad-gallery .ad-thumbs li a.ad-active img {
164
+ border: 3px solid #616161;
165
+ }
166
+ /* Can't do display none, since Opera won't load the images then */
167
+ .ad-preloads {
168
+ position: absolute;
169
+ left: -9000px;
170
+ top: -9000px;
171
+ }
Binary file
@@ -1,3 +1,5 @@
1
+ @import "colors";
2
+
1
3
  #map_location .first{
2
4
  background: transparent url("/assets/arrow-start.png") no-repeat top left;
3
5
  display: inline-block;
@@ -20,7 +22,7 @@
20
22
  background: transparent url("/assets/arrow-end.png") no-repeat top right;
21
23
  }
22
24
  #map_location .mid, #map_location .penultimate{
23
- color: white;
25
+ color: $text-over-main;
24
26
  padding-left:5px;
25
27
  padding-right: 12px;
26
28
  }
@@ -0,0 +1,19 @@
1
+ @import "colors";
2
+
3
+ /**************MENU***********/
4
+ .toolbar_menu {list-style-type:none; margin: 0; padding: 0; width: 15em;
5
+ border-bottom: thin solid $separation-color; }
6
+ .toolbar_menu ul {list-style-type:none; margin: 0; padding: 0; width: 15em; }
7
+ .toolbar_menu a { display: block; text-decoration: none; }
8
+ .toolbar_menu li { border-top: thin solid $separation-color; padding-left:0px; }
9
+ .toolbar_menu li a, ul.menu ul.menu li a { background: $text-over-main; color: $main-color; padding:5px 0px; }
10
+ .toolbar_menu li a:hover, ul.menu ul.menu li a:hover { background: $secondary-color; color: $main-color;
11
+ text-decoration:none; }
12
+ .toolbar_menu li ul li a, ul.menu ul.menu li ul li a { background: $text-over-main; border-left: 5px $main-color solid;
13
+ color: $main-color; padding-left: 10px;}
14
+ .toolbar_menu li ul li a:hover { background: $secondary-color; border-left: 5px $main-color solid; padding-left: 15px;}
15
+ .toolbar_menu img { vertical-align: middle; padding-bottom: 3px; padding-right: 3px; padding-left: 3px;
16
+ display: inline-block;}
17
+
18
+
19
+
@@ -1,3 +1,5 @@
1
+ @import "colors";
2
+
1
3
  /*
2
4
  *= require fcbkComplete
3
5
  *= require jquery.cleditor
@@ -24,12 +26,12 @@
24
26
  }
25
27
  .message .header{
26
28
  padding: 5px 5px 5px 5px;
27
- background-color: #E0EEF5;
29
+ background-color: $secondary-color;
28
30
  height:40px;
29
31
  }
30
32
  .message .body{
31
33
  padding: 5px 5px 5px 5px;
32
- border: 1px solid #E0EEF5;
34
+ border: 1px solid $secondary-color;
33
35
  }
34
36
  .message .content_left {
35
37
  float:left;
@@ -48,17 +50,17 @@
48
50
  .message .subject {
49
51
  }
50
52
  .message .date {
51
- color: #6C6D6F;
53
+ color: $details-color;
52
54
  }
53
55
  .message ul {
54
56
  margin: 0px 5px
55
57
  ;padding-left:40px;
56
58
  }
57
59
  .conversation_full .messages .unread .header{
58
- background-color: #E0E0FF;
60
+ background-color: $unread-color;
59
61
  }
60
62
  .conversation_full .messages .unread .body{
61
- border: 1px solid #E0E0FF;
63
+ border: 1px solid $unread-color;
62
64
  }
63
65
  .conversation_full .messages .unread .subject{
64
66
  font-weight: bold;
@@ -75,24 +77,24 @@
75
77
  padding: 5px 5px 5px 5px;
76
78
  }
77
79
  .conversation_full .participants {
78
- border-top:1px solid #E0EEF5;
79
- border-bottom:1px solid #E0EEF5;
80
+ border-top:1px solid $secondary-color;
81
+ border-bottom:1px solid $secondary-color;
80
82
  padding: 5px 5px 3px 5px;
81
83
  }
82
84
  /***************** Conversations *******************/
83
85
  .conversations {
84
- border-top:1px solid #E0EEF5;
85
- border-bottom:1px solid #E0EEF5;
86
+ border-top:1px solid $secondary-color;
87
+ border-bottom:1px solid $secondary-color;
86
88
  }
87
89
  .conversations .unread {
88
- background-color: #E0EEF5;
90
+ background-color: $secondary-color;
89
91
  }
90
92
  .conversations .conversation {
91
- color: #2A3890;
93
+ color: $main-color;
92
94
  padding: 5px 5px 5px 5px;
93
95
  width:549px;
94
96
  height:40px;
95
- border-bottom:1px solid #FFF;
97
+ border-bottom:1px solid $text-over-main;
96
98
  }
97
99
  .conversations .conversation .content_left {
98
100
  float:left;
@@ -119,10 +121,10 @@
119
121
  font-weight: bold;
120
122
  }
121
123
  .conversations .conversation .date {
122
- color: #6C6D6F;
124
+ color: $details-color;
123
125
  }
124
126
  .conversations .conversation .briefing {
125
- color: #6C6D6F;
127
+ color: $details-color;
126
128
  }
127
129
  .conversations .conversation .notification {
128
130
  float:left;
@@ -131,5 +133,5 @@
131
133
  margin: 0px 5px 0px 0px;
132
134
  }
133
135
  .conversations .unread .notification {
134
- background-color: #2A3890;
136
+ background-color: $main-color;
135
137
  }
Binary file
@@ -1,19 +1,5 @@
1
- .ui-radio-state-disabled, .ui-radio-state-checked-disabled, .ui-radio-state-disabled-hover, .ui-radio-state-checked-disabled-hover {
2
- color: #999;
3
- }
4
-
5
- span.ui-checkbox, span.ui-radio {
6
- display: block;
7
- float: left;
8
- width: 16px;
9
- height: 17px;
10
- background: url(icon_checkbox.png) 0 -40px no-repeat;
11
- cursor: pointer;
12
- }
1
+ @import "colors";
13
2
 
14
- span.ui-helper-hidden {
15
- display: none;
16
- }
17
3
 
18
4
  #relation_customs label, #permissions label {
19
5
  display: block;
@@ -93,19 +79,15 @@ form {
93
79
  margin-left: 10px;
94
80
  }
95
81
 
96
- .checked-option{
97
- background-color: #dfecf1;
98
- }
99
-
100
82
  .pageTitle{
101
- color: black;
83
+ color: $sentence-color;
102
84
  padding: 0px 10px 0px 0px;
103
85
  font-size: 15px;
104
86
  }
105
87
 
106
88
  .sectionTitle{
107
- background-color: #dfecf1;
108
- color: #4d539d;
89
+ background-color: $secondary-color;
90
+ color: $main-color;
109
91
  padding: 15px 20px 15px 20px;
110
92
  }
111
93
 
@@ -120,9 +102,9 @@ form {
120
102
  }
121
103
 
122
104
  input.privacy_input_new{
123
- background-color: #dfecf1;
124
- border: 1px solid #1F4A75;
125
- color: #1F4A75;
105
+ background-color: $secondary-color;
106
+ border: 1px solid $main-color;
107
+ color: $main-color;
126
108
  }
127
109
 
128
110
  span.privacy_span_new {
@@ -190,7 +172,7 @@ span.privacy_span_new {
190
172
  float: right;
191
173
  text-align: center;
192
174
  display: block;
193
- border:1px solid #1F4A75;
175
+ border:1px solid $main-color;
194
176
  }
195
177
 
196
178
  #columns_container{
@@ -240,6 +222,6 @@ span.privacy_span_new {
240
222
 
241
223
  #privacy-rule-arrow {
242
224
  background: url('images/add-policy.png') no-repeat center center;
243
- color: #FFFFFF;
225
+ color: $text-over-main;
244
226
  }
245
227
 
@@ -1,3 +1,5 @@
1
+ @import "colors";
2
+
1
3
  /******************** Search css ***********************/
2
4
  /********************************* Header **************/
3
5
  #header_search {
@@ -9,19 +11,18 @@
9
11
  padding: 0 3px 0 22px;
10
12
  background: url('btn/search_icon.png') 5px 50% no-repeat white;
11
13
  font-size: 11px;
12
- color: #2A3890;
14
+ color: $main-color;
13
15
  }
14
16
  #header_search_input {
15
- border: solid 1px #dedede;
17
+ border: solid 1px $input-border-color;
16
18
  height: 16px;
17
19
  width: 200px;
18
20
  }
19
21
  .banner_busqueda #header_search_input {
20
- border: solid 1px #aaa;
21
22
  height: 20px;
22
23
  }
23
24
  #global_search_input {
24
- border: solid 1px #aeaeae;
25
+ border: solid 1px $input-border-color;
25
26
  height: 25px;
26
27
  width: 300px;
27
28
  }
@@ -30,36 +31,35 @@
30
31
  display: none;
31
32
  float: right;
32
33
  margin-right: 35px;
33
- border-left: solid 1px #B9B9B9;
34
- border-right: solid 1px #B9B9B9;
35
- border-bottom: solid 1px #B9B9B9;
34
+ border: solid 1px $auxiliar-color;
35
+ border-top: none;
36
36
  overflow: hidden;
37
37
  position: absolute;
38
38
  z-index: 2000;
39
- background: #f5f5f5;
39
+ background: $fill-color;
40
40
  text-align: left;
41
41
  }
42
42
  #header_search_display a {
43
- color: #2A3890;
43
+ color: $main-color;
44
44
  text-decoration: none;
45
45
  }
46
46
  #header_search_display a:hover {
47
- color: #2A3890;
47
+ color: $main-color;
48
48
  text-decoration: none;
49
49
  font-weight: bold;
50
50
  }
51
51
  #header_search_display li {
52
52
  padding: 4px;
53
- border-top: solid 1px #B9B9B9;
53
+ border-top: solid 1px $auxiliar-color;
54
54
  font-size: 10px;
55
55
  height: 35px;
56
- background: #f5f5f5;
56
+ background: $fill-color;
57
57
  overflow: hidden;
58
58
  text-align: center;
59
59
  }
60
60
  #header_search_display li:hover {
61
- background: #CFDEFF;
62
- color: #2A3890;
61
+ background: $secondary-color;
62
+ color: $main-color;
63
63
  }
64
64
  #header_search_display li .logo {
65
65
  float: left;
@@ -84,14 +84,6 @@
84
84
  height: 45px;
85
85
  text-align: left;
86
86
  }
87
- #header_search_display li.title {
88
- overflow: hidden;
89
- text-align: center;
90
- background: #879EB5;
91
- height: 15px;
92
- color: whiteSmoke;
93
- font-weight: bold;
94
- }
95
87
  #header_search_display li.loading, #header_search_display li.more, #header_search_display li.none {
96
88
  text-align: center;
97
89
  }
@@ -116,6 +108,14 @@
116
108
  }
117
109
  .subject_search_results {
118
110
  width: 186px;
111
+ height: 81px;
112
+ overflow: hidden;
113
+ text-align: center;
114
+ }
115
+ .subject_search_results.post {
116
+ width: 560px;
117
+ height: 100%;
118
+ overflow: hidden;
119
119
  text-align: center;
120
120
  }
121
121
  .subject_search_results img {
@@ -123,7 +123,7 @@
123
123
  height: 48px;
124
124
  }
125
125
  .subject_search_results .sub-block {
126
- width: 62%;
126
+ width: 69%;
127
127
  word-wrap: break-word;
128
128
  height: 50px;
129
129
  overflow: hidden;
@@ -139,6 +139,9 @@
139
139
  float: right;
140
140
  padding: 0;
141
141
  }
142
+ #search_results .highlight{
143
+ background-color: $unread-color;
144
+ }
142
145
  /********************************* Form and errors *********/
143
146
  #search_form .error {
144
147
  display: none;