r107211 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107210‎ | r107211 | r107212 >
Date:16:38, 24 December 2011
Author:robin
Status:ok
Tags:aft 
Comment:
Enable flipping of icons (didn't work when putting 'left' in background property)
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.css (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.css
@@ -740,42 +740,50 @@
741741
742742 .articleFeedbackv5-tags ul li .articleFeedbackv5-bucket2-suggestion-label {
743743 /* @embed */
744 - background: url(images/moodbar_emoticon_hover_lightbulb.png) no-repeat 0 center;
 744+ background: url(images/moodbar_emoticon_hover_lightbulb.png) no-repeat 0;
 745+ background-position: left; /* for flipping */
745746 }
746747
747748 .articleFeedbackv5-tags ul li .articleFeedbackv5-bucket2-question-label {
748749 /* @embed */
749 - background: url(images/moodbar_emoticon_hover_confused.png) no-repeat 0 center;
 750+ background: url(images/moodbar_emoticon_hover_confused.png) no-repeat 0;
 751+ background-position: left;
750752 }
751753
752754 .articleFeedbackv5-tags ul li .articleFeedbackv5-bucket2-problem-label {
753755 /* @embed */
754 - background: url(images/moodbar_emoticon_hover_sad.png) no-repeat 0 center;
 756+ background: url(images/moodbar_emoticon_hover_sad.png) no-repeat 0;
 757+ background-position: left;
755758 }
756759
757760 .articleFeedbackv5-tags ul li .articleFeedbackv5-bucket2-praise-label {
758761 /* @embed */
759 - background: url(images/moodbar_emoticon_hover_happy.png) no-repeat 0 center;
 762+ background: url(images/moodbar_emoticon_hover_happy.png) no-repeat 0;
 763+ background-position: left;
760764 }
761765
762766 /*.articleFeedbackv5-tags ul li:hover .articleFeedbackv5-bucket2-suggestion-label,
763767 .articleFeedbackv5-tags ul li.active .articleFeedbackv5-bucket2-suggestion-label {
764 - background: url(images/moodbar_emoticon_hover_lightbulb.png) no-repeat 0 center;
 768+ background: url(images/moodbar_emoticon_hover_lightbulb.png) no-repeat 0;
 769+ background-position: left;
765770 }
766771
767772 .articleFeedbackv5-tags ul li:hover .articleFeedbackv5-bucket2-question-label,
768773 .articleFeedbackv5-tags ul li.active .articleFeedbackv5-bucket2-question-label {
769 - background: url(images/moodbar_emoticon_set_confused.png) no-repeat 0 center;
 774+ background: url(images/moodbar_emoticon_set_confused.png) no-repeat 0;
 775+ background-position: left;
770776 }
771777
772778 .articleFeedbackv5-tags ul li:hover .articleFeedbackv5-bucket2-problem-label,
773779 .articleFeedbackv5-tags ul li.active .articleFeedbackv5-bucket2-problem-label {
774 - background: url(images/moodbar_emoticon_hover_sad.png) no-repeat 0 center;
 780+ background: url(images/moodbar_emoticon_hover_sad.png) no-repeat 0;
 781+ background-position: left;
775782 }
776783
777784 .articleFeedbackv5-tags ul li:hover .articleFeedbackv5-bucket2-praise-label,
778785 .articleFeedbackv5-tags ul li.active .articleFeedbackv5-bucket2-praise-label {
779 - background: url(images/moodbar_emoticon_hover_happy.png) no-repeat 0 center;
 786+ background: url(images/moodbar_emoticon_hover_happy.png) no-repeat 0;
 787+ background-position: left;
780788 }*/
781789
782790 /*** Option 3 ***/

Sign-offs

UserFlagDate
Nikerabbitinspected10:31, 25 December 2011

Status & tagging log