| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> | 1 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm
l"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons
.html"> | |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/image-icons.
html"> | |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/neon-ani
matable.html"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-radio-button/pape
r-radio-button.html"> |
| 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-toggle-button/pap
er-toggle-button.html"> |
| 11 <link rel="import" href="chrome://md-settings/appearance_page/appearance_browser
_proxy.html"> | 9 <link rel="import" href="chrome://md-settings/appearance_page/appearance_browser
_proxy.html"> |
| 12 <link rel="import" href="chrome://md-settings/controls/settings_dropdown_menu.ht
ml"> | 10 <link rel="import" href="chrome://md-settings/controls/settings_dropdown_menu.ht
ml"> |
| 13 <link rel="import" href="chrome://md-settings/controls/settings_input.html"> | 11 <link rel="import" href="chrome://md-settings/controls/settings_input.html"> |
| 14 <link rel="import" href="chrome://md-settings/controls/settings_radio_group.html
"> | 12 <link rel="import" href="chrome://md-settings/controls/settings_radio_group.html
"> |
| 13 <link rel="import" href="chrome://md-settings/icons.html"> |
| 15 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa
ges.html"> | 14 <link rel="import" href="chrome://md-settings/settings_page/settings_animated_pa
ges.html"> |
| 16 <link rel="import" href="chrome://md-settings/settings_page/settings_subpage.htm
l"> | 15 <link rel="import" href="chrome://md-settings/settings_page/settings_subpage.htm
l"> |
| 17 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> | 16 <link rel="import" href="chrome://md-settings/settings_shared_css.html"> |
| 18 <link rel="import" href="appearance_fonts_page.html"> | 17 <link rel="import" href="appearance_fonts_page.html"> |
| 19 | 18 |
| 20 <dom-module id="settings-appearance-page"> | 19 <dom-module id="settings-appearance-page"> |
| 21 <link rel="import" type="css" | 20 <link rel="import" type="css" |
| 22 href="chrome://md-settings/appearance_page/appearance_shared.css"> | 21 href="chrome://md-settings/appearance_page/appearance_shared.css"> |
| 23 <link rel="import" type="css" href="chrome://resources/css/widgets.css"> | 22 <link rel="import" type="css" href="chrome://resources/css/widgets.css"> |
| 24 <link rel="import" href="chrome://resources/html/action_link.html"> | 23 <link rel="import" href="chrome://resources/html/action_link.html"> |
| 25 <template> | 24 <template> |
| 26 <style include="settings-shared"> | 25 <style include="settings-shared"> |
| 27 .settings-box iron-icon { | 26 .settings-box iron-icon { |
| 28 -webkit-margin-end: var(--iron-icon-spacing); | 27 -webkit-margin-end: var(--iron-icon-spacing); |
| 29 } | 28 } |
| 30 </style> | 29 </style> |
| 31 <settings-animated-pages id="pages" current-route="{{currentRoute}}" | 30 <settings-animated-pages id="pages" current-route="{{currentRoute}}" |
| 32 section="appearance"> | 31 section="appearance"> |
| 33 <neon-animatable id="main"> | 32 <neon-animatable id="main"> |
| 34 <if expr="chromeos"> | 33 <if expr="chromeos"> |
| 35 <div class="settings-box first two-line" id="wallpaperButton" | 34 <div class="settings-box first two-line" id="wallpaperButton" |
| 36 on-tap="openWallpaperManager_"> | 35 on-tap="openWallpaperManager_"> |
| 37 <iron-icon icon="device:wallpaper"></iron-icon> | 36 <iron-icon icon="settings:wallpaper"></iron-icon> |
| 38 <div class="start"> | 37 <div class="start"> |
| 39 <div>$i18n{setWallpaper}</div> | 38 <div>$i18n{setWallpaper}</div> |
| 40 <div class="secondary">$i18n{openWallpaperApp}</div> | 39 <div class="secondary">$i18n{openWallpaperApp}</div> |
| 41 </div> | 40 </div> |
| 42 </div> | 41 </div> |
| 43 <div class="settings-box two-line"> | 42 <div class="settings-box two-line"> |
| 44 </if> | 43 </if> |
| 45 <if expr="not chromeos"> | 44 <if expr="not chromeos"> |
| 46 <div class="settings-box two-line first"> | 45 <div class="settings-box two-line first"> |
| 47 </if> | 46 </if> |
| 48 <div class="layout horizontal center flex" | 47 <div class="layout horizontal center flex" |
| 49 on-tap="openThemesGallery_"> | 48 on-tap="openThemesGallery_"> |
| 50 <iron-icon icon="image:palette"></iron-icon> | 49 <iron-icon icon="settings:palette"></iron-icon> |
| 51 <div> | 50 <div> |
| 52 <div>$i18n{getThemes}</div> | 51 <div>$i18n{getThemes}</div> |
| 53 <div class="secondary">[[themeSublabel_]]</div> | 52 <div class="secondary">[[themeSublabel_]]</div> |
| 54 </div> | 53 </div> |
| 55 </div> | 54 </div> |
| 56 <template is="dom-if" if="[[allowResetTheme_]]"> | 55 <template is="dom-if" if="[[allowResetTheme_]]"> |
| 57 <paper-button id="resetTheme" on-tap="resetTheme_" | 56 <paper-button id="resetTheme" on-tap="resetTheme_" |
| 58 class="secondary-action"> | 57 class="secondary-action"> |
| 59 $i18n{resetToDefaultTheme} | 58 $i18n{resetToDefaultTheme} |
| 60 </paper-button> | 59 </paper-button> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 <template is="dom-if" name="appearance-fonts"> | 108 <template is="dom-if" name="appearance-fonts"> |
| 110 <settings-subpage page-title="$i18n{customizeFonts}"> | 109 <settings-subpage page-title="$i18n{customizeFonts}"> |
| 111 <settings-appearance-fonts-page prefs="{{prefs}}"> | 110 <settings-appearance-fonts-page prefs="{{prefs}}"> |
| 112 </settings-appearance-fonts-page> | 111 </settings-appearance-fonts-page> |
| 113 </settings-subpage> | 112 </settings-subpage> |
| 114 </template> | 113 </template> |
| 115 </settings-animated-pages> | 114 </settings-animated-pages> |
| 116 </template> | 115 </template> |
| 117 <script src="appearance_page.js"></script> | 116 <script src="appearance_page.js"></script> |
| 118 </dom-module> | 117 </dom-module> |
| OLD | NEW |