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

Side by Side Diff: chrome/browser/resources/md_history/app.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 <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 1851 matching lines...) Expand 10 before | Expand all | Expand 10 after
1862 bottom: 0; 1862 bottom: 0;
1863 cursor: text; 1863 cursor: text;
1864 left: 0; 1864 left: 0;
1865 overflow: hidden; 1865 overflow: hidden;
1866 position: absolute; 1866 position: absolute;
1867 right: 0; 1867 right: 0;
1868 top: 0; 1868 top: 0;
1869 white-space: nowrap; 1869 white-space: nowrap;
1870 } 1870 }
1871 1871
1872 :host([has-search-text_]) label { 1872 :host([has-search-text]) label {
1873 visibility: hidden; 1873 visibility: hidden;
1874 } 1874 }
1875 1875
1876 input { 1876 input {
1877 -webkit-appearance: none; 1877 -webkit-appearance: none;
1878 background: transparent; 1878 background: transparent;
1879 border: none; 1879 border: none;
1880 color: white; 1880 color: white;
1881 font: inherit; 1881 font: inherit;
1882 outline: none; 1882 outline: none;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1919 1919
1920 </style> 1920 </style>
1921 <template is="dom-if" if="[[isSpinnerShown_]]"> 1921 <template is="dom-if" if="[[isSpinnerShown_]]">
1922 <paper-spinner-lite active=""> 1922 <paper-spinner-lite active="">
1923 </paper-spinner-lite> 1923 </paper-spinner-lite>
1924 </template> 1924 </template>
1925 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]"> 1925 <paper-icon-button id="icon" icon="cr:search" title="[[label]]" tabindex$="[ [computeIconTabIndex_(narrow)]]">
1926 </paper-icon-button> 1926 </paper-icon-button>
1927 <div id="searchTerm"> 1927 <div id="searchTerm">
1928 <label id="prompt" for="searchInput">[[label]]</label> 1928 <label id="prompt" for="searchInput">[[label]]</label>
1929 <input id="searchInput" type="search" on-input="onSearchInput_" on-search= "onSearchTermSearch" on-keydown="onSearchTermKeydown_" on-focus="onInputFocus_" on-blur="onInputBlur_" incremental="" autofocus=""> 1929 <input id="searchInput" type="search" on-input="onSearchTermInput" on-sear ch="onSearchTermSearch" on-keydown="onSearchTermKeydown_" on-focus="onInputFocus _" on-blur="onInputBlur_" incremental="" autofocus="">
1930 1930
1931 </div> 1931 </div>
1932 <template is="dom-if" if="[[hasSearchText_]]"> 1932 <template is="dom-if" if="[[hasSearchText]]">
1933 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="clearSearch_"> 1933 <paper-icon-button icon="cr:cancel" id="clearSearch" title="[[clearLabel]] " on-tap="clearSearch_">
1934 </paper-icon-button> 1934 </paper-icon-button>
1935 </template> 1935 </template>
1936 </template> 1936 </template>
1937 </dom-module> 1937 </dom-module>
1938 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow"> 1938 <dom-module id="cr-toolbar" assetpath="chrome://resources/cr_elements/cr_toolbar /" css-build="shadow">
1939 <template> 1939 <template>
1940 <style scope="cr-toolbar">:host { 1940 <style scope="cr-toolbar">:host {
1941 --cr-toolbar-field-width: 580px; 1941 --cr-toolbar-field-width: 580px;
1942 --cr-toolbar-height: 56px; 1942 --cr-toolbar-height: 56px;
(...skipping 1835 matching lines...) Expand 10 before | Expand all | Expand 10 after
3778 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]"> 3778 <history-side-bar id="drawer-side-bar" class="drawer-content" selected-p age="{{selectedPage_}}" show-footer="[[showSidebarFooter]]">
3779 </history-side-bar> 3779 </history-side-bar>
3780 </dialog> 3780 </dialog>
3781 </template> 3781 </template>
3782 3782
3783 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 3783 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
3784 </iron-media-query> 3784 </iron-media-query>
3785 </template> 3785 </template>
3786 </dom-module> 3786 </dom-module>
3787 <script src="app.crisper.js"></script></body></html> 3787 <script src="app.crisper.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698