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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.html

Issue 2275453002: MD WebUI: Fix misaligned spinner in narrow-mode cr-toolbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 <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 2337 matching lines...) Expand 10 before | Expand all | Expand 10 after
2348 2348
2349 :host([narrow][showing-search]) { 2349 :host([narrow][showing-search]) {
2350 width: 100%; 2350 width: 100%;
2351 } 2351 }
2352 2352
2353 /* 2353 /*
2354 * Margin needs to be animated to prevent jumping around during 2354 * Margin needs to be animated to prevent jumping around during
2355 * opening/closing. -webkit-margin-start is not animatable, so we have to 2355 * opening/closing. -webkit-margin-start is not animatable, so we have to
2356 * use regular margin-left/right instead. 2356 * use regular margin-left/right instead.
2357 */ 2357 */
2358 :host-context([dir=ltr]):host([narrow][showing-search]) #icon { 2358 :host-context([dir=ltr]):host([narrow][showing-search]) #icon,
2359 :host-context([dir=ltr]):host([narrow][showing-search]) paper-spinner-lite
2360 {
2359 margin-left: 18px; 2361 margin-left: 18px;
2360 } 2362 }
2361 2363
2362 :host-context([dir=rtl]):host([narrow][showing-search]) #icon { 2364 :host-context([dir=rtl]):host([narrow][showing-search]) #icon,
2365 :host-context([dir=rtl]):host([narrow][showing-search]) paper-spinner-lite
2366 {
2363 margin-right: 18px; 2367 margin-right: 18px;
2364 } 2368 }
2365 </style> 2369 </style>
2366 <paper-spinner-lite active="[[isSpinnerShown_(spinnerActive, showingSearch)] ]"> 2370 <paper-spinner-lite active="[[isSpinnerShown_(spinnerActive, showingSearch)] ]">
2367 </paper-spinner-lite> 2371 </paper-spinner-lite>
2368 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]"> 2372 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]">
2369 </paper-icon-button> 2373 </paper-icon-button>
2370 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float=""> 2374 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float="">
2371 <label id="prompt" for="searchInput">[[label]]</label> 2375 <label id="prompt" for="searchInput">[[label]]</label>
2372 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental=""> 2376 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental="">
(...skipping 1652 matching lines...) Expand 10 before | Expand all | Expand 10 after
4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 4029 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
4026 </history-side-bar> 4030 </history-side-bar>
4027 </app-drawer> 4031 </app-drawer>
4028 </template> 4032 </template>
4029 4033
4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 4034 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
4031 </iron-media-query> 4035 </iron-media-query>
4032 </template> 4036 </template>
4033 </dom-module> 4037 </dom-module>
4034 <script src="app.crisper.js"></script></body></html> 4038 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698