[web2py] Re: css-menu

2013-04-14 Thread Niphlod
assuming you're using the default template, you need to change also the 
background-image statements.
Given that there is plenty of bootstrap's generators available (such as 
http://stylebootstrap.info/), I highly recommend that you use them to 
change the colors in the bootstrap theme alltogether (if you're not an 
expert in css wizardry) instead of manually patch the standard one, as it 
would be less error prone.




On Sunday, April 14, 2013 7:40:56 AM UTC+2, mweissen wrote:

 I want to have another for color and backgroundcolor in the menu bar.

 I have changed bootswatch.css, line 83
 #navbar .auth_navbar, #navbar .auth_navbar a {color:*green*;}

 And in web2py_bootstrap.css, line 40
 /* auth navbar - primitive style */
 .auth_navbar,.auth_navbar a{color:*red*;}  /* inherit */
 .ie-lte7 .auth_navbar,.auth_navbar 
 a{color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't 
 support inherit */}
 .auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more 
 lines */
 .auth_navbar a:hover{color:*red*; text-decoration:none;}  /* white */

 Any hints?
 Refards, Martin
  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: css-menu

2013-04-14 Thread Martin Weissenboeck
Thank you, I will try it.



2013/4/14 Niphlod niph...@gmail.com

 assuming you're using the default template, you need to change also the
 background-image statements.
 Given that there is plenty of bootstrap's generators available (such as
 http://stylebootstrap.info/), I highly recommend that you use them to
 change the colors in the bootstrap theme alltogether (if you're not an
 expert in css wizardry) instead of manually patch the standard one, as it
 would be less error prone.





 On Sunday, April 14, 2013 7:40:56 AM UTC+2, mweissen wrote:

 I want to have another for color and backgroundcolor in the menu bar.

 I have changed bootswatch.css, line 83
 #navbar .auth_navbar, #navbar .auth_navbar a {color:*green*;}

 And in web2py_bootstrap.css, line 40
 /* auth navbar - primitive style */
 .auth_navbar,.auth_navbar a{color:*red*;}  /* inherit */
 .ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.**
 parentNode.currentStyle['**color']); /* ie7 doesn't support inherit */}
 .auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more
 lines */
 .auth_navbar a:hover{color:*red*; text-decoration:none;}  /* white */

 Any hints?
 Refards, Martin

  --

 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: css-menu

2013-04-14 Thread Paolo Caruccio
The Niphlod's solution is better but add following rules 

.navbar-inverse .navbar-inner {
background-color:green;
background-image:none;
}

.navbar-inverse .navlia {
color:red;
}

to the section other rules in web2py_bootstrap.css for a very fast and 
not complete customization.



Il giorno domenica 14 aprile 2013 07:40:56 UTC+2, mweissen ha scritto:

 I want to have another for color and backgroundcolor in the menu bar.

 I have changed bootswatch.css, line 83
 #navbar .auth_navbar, #navbar .auth_navbar a {color:*green*;}

 And in web2py_bootstrap.css, line 40
 /* auth navbar - primitive style */
 .auth_navbar,.auth_navbar a{color:*red*;}  /* inherit */
 .ie-lte7 .auth_navbar,.auth_navbar 
 a{color:expression(this.parentNode.currentStyle['color']); /* ie7 doesn't 
 support inherit */}
 .auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more 
 lines */
 .auth_navbar a:hover{color:*red*; text-decoration:none;}  /* white */

 Any hints?
 Refards, Martin
  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: css-menu

2013-04-14 Thread Martin Weissenboeck
@ Paolo - thank you, works fine!

@ Niphlod: using a bootstrap'a generator:
which file should be replaced with the generators output?


   - bootstrap.min.css
   - bootstrap-responsive.min.css
   - web2py_bootstrap.css
   - or ...?





2013/4/14 Paolo Caruccio paolo.carucci...@gmail.com

 The Niphlod's solution is better but add following rules

 .navbar-inverse .navbar-inner {
 background-color:green;
 background-image:none;
 }

 .navbar-inverse .navlia {
 color:red;
 }

 to the section other rules in web2py_bootstrap.css for a very fast and
 not complete customization.



 Il giorno domenica 14 aprile 2013 07:40:56 UTC+2, mweissen ha scritto:

 I want to have another for color and backgroundcolor in the menu bar.

 I have changed bootswatch.css, line 83
 #navbar .auth_navbar, #navbar .auth_navbar a {color:*green*;}

 And in web2py_bootstrap.css, line 40
 /* auth navbar - primitive style */
 .auth_navbar,.auth_navbar a{color:*red*;}  /* inherit */
 .ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.**
 parentNode.currentStyle['**color']); /* ie7 doesn't support inherit */}
 .auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more
 lines */
 .auth_navbar a:hover{color:*red*; text-decoration:none;}  /* white */

 Any hints?
 Refards, Martin

  --

 ---
 You received this message because you are subscribed to the Google Groups
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to web2py+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [web2py] Re: css-menu

2013-04-14 Thread Niphlod
of course bootstrap.min.css and bootstrap-responsive.min.css
web2py_bootstrap.css holds only some overrides to make it work with web2py.

On Sunday, April 14, 2013 7:12:00 PM UTC+2, mweissen wrote:

 @ Paolo - thank you, works fine!

 @ Niphlod: using a bootstrap'a generator:
 which file should be replaced with the generators output?


- bootstrap.min.css
- bootstrap-responsive.min.css
- web2py_bootstrap.css
- or ...?





 2013/4/14 Paolo Caruccio paolo.ca...@gmail.com javascript:

 The Niphlod's solution is better but add following rules 

 .navbar-inverse .navbar-inner {
 background-color:green;
 background-image:none;
 }

 .navbar-inverse .navlia {
 color:red;
 }

 to the section other rules in web2py_bootstrap.css for a very fast and 
 not complete customization.



 Il giorno domenica 14 aprile 2013 07:40:56 UTC+2, mweissen ha scritto:

 I want to have another for color and backgroundcolor in the menu bar.

 I have changed bootswatch.css, line 83
 #navbar .auth_navbar, #navbar .auth_navbar a {color:*green*;}

 And in web2py_bootstrap.css, line 40
 /* auth navbar - primitive style */
 .auth_navbar,.auth_navbar a{color:*red*;}  /* inherit */
 .ie-lte7 .auth_navbar,.auth_navbar a{color:expression(this.**
 parentNode.currentStyle['**color']); /* ie7 doesn't support inherit */}
 .auth_navbar a{white-space:nowrap;} /* to avoid the nav split on more 
 lines */
 .auth_navbar a:hover{color:*red*; text-decoration:none;}  /* white */

 Any hints?
 Refards, Martin
  
  -- 
  
 --- 
 You received this message because you are subscribed to the Google Groups 
 web2py-users group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to web2py+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  




-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.