[MediaWiki-commits] [Gerrit] Use chevron for panel opening affordance - change (mediawiki...MultimediaViewer)
Pginer has uploaded a new change for review. https://gerrit.wikimedia.org/r/106244 Change subject: Use chevron for panel opening affordance .. Use chevron for panel opening affordance replaces the drag image with a chevron and adds CSS classes to adjust the opacity changes. Change-Id: I689c7ff3c952f1ec2b8b16258dc44b1ad095f4fa --- M resources/ext.multimediaViewer/ext.multimediaViewer.css M resources/ext.multimediaViewer/img/drag.svg 2 files changed, 28 insertions(+), 50 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer refs/changes/44/106244/1 diff --git a/resources/ext.multimediaViewer/ext.multimediaViewer.css b/resources/ext.multimediaViewer/ext.multimediaViewer.css index 53abdbe..db8c7b9 100644 --- a/resources/ext.multimediaViewer/ext.multimediaViewer.css +++ b/resources/ext.multimediaViewer/ext.multimediaViewer.css @@ -355,4 +355,10 @@ background-repeat: no-repeat; background-position: center bottom; margin: 0 auto; + opacity: 0.6; + transition: opacity 0.25s; } + +.mlb-post-image:hover .mw-mlb-drag-icon { + opacity: 1; +} \ No newline at end of file diff --git a/resources/ext.multimediaViewer/img/drag.svg b/resources/ext.multimediaViewer/img/drag.svg index 36dd3c0..4bc822a 100644 --- a/resources/ext.multimediaViewer/img/drag.svg +++ b/resources/ext.multimediaViewer/img/drag.svg @@ -26,53 +26,25 @@ /defs - rect - width=3.229414 - height=3.2007201 - x=3.8258696 - y=3.1988635 - id=rect5 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=10.284697 - y=3.1988635 - id=rect7 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=16.743525 - y=3.1988635 - id=rect9 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=16.743525 - y=9.6004152 - id=rect11 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=23.202465 - y=3.1988635 - id=rect13 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=23.202465 - y=9.6004152 - id=rect15 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=10.284697 - y=9.6004152 - id=rect17 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=3.8258696 - y=9.6004152 - id=rect19 - style=fill:#cc;fill-opacity:1 / -/svg \ No newline at end of file + +g + transform=translate(-0.23273449,-1.0139907) + id=g4307 /rect + width=14.503055 + height=1.4892824 + rx=0.25 + ry=0.25 + x=15.244375 + y=-3.4744322 + transform=matrix(0.8660254,0.5,-0.5,0.8660254,0,0) + id=rect3035-9-6 + style=fill:#aa;fill-opacity:1;stroke:none /rect + width=14.503055 + height=1.4892824 + rx=0.25 + ry=0.25 + x=-10.736385 + y=-13.01485 + transform=matrix(-0.8660254,0.5,-0.5,-0.8660254,0,0) + id=rect3035-9-6-4 + style=fill:#aa;fill-opacity:1;stroke:none //svg \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/106244 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I689c7ff3c952f1ec2b8b16258dc44b1ad095f4fa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MultimediaViewer Gerrit-Branch: master Gerrit-Owner: Pginer pgi...@wikimedia.org ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Use chevron for panel opening affordance - change (mediawiki...MultimediaViewer)
jenkins-bot has submitted this change and it was merged. Change subject: Use chevron for panel opening affordance .. Use chevron for panel opening affordance replaces the drag image with a chevron and adds CSS classes to adjust the opacity changes. Change-Id: I689c7ff3c952f1ec2b8b16258dc44b1ad095f4fa --- M resources/ext.multimediaViewer/ext.multimediaViewer.css M resources/ext.multimediaViewer/img/drag.svg 2 files changed, 28 insertions(+), 50 deletions(-) Approvals: MarkTraceur: Looks good to me, approved jenkins-bot: Verified diff --git a/resources/ext.multimediaViewer/ext.multimediaViewer.css b/resources/ext.multimediaViewer/ext.multimediaViewer.css index 53abdbe..db8c7b9 100644 --- a/resources/ext.multimediaViewer/ext.multimediaViewer.css +++ b/resources/ext.multimediaViewer/ext.multimediaViewer.css @@ -355,4 +355,10 @@ background-repeat: no-repeat; background-position: center bottom; margin: 0 auto; + opacity: 0.6; + transition: opacity 0.25s; } + +.mlb-post-image:hover .mw-mlb-drag-icon { + opacity: 1; +} \ No newline at end of file diff --git a/resources/ext.multimediaViewer/img/drag.svg b/resources/ext.multimediaViewer/img/drag.svg index 36dd3c0..4bc822a 100644 --- a/resources/ext.multimediaViewer/img/drag.svg +++ b/resources/ext.multimediaViewer/img/drag.svg @@ -26,53 +26,25 @@ /defs - rect - width=3.229414 - height=3.2007201 - x=3.8258696 - y=3.1988635 - id=rect5 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=10.284697 - y=3.1988635 - id=rect7 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=16.743525 - y=3.1988635 - id=rect9 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=16.743525 - y=9.6004152 - id=rect11 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=23.202465 - y=3.1988635 - id=rect13 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=23.202465 - y=9.6004152 - id=rect15 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=10.284697 - y=9.6004152 - id=rect17 - style=fill:#cc;fill-opacity:1 /rect - width=3.229414 - height=3.2007201 - x=3.8258696 - y=9.6004152 - id=rect19 - style=fill:#cc;fill-opacity:1 / -/svg \ No newline at end of file + +g + transform=translate(-0.23273449,-1.0139907) + id=g4307 /rect + width=14.503055 + height=1.4892824 + rx=0.25 + ry=0.25 + x=15.244375 + y=-3.4744322 + transform=matrix(0.8660254,0.5,-0.5,0.8660254,0,0) + id=rect3035-9-6 + style=fill:#aa;fill-opacity:1;stroke:none /rect + width=14.503055 + height=1.4892824 + rx=0.25 + ry=0.25 + x=-10.736385 + y=-13.01485 + transform=matrix(-0.8660254,0.5,-0.5,-0.8660254,0,0) + id=rect3035-9-6-4 + style=fill:#aa;fill-opacity:1;stroke:none //svg \ No newline at end of file -- To view, visit https://gerrit.wikimedia.org/r/106244 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I689c7ff3c952f1ec2b8b16258dc44b1ad095f4fa Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MultimediaViewer Gerrit-Branch: master Gerrit-Owner: Pginer pgi...@wikimedia.org Gerrit-Reviewer: MarkTraceur mtrac...@member.fsf.org Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits