Path: blob/trunk/third_party/closure/goog/css/roundedtab.css
4505 views
/*1* Copyright 2008 The Closure Library Authors. All Rights Reserved.2*3* Use of this source code is governed by the Apache License, Version 2.0.4* See the COPYING file for details.5*/67@provide 'goog.css.roundedtab';89/*10* Styles used by goog.ui.RoundedTabRenderer.11*/12.goog-rounded-tab {13border: 0;14cursor: default;15padding: 0;16}1718.goog-tab-bar-top .goog-rounded-tab,19.goog-tab-bar-bottom .goog-rounded-tab {20float: left;21margin: 0 4px 0 0;22}2324.goog-tab-bar-start .goog-rounded-tab,25.goog-tab-bar-end .goog-rounded-tab {26margin: 0 0 4px 0;27}2829.goog-rounded-tab-caption {30border: 0;31color: #fff;32margin: 0;33padding: 4px 8px;34}3536.goog-rounded-tab-caption,37.goog-rounded-tab-inner-edge,38.goog-rounded-tab-outer-edge {39background: #036;40border-right: 1px solid #003;41}4243.goog-rounded-tab-inner-edge,44.goog-rounded-tab-outer-edge {45font-size: 1px;46height: 1px;47overflow: hidden;48}4950/* State: Hover */51.goog-rounded-tab-hover .goog-rounded-tab-caption,52.goog-rounded-tab-hover .goog-rounded-tab-inner-edge,53.goog-rounded-tab-hover .goog-rounded-tab-outer-edge {54background-color: #69c;55border-right: 1px solid #369;56}5758/* State: Disabled */59.goog-rounded-tab-disabled .goog-rounded-tab-caption,60.goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,61.goog-rounded-tab-disabled .goog-rounded-tab-outer-edge {62background: #ccc;63border-right: 1px solid #ccc;64}6566/* State: Selected */67.goog-rounded-tab-selected .goog-rounded-tab-caption,68.goog-rounded-tab-selected .goog-rounded-tab-inner-edge,69.goog-rounded-tab-selected .goog-rounded-tab-outer-edge {70background: #369 !important; /* Selected trumps hover. */71border-right: 1px solid #036 !important;72}737475/*76* Styles for horizontal (top or bottom) tabs.77*/78.goog-tab-bar-top .goog-rounded-tab {79vertical-align: bottom;80}8182.goog-tab-bar-bottom .goog-rounded-tab {83vertical-align: top;84}8586.goog-tab-bar-top .goog-rounded-tab-outer-edge,87.goog-tab-bar-bottom .goog-rounded-tab-outer-edge {88margin: 0 3px;89}9091.goog-tab-bar-top .goog-rounded-tab-inner-edge,92.goog-tab-bar-bottom .goog-rounded-tab-inner-edge {93margin: 0 1px;94}959697/*98* Styles for vertical (start or end) tabs.99*/100.goog-tab-bar-start .goog-rounded-tab-table,101.goog-tab-bar-end .goog-rounded-tab-table {102width: 100%;103}104105.goog-tab-bar-start .goog-rounded-tab-inner-edge {106margin-left: 1px;107}108109.goog-tab-bar-start .goog-rounded-tab-outer-edge {110margin-left: 3px;111}112113.goog-tab-bar-end .goog-rounded-tab-inner-edge {114margin-right: 1px;115}116117.goog-tab-bar-end .goog-rounded-tab-outer-edge {118margin-right: 3px;119}120121122/*123* Overrides for start tabs.124*/125.goog-tab-bar-start .goog-rounded-tab-table,126.goog-tab-bar-end .goog-rounded-tab-table {127width: 12ex; /* TODO(attila): Make this work for variable width. */128}129130.goog-tab-bar-start .goog-rounded-tab-caption,131.goog-tab-bar-start .goog-rounded-tab-inner-edge,132.goog-tab-bar-start .goog-rounded-tab-outer-edge {133border-left: 1px solid #003;134border-right: 0;135}136137.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-caption,138.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-inner-edge,139.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-outer-edge {140border-left: 1px solid #369 !important;141border-right: 0 !important;142}143144.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-outer-edge,145.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-inner-edge,146.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-caption {147border-left: 1px solid #036 !important;148border-right: 0 !important;149}150151.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-outer-edge,152.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,153.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-caption {154border-left: 1px solid #ccc !important;155border-right: 0 !important;156}157158159