diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-03-25 13:12:16 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-03-25 13:12:16 +0200 |
commit | bf6cca3148b0717e2524d0fd9fbe6b2b3afc18d3 (patch) | |
tree | 21db02c060a0b802a3e33e9bf7d50bfedfa79e6c | |
parent | 5ce6ca079d4ec57580e854070942319c9d3f92ee (diff) |
IE ui fixes ref #349
--HG--
branch : beta
-rw-r--r-- | rhodecode/public/css/style.css | 8 | ||||
-rw-r--r-- | rhodecode/templates/base/root.html | 15 |
2 files changed, 21 insertions, 2 deletions
diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css index b27e421b..255d9ada 100644 --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -322,6 +322,14 @@ div.options a { -moz-border-radius: 0px 0px 0px 0px;
border-radius: 0px 0px 0px 0px;
}
+
+.ie7 #header #header-inner.hover,
+.ie8 #header #header-inner.hover,
+.ie9 #header #header-inner.hover
+{
+ z-index: auto !important;
+}
+
#header #header-inner #home a {
height: 40px;
width: 46px;
diff --git a/rhodecode/templates/base/root.html b/rhodecode/templates/base/root.html index 00eddc61..5e7a8d97 100644 --- a/rhodecode/templates/base/root.html +++ b/rhodecode/templates/base/root.html @@ -1,5 +1,5 @@ ## -*- coding: utf-8 -*- -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>${self.title()}</title> @@ -130,6 +130,17 @@ ${self.js()} </head> <body id="body"> - ${next.body()} + ## IE hacks + <!--[if IE 7]> + <script>YUD.addClass(document.body,'ie7')</script> + <![endif]--> + <!--[if IE 8]> + <script>YUD.addClass(document.body,'ie8')</script> + <![endif]--> + <!--[if IE 9]> + <script>YUD.addClass(document.body,'ie9')</script> + <![endif]--> + + ${next.body()} </body> </html> |