123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- /*
- * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
- * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
- * Copyright (C) 2011 Google Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the following disclaimer
- * in the documentation and/or other materials provided with the
- * distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC.
- * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
- .tabbed-pane {
- -webkit-flex-direction: column;
- display: -webkit-flex;
- height: 100%;
- }
- .tabbed-pane-content {
- -webkit-flex: 1;
- position: relative;
- overflow: auto;
- }
- .tabbed-pane-content.has-no-tabs {
- background-color: lightgray;
- }
- .tabbed-pane-header {
- height: 23px;
- border-bottom: 1px solid rgb(163, 163, 163);
- overflow: hidden;
- width: 100%;
- }
- .tabbed-pane-header-contents {
- margin: 0 10px;
- }
- .tabbed-pane-header-tabs {
- float: left;
- }
- .tabbed-pane-header-tab {
- float: left;
- margin-top: 2px;
- padding: 2px 4px 2px 4px;
- height: 21px;
- border: 1px solid transparent;
- border-bottom: none;
- line-height: 15px;
-
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .tabbed-pane-header-tab.measuring {
- visibility: hidden;
- }
- .tabbed-pane-header-tab.selected {
- background-color: white;
- border: 1px solid rgb(163, 163, 163);
- border-bottom: none;
- }
- .tabbed-pane-header-tab-close-button {
- position: relative;
- bottom: 0;
- opacity: 0;
- padding-left: 3px;
- font-size: 14px;
- color: rgb(80, 80, 80);
- line-height: 12px;
- }
- .tabbed-pane-header-tab:hover .tabbed-pane-header-tab-close-button {
- opacity: 0.5;
- }
- .tabbed-pane-header-tab:hover .tabbed-pane-header-tab-close-button:hover {
- opacity: 1.0;
- }
- .tabbed-pane-header-tab:hover .tabbed-pane-header-tab-close-button:active {
- opacity: 0.7;
- }
- .tabbed-pane-header-tab.selected .tabbed-pane-header-tab-close-button {
- opacity: 0.5;
- }
- .tabbed-pane-header-tab.selected .tabbed-pane-header-tab-close-button:hover {
- opacity: 1.0;
- }
- .tabbed-pane-header-tab.selected .tabbed-pane-header-tab-close-button:active {
- opacity: 0.7;
- }
- .tabbed-pane-header-tabs-drop-down-container {
- float: left;
- position: relative;
- font-size: 16px;
- vertical-align: bottom;
- top: 3px;
- padding-left: 3px;
- }
- .tabbed-pane-header-tabs-drop-down-container.measuring {
- visibility: hidden;
- }
- .tabbed-pane-header-tabs-drop-down {
- position: relative;
- opacity: 0.7;
- color: rgb(30, 30, 30);
- }
- .tabbed-pane-header-tabs-drop-down:hover {
- opacity: 1.0;
- }
- .tabbed-pane-header-tabs-drop-down:active {
- opacity: 0.8;
- }
- select.tabbed-pane-header-tabs-drop-down-select {
- position: absolute;
- top: 0px;
- right: 0px;
- bottom: 0px;
- left: 0px;
- opacity: 0;
- border: none;
- margin: 0;
- -webkit-appearance: none;
- }
|