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

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

Issue 2586803002: MD Settings: Fix label visibility in subpage search fields (Closed)
Patch Set: Rebase Created 3 years, 11 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 2982 matching lines...) Expand 10 before | Expand all | Expand 10 after
2993 bottom: 0; 2993 bottom: 0;
2994 cursor: text; 2994 cursor: text;
2995 left: 0; 2995 left: 0;
2996 overflow: hidden; 2996 overflow: hidden;
2997 position: absolute; 2997 position: absolute;
2998 right: 0; 2998 right: 0;
2999 top: 0; 2999 top: 0;
3000 white-space: nowrap; 3000 white-space: nowrap;
3001 } 3001 }
3002 3002
3003 :host([has-search-text_]) label { 3003 :host([has-search-text]) label {
3004 visibility: hidden; 3004 visibility: hidden;
3005 } 3005 }
3006 3006
3007 input { 3007 input {
3008 -webkit-appearance: none; 3008 -webkit-appearance: none;
3009 background: transparent; 3009 background: transparent;
3010 border: none; 3010 border: none;
3011 color: white; 3011 color: white;
3012 font: inherit; 3012 font: inherit;
3013 outline: none; 3013 outline: none;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 3050
3051 </style> 3051 </style>
3052 <template is="dom-if" if="[[isSpinnerShown_]]"> 3052 <template is="dom-if" if="[[isSpinnerShown_]]">
3053 <paper-spinner-lite active=""> 3053 <paper-spinner-lite active="">
3054 </paper-spinner-lite> 3054 </paper-spinner-lite>
3055 </template> 3055 </template>
3056 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]"> 3056 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]">
3057 </paper-icon-button> 3057 </paper-icon-button>
3058 <div id="searchTerm"> 3058 <div id="searchTerm">
3059 <label id="prompt" for="searchInput">[[label]]</label> 3059 <label id="prompt" for="searchInput">[[label]]</label>
3060 <input id="searchInput" type="search" on-input="onSearchInput_" on-search= "onSearchTermSearch" on-keydown="onSearchTermKeydown_" on-focus="onInputFocus_" on-blur="onInputBlur_" incremental="" autofocus=""> 3060 <input id="searchInput" type="search" on-input="onSearchTermInput" on-sear ch="onSearchTermSearch" on-keydown="onSearchTermKeydown_" on-focus="onInputFocus _" on-blur="onInputBlur_" incremental="" autofocus="">
3061 3061
3062 </div> 3062 </div>
3063 <template is="dom-if" if="[[hasSearchText_]]"> 3063 <template is="dom-if" if="[[hasSearchText]]">
3064 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="clearSearch_"> 3064 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="clearSearch_">
3065 </paper-icon-button> 3065 </paper-icon-button>
3066 </template> 3066 </template>
3067 </template> 3067 </template>
3068 </dom-module> 3068 </dom-module>
3069 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow"> 3069 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow">
3070 <template> 3070 <template>
3071 <style scope="cr-toolbar">:host { 3071 <style scope="cr-toolbar">:host {
3072 --cr-toolbar-field-width: 580px; 3072 --cr-toolbar-field-width: 580px;
3073 --cr-toolbar-height: 56px; 3073 --cr-toolbar-height: 56px;
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
3392 <command id="undo-command" shortcut="Meta|z"></command> 3392 <command id="undo-command" shortcut="Meta|z"></command>
3393 <command id="find-command" shortcut="Meta|f"></command> 3393 <command id="find-command" shortcut="Meta|f"></command>
3394 </if> 3394 </if>
3395 <if expr="not is_macosx"> 3395 <if expr="not is_macosx">
3396 <command id="clear-all-command" shortcut="Alt|c"></command> 3396 <command id="clear-all-command" shortcut="Alt|c"></command>
3397 <command id="undo-command" shortcut="Ctrl|z"></command> 3397 <command id="undo-command" shortcut="Ctrl|z"></command>
3398 <command id="find-command" shortcut="Ctrl|f"></command> 3398 <command id="find-command" shortcut="Ctrl|f"></command>
3399 </if> 3399 </if>
3400 <link rel="import" href="chrome://resources/html/polymer.html"> 3400 <link rel="import" href="chrome://resources/html/polymer.html">
3401 <script src="crisper.js"></script></body></html> 3401 <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