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

Side by Side Diff: ui/webui/resources/cr_elements/shared_style_css.html

Issue 2875733002: MD-Settings: Convert users of cr:cancel to paper-icon-button-light. (Closed)
Patch Set: Created 3 years, 7 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 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html">
3 <link rel="import" href="hidden_style_css.html"> 3 <link rel="import" href="hidden_style_css.html">
4 4
5 <!-- Common styles for Material Design WebUI. Included directly in 5 <!-- Common styles for Material Design WebUI. Included directly in
6 settings_shared_css.html. --> 6 settings_shared_css.html. -->
7 <dom-module id="cr-shared-style"> 7 <dom-module id="cr-shared-style">
8 <template> 8 <template>
9 <style include="cr-hidden-style"> 9 <style include="cr-hidden-style">
10 /* Chrome spinners should be blue. */ 10 /* Chrome spinners should be blue. */
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 background-size: var(--cr-icon-size); 51 background-size: var(--cr-icon-size);
52 flex-shrink: 0; 52 flex-shrink: 0;
53 height: var(--cr-icon-ripple-size); 53 height: var(--cr-icon-ripple-size);
54 width: var(--cr-icon-ripple-size); 54 width: var(--cr-icon-ripple-size);
55 } 55 }
56 56
57 button[is='paper-icon-button-light'].subpage-arrow { 57 button[is='paper-icon-button-light'].subpage-arrow {
58 background-image: url(chrome://resources/images/arrow_right.svg); 58 background-image: url(chrome://resources/images/arrow_right.svg);
59 } 59 }
60 60
61 button[is='paper-icon-button-light'].icon-cancel {
62 background-image: url(chrome://resources/images/icon_cancel.svg);
63 }
64
65 button[is='paper-icon-button-light'].icon-cancel-toolbar {
66 background-image:
67 url(chrome://resources/images/icon_cancel_toolbar.svg);
Dan Beam 2017/05/16 01:52:09 nit: 4\s indent for continuations (arguably)
hcarmona 2017/05/16 17:46:30 Done.
68 }
69
61 button[is='paper-icon-button-light'].icon-external { 70 button[is='paper-icon-button-light'].icon-external {
62 background-image: url(chrome://resources/images/open_in_new.svg); 71 background-image: url(chrome://resources/images/open_in_new.svg);
63 } 72 }
64 73
65 .subpage-arrow, 74 .subpage-arrow,
66 .icon-external { 75 .icon-external {
67 display: none; 76 display: none;
68 } 77 }
69 78
70 paper-icon-button.subpage-arrow { 79 paper-icon-button.subpage-arrow {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 [selectable]:focus, 114 [selectable]:focus,
106 [selectable] > :focus { 115 [selectable] > :focus {
107 @apply(--cr-selectable-focus); 116 @apply(--cr-selectable-focus);
108 } 117 }
109 [selectable] > * { 118 [selectable] > * {
110 @apply(--cr-actionable); 119 @apply(--cr-actionable);
111 } 120 }
112 </style> 121 </style>
113 </template> 122 </template>
114 </dom-module> 123 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698