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

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

Issue 2359353002: MD Settings: Polish for Languages main page (Closed)
Patch Set: fix unintentional cr-shared-menu revert from rebase Created 4 years, 2 months 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
OLDNEW
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/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/cr.html"> 3 <link rel="import" href="chrome://resources/html/cr.html">
4 <link rel="import" href="chrome://resources/html/util.html"> 4 <link rel="import" href="chrome://resources/html/util.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop down.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-in-animation.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animatio ns/fade-out-animation.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button-animations.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper -menu-button-animations.html">
11 11
12 <dom-module id="cr-shared-menu"> 12 <dom-module id="cr-shared-menu">
13 <template> 13 <template>
14 <style> 14 <style>
15 #menu { 15 #menu {
16 @apply(--shadow-elevation-2dp); 16 @apply(--shadow-elevation-2dp);
17 background-color: white; 17 background-color: white;
18 overflow: hidden; 18 overflow: hidden;
19 padding: 8px 0; 19 padding: 8px 0;
20 position: relative; 20 position: relative;
21
22 @apply(--cr-shared-menu);
Dan Beam 2016/09/23 23:25:42 can you just use a var() instead of an @apply() if
michaelpg 2016/09/28 23:24:29 Done.
21 } 23 }
22 </style> 24 </style>
23 <iron-dropdown id="dropdown" allow-outside-scroll restore-focus-on-close 25 <iron-dropdown id="dropdown" allow-outside-scroll restore-focus-on-close
24 vertical-align="auto" horizontal-align="right" opened="{{menuOpen}}" 26 vertical-align="auto" horizontal-align="right" opened="{{menuOpen}}"
25 open-animation-config="[[openAnimationConfig]]" 27 open-animation-config="[[openAnimationConfig]]"
26 close-animation-config="[[closeAnimationConfig]]"> 28 close-animation-config="[[closeAnimationConfig]]">
27 <div id="menu" class="dropdown-content" role="menu"> 29 <div id="menu" class="dropdown-content" role="menu">
28 <content></content> 30 <content></content>
29 </div> 31 </div>
30 </iron-dropdown> 32 </iron-dropdown>
31 </template> 33 </template>
32 <script src="cr_shared_menu.js"></script> 34 <script src="cr_shared_menu.js"></script>
33 </dom-module> 35 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698