| OLD | NEW |
| 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="chrome://resources/cr_elements/shared_vars_css.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/shared_vars_css.html"> |
| 3 | 3 |
| 4 <dom-module id="cr-action-menu"> | 4 <dom-module id="cr-action-menu"> |
| 5 <template> | 5 <template> |
| 6 <style> | 6 <style> |
| 7 :host { | 7 :host { |
| 8 background-color: white; | 8 background-color: white; |
| 9 border: none; | 9 border: none; |
| 10 box-shadow: 0 2px 6px var(--paper-grey-500); | 10 box-shadow: 0 2px 6px var(--paper-grey-500); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 } | 35 } |
| 36 | 36 |
| 37 :host ::content .dropdown-item:not([disabled]) { | 37 :host ::content .dropdown-item:not([disabled]) { |
| 38 @apply(--cr-actionable); | 38 @apply(--cr-actionable); |
| 39 } | 39 } |
| 40 | 40 |
| 41 :host ::content .dropdown-item:focus { | 41 :host ::content .dropdown-item:focus { |
| 42 background-color: var(--paper-grey-300); | 42 background-color: var(--paper-grey-300); |
| 43 outline: none; | 43 outline: none; |
| 44 } | 44 } |
| 45 |
| 46 .item-wrapper { |
| 47 outline: none; |
| 48 } |
| 45 </style> | 49 </style> |
| 46 <content select=".dropdown-item,hr"></content> | 50 <div class="item-wrapper" tabindex="-1"> |
| 51 <content select=".dropdown-item,hr"></content> |
| 52 </div> |
| 47 </template> | 53 </template> |
| 48 <script src="cr_action_menu.js"></script> | 54 <script src="cr_action_menu.js"></script> |
| 49 </dom-module> | 55 </dom-module> |
| OLD | NEW |