Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/third_party/closure/goog/css/tab.css
3987 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
/**
9
* Styles used by goog.ui.TabRenderer.
10
*/
11
12
@provide 'goog.css.tab';
13
14
.goog-tab {
15
position: relative;
16
padding: 4px 8px;
17
color: #00c;
18
text-decoration: underline;
19
cursor: default;
20
}
21
22
.goog-tab-bar-top .goog-tab {
23
margin: 1px 4px 0 0;
24
border-bottom: 0;
25
float: left;
26
}
27
28
.goog-tab-bar-top:after,
29
.goog-tab-bar-bottom:after {
30
content: " ";
31
display: block;
32
height: 0;
33
clear: both;
34
visibility: hidden;
35
}
36
37
.goog-tab-bar-bottom .goog-tab {
38
margin: 0 4px 1px 0;
39
border-top: 0;
40
float: left;
41
}
42
43
.goog-tab-bar-start .goog-tab {
44
margin: 0 0 4px 1px;
45
border-right: 0;
46
}
47
48
.goog-tab-bar-end .goog-tab {
49
margin: 0 1px 4px 0;
50
border-left: 0;
51
}
52
53
/* State: Hover */
54
.goog-tab-hover {
55
background: #eee;
56
}
57
58
/* State: Disabled */
59
.goog-tab-disabled {
60
color: #666;
61
}
62
63
/* State: Selected */
64
.goog-tab-selected {
65
color: #000;
66
background: #fff;
67
text-decoration: none;
68
font-weight: bold;
69
border: 1px solid #6b90da;
70
}
71
72
.goog-tab-bar-top {
73
padding-top: 5px !important;
74
padding-left: 5px !important;
75
border-bottom: 1px solid #6b90da !important;
76
}
77
/*
78
* Shift selected tabs 1px towards the contents (and compensate via margin and
79
* padding) to visually merge the borders of the tab with the borders of the
80
* content area.
81
*/
82
.goog-tab-bar-top .goog-tab-selected {
83
top: 1px;
84
margin-top: 0;
85
padding-bottom: 5px;
86
}
87
88
.goog-tab-bar-bottom .goog-tab-selected {
89
top: -1px;
90
margin-bottom: 0;
91
padding-top: 5px;
92
}
93
94
.goog-tab-bar-start .goog-tab-selected {
95
left: 1px;
96
margin-left: 0;
97
padding-right: 9px;
98
}
99
100
.goog-tab-bar-end .goog-tab-selected {
101
left: -1px;
102
margin-right: 0;
103
padding-left: 9px;
104
}
105
106