From 1b7bbfaf951740ac9d5c90db48c9c3f4f35f5b58 Mon Sep 17 00:00:00 2001 From: Paolo Caruccio Date: Wed, 10 Jul 2013 15:55:51 +0200 Subject: [PATCH] fixes for small visual bugs in bootstrap layout - form input error text when formstyle='bootstrap' has fixed width. In narrow screens: - topbar has space in left and right sides; - login button in topbar is unlined. --- .../welcome/static/css/web2py_bootstrap.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/applications/welcome/static/css/web2py_bootstrap.css b/applications/welcome/static/css/web2py_bootstrap.css index 18165343..40561740 100644 --- a/applications/welcome/static/css/web2py_bootstrap.css +++ b/applications/welcome/static/css/web2py_bootstrap.css @@ -223,16 +223,21 @@ td.w2p_fw ul{margin-left:0px;} /* auth_user_remember checkbox extrapadding in IE fix */ .ie-lte9 input#auth_user_remember.checkbox {padding-left:0;} +div.controls .error { + width: auto; +} + /*============================================================= MEDIA QUERIES ==============================================================*/ @media only screen and (max-width:979px){ body{padding-top:0px;} - #navbar{top:5px;} + #navbar{/*top:5px;*/} div.flash{right:5px;} .dropdown-menu ul{visibility:visible;} } + @media only screen and (max-width:479px){ body{ padding-left:10px; @@ -246,3 +251,10 @@ td.w2p_fw ul{margin-left:0px;} width:95%; } } + +@media (max-width: 767px) { + .navbar { + margin-right: -20px; + margin-left: -20px; + } +} \ No newline at end of file