blob: 5d74b6e00bd6404517f6c9b2250d47da180ec796 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
/*
Copyright (c) 2010 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
*/
.subpages-nav-tabs .inactive-tab {
position: relative;
padding: 4px 8px;
}
.subpages-nav-tabs .active-tab {
position: relative;
background: white;
border: 1px solid #A0A0A0; /* light gray */
border-bottom: 2px solid white;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
}
/* To avoid tabs changing size when they are clicked and their labels become
* bold, we actually put two labels inside each tab: an inactive label and an
* active label. Only one is visible at a time, but the bold label is used to
* size the tab even when it's not visible. This keeps the tab size constant. */
.subpages-nav-tabs .active-tab-label {
font-weight: bold;
}
.subpages-nav-tabs .inactive-tab-label {
position: absolute;
top: 5px;
left: 9px;
}
html[dir=rtl] .subpages-nav-tabs .inactive-tab-label {
right: 9px;
}
.subpages-nav-tabs .active-tab-label,
.subpages-nav-tabs .active-tab .inactive-tab-label {
visibility: hidden;
}
/* .inactive-tab is not removed when .active-tab is added, so we must
* override the hidden visibility above in the active tab case. */
/* BUG(62409): rename .inactive-tab to help avoid this confusion */
.subpages-nav-tabs .active-tab .active-tab-label {
visibility: visible;
}
.subpages-nav-tabs {
padding: 4px;
border-bottom: 1px solid #A0A0A0; /* light gray */
background: -webkit-linear-gradient(white, #F3F3F3); /* very light gray */
margin-bottom: 15px;
}
.subpages-tab-contents {
display: none;
-webkit-padding-start: 10px;
}
.active-tab-contents {
display: block;
}
|