Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: skin/popup.css

Issue 29317001: Relocated icon and redesigned icon popup (Closed)
Left Patch Set: Created Nov. 7, 2013, 5:44 p.m.
Right Patch Set: Merged setBadgeNumber and setBadgeBackgroundColor Created Dec. 13, 2013, 10:36 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« lib/stats.js ('K') | « safari/background.js ('k') | skin/popup.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 body 1 body
2 { 2 {
3 min-width: 250px; 3 min-width: 250px;
4 margin: 0px; 4 margin: 0px;
5 font-family: Helvetica, Arial, sans-serif; 5 font-family: Segoe UI, Arial, sans-serif;
6 font-size: 13px; 6 font-size: 13px;
7 color: #7f776b; 7 color: #545454;
8 background-color: #f8f6f2; 8 background-color: #f8f6f2;
9 background-image: url(background.png); 9 background-image: url(background.png);
10 } 10 }
11 11
12 #clickhide-instructions, 12 #clickhide-instructions,
13 #clickhide-cancel, 13 #clickhide-cancel,
14 body.clickhide-active li 14 body.clickhide-active li
15 { 15 {
16 display: none; 16 display: none;
17 } 17 }
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 footer 109 footer
110 { 110 {
111 cursor: pointer; 111 cursor: pointer;
112 padding: 10px 35px; 112 padding: 10px 35px;
113 border-top: 1px solid #e1ddd8; 113 border-top: 1px solid #e1ddd8;
114 background-image: url(background-main.png); 114 background-image: url(background-main.png);
115 } 115 }
116 116
117 footer:hover 117 footer:hover
118 { 118 {
119 background-image: url(background-main-hover.png); 119 background: -moz-linear-gradient(top, rgba(70, 50, 0, 0.1), rgba(70, 50, 0, 0. 1)),
120 url(background-main.png);
121 background: -webkit-linear-gradient(top, rgba(70, 50, 0, 0.1), rgba(70, 50, 0, 0.1)),
122 url(background-main.png);
123 background: linear-gradient(top, rgba(70, 50, 0, 0.1), rgba(70, 50, 0, 0.1)),
Wladimir Palant 2013/12/17 14:11:14 The standardized linear gradient syntax is actuall
124 url(background-main.png);
120 } 125 }
121 126
122 footer .icon 127 footer .icon
123 { 128 {
124 background-position: -50px -65px; 129 background-position: -50px -65px;
125 } 130 }
126 131
127 ul 132 ul
128 { 133 {
129 margin: 0px; 134 margin: 0px;
130 padding: 0px; 135 padding: 0px;
131 } 136 }
132 137
133 li 138 li
134 { 139 {
135 cursor: pointer; 140 cursor: pointer;
136 list-style-type: none; 141 list-style-type: none;
137 white-space: nowrap; 142 white-space: nowrap;
138 border-top: 1px dashed #a5a4a1; 143 border-top: 1px dashed #a5a4a1;
139 } 144 }
140 145
141 li:hover
142 {
143 background-color: #ece7df;
144 }
145
146 li ul 146 li ul
147 { 147 {
148 margin-left: 35px; 148 margin-left: 35px;
149 } 149 }
150 150
151 li li 151 li li
152 { 152 {
153 cursor: default; 153 cursor: default;
154 padding: 10px 15px; 154 padding: 10px 15px;
155 } 155 }
156 156
157 .menu-item 157 .menu-item
158 { 158 {
159 padding: 10px 0px 10px 15px; 159 padding: 10px 0px 10px 15px;
160 }
161
162 .menu-item:hover
163 {
164 background-color: #ece7df;
160 } 165 }
161 166
162 .icon 167 .icon
163 { 168 {
164 display: inline-block; 169 display: inline-block;
165 width: 15px; 170 width: 15px;
166 height: 15px; 171 height: 15px;
167 margin-right: 15px; 172 margin-right: 15px;
168 vertical-align: top; 173 vertical-align: top;
169 background-image: url(popup.png); 174 background-image: url(popup.png);
170 } 175 }
171 176
177 #enabled-yes strong
178 {
179 font-weight: normal;
180 color: #12610e;
181 }
182
183 #enabled-no strong
184 {
185 font-weight: normal;
186 color: #ac0505;
187 }
188
172 #enabled .icon 189 #enabled .icon
173 { 190 {
174 background-position: -50px -1px ; 191 background-position: -50px -1px ;
175 } 192 }
176 193
177 #enabled.off .icon 194 #enabled.off .icon
178 { 195 {
179 background-position: -50px -17px; 196 background-position: -50px -17px;
180 } 197 }
181 198
182 #enabled-off 199 #enabled-no,
183 { 200 #enabled.off #enabled-yes
184 display: none; 201 {
185 } 202 display: none;
186 203 }
187 #enabled.off #enabled-on 204
188 { 205 #enabled.off #enabled-no
189 display: none;
190 }
191
192 #enabled.off #enabled-off
193 { 206 {
194 display: inline; 207 display: inline;
195 } 208 }
196 209
197 #clickhide .icon, 210 #clickhide .icon,
198 #clickhide-cancel .icon 211 #clickhide-cancel .icon
199 { 212 {
200 background-position: -50px -33px; 213 background-position: -50px -33px;
201 } 214 }
202 215
(...skipping 10 matching lines...) Expand all
213 226
214 #stats strong 227 #stats strong
215 { 228 {
216 font-size: 15px; 229 font-size: 15px;
217 line-height: 140%; 230 line-height: 140%;
218 } 231 }
219 232
220 #share 233 #share
221 { 234 {
222 margin-top: 5px; 235 margin-top: 5px;
236 color: #949494;
223 } 237 }
224 238
225 #share-box 239 #share-box
226 { 240 {
227 margin-top: 10px; 241 margin-top: 10px;
228 } 242 }
229 243
230 #share-box div[data-social] 244 #share-box div[data-social]
231 { 245 {
232 cursor: pointer; 246 cursor: pointer;
233 display: inline-block; 247 display: inline-block;
234 width: 33px; 248 width: 32px;
235 height: 33px; 249 height: 32px;
236 margin-right: 10px; 250 margin: 3px 10px 3px 3px;
237 background-image: url(popup.png); 251 border-radius: 3px;
252 background-image: url(popup.png);
253 }
254
255 #share-box div[data-social]:hover
256 {
257 margin: 0px 7px 0px 0px;
258 border: 3px solid #cdc6bd
238 } 259 }
239 260
240 #share-box div[data-social="facebook"] 261 #share-box div[data-social="facebook"]
241 { 262 {
242 background-position: -1px -1px; 263 background-position: -1px -1px;
243 } 264 }
244 265
245 #share-box div[data-social="twitter"] 266 #share-box div[data-social="twitter"]
246 { 267 {
247 background-position: -1px -34px; 268 background-position: -1px -34px;
(...skipping 30 matching lines...) Expand all
278 .collapsed .collapsable 299 .collapsed .collapsable
279 { 300 {
280 display: none; 301 display: none;
281 } 302 }
282 303
283 .checkbox 304 .checkbox
284 { 305 {
285 display: inline-block; 306 display: inline-block;
286 width: 15px; 307 width: 15px;
287 height: 15px; 308 height: 15px;
309 margin-right: 5px;
288 vertical-align: middle; 310 vertical-align: middle;
289 background-image: url(popup.png); 311 background-image: url(popup.png);
290 }
291
292 .checkbox
293 {
294 background-position: -34px -1px; 312 background-position: -34px -1px;
295 } 313 }
296 314
315 .checkbox:hover
316 {
317 background-position: -34px -17px;
318 }
319
297 .checkbox[aria-checked="false"] 320 .checkbox[aria-checked="false"]
298 { 321 {
299 background-position: -34px -33px; 322 background-position: -34px -33px;
300 } 323 }
301 324
302 325 .checkbox[aria-checked="false"]:hover
303 326 {
304 327 background-position: -34px -49px;
328 }
329
330 label
331 {
332 vertical-align: middle;
333 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld