Skip to content

Commit

Permalink
Fixed issues with background images in the GCWU intranet theme for IE…
Browse files Browse the repository at this point in the history
…7 and IE8.
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Sep 11, 2012
1 parent 6e8f1fa commit 8baa5a5
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/theme-gcwu-fegc/css/theme-ie-min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/theme-gcwu-intranet/css/theme-ie-min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/theme-gcwu-intranet/css/theme-sp-pe-ie-min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/theme-gcwu-fegc/sass/includes/default-screen-ie7.scss
Expand Up @@ -29,6 +29,8 @@
}
#gcwu-srch-submit{
padding:1px 0;
position:relative;
top:-1px;
}
#gcwu-title{
zoom:1;
Expand Down
6 changes: 6 additions & 0 deletions src/theme-gcwu-intranet/sass/includes/default-ie7.scss
Expand Up @@ -12,4 +12,10 @@
padding-left:expression(this.previousSibling == null ? '0' : '-' );
border-left:expression(this.previousSibling == null ? 'none' : '-' );
}
#wb-body,#wb-body-sec,#wb-body-sec-sup,#wb-body-sec-sup,#wb-head-in{
background:none;
}
#gcwu-sft-in{
background:transparent url(../images/gcwu-sft-in.png) no-repeat right bottom;
}
}
13 changes: 13 additions & 0 deletions src/theme-gcwu-intranet/sass/includes/default-ie8.scss
@@ -0,0 +1,13 @@
@charset "utf-8";
/*
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* www.tbs.gc.ca/ws-nw/wet-boew/terms / www.sct.gc.ca/ws-nw/wet-boew/conditions
*/
.ie8 {
#wb-body,#wb-body-sec,#wb-body-sec-sup,#wb-body-sec-sup,#wb-head-in{
background:none;
}
#gcwu-sft-in{
background:transparent url(../images/gcwu-sft-in.png) no-repeat right bottom;
}
}
4 changes: 2 additions & 2 deletions src/theme-gcwu-intranet/sass/includes/sp-pe.scss
Expand Up @@ -4,11 +4,11 @@
* www.tbs.gc.ca/ws-nw/wet-boew/terms / www.sct.gc.ca/ws-nw/wet-boew/conditions
*/
#wb-core-in{
background:transparent url(../../images/gcwu-bnr-in.png) no-repeat center 0;
background:transparent url(../images/gcwu-bnr-in.png) no-repeat center 0;
min-height:52px;
}
#wb-core{
background-image:url(../../images/gcwu-bnr.png);background-repeat:repeat-x;
background-image:url(../images/gcwu-bnr.png);background-repeat:repeat-x;
background-position:0 0;
}
#wb-main-in{
Expand Down

0 comments on commit 8baa5a5

Please sign in to comment.