2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above
14 * copyright notice, this list of conditions and the following disclaimer
15 * in the documentation and/or other materials provided with the
18 * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS
19 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC.
22 * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 .tabbed-pane-content {
41 flex-direction: column
;
44 .tabbed-pane-content.has-no-tabs {
45 background-color: lightgray
;
48 .tabbed-pane-placeholder {
52 text-shadow: rgba
(255, 255, 255, 0.75) 0 1px 0;
58 border-bottom: 1px solid
#ccc;
61 background-color: #f3f3f3;
64 .tabbed-pane-header-contents {
71 .tabbed-pane-header-contents > * {
72 pointer-events: initial
;
75 .tabbed-pane-header-tab-icon {
79 .tabbed-pane-header-tab {
82 padding: 2px 4px 2px 4px;
84 border: 1px solid transparent
;
94 .tabbed-pane-header-tab:hover {
98 .tabbed-pane-header-tab-title {
99 text-overflow: ellipsis
;
103 .tabbed-pane-header-tab.measuring {
107 .tabbed-pane-header-tab.selected {
108 border: 1px solid
#ccc;
113 .tabbed-pane-header-tab.selected {
115 border-top-color: #ccc;
118 .tabbed-pane-header-tab.dragging {
122 .tabbed-pane-header-tab .tabbed-pane-close-button {
123 display: inline-block
;
132 .tabbed-pane-header-tab:hover
.tabbed-pane-close-button
,
133 .tabbed-pane-header-tab.selected .tabbed-pane-close-button {
137 .tabbed-pane-header-tabs-drop-down-container {
140 vertical-align: bottom
;
148 .tabbed-pane-header-tabs-drop-down-container > .glyph {
150 background-color: hsla
(0,0%,20%,1);
151 -webkit-mask-image: url
(Images/toolbarButtonGlyphs.png);
152 -webkit-mask-position: -68px -143px;
153 -webkit-mask-size: 352px 168px;
157 @media (-webkit-min-device-pixel-ratio: 1.5) {
158 .tabbed-pane-header-tabs-drop-down-container {
159 -webkit-mask-image: url
(Images/toolbarButtonGlyphs_2x.png);
163 .tabbed-pane-header-tabs-drop-down-container:hover {
164 background-color: rgb
(229, 229, 229);
167 .tabbed-pane-header-tabs-drop-down-container.measuring {
171 .tabbed-pane-header-tabs-drop-down-container:hover {
175 .tabbed-pane-header-tabs-drop-down-container:active {
181 .tabbed-pane-shadow.vertical-tab-layout {
182 flex-direction: row
!important
;
185 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header {
186 background-color: transparent
;
187 border: none transparent
!important
;
190 flex-direction: column
;
194 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-content {
195 padding: 10px 10px 10px 0;
199 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-contents {
204 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tabs {
206 flex-direction: column
;
210 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tab {
211 background-color: transparent
;
212 border: none transparent
;
218 border-left: 6px solid transparent
;
224 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tab:not(.selected) {
225 cursor: pointer
!important
;
228 .tabbed-pane-shadow.vertical-tab-layout .tabbed-pane-header-tab.selected {
230 border: none transparent
;
231 border-left: 6px solid
#666;
234 .tabbed-pane-tab-slider {
238 background-color: #3E82F7;
241 transform-origin: 0 100%;
242 transition: transform
150ms cubic-bezier
(0, 0, 0.2, 1);
244 border-top: 1px solid hsl
(218, 82%, 78%);
247 @media (-webkit-min-device-pixel-ratio: 1.5) {
248 .tabbed-pane-tab-slider {
253 .tabbed-pane-tab-slider.enabled {
257 .tabbed-pane-header.tabbed-pane-no-header-background {
258 background-color: transparent
;