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

Side by Side Diff: ui/webui/resources/cr_elements/cr_action_menu/cr_action_menu.html

Issue 2489723002: MD Settings: Tweak action menu styling to match the mocks. (Closed)
Patch Set: Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 2
3 <dom-module id="cr-action-menu"> 3 <dom-module id="cr-action-menu">
4 <template> 4 <template>
5 <style> 5 <style>
6 :host { 6 :host {
7 background-color: white; 7 background-color: white;
8 border: none; 8 border: none;
9 box-shadow: 0 2px 6px var(--paper-grey-500); 9 box-shadow: 0 2px 6px var(--paper-grey-500);
10 margin: 0; 10 margin: 0;
11 outline: none; 11 outline: none;
12 padding: 0; 12 padding: 8px 0;
13 } 13 }
14 14
15 :host::backdrop { 15 :host::backdrop {
16 background-color: transparent; 16 background-color: transparent;
17 } 17 }
18
19 :host ::content .dropdown-item:focus {
20 background-color: var(--paper-grey-300);
21 outline: none;
22 }
18 </style> 23 </style>
19 <content select=".dropdown-item,hr"></content> 24 <content select=".dropdown-item,hr"></content>
20 </template> 25 </template>
21 <script src="cr_action_menu.js"></script> 26 <script src="cr_action_menu.js"></script>
22 </dom-module> 27 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698