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/md_select_css.html"> | 2 <link rel="import" href="chrome://resources/html/md_select_css.html"> |
3 <link rel="import" href="chrome://resources/html/polymer.html"> | 3 <link rel="import" href="chrome://resources/html/polymer.html"> |
4 <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-flex-layout/classe
s/iron-flex-layout.html"> |
5 <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"> |
6 <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"> |
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
8 <link rel="import" href="appearance_browser_proxy.html"> | 8 <link rel="import" href="appearance_browser_proxy.html"> |
9 <link rel="import" href="../controls/controlled_radio_button.html"> | 9 <link rel="import" href="../controls/controlled_radio_button.html"> |
10 <link rel="import" href="../controls/extension_controlled_indicator.html"> | 10 <link rel="import" href="../controls/extension_controlled_indicator.html"> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 aria-label="$i18n{setWallpaper}" | 54 aria-label="$i18n{setWallpaper}" |
55 aria-describedby="wallpaperSecondary"></button> | 55 aria-describedby="wallpaperSecondary"></button> |
56 </div> | 56 </div> |
57 <div class="settings-box two-line" | 57 <div class="settings-box two-line" |
58 hidden="[[!pageVisibility.setTheme]]"> | 58 hidden="[[!pageVisibility.setTheme]]"> |
59 </if> | 59 </if> |
60 <if expr="not chromeos"> | 60 <if expr="not chromeos"> |
61 <div class="settings-box two-line first" | 61 <div class="settings-box two-line first" |
62 hidden="[[!pageVisibility.setTheme]]"> | 62 hidden="[[!pageVisibility.setTheme]]"> |
63 </if> | 63 </if> |
64 <div class="start two-line" on-tap="onThemesTap_" actionable> | 64 <a class="start two-line" actionable tabindex="-1" target="_blank" |
| 65 href$="[[getThemeHref_(themeUrl_)]]"> |
65 <div class="flex"> | 66 <div class="flex"> |
66 $i18n{themes} | 67 $i18n{themes} |
67 <div class="secondary" id="themesSecondary"> | 68 <div class="secondary" id="themesSecondary"> |
68 [[themeSublabel_]] | 69 [[themeSublabel_]] |
69 </div> | 70 </div> |
70 </div> | 71 </div> |
71 <button class="icon-external" is="paper-icon-button-light" | 72 <button class="icon-external" is="paper-icon-button-light" |
72 aria-label="$i18n{themes}" | 73 aria-label="$i18n{themes}" |
73 aria-describedby="themesSecondary"></button> | 74 aria-describedby="themesSecondary"></button> |
74 </div> | 75 </a> |
75 <if expr="not is_linux or chromeos"> | 76 <if expr="not is_linux or chromeos"> |
76 <template is="dom-if" if="[[prefs.extensions.theme.id.value]]"> | 77 <template is="dom-if" if="[[prefs.extensions.theme.id.value]]"> |
77 <div class="secondary-action"> | 78 <div class="secondary-action"> |
78 <paper-button id="useDefault" on-tap="onUseDefaultTap_" | 79 <paper-button id="useDefault" on-tap="onUseDefaultTap_" |
79 class="secondary-button"> | 80 class="secondary-button"> |
80 $i18n{resetToDefaultTheme} | 81 $i18n{resetToDefaultTheme} |
81 </paper-button> | 82 </paper-button> |
82 </div> | 83 </div> |
83 </template> | 84 </template> |
84 </if> | 85 </if> |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 associated-control="[[$$('#customize-fonts-subpage-trigger')]]" | 195 associated-control="[[$$('#customize-fonts-subpage-trigger')]]" |
195 page-title="$i18n{customizeFonts}"> | 196 page-title="$i18n{customizeFonts}"> |
196 <settings-appearance-fonts-page prefs="{{prefs}}"> | 197 <settings-appearance-fonts-page prefs="{{prefs}}"> |
197 </settings-appearance-fonts-page> | 198 </settings-appearance-fonts-page> |
198 </settings-subpage> | 199 </settings-subpage> |
199 </template> | 200 </template> |
200 </settings-animated-pages> | 201 </settings-animated-pages> |
201 </template> | 202 </template> |
202 <script src="appearance_page.js"></script> | 203 <script src="appearance_page.js"></script> |
203 </dom-module> | 204 </dom-module> |
OLD | NEW |