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

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: getComputedStyle instead of util.js 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">
3 2
4 <dom-module id="settings-action-menu"> 3 <dom-module id="cr-action-menu">
5 <template> 4 <template>
6 <style> 5 <style>
7 :host { 6 :host {
8 background-color: white; 7 background-color: white;
9 border: none; 8 border: none;
10 box-shadow: 0 2px 6px var(--paper-grey-500); 9 box-shadow: 0 2px 6px var(--paper-grey-500);
11 margin: 0; 10 margin: 0;
12 outline: none; 11 outline: none;
13 padding: 0; 12 padding: 0;
14 } 13 }
15 14
16 :host::backdrop { 15 :host::backdrop {
17 background-color: transparent; 16 background-color: transparent;
18 } 17 }
19 </style> 18 </style>
20 <content select=".dropdown-item,hr"></content> 19 <content select=".dropdown-item,hr"></content>
21 </template> 20 </template>
22 <script src="settings_action_menu.js"></script> 21 <script src="cr_action_menu.js"></script>
23 </dom-module> 22 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698