Mercurial > kallithea
changeset 2163:e77fbd3b069c beta
IE ui fixes ref #349
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 25 Mar 2012 13:12:16 +0200 |
parents | 04d3fae0e4c0 |
children | 0d2ce995f6a4 |
files | rhodecode/public/css/style.css rhodecode/templates/base/root.html |
diffstat | 2 files changed, 21 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/style.css Sat Mar 24 13:11:54 2012 +0200 +++ b/rhodecode/public/css/style.css Sun Mar 25 13:12:16 2012 +0200 @@ -322,6 +322,14 @@ -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;
--- a/rhodecode/templates/base/root.html Sat Mar 24 13:11:54 2012 +0200 +++ b/rhodecode/templates/base/root.html Sun Mar 25 13:12:16 2012 +0200 @@ -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>