Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2284463002: MD Downloads: fix search spinner when terms are the same (Closed)
Patch Set: tsergeant@ review / test fix Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><head><!- - 1 <!DOCTYPE html><html dir="$i18n{textdirection}" lang="$i18n{language}"><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 2836 matching lines...) Expand 10 before | Expand all | Expand 10 after
2847 2847
2848 /* Search open. */ 2848 /* Search open. */
2849 :host([showing-search][spinner-active]) #icon { 2849 :host([showing-search][spinner-active]) #icon {
2850 opacity: 0; 2850 opacity: 0;
2851 } 2851 }
2852 2852
2853 :host([narrow][showing-search]) { 2853 :host([narrow][showing-search]) {
2854 width: 100%; 2854 width: 100%;
2855 } 2855 }
2856 2856
2857 /* 2857 :host-context([dir=ltr]):host([narrow][showing-search]) #icon,
2858 * Margin needs to be animated to prevent jumping around during 2858 :host-context([dir=ltr]):host([narrow][showing-search])
2859 * opening/closing. -webkit-margin-start is not animatable, so we have to 2859 paper-spinner-lite {
2860 * use regular margin-left/right instead. 2860 -webkit-margin-start: 18px;
2861 */
2862 :host-context([dir=ltr]):host([narrow][showing-search]) #icon {
2863 margin-left: 18px;
2864 }
2865
2866 :host-context([dir=rtl]):host([narrow][showing-search]) #icon {
2867 margin-right: 18px;
2868 } 2861 }
2869 </style> 2862 </style>
2870 <paper-spinner-lite active="[[isSpinnerShown_(spinnerActive, showingSearch)] ]"> 2863 <paper-spinner-lite active="[[isSpinnerShown_(spinnerActive, showingSearch)] ]">
2871 </paper-spinner-lite> 2864 </paper-spinner-lite>
2872 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]"> 2865 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]">
2873 </paper-icon-button> 2866 </paper-icon-button>
2874 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float=""> 2867 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float="">
2875 <label id="prompt" for="searchInput">[[label]]</label> 2868 <label id="prompt" for="searchInput">[[label]]</label>
2876 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental=""> 2869 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental="">
2877 </paper-input-container> 2870 </paper-input-container>
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
3201 <command id="undo-command" shortcut="Meta|z"></command> 3194 <command id="undo-command" shortcut="Meta|z"></command>
3202 <command id="find-command" shortcut="Meta|f"></command> 3195 <command id="find-command" shortcut="Meta|f"></command>
3203 </if> 3196 </if>
3204 <if expr="not is_macosx"> 3197 <if expr="not is_macosx">
3205 <command id="clear-all-command" shortcut="Alt|c"></command> 3198 <command id="clear-all-command" shortcut="Alt|c"></command>
3206 <command id="undo-command" shortcut="Ctrl|z"></command> 3199 <command id="undo-command" shortcut="Ctrl|z"></command>
3207 <command id="find-command" shortcut="Ctrl|f"></command> 3200 <command id="find-command" shortcut="Ctrl|f"></command>
3208 </if> 3201 </if>
3209 <link rel="import" href="chrome://resources/html/polymer.html"> 3202 <link rel="import" href="chrome://resources/html/polymer.html">
3210 <script src="crisper.js"></script></body></html> 3203 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.js ('k') | chrome/test/data/webui/md_downloads/toolbar_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698