Chromium Code Reviews| 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 { |
|
Dan Beam
2016/10/14 23:31:06
is :host required in this selector?
dpapad
2016/10/15 01:02:09
Yes. Tried simply ::backdrop and did not work.
|
| + background-color: transparent; |
| + } |
| + </style> |
| + <content select=".dropdown-item,hr"></content> |
| + </template> |
| + <script src="settings_action_menu.js"></script> |
| +</dom-module> |