Merge pull request #1088 from alphagov/fix-tick-cross-ie8

Fix ticks and crosses on team page in IE8
This commit is contained in:
Chris Hill-Scott
2017-01-23 15:24:23 +00:00
committed by GitHub
5 changed files with 22 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B

View File

@@ -30,6 +30,9 @@
.banner-with-tick {
padding: $gutter-half ($gutter + $gutter-half);
background-image: file-url('tick-white.png');
@include ie-lte(8) {
background-image: file-url('tick-white-16px.png');
}
background-size: 19px;
background-repeat: no-repeat;
background-position: $gutter-half $gutter-half;

View File

@@ -1,23 +1,41 @@
%tick-cross {
@include core-16;
display: inline-block;
background-size: 19px 19px;
background-repeat: no-repeat;
background-position: 0 0;
padding: 1px 0 0 25px;
@include ie-lte(8) {
background-position: 0 3px;
}
}
.tick-cross {
&-tick {
@extend %tick-cross;
background-image: file-url('tick.png');
@include ie-lte(8) {
background-image: file-url('tick-16px.png');
}
}
&-cross {
@extend %tick-cross;
background-image: file-url('cross-grey.png');
color: $secondary-text-colour;
background-image: file-url('cross-grey.png');
@include ie-lte(8) {
background-image: file-url('cross-grey-16px.png');
}
}
&-list {