Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="../a11y_page/a11y_page.html"> | 2 <link rel="import" href="../a11y_page/a11y_page.html"> |
| 3 <link rel="import" href="../appearance_page/appearance_page.html"> | 3 <link rel="import" href="../appearance_page/appearance_page.html"> |
| 4 <link rel="import" href="../controls/settings_idle_render.html"> | 4 <link rel="import" href="../controls/settings_idle_render.html"> |
| 5 <link rel="import" href="../downloads_page/downloads_page.html"> | 5 <link rel="import" href="../downloads_page/downloads_page.html"> |
| 6 <link rel="import" href="../languages_page/languages_page.html"> | 6 <link rel="import" href="../languages_page/languages_page.html"> |
| 7 <link rel="import" href="../on_startup_page/on_startup_page.html"> | 7 <link rel="import" href="../on_startup_page/on_startup_page.html"> |
| 8 <link rel="import" href="../passwords_and_forms_page/passwords_and_forms_page.ht ml"> | 8 <link rel="import" href="../passwords_and_forms_page/passwords_and_forms_page.ht ml"> |
| 9 <link rel="import" href="../people_page/people_page.html"> | 9 <link rel="import" href="../people_page/people_page.html"> |
| 10 <link rel="import" href="../printing_page/printing_page.html"> | 10 <link rel="import" href="../printing_page/printing_page.html"> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 42 } | 42 } |
| 43 @apply(--settings-actionable); | 43 @apply(--settings-actionable); |
| 44 align-items: center; | 44 align-items: center; |
| 45 display: flex; | 45 display: flex; |
| 46 margin-bottom: 3px; | 46 margin-bottom: 3px; |
| 47 margin-top: 12px; /* Part of a 48px spacer (33px + 12px + 3px). */ | 47 margin-top: 12px; /* Part of a 48px spacer (33px + 12px + 3px). */ |
| 48 min-height: 32px; | 48 min-height: 32px; |
| 49 padding: 0 12px; | 49 padding: 0 12px; |
| 50 } | 50 } |
| 51 | 51 |
| 52 #secondaryUserBanner { | |
| 53 @apply(--shadow-elevation-2dp); | |
| 54 background-color: white; | |
| 55 border-radius: 2px; | |
| 56 margin: 21px 0; | |
| 57 } | |
| 58 | |
| 59 #secondaryUserIcon { | |
| 60 background-color: rgb(210, 210, 212); | |
| 61 background-image: url(chrome://theme/IDR_SECONDARY_USER_SETTINGS); | |
| 62 background-position: center; | |
| 63 background-repeat: no-repeat; | |
| 64 height: 55px; | |
| 65 margin: 18px; | |
| 66 width: 58px; | |
| 67 } | |
| 68 | |
| 52 #toggleContainer { | 69 #toggleContainer { |
| 53 align-items: center; | 70 align-items: center; |
| 54 display: flex; | 71 display: flex; |
| 55 font: inherit; | 72 font: inherit; |
| 56 justify-content: center; | 73 justify-content: center; |
| 57 margin-bottom: 0; | 74 margin-bottom: 0; |
| 58 margin-top: 0; | 75 margin-top: 0; |
| 59 } | 76 } |
| 60 | 77 |
| 61 #toggleSpacer { | 78 #toggleSpacer { |
| 62 padding-top: 33px; /* Part of a 48px spacer (33px + 12px + 3px). */ | 79 padding-top: 33px; /* Part of a 48px spacer (33px + 12px + 3px). */ |
| 63 } | 80 } |
| 64 | 81 |
| 65 iron-icon { | 82 iron-icon { |
| 66 -webkit-margin-start: 16px; | 83 -webkit-margin-start: 16px; |
| 67 } | 84 } |
| 68 </style> | 85 </style> |
| 69 <template is="dom-if" if="[[showBasicPage_( | 86 <template is="dom-if" if="[[showBasicPage_( |
| 70 currentRoute_, inSearchMode, hasExpandedSection_)]]"> | 87 currentRoute_, inSearchMode, hasExpandedSection_)]]"> |
| 71 <div id="basicPage"> | 88 <div id="basicPage"> |
| 72 <template is="dom-if" if="[[showResetProfileBanner_]]"> | 89 <template is="dom-if" if="[[showResetProfileBanner_]]"> |
| 73 <settings-reset-profile-banner on-reset-done="onResetDone_"> | 90 <settings-reset-profile-banner on-reset-done="onResetDone_"> |
| 74 </settings-reset-profile-banner> | 91 </settings-reset-profile-banner> |
| 75 </template> | 92 </template> |
| 76 <if expr="chromeos"> | 93 <if expr="chromeos"> |
| 94 <template is="dom-if" if="[[showSecondaryUserBanner_]]"> | |
|
dschuyler
2017/02/11 02:54:56
Since this just contains divs, this may be lighter
stevenjb
2017/02/13 18:28:00
I'm pretty sure it doesn't really matter, especial
| |
| 95 <div id="secondaryUserBanner" class="layout horizontal center"> | |
| 96 <div id="secondaryUserIcon"></div> | |
| 97 <div class="flex">$i18n{secondaryUserBannerText}</div> | |
| 98 </div> | |
| 99 </template> | |
| 100 </if> | |
| 101 <if expr="chromeos"> | |
| 77 <template is="dom-if" if="[[showPage(pageVisibility.internet)]]" | 102 <template is="dom-if" if="[[showPage(pageVisibility.internet)]]" |
| 78 restamp> | 103 restamp> |
| 79 <settings-section page-title="$i18n{internetPageTitle}" | 104 <settings-section page-title="$i18n{internetPageTitle}" |
| 80 section="internet"> | 105 section="internet"> |
| 81 <settings-internet-page prefs="{{prefs}}"> | 106 <settings-internet-page prefs="{{prefs}}"> |
| 82 </settings-internet-page> | 107 </settings-internet-page> |
| 83 </settings-section> | 108 </settings-section> |
| 84 </template> | 109 </template> |
| 85 <template is="dom-if" if="[[showPage(pageVisibility.bluetooth)]]" | 110 <template is="dom-if" if="[[showPage(pageVisibility.bluetooth)]]" |
| 86 restamp> | 111 restamp> |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 242 section="reset"> | 267 section="reset"> |
| 243 <settings-reset-page></settings-reset-page> | 268 <settings-reset-page></settings-reset-page> |
| 244 </settings-section> | 269 </settings-section> |
| 245 </template> | 270 </template> |
| 246 </div> | 271 </div> |
| 247 </template> | 272 </template> |
| 248 </div> | 273 </div> |
| 249 </template> | 274 </template> |
| 250 <script src="basic_page.js"></script> | 275 <script src="basic_page.js"></script> |
| 251 </dom-module> | 276 </dom-module> |
| OLD | NEW |