Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: chrome/browser/resources/history/history.css

Issue 12218058: History: Use images instead of unicode characters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor improvements Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 body:not(.uber-frame) { 5 body:not(.uber-frame) {
6 color: rgb(48, 57, 66); 6 color: rgb(48, 57, 66);
7 margin: 0 8px 0 8px; 7 margin: 0 8px 0 8px;
8 } 8 }
9 9
10 html[dir=rtl] body.uber-frame > .page { 10 html[dir=rtl] body.uber-frame > .page {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #filter-controls select { 49 #filter-controls select {
50 -webkit-margin-end: 0; 50 -webkit-margin-end: 0;
51 } 51 }
52 52
53 html[dir=rtl] #range-today, 53 html[dir=rtl] #range-today,
54 html[dir=rtl] #range-previous, 54 html[dir=rtl] #range-previous,
55 html[dir=rtl] #range-next { 55 html[dir=rtl] #range-next {
56 float: left; 56 float: left;
57 } 57 }
58 58
59 #range-next:disabled img,
60 #range-previous:disabled img {
61 opacity: 0.4;
62 }
63
59 #display-filter-controls { 64 #display-filter-controls {
60 float: right; 65 float: right;
61 } 66 }
62 67
63 #display-filter-controls label { 68 #display-filter-controls label {
64 -webkit-margin-start: 6px; 69 -webkit-margin-start: 6px;
65 } 70 }
66 71
67 #display-filter-controls label:not(:last-child) { 72 #display-filter-controls label:not(:last-child) {
68 -webkit-border-end: 1px solid rgb(151, 156, 160); 73 -webkit-border-end: 1px solid rgb(151, 156, 160);
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 * 'embed' makes the engine set the text in the parentheses as LTR even 195 * 'embed' makes the engine set the text in the parentheses as LTR even
191 * when the layout is set to RTL, which makes using -webkit-*-start 196 * when the layout is set to RTL, which makes using -webkit-*-start
192 * impossible. So use margins and dir='rtl'. 197 * impossible. So use margins and dir='rtl'.
193 */ 198 */
194 direction: rtl; 199 direction: rtl;
195 unicode-bidi: embed; 200 unicode-bidi: embed;
196 } 201 }
197 202
198 .number-visits { 203 .number-visits {
199 color: rgb(151, 156, 160); 204 color: rgb(151, 156, 160);
200 margin-left: 0.3em;
201 } 205 }
202 206
203 .drop-down { 207 .drop-down {
204 -webkit-margin-end: 5px; 208 -webkit-margin-end: 5px;
205 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px; 209 background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px;
206 border: 1px solid rgb(192, 195, 198); 210 border: 1px solid rgb(192, 195, 198);
207 border-radius: 2px; 211 border-radius: 2px;
208 height: 12px; 212 height: 12px;
209 padding: 0; 213 padding: 0;
210 position: relative; 214 position: relative;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 .entry-box:hover input[type=checkbox], 263 .entry-box:hover input[type=checkbox],
260 .entry-box input[type=checkbox]:focus { 264 .entry-box input[type=checkbox]:focus {
261 opacity: 1; 265 opacity: 1;
262 } 266 }
263 267
264 .entry-box input[type=checkbox]:focus { 268 .entry-box input[type=checkbox]:focus {
265 -webkit-transition: opacity 150ms; 269 -webkit-transition: opacity 150ms;
266 } 270 }
267 </if> 271 </if>
268 272
273 #range-previous img {
274 -webkit-transform: rotate(180deg);
Patrick Dubroy 2013/02/18 10:19:36 BTW you can also do scaleX(-1) to mirror it. That
Sergiu 2013/02/19 08:58:25 Done.
275 }
276
269 .entry-box { 277 .entry-box {
270 background-color: none; 278 background-color: none;
271 } 279 }
272 280
273 .entry-box:hover, 281 .entry-box:hover,
274 .entry-box.contains-focus { 282 .entry-box.contains-focus {
275 background-color: rgb(252, 252, 252); 283 background-color: rgb(252, 252, 252);
276 border-radius: 2px; 284 border-radius: 2px;
277 } 285 }
278 286
279 .entry .title { 287 .entry .title {
280 -webkit-box-flex: 1; 288 -webkit-box-flex: 1;
281 overflow: hidden; 289 overflow: hidden;
282 text-overflow: ellipsis; 290 text-overflow: ellipsis;
283 white-space: nowrap; 291 white-space: nowrap;
284 } 292 }
285 293
286 .day-results > .entry .title, 294 .day-results > .entry .title,
287 .search-results > .entry .title, 295 .search-results > .entry .title,
288 .site-domain { 296 .site-domain {
289 /* Make room for the favicon. */ 297 /* Make room for the favicon. */
290 -webkit-padding-start: 20px; 298 -webkit-padding-start: 20px;
291 299
292 /* Control the favicon appearance. */ 300 /* Control the favicon appearance. */
293 background-position-y: 3px; 301 background-position-y: 3px;
294 background-repeat: no-repeat; 302 background-repeat: no-repeat;
295 background-size: 16px; 303 background-size: 16px;
296 } 304 }
297 305
306 .site-domain button {
307 color: rgb(48, 57, 66);
308 }
309
298 .site-domain-arrow { 310 .site-domain-arrow {
299 -webkit-transition: -webkit-transform 300ms linear; 311 -webkit-transition: -webkit-transform 300ms linear;
300 color: rgb(143, 143, 143); 312 background: url('../disclosure_triangle_small.png') no-repeat;
313 background-position: 5px 5px;
314 color: #8F8F8F;
Patrick Dubroy 2013/02/18 10:19:36 This should be specified in RGB.
Sergiu 2013/02/19 08:58:25 Done.
301 height: 21px; 315 height: 21px;
302 margin-right: 2px; 316 margin-right: 2px;
317 opacity: 0.58;
303 text-align: center; 318 text-align: center;
304 width: 21px; 319 width: 21px;
305 } 320 }
306 321
307 .site-domain-arrow.collapse { 322 .site-domain-arrow.collapse {
308 -webkit-transform: rotate(0); 323 -webkit-transform: rotate(0);
309 } 324 }
310 325
311 .site-domain-arrow.expand { 326 .site-domain-arrow.expand {
312 -webkit-transform: rotate(90deg); 327 -webkit-transform: rotate(90deg);
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 363
349 .menu-button.drop-down { 364 .menu-button.drop-down {
350 position: relative; 365 position: relative;
351 top: 2px; 366 top: 2px;
352 } 367 }
353 368
354 #action-menu > :not(hr) { 369 #action-menu > :not(hr) {
355 line-height: 29px; 370 line-height: 29px;
356 outline: none; 371 outline: none;
357 } 372 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698