r31817 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31816‎ | r31817 | r31818 >
Date:20:03, 11 March 2008
Author:raymond
Status:old
Tags:
Comment:
Some tweaks for the short UI box:
* Make the icons a little bit smaller
* Put the box on the h1 line (tested with FF 3b4, IE7, Opera 9.26, Safari 3)
Thanks to [[de:User:elya]]
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/flaggedrevs.css (modified) (history)
  • /trunk/extensions/FlaggedRevs/img/1.png (modified) (history)
  • /trunk/extensions/FlaggedRevs/img/2.png (modified) (history)
  • /trunk/extensions/FlaggedRevs/img/3.png (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -147,7 +147,7 @@
148148 #########
149149
150150 # Bump this number every time you change flaggedrevs.css/flaggedrevs.js
151 -$wgFlaggedRevStyleVersion = 2;
 151+$wgFlaggedRevStyleVersion = 3;
152152
153153 $wgExtensionFunctions[] = 'efLoadFlaggedRevs';
154154
Index: trunk/extensions/FlaggedRevs/flaggedrevs.css
@@ -105,26 +105,28 @@
106106 padding: 3px;
107107 font-size: 80%;
108108 font-weight: normal;
109 - margin-left: 3px;
110 - margin-right: 0px;
111 - margin-top: 5px;
112 - margin-bottom: 0px;
 109+ margin: 8px;
113110 text-align: left;
114111 float: right;
115 - max-width: 380px;
 112+ max-width: 350px;
116113 clear: both;
117114 }
 115+/* IE 7 only */
 116+*+html .flaggedrevs_short {
 117+ margin: 9px;
 118+}
118119
 120+
119121 .fr-tab_current,
120122 .fr-tab_stable,
121123 .fr-tab_quality {
122124 padding: 0px;
123125 margin: 0px;
124 - width: 27px;
125 - height: 27px;
 126+ width: 20px;
 127+ height: 18px;;
126128 position: relative;
127129 float: left;
128 - top: -2px;
 130+ top: -3px;
129131 right: 0px;
130132 background-repeat: no-repeat;
131133 background-position: 0px 0px;
Index: trunk/extensions/FlaggedRevs/img/1.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: trunk/extensions/FlaggedRevs/img/2.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: trunk/extensions/FlaggedRevs/img/3.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png

Follow-up revisions

RevisionCommit summaryAuthorDate
r45289Trim excess edges. Makes icons harder to center....aaron15:53, 1 January 2009
r82540Rescaled-down icon from pre-r31817 stateaaron22:14, 20 February 2011

Status & tagging log