jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/400702 )
Change subject: Use .background-image-svg in message group selector
......................................................................
Use .background-image-svg in message group selector
Change-Id: Ie53a43be61e8cb20fe775d3bfc2c275892a0224d
---
M resources/css/ext.translate.groupselector.less
1 file changed, 8 insertions(+), 6 deletions(-)
Approvals:
jenkins-bot: Verified
Santhosh: Looks good to me, approved
diff --git a/resources/css/ext.translate.groupselector.less
b/resources/css/ext.translate.groupselector.less
index 6b646d1..c3a9b41 100644
--- a/resources/css/ext.translate.groupselector.less
+++ b/resources/css/ext.translate.groupselector.less
@@ -1,3 +1,5 @@
+@import 'mediawiki.mixins';
+
/**
* Group selector
*/
@@ -64,9 +66,9 @@
}
.tux-groupselector__filter__search__icon {
- background: url( ../images/search.png ) no-repeat scroll right center
transparent;
- /* @embed */
- background-image: linear-gradient( transparent, transparent ), url(
../images/search.svg );
+ .background-image-svg( '../images/search.svg', '../images/search.png' );
+ background-repeat: no-repeat;
+ background-position: right center;
background-size: 25px;
height: 28px;
width: 28px;
@@ -135,9 +137,9 @@
}
.tux-grouplist__item__icon {
- background: url( ../images/project.png ) no-repeat scroll right center
transparent;
- /* @embed */
- background-image: linear-gradient( transparent, transparent ), url(
../images/project.svg );
+ .background-image-svg( '../images/project.svg', '../images/project.png'
);
+ background-repeat: no-repeat;
+ background-position: right center;
/* Keep this in sync with js! */
background-size: 32px;
height: 50px;
--
To view, visit https://gerrit.wikimedia.org/r/400702
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie53a43be61e8cb20fe775d3bfc2c275892a0224d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits