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

Side by Side Diff: extensions/renderer/resources/extension.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 | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 * 5 *
6 * This stylesheet is used to apply Chrome styles to extension pages that opt in 6 * This stylesheet is used to apply Chrome styles to extension pages that opt in
7 * to using them. 7 * to using them.
8 * 8 *
9 * These styles have been copied from ui/webui/resources/css/chrome_shared.css 9 * These styles have been copied from ui/webui/resources/css/chrome_shared.css
10 * and ui/webui/resources/css/widgets.css *with CSS class logic removed*, so 10 * and ui/webui/resources/css/widgets.css *with CSS class logic removed*, so
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 </if> 174 </if>
175 } 175 }
176 176
177 input[type='search'] { 177 input[type='search'] {
178 -webkit-appearance: textfield; 178 -webkit-appearance: textfield;
179 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end 179 /* NOTE: Keep a relatively high min-width for this so we don't obscure the end
180 * of the default text in relatively spacious languages (i.e. German). */ 180 * of the default text in relatively spacious languages (i.e. German). */
181 min-width: 160px; 181 min-width: 160px;
182 } 182 }
183 183
184 /* Remove when https://bugs.webkit.org/show_bug.cgi?id=51499 is fixed.
185 * TODO(dbeam): are there more types that would benefit from this? */
186 input[type='search']::-webkit-textfield-decoration-container {
187 direction: inherit;
188 }
189
190 /* Checked ********************************************************************/ 184 /* Checked ********************************************************************/
191 185
192 input[type='checkbox']:checked::before { 186 input[type='checkbox']:checked::before {
193 -webkit-user-select: none; 187 -webkit-user-select: none;
194 background-image: url(../../../ui/webui/resources/images/check.png); 188 background-image: url(../../../ui/webui/resources/images/check.png);
195 background-size: 100% 100%; 189 background-size: 100% 100%;
196 content: ''; 190 content: '';
197 display: block; 191 display: block;
198 height: 100%; 192 height: 100%;
199 width: 100%; 193 width: 100%;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 display: block; 337 display: block;
344 } 338 }
345 339
346 :-webkit-any(.checkbox, .radio) label:hover { 340 :-webkit-any(.checkbox, .radio) label:hover {
347 color: black; 341 color: black;
348 } 342 }
349 343
350 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span { 344 label > input:disabled:-webkit-any([type='checkbox'], [type='radio']) ~ span {
351 color: #999; 345 color: #999;
352 } 346 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698