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

Side by Side Diff: chrome/browser/resources/shared/css/select.css

Issue 9579001: css hack n' slash, continued: New styles for buttons and selects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: message font size Created 8 years, 9 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
OLDNEW
(Empty)
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.
4 */
5
6 select {
7 -webkit-appearance: button;
8 -webkit-border-radius: 3px;
9 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
10 -webkit-padding-end: 20px;
11 -webkit-padding-start: 8px;
12 -webkit-user-select: none;
13 background-image: url("../images/select.png"),
14 -webkit-linear-gradient(#fafafa, #f4f4f4 40%, #e5e5e5);
15 background-position: center right;
16 background-repeat: no-repeat;
17 border: 1px solid #aaa;
18 color: #555;
19 font: inherit;
20 margin: 0;
21 overflow: hidden;
22 padding-top: 2px;
23 padding-bottom: 2px;
24 text-overflow: ellipsis;
25 white-space: nowrap;
26 }
27
28 html[dir='rtl'] select {
29 background-position: center left;
30 }
31
32 select:disabled {
33 color: graytext;
34 background-image: url("../images/disabled_select.png"),
35 -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
36 }
37
38 select:enabled:hover {
39 -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
40 background-image: url("../images/select.png"),
41 -webkit-linear-gradient(#fefefe, #f8f8f8 40%, #e9e9e9);
42 color: #333;
43 }
44
45 select:enabled:active {
46 -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
47 background-image: url("../images/select.png"),
48 -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
49 color: #444;
50 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/shared/css/chrome_shared2.css ('k') | chrome/browser/resources/shared_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698