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

Side by Side Diff: chrome/browser/resources/history/history_mobile.css

Issue 23464026: History: Prevent search box from disappearing when search term is deleted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 /* This file contains styles specific to Android and iOS. */ 5 /* This file contains styles specific to Android and iOS. */
6 6
7 html { 7 html {
8 height: 100%; 8 height: 100%;
9 } 9 }
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 display: block; 74 display: block;
75 line-height: 1.5; 75 line-height: 1.5;
76 margin-top: 16px; 76 margin-top: 16px;
77 width: 100%; 77 width: 100%;
78 } 78 }
79 79
80 html[dir='rtl'] #search-field { 80 html[dir='rtl'] #search-field {
81 background-position: right 16px center; 81 background-position: right 16px center;
82 } 82 }
83 83
84 /* Hide the search field if it is empty (!valid) and there are no results. */
85 body:not(.has-results) #search-field:not(:valid) {
86 display: none;
87 }
88
89 .no-results-message { 84 .no-results-message {
90 margin-bottom: 1em; 85 margin-bottom: 1em;
91 padding-left: 16px; 86 padding-left: 16px;
92 padding-right: 16px; 87 padding-right: 16px;
93 } 88 }
94 89
95 .search-results .no-results-message { 90 .search-results .no-results-message {
96 margin-top: 1em; 91 margin-top: 1em;
97 } 92 }
98 93
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 291
297 h1, 292 h1,
298 #notification-bar, 293 #notification-bar,
299 #loading-spinner, 294 #loading-spinner,
300 .no-results-message { 295 .no-results-message {
301 padding-left: 0; 296 padding-left: 0;
302 padding-right: 0; 297 padding-right: 0;
303 } 298 }
304 299
305 } /* @media only screen and (max-width:720px) */ 300 } /* @media only screen and (max-width:720px) */
OLDNEW
« no previous file with comments | « chrome/browser/resources/history/history.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698