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

Unified Diff: chrome/browser/resources/settings/settings_action_menu.html

Issue 2402553002: MD Settings: Implementing modal popup/action menus. (Closed)
Patch Set: Address comments. Created 4 years, 2 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: chrome/browser/resources/settings/settings_action_menu.html
diff --git a/chrome/browser/resources/settings/settings_action_menu.html b/chrome/browser/resources/settings/settings_action_menu.html
new file mode 100644
index 0000000000000000000000000000000000000000..06a3bdd9177e1b9e691a719a18de0525f32d67ec
--- /dev/null
+++ b/chrome/browser/resources/settings/settings_action_menu.html
@@ -0,0 +1,23 @@
+<link rel="import" href="chrome://resources/html/polymer.html">
+<link rel="import" href="/direction_delegate.html">
+
+<dom-module id="settings-action-menu">
+ <template>
+ <style>
+ :host {
+ background-color: white;
+ border: none;
+ box-shadow: 0 2px 6px var(--paper-grey-500);
+ margin: 0;
+ outline: none;
+ padding: 0;
+ }
+
+ :host::backdrop {
+ background-color: transparent;
+ }
+ </style>
+ <content select=".dropdown-item,hr"></content>
+ </template>
+ <script src="settings_action_menu.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698