1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */
5 .subpages-nav-tabs .tab {
10 .subpages-nav-tabs .active-tab {
12 border: 1px solid
#ddd;
13 border-bottom: 2px solid white
;
14 border-top-left-radius: 3px;
15 border-top-right-radius: 3px;
16 box-shadow: 8px -8px 12px -6px rgb
(240, 240, 240);
20 /* To avoid tabs changing size when they are clicked and their labels become
21 * bold, we actually put two labels inside each tab: an inactive label and an
22 * active label. Only one is visible at a time, but the bold label is used to
23 * size the tab even when it's not visible. This keeps the tab size constant.
25 .subpages-nav-tabs
.active-tab-label
,
26 .subpages-nav-tabs .tab-label:hover {
30 .subpages-nav-tabs .tab-label {
36 html
[dir
=rtl
] .subpages-nav-tabs
.tab-label
{
40 .subpages-nav-tabs
.active-tab-label
,
41 .subpages-nav-tabs .active-tab .tab-label {
45 /* .tab is not removed when .active-tab is added, so we must
46 * override the hidden visibility above in the active tab case.
48 .subpages-nav-tabs .active-tab .active-tab-label {
53 background-image: linear-gradient
(
57 rgb
(250, 250, 250) 80%,
60 border-bottom: 1px solid
#ddd;
64 .subpages-tab-contents {
65 -webkit-padding-start: 10px;
70 .active-tab-contents {