OLD | NEW |
---|---|
1 <html><head><!-- | 1 <html><head><!-- |
2 @license | 2 @license |
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. |
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt |
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt |
7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt |
9 --><!-- | 9 --><!-- |
10 @license | 10 @license |
(...skipping 2777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2788 <template is="dom-if" if="[[hasSearchText_]]"> | 2788 <template is="dom-if" if="[[hasSearchText_]]"> |
2789 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="hideSearch_"> | 2789 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="hideSearch_"> |
2790 </paper-icon-button> | 2790 </paper-icon-button> |
2791 </template> | 2791 </template> |
2792 </template> | 2792 </template> |
2793 </dom-module> | 2793 </dom-module> |
2794 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow"> | 2794 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow"> |
2795 <template> | 2795 <template> |
2796 <style scope="cr-toolbar">:host { | 2796 <style scope="cr-toolbar">:host { |
2797 --cr-toolbar-field-width: 580px; | 2797 --cr-toolbar-field-width: 580px; |
2798 --cr-toolbar-height: 56px; | |
2798 color: #fff; | 2799 color: #fff; |
2799 display: flex; | 2800 display: flex; |
2800 height: 56px; | 2801 height: var(--cr-toolbar-height); |
2801 } | 2802 } |
2802 | 2803 |
2803 h1 { | 2804 h1 { |
2804 -webkit-margin-start: 6px; | 2805 -webkit-margin-start: 6px; |
2805 flex: 1; | 2806 flex: 1; |
2806 font-size: 123%; | 2807 font-size: 123%; |
2807 font-weight: 400; | 2808 font-weight: 400; |
2808 text-overflow: ellipsis; | 2809 text-overflow: ellipsis; |
2809 overflow: hidden; | 2810 overflow: hidden; |
2810 white-space: nowrap; | 2811 white-space: nowrap; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2852 } | 2853 } |
2853 | 2854 |
2854 :host([narrow_]) #centeredContent { | 2855 :host([narrow_]) #centeredContent { |
2855 justify-content: flex-end; | 2856 justify-content: flex-end; |
2856 } | 2857 } |
2857 | 2858 |
2858 :host([narrow_][showing-search_]) #leftContent { | 2859 :host([narrow_][showing-search_]) #leftContent { |
2859 opacity: 0; | 2860 opacity: 0; |
2860 } | 2861 } |
2861 | 2862 |
2863 #menuPromo { | |
2864 -webkit-padding-end: 12px; | |
2865 -webkit-padding-start: 8px; | |
2866 align-items: center; | |
2867 background: #616161; | |
2868 border-radius: 2px; | |
2869 color: white; | |
2870 display: flex; | |
2871 font-size: 92.3%; | |
2872 font-weight: 500; | |
2873 opacity: 0; | |
2874 padding-bottom: 6px; | |
2875 padding-top: 6px; | |
2876 position: absolute; | |
2877 top: var(--cr-toolbar-height); | |
2878 white-space: nowrap; | |
2879 z-index: 2; | |
2880 } | |
2881 | |
2882 #menuPromo::before { | |
2883 background: inherit; | |
2884 | |
2885 clip-path: polygon(0 105%, 100% 105%, 50% 0); | |
2886 content: ''; | |
2887 display: block; | |
2888 left: 10px; | |
2889 height: 6px; | |
2890 position: absolute; | |
2891 top: -6px; | |
2892 width: 12px; | |
2893 } | |
2894 | |
2895 :host-context([dir=rtl]) #menuPromo::before { | |
2896 left: auto; | |
2897 right: 10px; | |
2898 } | |
2899 | |
2900 #closePromo { | |
2901 -webkit-appearance: none; | |
2902 -webkit-margin-start: 12px; | |
2903 background: none; | |
2904 border: none; | |
2905 color: inherit; | |
2906 font-size: 20px; | |
2907 line-height: 20px; | |
2908 padding: 0; | |
2909 width: 20px; | |
2910 } | |
2911 | |
2862 </style> | 2912 </style> |
2863 <div id="leftContent"> | 2913 <div id="leftContent"> |
2864 <template is="dom-if" if="[[showMenu]]"> | 2914 |
Pam (message me for reviews)
2016/09/21 04:44:12
this blank line seems extraneous
| |
2865 <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" ti tle="[[menuLabel]]"> | 2915 <template is="dom-if" if="[[showMenu]]" restamp=""> |
2916 <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" ti tle="[[titleIfNotShowMenuPromo_(menuLabel, showMenuPromo)]]" aria-label$="[[menu Label]]"> | |
2866 </paper-icon-button> | 2917 </paper-icon-button> |
2918 <template is="dom-if" if="[[showMenuPromo]]"> | |
2919 <div id="menuPromo" role="tooltip"> | |
2920 [[menuPromo]] | |
2921 <button id="closePromo" on-tap="onClosePromoTap_" aria-label$="[[clo seMenuPromo]]">✕</button> | |
2922 | |
2923 </div></template> | |
2867 </template> | 2924 </template> |
2868 <h1>[[pageName]]</h1> | 2925 <h1>[[pageName]]</h1> |
2869 </div> | 2926 </div> |
2870 | 2927 |
2871 <div id="centeredContent"> | 2928 <div id="centeredContent"> |
2872 <cr-toolbar-search-field id="search" narrow="[[narrow_]]" label="[[searchP rompt]]" clear-label="[[clearLabel]]" spinner-active="[[spinnerActive]]" showing -search="{{showingSearch_}}"> | 2929 <cr-toolbar-search-field id="search" narrow="[[narrow_]]" label="[[searchP rompt]]" clear-label="[[clearLabel]]" spinner-active="[[spinnerActive]]" showing -search="{{showingSearch_}}"> |
2873 </cr-toolbar-search-field> | 2930 </cr-toolbar-search-field> |
2874 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}"> | 2931 <iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}"> |
2875 </iron-media-query> | 2932 </iron-media-query> |
2876 </div> | 2933 </div> |
2877 | 2934 |
2878 <div id="rightContent"> | 2935 <div id="rightContent"> |
2879 <content select=".more-actions"></content> | 2936 <content select=".more-actions"></content> |
2880 </div> | 2937 </div> |
2881 </template> | 2938 </template> |
2882 </dom-module> | 2939 </dom-module> |
2940 <link rel="import" href="chrome://history/constants.html"> | |
2883 <iron-iconset-svg size="24" name="history"> | 2941 <iron-iconset-svg size="24" name="history"> |
2884 <svg> | 2942 <svg> |
2885 <defs> | 2943 <defs> |
2886 | 2944 |
2887 <g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12 z"></path></g> | 2945 <g id="chevron-left"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12 z"></path></g> |
2888 <g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4. 48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.5 9 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g> | 2946 <g id="info-outline"><path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4. 48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.5 9 8 8-3.59 8-8 8zM11 9h2V7h-2v2z"></path></g> |
2889 <g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 1 9c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z "></path></g> | 2947 <g id="today"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 1 9c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z "></path></g> |
2890 </defs> | 2948 </defs> |
2891 </svg> | 2949 </svg> |
2892 </iron-iconset-svg> | 2950 </iron-iconset-svg> |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3212 text-overflow: ellipsis; | 3270 text-overflow: ellipsis; |
3213 white-space: nowrap; | 3271 white-space: nowrap; |
3214 } | 3272 } |
3215 | 3273 |
3216 :host-context([dir=rtl]) .rtl-reversible { | 3274 :host-context([dir=rtl]) .rtl-reversible { |
3217 transform: rotate(180deg); | 3275 transform: rotate(180deg); |
3218 } | 3276 } |
3219 | 3277 |
3220 </style> | 3278 </style> |
3221 <div id="toolbar-container"> | 3279 <div id="toolbar-container"> |
3222 <cr-toolbar id="main-toolbar" page-name="$i18n{title}" clear-label="$i18n{ clearSearch}" search-prompt="$i18n{searchPrompt}" hidden$="[[itemsSelected_]]" s pinner-active="[[spinnerActive]]" show-menu="[[hasDrawer]]" menu-label="$i18n{hi storyMenuButton}" on-search-changed="onSearchChanged_"> | 3280 <cr-toolbar id="main-toolbar" page-name="$i18n{title}" clear-label="$i18n{ clearSearch}" search-prompt="$i18n{searchPrompt}" hidden$="[[itemsSelected_]]" s pinner-active="[[spinnerActive]]" show-menu="[[hasDrawer]]" show-menu-promo="[[s howMenuPromo_]]" menu-label="$i18n{historyMenuButton}" menu-promo="$i18n{menuPro mo}" close-menu-promo="$i18n{closeMenuPromo}" on-search-changed="onSearchChanged _" on-cr-menu-promo-shown="onMenuPromoShown_"> |
Pam (message me for reviews)
2016/09/21 04:44:12
Ew. OK, it was already like this, and there are lo
| |
3223 <div class="more-actions"> | 3281 <div class="more-actions"> |
3224 <template is="dom-if" if="[[showSyncNotice]]"> | 3282 <template is="dom-if" if="[[showSyncNotice]]"> |
3225 <button is="paper-icon-button-light" id="info-button" on-tap="onInfo ButtonTap_" aria-label="$i18n{hasSyncedResultsDescription}"> | 3283 <button is="paper-icon-button-light" id="info-button" on-tap="onInfo ButtonTap_" aria-label="$i18n{hasSyncedResultsDescription}"> |
3226 <iron-icon icon="history:info-outline" id="info-button-icon"> | 3284 <iron-icon icon="history:info-outline" id="info-button-icon"> |
3227 </iron-icon> | 3285 </iron-icon> |
3228 </button> | 3286 </button> |
3229 </template> | 3287 </template> |
3230 </div> | 3288 </div> |
3231 </cr-toolbar> | 3289 </cr-toolbar> |
3232 <template is="cr-lazy-render" id="syncNotice"> | 3290 <template is="cr-lazy-render" id="syncNotice"> |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3581 | 3639 |
3582 ; | 3640 ; |
3583 } | 3641 } |
3584 | 3642 |
3585 </style> | 3643 </style> |
3586 | 3644 |
3587 <content></content> | 3645 <content></content> |
3588 </template> | 3646 </template> |
3589 | 3647 |
3590 </dom-module> | 3648 </dom-module> |
3591 <link rel="import" href="chrome://history/constants.html"> | |
3592 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/" css-build="shadow"> | 3649 <dom-module id="iron-collapse" assetpath="chrome://resources/polymer/v1_0/iron-c ollapse/" css-build="shadow"> |
3593 | 3650 |
3594 <template> | 3651 <template> |
3595 | 3652 |
3596 <style scope="iron-collapse">:host { | 3653 <style scope="iron-collapse">:host { |
3597 display: block; | 3654 display: block; |
3598 transition-duration: var(--iron-collapse-transition-duration, 300ms); | 3655 transition-duration: var(--iron-collapse-transition-duration, 300ms); |
3599 overflow: visible; | 3656 overflow: visible; |
3600 } | 3657 } |
3601 | 3658 |
(...skipping 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5202 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> | 5259 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> |
5203 </history-side-bar> | 5260 </history-side-bar> |
5204 </app-drawer> | 5261 </app-drawer> |
5205 </template> | 5262 </template> |
5206 | 5263 |
5207 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > | 5264 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > |
5208 </iron-media-query> | 5265 </iron-media-query> |
5209 </template> | 5266 </template> |
5210 </dom-module> | 5267 </dom-module> |
5211 <script src="app.crisper.js"></script></body></html> | 5268 <script src="app.crisper.js"></script></body></html> |
OLD | NEW |