OLD | NEW |
---|---|
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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
320 font-size: 13px; | 320 font-size: 13px; |
321 overflow: auto; | 321 overflow: auto; |
322 z-index: 500; | 322 z-index: 500; |
323 } | 323 } |
324 | 324 |
325 [is=ui-icon] { | 325 [is=ui-icon] { |
326 display: inline-block; | 326 display: inline-block; |
327 flex-shrink: 0; | 327 flex-shrink: 0; |
328 } | 328 } |
329 | 329 |
330 .icon-mask { | 330 [is=ui-icon].icon-mask { |
331 background-color: rgb(110, 110, 110); | 331 background-color: rgb(110, 110, 110); |
332 -webkit-mask-position: var(--spritesheet-position); | |
333 } | |
334 | |
335 [is=ui-icon]:not(.icon-mask) { | |
336 background-position: var(--spritesheet-position); | |
332 } | 337 } |
333 | 338 |
334 .spritesheet-smallicons:not(.icon-mask) { | 339 .spritesheet-smallicons:not(.icon-mask) { |
335 background-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Image s/smallIcons_2x.png) 2x); | 340 background-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Image s/smallIcons_2x.png) 2x); |
336 background-size: 190px 30px; | 341 background-size: 190px 30px; |
337 } | 342 } |
338 | 343 |
339 .spritesheet-smallicons.icon-mask { | 344 .spritesheet-smallicons.icon-mask { |
340 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); | 345 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); |
341 -webkit-mask-size: 190px 30px; | 346 -webkit-mask-size: 190px 30px; |
(...skipping 20 matching lines...) Expand all Loading... | |
362 } | 367 } |
363 | 368 |
364 .spritesheet-arrowicons { | 369 .spritesheet-arrowicons { |
365 background-image: url(Images/popoverArrows.png); | 370 background-image: url(Images/popoverArrows.png); |
366 background-size: 19px 76px; | 371 background-size: 19px 76px; |
367 } | 372 } |
368 | 373 |
369 .force-white-icons [is=ui-icon].spritesheet-smallicons, [is=ui-icon].force-white -icons.spritesheet-smallicons { | 374 .force-white-icons [is=ui-icon].spritesheet-smallicons, [is=ui-icon].force-white -icons.spritesheet-smallicons { |
370 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); | 375 -webkit-mask-image: -webkit-image-set(url(Images/smallIcons.png) 1x, url(Ima ges/smallIcons_2x.png) 2x); |
371 -webkit-mask-size: 190px 30px; | 376 -webkit-mask-size: 190px 30px; |
372 background-image: unset; | 377 background: white !important; |
dgozman
2017/03/09 23:45:34
-webkit-mask-position it.
lushnikov
2017/03/09 23:48:37
Done.
| |
373 background-size: unset; | |
374 background: unset; | |
375 background-color: white; | |
376 } | 378 } |
377 | 379 |
378 .force-white-icons [is=ui-icon].spritesheet-largeicons, [is=ui-icon].force-white -icons.spritesheet-largeicons { | 380 .force-white-icons [is=ui-icon].spritesheet-largeicons, [is=ui-icon].force-white -icons.spritesheet-largeicons { |
379 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x); | 381 -webkit-mask-image: -webkit-image-set(url(Images/toolbarButtonGlyphs.png) 1x , url(Images/toolbarButtonGlyphs_2x.png) 2x); |
380 -webkit-mask-size: 352px 168px; | 382 -webkit-mask-size: 352px 168px; |
381 background-image: unset; | 383 background: white !important; |
382 background-size: unset; | |
383 background: unset; | |
384 background-color: white; | |
385 } | 384 } |
386 | 385 |
387 .force-white-icons [is=ui-icon].spritesheet-resourceicons, [is=ui-icon].force-wh ite-icons.spritesheet-resourceicons { | 386 .force-white-icons [is=ui-icon].spritesheet-resourceicons, [is=ui-icon].force-wh ite-icons.spritesheet-resourceicons { |
388 -webkit-mask-image: -webkit-image-set(url(Images/resourceGlyphs.png) 1x, url (Images/resourceGlyphs_2x.png) 2x); | 387 -webkit-mask-image: -webkit-image-set(url(Images/resourceGlyphs.png) 1x, url (Images/resourceGlyphs_2x.png) 2x); |
389 -webkit-mask-size: 140px 20px; | 388 -webkit-mask-size: 140px 20px; |
390 background-image: unset; | 389 background: white !important; |
391 background-size: unset; | |
392 background: unset; | |
393 background-color: white; | |
394 } | 390 } |
OLD | NEW |