Chromium Code Reviews| Index: ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html |
| diff --git a/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html b/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html |
| index e5d4ef904c9a9757d0f5b7662db1d4dc9a807222..0d9becf9e2cea9a364c9e31d942eab44c24b141c 100644 |
| --- a/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html |
| +++ b/ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html |
| @@ -1,3 +1,4 @@ |
| +<link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
|
dpapad
2016/12/22 00:14:21
This change causes a "Polymer is already defined."
dpapad
2016/12/22 00:46:18
Fixed. It turns out that polymer.html must be at t
|
| <link rel="import" href="chrome://resources/html/polymer.html"> |
| <dom-module id="cr-action-menu"> |
| @@ -16,6 +17,24 @@ |
| background-color: transparent; |
| } |
| + :host ::content .dropdown-item { |
| + align-items: center; |
| + background: none; |
| + border: none; |
| + box-sizing: border-box; |
| + color: var(--paper-grey-800); |
| + display: flex; |
| + font: inherit; |
| + min-height: 32px; |
| + padding: 0 24px; |
| + text-align: start; |
| + width: 100%; |
| + } |
| + |
| + :host ::content .dropdown-item:not([disabled]) { |
|
dpapad
2016/12/22 00:46:18
Subtle bug that was caught by a test! hidden attri
|
| + @apply(--cr-actionable); |
| + } |
| + |
| :host ::content .dropdown-item:focus { |
| background-color: var(--paper-grey-300); |
| outline: none; |