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" href="chrome://resources/css/widgets.css"> | 20 <link rel="import" type="css" href="chrome://resources/css/widgets.css"> |
22 <link rel="import" href="chrome://resources/html/action_link.html"> | 21 <link rel="import" href="chrome://resources/html/action_link.html"> |
23 <template> | 22 <template> |
24 <style include="settings-shared"> | 23 <style include="settings-shared"> |
25 .settings-box iron-icon { | 24 .settings-box iron-icon { |
26 -webkit-margin-end: var(--iron-icon-spacing); | 25 -webkit-margin-end: var(--iron-icon-spacing); |
27 } | 26 } |
28 </style> | 27 </style> |
29 <settings-animated-pages id="pages" current-route="{{currentRoute}}" | 28 <settings-animated-pages id="pages" current-route="{{currentRoute}}" |
30 section="appearance"> | 29 section="appearance"> |
31 <neon-animatable id="main"> | 30 <neon-animatable id="main"> |
32 <if expr="chromeos"> | 31 <if expr="chromeos"> |
33 <div class="settings-box first two-line" id="wallpaperButton" | 32 <div class="settings-box first two-line" id="wallpaperButton" |
34 on-tap="openWallpaperManager_"> | 33 on-tap="openWallpaperManager_"> |
35 <iron-icon icon="device:wallpaper"></iron-icon> | 34 <iron-icon icon="settings:wallpaper"></iron-icon> |
36 <div class="start"> | 35 <div class="start"> |
37 <div>$i18n{setWallpaper}</div> | 36 <div>$i18n{setWallpaper}</div> |
38 <div class="secondary">$i18n{openWallpaperApp}</div> | 37 <div class="secondary">$i18n{openWallpaperApp}</div> |
39 </div> | 38 </div> |
40 </div> | 39 </div> |
41 <div class="settings-box two-line"> | 40 <div class="settings-box two-line"> |
42 </if> | 41 </if> |
43 <if expr="not chromeos"> | 42 <if expr="not chromeos"> |
44 <div class="settings-box two-line first"> | 43 <div class="settings-box two-line first"> |
45 </if> | 44 </if> |
46 <div class="layout horizontal center flex" | 45 <div class="layout horizontal center flex" |
47 on-tap="openThemesGallery_"> | 46 on-tap="openThemesGallery_"> |
48 <iron-icon icon="image:palette"></iron-icon> | 47 <iron-icon icon="settings:palette"></iron-icon> |
49 <div> | 48 <div> |
50 <div>$i18n{getThemes}</div> | 49 <div>$i18n{getThemes}</div> |
51 <div class="secondary">[[themeSublabel_]]</div> | 50 <div class="secondary">[[themeSublabel_]]</div> |
52 </div> | 51 </div> |
53 </div> | 52 </div> |
54 <template is="dom-if" if="[[allowResetTheme_]]"> | 53 <template is="dom-if" if="[[allowResetTheme_]]"> |
55 <paper-button id="resetTheme" on-tap="resetTheme_" | 54 <paper-button id="resetTheme" on-tap="resetTheme_" |
56 class="secondary-action"> | 55 class="secondary-action"> |
57 $i18n{resetToDefaultTheme} | 56 $i18n{resetToDefaultTheme} |
58 </paper-button> | 57 </paper-button> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 <template is="dom-if" name="appearance-fonts"> | 106 <template is="dom-if" name="appearance-fonts"> |
108 <settings-subpage page-title="$i18n{customizeFonts}"> | 107 <settings-subpage page-title="$i18n{customizeFonts}"> |
109 <settings-appearance-fonts-page prefs="{{prefs}}"> | 108 <settings-appearance-fonts-page prefs="{{prefs}}"> |
110 </settings-appearance-fonts-page> | 109 </settings-appearance-fonts-page> |
111 </settings-subpage> | 110 </settings-subpage> |
112 </template> | 111 </template> |
113 </settings-animated-pages> | 112 </settings-animated-pages> |
114 </template> | 113 </template> |
115 <script src="appearance_page.js"></script> | 114 <script src="appearance_page.js"></script> |
116 </dom-module> | 115 </dom-module> |
OLD | NEW |