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

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

Issue 2461113002: WebUI: Make settings-action-menu re-usable as cr-action-menu. (Closed)
Patch Set: Add missing dep Created 4 years, 1 month 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="/direction_delegate.html"> 2 <link rel="import" href="chrome://resources/html/util.html">
3 3
4 <dom-module id="settings-action-menu"> 4 <dom-module id="cr-action-menu">
5 <template> 5 <template>
6 <style> 6 <style>
7 :host { 7 :host {
8 background-color: white; 8 background-color: white;
9 border: none; 9 border: none;
10 box-shadow: 0 2px 6px var(--paper-grey-500); 10 box-shadow: 0 2px 6px var(--paper-grey-500);
11 margin: 0; 11 margin: 0;
12 outline: none; 12 outline: none;
13 padding: 0; 13 padding: 0;
14 } 14 }
15 15
16 :host::backdrop { 16 :host::backdrop {
17 background-color: transparent; 17 background-color: transparent;
18 } 18 }
19 </style> 19 </style>
20 <content select=".dropdown-item,hr"></content> 20 <content select=".dropdown-item,hr"></content>
21 </template> 21 </template>
22 <script src="settings_action_menu.js"></script> 22 <script src="cr_action_menu.js"></script>
23 </dom-module> 23 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698