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

Unified Diff: ui/webui/resources/cr_elements/shared_style_css.html

Issue 2848973003: MD Settings: convert paper-icon-button to paper-icon-button-light. (Closed)
Patch Set: move more icons to classes Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/webui/resources/cr_elements/shared_style_css.html
diff --git a/ui/webui/resources/cr_elements/shared_style_css.html b/ui/webui/resources/cr_elements/shared_style_css.html
index 6199ea4778ee9189c4ef4b66699812420ab43b3c..684d2a3e7cf090e6d5d0ddf5e5f3c3625f3fd3b2 100644
--- a/ui/webui/resources/cr_elements/shared_style_css.html
+++ b/ui/webui/resources/cr_elements/shared_style_css.html
@@ -1,12 +1,13 @@
<link rel="import" href="chrome://resources/html/polymer.html">
<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
<link rel="import" href="hidden_style_css.html">
+<link rel="import" href="cr_icons_css.html">
<!-- Common styles for Material Design WebUI. Included directly in
settings_shared_css.html. -->
<dom-module id="cr-shared-style">
<template>
- <style include="cr-hidden-style">
+ <style include="cr-hidden-style cr-icons">
:host-context([dir=rtl]) button[is='paper-icon-button-light'] {
transform: scaleX(-1); /* Flip on the X axis (aka mirror). */
}
@@ -59,32 +60,11 @@
width: var(--cr-icon-ripple-size);
}
- button[is='paper-icon-button-light'].subpage-arrow {
- background-image: url(chrome://resources/images/arrow_right.svg);
- }
-
- button[is='paper-icon-button-light'].icon-cancel {
- background-image: url(chrome://resources/images/icon_cancel.svg);
- }
-
- button[is='paper-icon-button-light'].icon-cancel-toolbar {
- background-image:
- url(chrome://resources/images/icon_cancel_toolbar.svg);
- }
-
- button[is='paper-icon-button-light'].icon-external {
- background-image: url(chrome://resources/images/open_in_new.svg);
- }
-
.subpage-arrow,
.icon-external {
display: none;
}
- paper-icon-button.subpage-arrow {
- background-image: url(../images/arrow_right.svg);
- }
-
[actionable] :-webkit-any(.subpage-arrow, .icon-external),
[actionable]:-webkit-any(.subpage-arrow, .icon-external) {
display: block;

Powered by Google App Engine
This is Rietveld 408576698