r98034 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98033‎ | r98034 | r98035 >
Date:21:33, 24 September 2011
Author:catrope
Status:ok
Tags:
Comment:
MoodBar: Rename page.css
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.php (modified) (history)
  • /trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.css (added) (history)
  • /trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/page.css (deleted) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/page.css
@@ -1,223 +0,0 @@
2 -/* Filters */
3 -
4 -#fbd-filters {
5 - position: absolute;
6 - width: 12em;
7 -}
8 -
9 -#fbd-filters form {
10 - margin: 0;
11 - padding: 1em;
12 - background-color: #e8f2f8;
13 -}
14 -
15 -#fbd-about {
16 - display: inline-block;
17 - font-size: 0.8em;
18 - margin-top: 0.5em;
19 -}
20 -
21 -#fbd-filters-title {
22 - font-size: 1.2em;
23 - margin: 0;
24 - padding: 0;
25 - border-bottom: solid 1px black;
26 -}
27 -
28 -#fbd-filters-types {
29 - margin: 0.5em 0 0 0;
30 - padding: 0;
31 - border: none;
32 -}
33 -
34 -.fbd-filters-label {
35 - display: block;
36 - margin: 0.5em 0 0 0;
37 - padding: 0;
38 - font-weight: bold;
39 -}
40 -
41 -.fbd-filters-input {
42 - margin: 0.25em 0 0.25em 0.75em;
43 - width: 10em;
44 -}
45 -
46 -#fbd-filters-types ul {
47 - margin: 0;
48 - padding: 0;
49 - list-style: none;
50 -}
51 -
52 -#fbd-filters-types li {
53 - margin: 0 0 0 0.75em;
54 - padding: 0;
55 - list-style: none;
56 -}
57 -
58 -#fbd-filters-types label {
59 - padding-left: 18px;
60 - background-position: left 45%;
61 - background-repeat: no-repeat;
62 -}
63 -
64 -#fbd-filters-type-praise-label {
65 - /* @embed */
66 - background-image: url(images/filter-praise.png);
67 -}
68 -
69 -#fbd-filters-type-confusion-label {
70 - /* @embed */
71 - background-image: url(images/filter-confusion.png);
72 -}
73 -
74 -#fbd-filters-type-issues-label {
75 - /* @embed */
76 - background-image: url(images/filter-issues.png);
77 -}
78 -
79 -#fbd-filters-set {
80 - margin: 1em 0 0 0;
81 -}
82 -
83 -/* List */
84 -
85 -#fbd-list {
86 - margin: 0 0 0 13em;
87 - padding: 0;
88 - list-style: none;
89 -}
90 -
91 -.client-nojs #fbd-list-more {
92 - display: none;
93 -}
94 -
95 -.client-js #fbd-list-newer-older {
96 - display: none;
97 -}
98 -
99 -#fbd-list-more, #fbd-list-newer-older {
100 - margin: 1em 0 0 13em;
101 - padding: 0.5em;
102 - background-color: #e8f2f8;
103 -}
104 -
105 -#fbd-list-more a, #fbd-list-newer a, #fbd-list-older a,
106 -#fbd-list-newer .fbd-page-disabled, #fbd-list-older .fbd-page-disabled {
107 - font-size: 1.4em;
108 - background-repeat: no-repeat;
109 -}
110 -
111 -#fbd-list-more {
112 - text-align: center;
113 -}
114 -
115 -#fbd-list-more a {
116 - /* @embed */
117 - background-image: url(images/page-more.png);
118 - background-position: left center;
119 - padding-left: 20px;
120 -}
121 -
122 -#fbd-list-newer {
123 - float: left;
124 -}
125 -
126 -#fbd-list-newer a, #fbd-list-newer .fbd-page-disabled {
127 - background-position: left center;
128 - padding-left: 20px;
129 -}
130 -
131 -/* The images here are named -ltr instead of -left and -rtl instead of -right
132 - * because ResourceLoader flips -ltr and -rtl in URLs, but not -left and -right
133 - */
134 -#fbd-list-newer a {
135 - /* @embed */
136 - background-image: url(images/page-active-ltr.png);
137 -}
138 -
139 -#fbd-list-newer .fbd-page-disabled {
140 - /* @embed */
141 - background-image: url(images/page-disabled-ltr.png);
142 -}
143 -
144 -#fbd-list-older {
145 - float: right;
146 -}
147 -
148 -#fbd-list-older a, #fbd-list-older .fbd-page-disabled {
149 - background-position: right center;
150 - padding-right: 20px;
151 -}
152 -
153 -#fbd-list-older a {
154 - /* @embed */
155 - background-image: url(images/page-active-rtl.png);
156 -}
157 -
158 -#fbd-list-older .fbd-page-disabled {
159 - /* @embed */
160 - background-image: url(images/page-disabled-rtl.png);
161 -}
162 -
163 -.fbd-page-disabled {
164 - color: #c6c6c6;
165 -}
166 -
167 -.fbd-item {
168 - border-bottom: solid 1px silver;
169 - position: relative;
170 -}
171 -
172 -.fbd-item-emoticon {
173 - float: left;
174 - margin-right: 0.5em;
175 - width: 75px;
176 - height: 90px;
177 - background-position: center top;
178 - background-repeat: no-repeat;
179 -}
180 -
181 -.fbd-item-emoticon-label {
182 - display: block;
183 - margin-top: 60px;
184 - text-align: center;
185 -}
186 -
187 -.fbd-item-emoticon-happy {
188 - /* @embed */
189 - background-image: url(images/emoticon-happy.png);
190 -}
191 -.fbd-item-emoticon-confused {
192 - /* @embed */
193 - background-image: url(images/emoticon-confused.png);
194 -}
195 -.fbd-item-emoticon-sad {
196 - /* @embed */
197 - background-image: url(images/emoticon-sad.png);
198 -}
199 -
200 -.fbd-item-userName {
201 - font-size: 1.2em;
202 - margin: 0;
203 - padding: 0;
204 -}
205 -
206 -.fbd-item-userLinks {
207 - font-size: 0.5em;
208 -}
209 -
210 -.fbd-item-time {
211 - font-size: 1.2em;
212 - float: right;
213 - font-weight: bold;
214 -}
215 -
216 -.fbd-item-message {
217 - font-size: 1.4em;
218 - margin-top: 0.25em;
219 -}
220 -
221 -.fbd-item-permalink {
222 - float: right;
223 - font-size: 0.8em;
224 -}
Index: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.css
@@ -0,0 +1,223 @@
 2+/* Filters */
 3+
 4+#fbd-filters {
 5+ position: absolute;
 6+ width: 12em;
 7+}
 8+
 9+#fbd-filters form {
 10+ margin: 0;
 11+ padding: 1em;
 12+ background-color: #e8f2f8;
 13+}
 14+
 15+#fbd-about {
 16+ display: inline-block;
 17+ font-size: 0.8em;
 18+ margin-top: 0.5em;
 19+}
 20+
 21+#fbd-filters-title {
 22+ font-size: 1.2em;
 23+ margin: 0;
 24+ padding: 0;
 25+ border-bottom: solid 1px black;
 26+}
 27+
 28+#fbd-filters-types {
 29+ margin: 0.5em 0 0 0;
 30+ padding: 0;
 31+ border: none;
 32+}
 33+
 34+.fbd-filters-label {
 35+ display: block;
 36+ margin: 0.5em 0 0 0;
 37+ padding: 0;
 38+ font-weight: bold;
 39+}
 40+
 41+.fbd-filters-input {
 42+ margin: 0.25em 0 0.25em 0.75em;
 43+ width: 10em;
 44+}
 45+
 46+#fbd-filters-types ul {
 47+ margin: 0;
 48+ padding: 0;
 49+ list-style: none;
 50+}
 51+
 52+#fbd-filters-types li {
 53+ margin: 0 0 0 0.75em;
 54+ padding: 0;
 55+ list-style: none;
 56+}
 57+
 58+#fbd-filters-types label {
 59+ padding-left: 18px;
 60+ background-position: left 45%;
 61+ background-repeat: no-repeat;
 62+}
 63+
 64+#fbd-filters-type-praise-label {
 65+ /* @embed */
 66+ background-image: url(images/filter-praise.png);
 67+}
 68+
 69+#fbd-filters-type-confusion-label {
 70+ /* @embed */
 71+ background-image: url(images/filter-confusion.png);
 72+}
 73+
 74+#fbd-filters-type-issues-label {
 75+ /* @embed */
 76+ background-image: url(images/filter-issues.png);
 77+}
 78+
 79+#fbd-filters-set {
 80+ margin: 1em 0 0 0;
 81+}
 82+
 83+/* List */
 84+
 85+#fbd-list {
 86+ margin: 0 0 0 13em;
 87+ padding: 0;
 88+ list-style: none;
 89+}
 90+
 91+.client-nojs #fbd-list-more {
 92+ display: none;
 93+}
 94+
 95+.client-js #fbd-list-newer-older {
 96+ display: none;
 97+}
 98+
 99+#fbd-list-more, #fbd-list-newer-older {
 100+ margin: 1em 0 0 13em;
 101+ padding: 0.5em;
 102+ background-color: #e8f2f8;
 103+}
 104+
 105+#fbd-list-more a, #fbd-list-newer a, #fbd-list-older a,
 106+#fbd-list-newer .fbd-page-disabled, #fbd-list-older .fbd-page-disabled {
 107+ font-size: 1.4em;
 108+ background-repeat: no-repeat;
 109+}
 110+
 111+#fbd-list-more {
 112+ text-align: center;
 113+}
 114+
 115+#fbd-list-more a {
 116+ /* @embed */
 117+ background-image: url(images/page-more.png);
 118+ background-position: left center;
 119+ padding-left: 20px;
 120+}
 121+
 122+#fbd-list-newer {
 123+ float: left;
 124+}
 125+
 126+#fbd-list-newer a, #fbd-list-newer .fbd-page-disabled {
 127+ background-position: left center;
 128+ padding-left: 20px;
 129+}
 130+
 131+/* The images here are named -ltr instead of -left and -rtl instead of -right
 132+ * because ResourceLoader flips -ltr and -rtl in URLs, but not -left and -right
 133+ */
 134+#fbd-list-newer a {
 135+ /* @embed */
 136+ background-image: url(images/page-active-ltr.png);
 137+}
 138+
 139+#fbd-list-newer .fbd-page-disabled {
 140+ /* @embed */
 141+ background-image: url(images/page-disabled-ltr.png);
 142+}
 143+
 144+#fbd-list-older {
 145+ float: right;
 146+}
 147+
 148+#fbd-list-older a, #fbd-list-older .fbd-page-disabled {
 149+ background-position: right center;
 150+ padding-right: 20px;
 151+}
 152+
 153+#fbd-list-older a {
 154+ /* @embed */
 155+ background-image: url(images/page-active-rtl.png);
 156+}
 157+
 158+#fbd-list-older .fbd-page-disabled {
 159+ /* @embed */
 160+ background-image: url(images/page-disabled-rtl.png);
 161+}
 162+
 163+.fbd-page-disabled {
 164+ color: #c6c6c6;
 165+}
 166+
 167+.fbd-item {
 168+ border-bottom: solid 1px silver;
 169+ position: relative;
 170+}
 171+
 172+.fbd-item-emoticon {
 173+ float: left;
 174+ margin-right: 0.5em;
 175+ width: 75px;
 176+ height: 90px;
 177+ background-position: center top;
 178+ background-repeat: no-repeat;
 179+}
 180+
 181+.fbd-item-emoticon-label {
 182+ display: block;
 183+ margin-top: 60px;
 184+ text-align: center;
 185+}
 186+
 187+.fbd-item-emoticon-happy {
 188+ /* @embed */
 189+ background-image: url(images/emoticon-happy.png);
 190+}
 191+.fbd-item-emoticon-confused {
 192+ /* @embed */
 193+ background-image: url(images/emoticon-confused.png);
 194+}
 195+.fbd-item-emoticon-sad {
 196+ /* @embed */
 197+ background-image: url(images/emoticon-sad.png);
 198+}
 199+
 200+.fbd-item-userName {
 201+ font-size: 1.2em;
 202+ margin: 0;
 203+ padding: 0;
 204+}
 205+
 206+.fbd-item-userLinks {
 207+ font-size: 0.5em;
 208+}
 209+
 210+.fbd-item-time {
 211+ font-size: 1.2em;
 212+ float: right;
 213+ font-weight: bold;
 214+}
 215+
 216+.fbd-item-message {
 217+ font-size: 1.4em;
 218+ margin-top: 0.25em;
 219+}
 220+
 221+.fbd-item-permalink {
 222+ float: right;
 223+ font-size: 0.8em;
 224+}
Property changes on: trunk/extensions/MoodBar/modules/ext.moodBar.dashboard/ext.moodBar.dashboard.css
___________________________________________________________________
Added: svn:eol-style
1225 + native
Index: trunk/extensions/MoodBar/MoodBar.php
@@ -117,7 +117,7 @@
118118 );
119119
120120 $wgResourceModules['ext.moodBar.dashboard.styles'] = $mbResourceTemplate + array(
121 - 'styles' => 'ext.moodBar.dashboard/page.css',
 121+ 'styles' => 'ext.moodBar.dashboard/ext.moodBar.dashboard.css',
122122 );
123123
124124 $wgResourceModules['jquery.moodBar'] = $mbResourceTemplate + array(

Status & tagging log