Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/css/roundedtab.css
4011 views
1
/*
2
* Copyright 2008 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.roundedtab';
9
10
/*
11
* Styles used by goog.ui.RoundedTabRenderer.
12
*/
13
.goog-rounded-tab {
14
border: 0;
15
cursor: default;
16
padding: 0;
17
}
18
19
.goog-tab-bar-top .goog-rounded-tab,
20
.goog-tab-bar-bottom .goog-rounded-tab {
21
float: left;
22
margin: 0 4px 0 0;
23
}
24
25
.goog-tab-bar-start .goog-rounded-tab,
26
.goog-tab-bar-end .goog-rounded-tab {
27
margin: 0 0 4px 0;
28
}
29
30
.goog-rounded-tab-caption {
31
border: 0;
32
color: #fff;
33
margin: 0;
34
padding: 4px 8px;
35
}
36
37
.goog-rounded-tab-caption,
38
.goog-rounded-tab-inner-edge,
39
.goog-rounded-tab-outer-edge {
40
background: #036;
41
border-right: 1px solid #003;
42
}
43
44
.goog-rounded-tab-inner-edge,
45
.goog-rounded-tab-outer-edge {
46
font-size: 1px;
47
height: 1px;
48
overflow: hidden;
49
}
50
51
/* State: Hover */
52
.goog-rounded-tab-hover .goog-rounded-tab-caption,
53
.goog-rounded-tab-hover .goog-rounded-tab-inner-edge,
54
.goog-rounded-tab-hover .goog-rounded-tab-outer-edge {
55
background-color: #69c;
56
border-right: 1px solid #369;
57
}
58
59
/* State: Disabled */
60
.goog-rounded-tab-disabled .goog-rounded-tab-caption,
61
.goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,
62
.goog-rounded-tab-disabled .goog-rounded-tab-outer-edge {
63
background: #ccc;
64
border-right: 1px solid #ccc;
65
}
66
67
/* State: Selected */
68
.goog-rounded-tab-selected .goog-rounded-tab-caption,
69
.goog-rounded-tab-selected .goog-rounded-tab-inner-edge,
70
.goog-rounded-tab-selected .goog-rounded-tab-outer-edge {
71
background: #369 !important; /* Selected trumps hover. */
72
border-right: 1px solid #036 !important;
73
}
74
75
76
/*
77
* Styles for horizontal (top or bottom) tabs.
78
*/
79
.goog-tab-bar-top .goog-rounded-tab {
80
vertical-align: bottom;
81
}
82
83
.goog-tab-bar-bottom .goog-rounded-tab {
84
vertical-align: top;
85
}
86
87
.goog-tab-bar-top .goog-rounded-tab-outer-edge,
88
.goog-tab-bar-bottom .goog-rounded-tab-outer-edge {
89
margin: 0 3px;
90
}
91
92
.goog-tab-bar-top .goog-rounded-tab-inner-edge,
93
.goog-tab-bar-bottom .goog-rounded-tab-inner-edge {
94
margin: 0 1px;
95
}
96
97
98
/*
99
* Styles for vertical (start or end) tabs.
100
*/
101
.goog-tab-bar-start .goog-rounded-tab-table,
102
.goog-tab-bar-end .goog-rounded-tab-table {
103
width: 100%;
104
}
105
106
.goog-tab-bar-start .goog-rounded-tab-inner-edge {
107
margin-left: 1px;
108
}
109
110
.goog-tab-bar-start .goog-rounded-tab-outer-edge {
111
margin-left: 3px;
112
}
113
114
.goog-tab-bar-end .goog-rounded-tab-inner-edge {
115
margin-right: 1px;
116
}
117
118
.goog-tab-bar-end .goog-rounded-tab-outer-edge {
119
margin-right: 3px;
120
}
121
122
123
/*
124
* Overrides for start tabs.
125
*/
126
.goog-tab-bar-start .goog-rounded-tab-table,
127
.goog-tab-bar-end .goog-rounded-tab-table {
128
width: 12ex; /* TODO(attila): Make this work for variable width. */
129
}
130
131
.goog-tab-bar-start .goog-rounded-tab-caption,
132
.goog-tab-bar-start .goog-rounded-tab-inner-edge,
133
.goog-tab-bar-start .goog-rounded-tab-outer-edge {
134
border-left: 1px solid #003;
135
border-right: 0;
136
}
137
138
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-caption,
139
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-inner-edge,
140
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-outer-edge {
141
border-left: 1px solid #369 !important;
142
border-right: 0 !important;
143
}
144
145
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-outer-edge,
146
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-inner-edge,
147
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-caption {
148
border-left: 1px solid #036 !important;
149
border-right: 0 !important;
150
}
151
152
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-outer-edge,
153
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,
154
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-caption {
155
border-left: 1px solid #ccc !important;
156
border-right: 0 !important;
157
}
158
159