Skip to content

Commit

Permalink
Couple of minor IE hack CSS tweaks to 2.0 theme
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 14, 2012
1 parent 115e703 commit 8cdd117
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions ckan/public/base/less/iehacks.less
Expand Up @@ -48,6 +48,29 @@
}
}

// Internet Explorer 7 + 8
.ie7,
.ie8 {
.masthead {
nav ul li a.active {
position: relative;
top: -1px;
background-color: lighten(@mastheadBackgroundColorStart, 2);
border-top: 1px solid darken(@mastheadBackgroundColorStart, 3);
border-bottom: 1px solid lighten(@mastheadBackgroundColorStart, 5);
}
}
}


// Internet Explorer 8
.ie8 {
.masthead .account a.image {
display: block;
width: 25px;
}
}

// Internet Explorer 7
.ie7 {

Expand Down Expand Up @@ -133,6 +156,8 @@

// Header
.masthead {
position: relative;
z-index: 1;
.logo img,
nav {
.ie7-inline-block;
Expand All @@ -153,6 +178,9 @@
.header-image {
display: block;
}
.account .dropdown-menu {
z-index: 10000;
}
}

// Footer
Expand Down

0 comments on commit 8cdd117

Please sign in to comment.