jenkins-bot has submitted this change and it was merged. Change subject: Add flag image to the MT abuse card ......................................................................
Add flag image to the MT abuse card Change-Id: Ie174ad7a2f1356bbec53d203c66b16a4c76da0cc --- A modules/tools/images/flag_yellow.png A modules/tools/images/flag_yellow.svg M modules/tools/styles/ext.cx.tools.mtabuse.less 3 files changed, 20 insertions(+), 4 deletions(-) Approvals: Santhosh: Looks good to me, approved Pginer: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/modules/tools/images/flag_yellow.png b/modules/tools/images/flag_yellow.png new file mode 100644 index 0000000..bd5f2d3 --- /dev/null +++ b/modules/tools/images/flag_yellow.png Binary files differ diff --git a/modules/tools/images/flag_yellow.svg b/modules/tools/images/flag_yellow.svg new file mode 100644 index 0000000..7b84288 --- /dev/null +++ b/modules/tools/images/flag_yellow.svg @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> +<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" + viewBox="258 348 96 96" enable-background="new 258 348 96 96" xml:space="preserve"> +<path fill="#FFB500" d="M308.4,357.3c-21.3-10.7-38.4-9.2-38.4-9.2v95.7c0,0,8,1.4,8-3.5s0-40.8,0-40.8c4.6-1.5,12.6-2.8,30.5,8.8 + c23,13.5,33.6-4.1,33.6-4.1v-51C342,353.2,329.8,367.5,308.4,357.3z"/> +</svg> diff --git a/modules/tools/styles/ext.cx.tools.mtabuse.less b/modules/tools/styles/ext.cx.tools.mtabuse.less index 7d7d9ff..b9d42cc 100644 --- a/modules/tools/styles/ext.cx.tools.mtabuse.less +++ b/modules/tools/styles/ext.cx.tools.mtabuse.less @@ -1,18 +1,26 @@ @import "../../base/styles/grid/agora-grid"; +@import "mediawiki.mixins"; .card.mtabuse { animation-name: card-show-animation; animation-duration: 0.5s; position: relative; - padding: 10px } .card__mtabuse-title { font-size: large; + .background-image-svg('../images/flag_yellow.svg', '../images/flag_yellow.png'); + background-repeat: no-repeat; + background-position: 10px center; + background-size: 50px; + padding: 10px 15px 10px 70px; + border: none; + margin: 0; } .card__mtabuse-details { - padding: 5px; + padding: 5px 15px 20px 15px; + color: #555; } .card__mtabuse-link { @@ -20,5 +28,5 @@ color: #3366bb; padding: 10px; font-size: medium; - border-top: 1px solid #aaa -} \ No newline at end of file + border-top: 1px solid #ddd +} -- To view, visit https://gerrit.wikimedia.org/r/154034 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ie174ad7a2f1356bbec53d203c66b16a4c76da0cc Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <[email protected]> Gerrit-Reviewer: Nikerabbit <[email protected]> Gerrit-Reviewer: Pginer <[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
