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
3 * found in the LICENSE file. */
5 /* This file holds CSS that should be shared, in theory, by all user-visible
8 @import url("widgets.css");
10 @import url("chromeos/ui_account_tweaks.css");
13 /* Prevent CSS from overriding the hidden property. */
15 display: none !important;
19 height: 100%; /* For printing. */
23 -webkit-transition-delay: 0 !important;
24 -webkit-transition-duration: 0 !important;
39 -webkit-user-select: none;
41 /* Makes the vertical size of the text the same for all fonts. */
61 color: rgb(17, 85, 204);
62 text-decoration: underline;
66 color: rgb(5, 37, 119);
69 /* Elements that need to be LTR even in an RTL context, but should align
70 * right. (Namely, URLs, search engine names, etc.)
72 html[dir='rtl'] .weakrtl {
77 /* Input fields in search engine table need to be weak-rtl. Since those input
78 * fields are generated for all cr.ListItem elements (and we only want weakrtl
79 * on some), the class needs to be on the enclosing div.
81 html[dir='rtl'] div.weakrtl input {
86 html[dir='rtl'] .favicon-cell.weakrtl {
87 -webkit-padding-end: 22px;
88 -webkit-padding-start: 0;
91 /* weakrtl for selection drop downs needs to account for the fact that
92 * Webkit does not honor the text-align attribute for the select element.
93 * (See Webkit bug #40216)
95 html[dir='rtl'] select.weakrtl {
99 html[dir='rtl'] select.weakrtl option {
103 /* WebKit does not honor alignment for text specified via placeholder attribute.
104 * This CSS is a workaround. Please remove once WebKit bug is fixed.
105 * https://bugs.webkit.org/show_bug.cgi?id=63367
107 html[dir='rtl'] input.weakrtl::-webkit-input-placeholder,
108 html[dir='rtl'] .weakrtl input::-webkit-input-placeholder {