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

Unified Diff: ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html

Issue 2583353003: MD History: Replace last usage of cr-shared-menu with cr-action-menu. (Closed)
Patch Set: Merge conflicts. Created 4 years 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: 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">
<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]) {
+ @apply(--cr-actionable);
+ }
+
:host ::content .dropdown-item:focus {
background-color: var(--paper-grey-300);
outline: none;

Powered by Google App Engine
This is Rietveld 408576698