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

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

Issue 2372503002: MD WebUI: Change <cr-toolbar> clear button to not close the search field (Closed)
Patch Set: Vulcanize Created 4 years, 2 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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 495
496 :host([disabled]) { 496 :host([disabled]) {
497 color: #9b9b9b; 497 color: #9b9b9b;
498 pointer-events: none; 498 pointer-events: none;
499 cursor: auto; 499 cursor: auto;
500 } 500 }
501 501
502 paper-ripple { 502 paper-ripple {
503 opacity: 0.6; 503 opacity: 0.6;
504 color: currentColor; 504 color: currentColor;
505 ;
505 } 506 }
506 507
507 </style> 508 </style>
508 <content></content> 509 <content></content>
509 </template> 510 </template>
510 </dom-module> 511 </dom-module>
511 <style is="custom-style" css-build="shadow">html { 512 <style is="custom-style" css-build="shadow">html {
512 --google-red-100: #f4c7c3; 513 --google-red-100: #f4c7c3;
513 --google-red-300: #e67c73; 514 --google-red-300: #e67c73;
514 --google-red-500: #db4437; 515 --google-red-500: #db4437;
(...skipping 2756 matching lines...) Expand 10 before | Expand all | Expand 10 after
3271 <paper-spinner-lite active=""> 3272 <paper-spinner-lite active="">
3272 </paper-spinner-lite> 3273 </paper-spinner-lite>
3273 </template> 3274 </template>
3274 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]"> 3275 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]">
3275 </paper-icon-button> 3276 </paper-icon-button>
3276 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float=""> 3277 <paper-input-container id="searchTerm" on-search="onSearchTermSearch" on-key down="onSearchTermKeydown" no-label-float="">
3277 <label id="prompt" for="searchInput">[[label]]</label> 3278 <label id="prompt" for="searchInput">[[label]]</label>
3278 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental="" autofocus=""> 3279 <input is="iron-input" id="searchInput" type="search" on-blur="onInputBlur _" incremental="" autofocus="">
3279 </paper-input-container> 3280 </paper-input-container>
3280 <template is="dom-if" if="[[hasSearchText_]]"> 3281 <template is="dom-if" if="[[hasSearchText_]]">
3281 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="hideSearch_"> 3282 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="clearSearch_">
3282 </paper-icon-button> 3283 </paper-icon-button>
3283 </template> 3284 </template>
3284 </template> 3285 </template>
3285 </dom-module> 3286 </dom-module>
3286 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow"> 3287 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow">
3287 <template> 3288 <template>
3288 <style scope="cr-toolbar">:host { 3289 <style scope="cr-toolbar">:host {
3289 --cr-toolbar-field-width: 580px; 3290 --cr-toolbar-field-width: 580px;
3290 --cr-toolbar-height: 56px; 3291 --cr-toolbar-height: 56px;
3291 color: #fff; 3292 color: #fff;
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
3616 <command id="undo-command" shortcut="Meta|z"></command> 3617 <command id="undo-command" shortcut="Meta|z"></command>
3617 <command id="find-command" shortcut="Meta|f"></command> 3618 <command id="find-command" shortcut="Meta|f"></command>
3618 </if> 3619 </if>
3619 <if expr="not is_macosx"> 3620 <if expr="not is_macosx">
3620 <command id="clear-all-command" shortcut="Alt|c"></command> 3621 <command id="clear-all-command" shortcut="Alt|c"></command>
3621 <command id="undo-command" shortcut="Ctrl|z"></command> 3622 <command id="undo-command" shortcut="Ctrl|z"></command>
3622 <command id="find-command" shortcut="Ctrl|f"></command> 3623 <command id="find-command" shortcut="Ctrl|f"></command>
3623 </if> 3624 </if>
3624 <link rel="import" href="chrome://resources/html/polymer.html"> 3625 <link rel="import" href="chrome://resources/html/polymer.html">
3625 <script src="crisper.js"></script></body></html> 3626 <script src="crisper.js"></script></body></html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/crisper.js ('k') | chrome/browser/resources/md_history/app.crisper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698