Index: chrome/browser/resources/md_user_manager/create_profile.html |
diff --git a/chrome/browser/resources/md_user_manager/create_profile.html b/chrome/browser/resources/md_user_manager/create_profile.html |
index 6d42a095f7d1d4b4568c7f1bf155d733e84af4b5..1e8ecfd30c7e3f58fecf3c549f2a40de2de004bd 100644 |
--- a/chrome/browser/resources/md_user_manager/create_profile.html |
+++ b/chrome/browser/resources/md_user_manager/create_profile.html |
@@ -7,6 +7,7 @@ |
<link rel="import" href="chrome://resources/html/cr.html"> |
<link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
<link rel="import" href="chrome://resources/html/polymer.html"> |
+<link rel="import" href="chrome://resources/html/md_select_css.html"> |
<link rel="import" href="chrome://resources/html/util.html"> |
<link rel="import" href="chrome://resources/html/web_ui_listener_behavior.html"> |
<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html"> |
@@ -20,7 +21,7 @@ |
<dom-module id="create-profile"> |
<template> |
- <style include="shared-styles iron-positioning"> |
+ <style include="shared-styles iron-positioning md-select"> |
.container { |
color: var(--primary-text-color); |
width: var(--page-width); |
@@ -174,17 +175,17 @@ |
</div> |
<template is="dom-if" if="[[isSupervised_]]"> |
<template is="dom-if" if="[[isSignedIn_(signedInUsers_)]]"> |
- <paper-dropdown-menu label="$i18n{selectAnAccount}" no-label-float> |
- <paper-listbox class="dropdown-content" |
- selected="{{signedInUserIndex_}}" |
- attr-for-selected="data-user-index"> |
+ <div class="md-select-wrapper"> |
+ <select class="md-select" on-change="onAccountChanged_"> |
+ <option disabled selected>$i18n{selectAnAccount}</option> |
<template is="dom-repeat" items="[[signedInUsers_]]"> |
- <paper-item data-user-index$="[[index]]"> |
+ <option value="[[index]]"> |
[[item.username]] |
- </paper-item> |
+ </option> |
</template> |
- </paper-listbox> |
- </paper-dropdown-menu> |
+ </select> |
+ <span class="md-select-underline"></span> |
+ </div> |
<a id="import-user" is="action-link" on-tap="onImportUserTap_" |
hidden="[[isImportUserLinkHidden_(createInProgress_, |
loadingSupervisedUsers_, |