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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css

Issue 2660893002: DevTools: migrate ResourcesPanel icons over to UI.Icon (Closed)
Patch Set: resourceicon-* into mediumicon-* Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The Chromium Authors. All rights reserved. 2 * Copyright 2015 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 * { 7 * {
8 /* This is required for correct sizing of flex items because we rely 8 /* This is required for correct sizing of flex items because we rely
9 * on an old version of the flexbox spec. 9 * on an old version of the flexbox spec.
10 * Longer-term we should remove this, see crbug.com/473625 */ 10 * Longer-term we should remove this, see crbug.com/473625 */
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 .spritesheet-largeicons:not(.icon-mask) { 344 .spritesheet-largeicons:not(.icon-mask) {
345 background-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x, url(Images/toolbarButtonGlyphs_2x.png) 2x); 345 background-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x, url(Images/toolbarButtonGlyphs_2x.png) 2x);
346 background-size: 352px 168px; 346 background-size: 352px 168px;
347 } 347 }
348 348
349 .spritesheet-largeicons.icon-mask { 349 .spritesheet-largeicons.icon-mask {
350 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x); 350 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x);
351 -webkit-mask-size: 352px 168px; 351 -webkit-mask-size: 352px 168px;
352 } 352 }
353 353
354 .spritesheet-resourceicons:not(.icon-mask) {
355 background-image: -webkit-image-set(url(Images/resourceGlyphs.png) 1x, url(I mages/resourceGlyphs_2x.png) 2x);
356 background-size: 140px 20px;
357 }
358
359 .spritesheet-resourceicons.icon-mask {
360 -webkit-mask-image: -webkit-image-set(url(Images/resourceGlyphs.png) 1x, url (Images/resourceGlyphs_2x.png) 2x);
361 -webkit-mask-size: 140px 20px;
362 }
363
354 .force-white-icons [is=ui-icon].spritesheet-smallicons, [is=ui-icon].force-white -icons.spritesheet-smallicons { 364 .force-white-icons [is=ui-icon].spritesheet-smallicons, [is=ui-icon].force-white -icons.spritesheet-smallicons {
355 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); 365 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x);
356 -webkit-mask-size: 190px 30px; 366 -webkit-mask-size: 190px 30px;
357 background-image: unset; 367 background-image: unset;
358 background-size: unset; 368 background-size: unset;
359 background: unset; 369 background: unset;
360 background-color: white; 370 background-color: white;
361 } 371 }
362 372
363 .force-white-icons [is=ui-icon].spritesheet-largeicons, [is=ui-icon].force-white -icons.spritesheet-largeicons { 373 .force-white-icons [is=ui-icon].spritesheet-largeicons, [is=ui-icon].force-white -icons.spritesheet-largeicons {
364 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x); 374 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x);
365 -webkit-mask-size: 352px 168px; 375 -webkit-mask-size: 352px 168px;
366 background-image: unset; 376 background-image: unset;
367 background-size: unset; 377 background-size: unset;
368 background: unset; 378 background: unset;
369 background-color: white; 379 background-color: white;
370 } 380 }
381
382 .force-white-icons [is=ui-icon].spritesheet-resourceicons, [is=ui-icon].force-wh ite-icons.spritesheet-resourceicons {
383 -webkit-mask-image: -webkit-image-set(url(Images/resourceGlyphs.png) 1x, url (Images/resourceGlyphs_2x.png) 2x);
384 -webkit-mask-size: 140px 20px;
385 background-image: unset;
386 background-size: unset;
387 background: unset;
388 background-color: white;
389 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698