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

Side by Side Diff: ui/webui/resources/css/widgets.css

Issue 2219373002: input[type=search]: Flip the position of cancel button in RTL. (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
« no previous file with comments | « third_party/WebKit/Source/core/css/html.css ('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) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 defines styles for form controls. The order of rule blocks is 5 /* This file defines styles for form controls. The order of rule blocks is
6 * important as there are some rules with equal specificity that rely on order 6 * important as there are some rules with equal specificity that rely on order
7 * as a tiebreaker. These are marked with OVERRIDE. */ 7 * as a tiebreaker. These are marked with OVERRIDE. */
8 8
9 @import url(action_link.css); 9 @import url(action_link.css);
10 10
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 </if> 108 </if>
109 } 109 }
110 110
111 input[type='search'] { 111 input[type='search'] {
112 -webkit-appearance: textfield; 112 -webkit-appearance: textfield;
113 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end 113 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end
114 * of the default text in relatively spacious languages (i.e. German). */ 114 * of the default text in relatively spacious languages (i.e. German). */
115 min-width: 160px; 115 min-width: 160px;
116 } 116 }
117 117
118 /* Remove when https://bugs.webkit.org/show_bug.cgi?id=51499 is fixed.
119 * TODO(dbeam): are there more types that would benefit from this? */
120 input[type='search']::-webkit-textfield-decoration-container {
121 direction: inherit;
122 }
123
124 /* Checked ********************************************************************/ 118 /* Checked ********************************************************************/
125 119
126 input[type='checkbox']:checked::before { 120 input[type='checkbox']:checked::before {
127 -webkit-user-select: none; 121 -webkit-user-select: none;
128 background-image: url(../images/check.png); 122 background-image: url(../images/check.png);
129 background-size: 100% 100%; 123 background-size: 100% 100%;
130 content: ''; 124 content: '';
131 display: block; 125 display: block;
132 height: 100%; 126 height: 100%;
133 width: 100%; 127 width: 100%;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 280
287 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { 281 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span {
288 color: #999; 282 color: #999;
289 } 283 }
290 284
291 extensionview { 285 extensionview {
292 display: inline-block; 286 display: inline-block;
293 height: 300px; 287 height: 300px;
294 width: 300px; 288 width: 300px;
295 } 289 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/html.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698