Use consistent close icon

Using close icon of WikimediaUI icon collection, which is also
already in use by OOUI.

Bug: T50067
Bug: T175295
Change-Id: I83e435a7215708c5a5eae77eeca29632ed64f608
This commit is contained in:
Volker E
2017-09-07 16:54:26 -07:00
parent dc99a4eb80
commit 7e228ecb02
3 changed files with 9 additions and 6 deletions

View File

@@ -142,11 +142,10 @@ label.checkbox input[type='checkbox'] {
}
.uls-icon-close {
background: transparent url( ../images/close.png ) no-repeat scroll center center;
background-image: -webkit-linear-gradient( transparent, transparent ), url( ../images/close.svg );
/* @embed */
background-image: linear-gradient( transparent, transparent ), url( ../images/close.svg );
background: transparent no-repeat center center;
.background-image-svg( '../images/close.svg', '../images/close.png' );
background-size: 16px 16px; // Support: Android Browser <= 4.3, doesn't accept it as part of `background` shorthand
float: right;
padding: 15px;
padding: 16px;
cursor: pointer;
}