Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/css/css3button.css
3987 views
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
@provide 'goog.css.css3button';
9
10
@require './common';
11
12
/* Imageless button styles. */
13
.goog-css3-button {
14
margin: 0 2px;
15
padding: 3px 6px;
16
text-align: center;
17
vertical-align: middle;
18
white-space: nowrap;
19
cursor: default;
20
outline: none;
21
font-family: Arial, sans-serif;
22
color: #000;
23
border: 1px solid #bbb;
24
-webkit-border-radius: 3px;
25
-moz-border-radius: 3px;
26
/* TODO(eae): Change this to -webkit-linear-gradient once
27
https://bugs.webkit.org/show_bug.cgi?id=28152 is resolved. */
28
background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#f9f9f9),
29
to(#e3e3e3));
30
/* @alternate */ background: -moz-linear-gradient(top, #f9f9f9, #e3e3e3);
31
}
32
33
34
/* Styles for different states (hover, active, focused, open, checked). */
35
.goog-css3-button-hover {
36
border-color: #939393 !important;
37
}
38
39
.goog-css3-button-focused {
40
border-color: #444;
41
}
42
43
.goog-css3-button-active, .goog-css3-button-open, .goog-css3-button-checked {
44
border-color: #444 !important;
45
background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#e3e3e3),
46
to(#f9f9f9));
47
/* @alternate */ background: -moz-linear-gradient(top, #e3e3e3, #f9f9f9);
48
}
49
50
.goog-css3-button-disabled {
51
color: #888;
52
}
53
54
.goog-css3-button-primary {
55
font-weight: bold;
56
}
57
58
59
/*
60
* Pill (collapsed border) styles.
61
*/
62
.goog-css3-button-collapse-right {
63
margin-right: 0 !important;
64
border-right: 1px solid #bbb;
65
-webkit-border-top-right-radius: 0px;
66
-webkit-border-bottom-right-radius: 0px;
67
-moz-border-radius-topright: 0px;
68
-moz-border-radius-bottomright: 0px;
69
}
70
71
.goog-css3-button-collapse-left {
72
border-left: 1px solid #f9f9f9;
73
margin-left: 0 !important;
74
-webkit-border-top-left-radius: 0px;
75
-webkit-border-bottom-left-radius: 0px;
76
-moz-border-radius-topleft: 0px;
77
-moz-border-radius-bottomleft: 0px;
78
}
79
80