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. */
6 -webkit-box-orient: vertical
;
11 -webkit-padding-start: 8px;
12 background: -webkit-linear-gradient
(white
, rgb
(243, 243, 243));
13 border-bottom: 1px solid rgb
(160, 160, 160);
18 /* New users of tabs.css should add 'new-style-tabs' to the class list of any
19 * 'tabs' or 'tabpanels' elements.
21 * TODO(rfevang): Remove when all users are converted to the new style.
25 -webkit-padding-start: 9px;
27 border-bottom: 1px solid
#c8c8c8;
32 -webkit-margin-start: 5px;
33 -webkit-transition: border-color
150ms, background-color
150ms;
34 background: rgba
(160, 160, 160, .3);
35 border: 1px solid rgba
(160, 160, 160, .3);
37 border-top-left-radius: 3px;
38 border-top-right-radius: 3px;
46 tabs
.new-style-tabs
> * {
47 -webkit-margin-start: 0;
48 -webkit-transition: none
;
50 border: 1px solid
#fbfbfb;
54 padding: 4px 9px 4px 10px;
57 tabs
> :not
([selected
]) {
58 background: rgba
(238, 238, 238, .3);
61 tabs
.new-style-tabs
> :not
([selected
]) {
66 tabs
> :not
([selected
]):hover
{
67 background: rgba
(247, 247, 247, .3);
70 tabs
.new-style-tabs
> :not
([selected
]):hover
{
76 -webkit-transition: none
;
78 border-color: rgb
(160, 160, 160);
84 tabs
.new-style-tabs
> [selected
] {
86 border-color: #c8c8c8;
94 html
.focus-outline-visible
tabs:focus
> [selected
] {
95 outline: 5px auto
-webkit-focus-ring-color
;
102 box-shadow: 2px 2px 5px rgba
(0, 0, 0, .2);
103 display: -webkit-box
;
104 padding: 5px 15px 0 15px;
107 tabpanels
.new-style-tabs
{
118 tabpanels
> [selected
] {