Debian Codegraph @

closure-library/closure/goog/css/css3button.css

raw
1 /*
2 * Copyright 2010 The Closure Library Authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by the Apache License, Version 2.0.
5 * See the COPYING file for details.
6 */
7
8 /* Author: [email protected] (Alex Russell) */
9 /* Author: [email protected] (Emil A Eklund) */
10
11 /* Imageless button styles. */
12 .goog-css3-button {
13 margin: 0 2px;
14 padding: 3px 6px;
15 text-align: center;
16 vertical-align: middle;
17 white-space: nowrap;
18 cursor: default;
19 outline: none;
20 font-family: Arial, sans-serif;
21 color: #000;
22 border: 1px solid #bbb;
23 -webkit-border-radius: 3px;
24 -moz-border-radius: 3px;
25 /* TODO(eae): Change this to -webkit-linear-gradient once
26 https://bugs.webkit.org/show_bug.cgi?id=28152 is resolved. */
27 background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#f9f9f9),
28 to(#e3e3e3));
29 /* @alternate */ background: -moz-linear-gradient(top, #f9f9f9, #e3e3e3);
30 }
31
32
33 /* Styles for different states (hover, active, focused, open, checked). */
34 .goog-css3-button-hover {
35 border-color: #939393 !important;
36 }
37
38 .goog-css3-button-focused {
39 border-color: #444;
40 }
41
42 .goog-css3-button-active, .goog-css3-button-open, .goog-css3-button-checked {
43 border-color: #444 !important;
44 background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#e3e3e3),
45 to(#f9f9f9));
46 /* @alternate */ background: -moz-linear-gradient(top, #e3e3e3, #f9f9f9);
47 }
48
49 .goog-css3-button-disabled {
50 color: #888;
51 }
52
53 .goog-css3-button-primary {
54 font-weight: bold;
55 }
56
57
58 /*
59 * Pill (collapsed border) styles.
60 */
61 .goog-css3-button-collapse-right {
62 margin-right: 0 !important;
63 border-right: 1px solid #bbb;
64 -webkit-border-top-right-radius: 0px;
65 -webkit-border-bottom-right-radius: 0px;
66 -moz-border-radius-topright: 0px;
67 -moz-border-radius-bottomright: 0px;
68 }
69
70 .goog-css3-button-collapse-left {
71 border-left: 1px solid #f9f9f9;
72 margin-left: 0 !important;
73 -webkit-border-top-left-radius: 0px;
74 -webkit-border-bottom-left-radius: 0px;
75 -moz-border-radius-topleft: 0px;
76 -moz-border-radius-bottomleft: 0px;
77 }