changeset 3341:030103d57e30 beta

drop down hover menu now fixes whole page padding
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 09 Feb 2013 22:37:45 +0100
parents f1491bad8339
children 674a8fad3abc
files rhodecode/public/css/style.css rhodecode/templates/base/base.html
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/style.css	Sat Feb 09 22:21:31 2013 +0100
+++ b/rhodecode/public/css/style.css	Sat Feb 09 22:37:45 2013 +0100
@@ -347,10 +347,10 @@
     padding: 0;
     display: block;
     box-shadow: 0 2px 2px rgba(0, 0, 0, 0.6);
-    -webkit-border-radius: 4px 4px 4px 4px;
-    -khtml-border-radius: 4px 4px 4px 4px;
-    -moz-border-radius: 4px 4px 4px 4px;
-    border-radius: 4px 4px 4px 4px;
+    -webkit-border-radius: 0px 0px 4px 4px;
+    -khtml-border-radius: 0px 0px 4px 4px;
+    -moz-border-radius: 0px 0px 4px 4px;
+    border-radius: 0px 0px 4px 4px;
 }
 #header #header-inner.hover {
     width: 100% !important;
@@ -3505,6 +3505,10 @@
     padding: 10px 10px 14px 10px;
 }
 
+#content.hover {
+    padding: 55px 10px 14px 10px !important;
+}
+
 #content div.box div.title div.search {
     border-left: 1px solid #316293;
 }
--- a/rhodecode/templates/base/base.html	Sat Feb 09 22:21:31 2013 +0100
+++ b/rhodecode/templates/base/base.html	Sat Feb 09 22:37:45 2013 +0100
@@ -361,6 +361,7 @@
 
      YUE.on('header-dd', 'click',function(e){
          YUD.addClass('header-inner', 'hover');
+         YUD.addClass('content', 'hover');
      });
 
 </script>