| 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="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> | 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared
_menu.html"> | 5 <link rel="import" href="chrome://resources/cr_elements/cr_shared_menu/cr_shared
_menu.html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 6 <link rel="import" href="chrome://history/lazy_render.html"> | 7 <link rel="import" href="chrome://history/lazy_render.html"> |
| 7 <link rel="import" href="chrome://history/shared_style.html"> | 8 <link rel="import" href="chrome://history/shared_style.html"> |
| 8 <link rel="import" href="chrome://history/synced_device_card.html"> | 9 <link rel="import" href="chrome://history/synced_device_card.html"> |
| 9 | 10 |
| 10 <dom-module id="history-synced-device-manager"> | 11 <dom-module id="history-synced-device-manager"> |
| 11 <template> | 12 <template> |
| 12 <style include="shared-style"> | 13 <style include="shared-style cr-shared-style"> |
| 13 :host { | 14 :host { |
| 14 display: block; | 15 display: block; |
| 15 overflow: auto; | 16 overflow: auto; |
| 16 } | 17 } |
| 17 | 18 |
| 18 #illustration { | 19 #illustration { |
| 19 background: -webkit-image-set( | 20 background: -webkit-image-set( |
| 20 url(chrome://history/images/100/sign_in_promo.png) 1x, | 21 url(chrome://history/images/100/sign_in_promo.png) 1x, |
| 21 url(chrome://history/images/200/sign_in_promo.png) 2x) | 22 url(chrome://history/images/200/sign_in_promo.png) 2x) |
| 22 no-repeat center center; | 23 no-repeat center center; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 44 margin-top: 40px; | 45 margin-top: 40px; |
| 45 } | 46 } |
| 46 | 47 |
| 47 #sign-in-promo-desc { | 48 #sign-in-promo-desc { |
| 48 color: #848484; | 49 color: #848484; |
| 49 font-size: 123%; | 50 font-size: 123%; |
| 50 margin-top: 10px; | 51 margin-top: 10px; |
| 51 } | 52 } |
| 52 | 53 |
| 53 #sign-in-button { | 54 #sign-in-button { |
| 54 background-color: var(--google-blue-500); | 55 margin: 24px 0; |
| 55 color: white; | |
| 56 font-weight: 500; | |
| 57 margin-top: 24px; | |
| 58 padding-left: 12px; | 56 padding-left: 12px; |
| 59 padding-right: 12px; | 57 padding-right: 12px; |
| 60 } | 58 } |
| 61 | 59 |
| 62 #synced-device-list { | 60 #synced-device-list { |
| 63 padding-top: var(--first-card-padding-top); | 61 padding-top: var(--first-card-padding-top); |
| 64 } | 62 } |
| 65 </style> | 63 </style> |
| 66 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]"> | 64 <div id="synced-device-list" hidden="[[!syncedDevices_.length]]"> |
| 67 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice"> | 65 <template is="dom-repeat" items="[[syncedDevices_]]" as="syncedDevice"> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 78 <div id="no-synced-tabs" class="centered-message" | 76 <div id="no-synced-tabs" class="centered-message" |
| 79 hidden="[[!showNoSyncedMessage(signInState, syncedDevices_.length, | 77 hidden="[[!showNoSyncedMessage(signInState, syncedDevices_.length, |
| 80 guestSession_)]]"> | 78 guestSession_)]]"> |
| 81 [[noSyncedTabsMessage(fetchingSyncedTabs_)]] | 79 [[noSyncedTabsMessage(fetchingSyncedTabs_)]] |
| 82 </div> | 80 </div> |
| 83 <div id="sign-in-guide" | 81 <div id="sign-in-guide" |
| 84 hidden="[[!showSignInGuide(signInState, guestSession_)]]"> | 82 hidden="[[!showSignInGuide(signInState, guestSession_)]]"> |
| 85 <div id="illustration"></div> | 83 <div id="illustration"></div> |
| 86 <div id="sign-in-promo">$i18n{signInPromo}</div> | 84 <div id="sign-in-promo">$i18n{signInPromo}</div> |
| 87 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> | 85 <div id="sign-in-promo-desc">$i18n{signInPromoDesc}</div> |
| 88 <paper-button id="sign-in-button" on-tap="onSignInTap_"> | 86 <paper-button id="sign-in-button" class="action-button" |
| 87 on-tap="onSignInTap_"> |
| 89 $i18n{signInButton} | 88 $i18n{signInButton} |
| 90 </paper-button> | 89 </paper-button> |
| 91 </div> | 90 </div> |
| 92 | 91 |
| 93 <template is="history-lazy-render" id="menu"> | 92 <template is="history-lazy-render" id="menu"> |
| 94 <cr-shared-menu> | 93 <cr-shared-menu> |
| 95 <paper-item id="menuOpenButton" class="menu-item" | 94 <paper-item id="menuOpenButton" class="menu-item" |
| 96 on-tap="onOpenAllTap_"> | 95 on-tap="onOpenAllTap_"> |
| 97 $i18n{openAll} | 96 $i18n{openAll} |
| 98 </paper-item> | 97 </paper-item> |
| 99 <paper-item id="menuDeleteButton" class="menu-item" | 98 <paper-item id="menuDeleteButton" class="menu-item" |
| 100 on-tap="onDeleteSessionTap_"> | 99 on-tap="onDeleteSessionTap_"> |
| 101 $i18n{deleteSession} | 100 $i18n{deleteSession} |
| 102 </paper-item> | 101 </paper-item> |
| 103 </cr-shared-menu> | 102 </cr-shared-menu> |
| 104 </template> | 103 </template> |
| 105 </template> | 104 </template> |
| 106 <script src="chrome://history/synced_device_manager.js"></script> | 105 <script src="chrome://history/synced_device_manager.js"></script> |
| 107 </dom-module> | 106 </dom-module> |
| OLD | NEW |