| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/assert.html"> | 2 <link rel="import" href="chrome://resources/html/assert.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-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/paper-menu/paper-menu.h
tml"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h
tml"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen
u.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen
u.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp
le.html"> |
| 8 <link rel="import" href="/icons.html"> | 8 <link rel="import" href="/icons.html"> |
| 9 <link rel="import" href="/route.html"> | 9 <link rel="import" href="/route.html"> |
| 10 <link rel="import" href="/settings_shared_css.html"> | 10 <link rel="import" href="/settings_shared_css.html"> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 } | 70 } |
| 71 | 71 |
| 72 .page-menu paper-menu { | 72 .page-menu paper-menu { |
| 73 --paper-menu-selected-item: { | 73 --paper-menu-selected-item: { |
| 74 color: var(--google-blue-500); | 74 color: var(--google-blue-500); |
| 75 font-weight: 500; | 75 font-weight: 500; |
| 76 }; | 76 }; |
| 77 } | 77 } |
| 78 | 78 |
| 79 .page-menu div { | 79 .page-menu div { |
| 80 -webkit-margin-start: 24px; | 80 -webkit-padding-start: 24px; |
| 81 align-items: center; | 81 align-items: center; |
| 82 display: flex; | 82 display: flex; |
| 83 font-size: 13px; | 83 font-size: 13px; |
| 84 font-weight: 500; | 84 font-weight: 500; |
| 85 min-height: 40px; | 85 min-height: 40px; |
| 86 } | 86 } |
| 87 | 87 |
| 88 .separator { | 88 .separator { |
| 89 /* Per Alan@, this line is different from the other separator lines. */ | 89 /* Per Alan@, this line is different from the other separator lines. */ |
| 90 border-bottom: 1px solid rgba(0, 0, 0, 0.08); | 90 border-bottom: 1px solid rgba(0, 0, 0, 0.08); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 <div data-path="/onStartup" on-tap="openPage_" | 131 <div data-path="/onStartup" on-tap="openPage_" |
| 132 hidden="[[!pageVisibility.onStartup]]"> | 132 hidden="[[!pageVisibility.onStartup]]"> |
| 133 <iron-icon icon="settings:power-settings-new"></iron-icon> | 133 <iron-icon icon="settings:power-settings-new"></iron-icon> |
| 134 $i18n{onStartup} | 134 $i18n{onStartup} |
| 135 </div> | 135 </div> |
| 136 </paper-menu> | 136 </paper-menu> |
| 137 </div> | 137 </div> |
| 138 <paper-submenu class="page-menu" id="advancedPage" actionable | 138 <paper-submenu class="page-menu" id="advancedPage" actionable |
| 139 opened="{{advancedOpened_}}" | 139 opened="{{advancedOpened_}}" |
| 140 hidden="[[!pageVisibility.advancedSettings]]"> | 140 hidden="[[!pageVisibility.advancedSettings]]"> |
| 141 <div class="menu-trigger" on-tap="ripple_"> | 141 <div class="menu-trigger"> |
| 142 <span>$i18n{advancedPageTitle}</span> | 142 <span>$i18n{advancedPageTitle}</span> |
| 143 <iron-icon icon="[[arrowState_(advancedOpened_)]]"></iron-icon> | 143 <iron-icon icon="[[arrowState_(advancedOpened_)]]"></iron-icon> |
| 144 <paper-ripple></paper-ripple> |
| 144 </div> | 145 </div> |
| 145 <paper-menu attr-for-selected="data-path" class="menu-content" | 146 <paper-menu attr-for-selected="data-path" class="menu-content" |
| 146 id="advancedMenu" selected="[[currentRoute.path]]"> | 147 id="advancedMenu" selected="[[currentRoute.path]]"> |
| 147 <if expr="chromeos"> | 148 <if expr="chromeos"> |
| 148 <div data-path="/dateTime" on-tap="openPage_"> | 149 <div data-path="/dateTime" on-tap="openPage_"> |
| 149 <iron-icon icon="settings:access-time"></iron-icon> | 150 <iron-icon icon="settings:access-time"></iron-icon> |
| 150 $i18n{dateTimePageTitle} | 151 $i18n{dateTimePageTitle} |
| 151 </div> | 152 </div> |
| 152 </if> | 153 </if> |
| 153 <div data-path="/privacy" on-tap="openPage_"> | 154 <div data-path="/privacy" on-tap="openPage_"> |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 <paper-submenu class="page-menu"> | 199 <paper-submenu class="page-menu"> |
| 199 <div about-selected$="[[aboutSelected_]]" class="menu-trigger" | 200 <div about-selected$="[[aboutSelected_]]" class="menu-trigger" |
| 200 id="about-menu" on-tap="openPage_" data-path="/help"> | 201 id="about-menu" on-tap="openPage_" data-path="/help"> |
| 201 $i18n{aboutPageTitle} | 202 $i18n{aboutPageTitle} |
| 202 </div> | 203 </div> |
| 203 </paper-submenu> | 204 </paper-submenu> |
| 204 </paper-menu> | 205 </paper-menu> |
| 205 </template> | 206 </template> |
| 206 <script src="settings_menu.js"></script> | 207 <script src="settings_menu.js"></script> |
| 207 </dom-module> | 208 </dom-module> |
| OLD | NEW |