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

Side by Side Diff: chrome/browser/resources/settings/controls/settings_dropdown_menu.html

Issue 2384273005: MD Settings: Style native <select> down arrow. (Closed)
Patch Set: md-select-underline 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/images/arrow_down.svg » ('j') | 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 <link rel="import" href="/controls/pref_control_behavior.html"> 2 <link rel="import" href="/controls/pref_control_behavior.html">
3 <link rel="import" href="/i18n_setup.html"> 3 <link rel="import" href="/i18n_setup.html">
4 <link rel="import" href="/md_select_css.html"> 4 <link rel="import" href="/md_select_css.html">
5 <link rel="import" href="/prefs/pref_util.html"> 5 <link rel="import" href="/prefs/pref_util.html">
6 <link rel="import" href="/settings_shared_css.html"> 6 <link rel="import" href="/settings_shared_css.html">
7 7
8 <dom-module id="settings-dropdown-menu"> 8 <dom-module id="settings-dropdown-menu">
9 <template> 9 <template>
10 <style include="settings-shared md-select"></style> 10 <style include="settings-shared md-select"></style>
11 <div class="select-wrapper"> 11 <div class="md-select-wrapper">
12 <select id="dropdownMenu" on-change="onChange_" value="[[selected_]]" 12 <select class="md-select" id="dropdownMenu" on-change="onChange_"
13 value="[[selected_]]"
13 disabled="[[shouldDisableMenu_(disabled, menuOptions)]]"> 14 disabled="[[shouldDisableMenu_(disabled, menuOptions)]]">
14 <template is="dom-repeat" items="[[menuOptions]]"> 15 <template is="dom-repeat" items="[[menuOptions]]">
15 <option value="[[item.value]]" data-value$="[[item.value]]"> 16 <option value="[[item.value]]" data-value$="[[item.value]]">
16 [[item.name]] 17 [[item.name]]
17 </option> 18 </option>
18 </template> 19 </template>
19 <option value="[[notFoundValue_]]" 20 <option value="[[notFoundValue_]]"
20 hidden$="[[!isSelectedNotFound_(selected_)]]"> 21 hidden$="[[!isSelectedNotFound_(selected_)]]">
21 $i18n{custom} 22 $i18n{custom}
22 </option> 23 </option>
23 </select> 24 </select>
24 <span class="select-underline"></span> 25 <span class="md-select-underline"></span>
25 </div> 26 </div>
26 </template> 27 </template>
27 <script src="settings_dropdown_menu.js"></script> 28 <script src="settings_dropdown_menu.js"></script>
28 </dom-module> 29 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/images/arrow_down.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698