Path: blob/trunk/third_party/closure/goog/css/tab.css
3987 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/**8* Styles used by goog.ui.TabRenderer.9*/1011@provide 'goog.css.tab';1213.goog-tab {14position: relative;15padding: 4px 8px;16color: #00c;17text-decoration: underline;18cursor: default;19}2021.goog-tab-bar-top .goog-tab {22margin: 1px 4px 0 0;23border-bottom: 0;24float: left;25}2627.goog-tab-bar-top:after,28.goog-tab-bar-bottom:after {29content: " ";30display: block;31height: 0;32clear: both;33visibility: hidden;34}3536.goog-tab-bar-bottom .goog-tab {37margin: 0 4px 1px 0;38border-top: 0;39float: left;40}4142.goog-tab-bar-start .goog-tab {43margin: 0 0 4px 1px;44border-right: 0;45}4647.goog-tab-bar-end .goog-tab {48margin: 0 1px 4px 0;49border-left: 0;50}5152/* State: Hover */53.goog-tab-hover {54background: #eee;55}5657/* State: Disabled */58.goog-tab-disabled {59color: #666;60}6162/* State: Selected */63.goog-tab-selected {64color: #000;65background: #fff;66text-decoration: none;67font-weight: bold;68border: 1px solid #6b90da;69}7071.goog-tab-bar-top {72padding-top: 5px !important;73padding-left: 5px !important;74border-bottom: 1px solid #6b90da !important;75}76/*77* Shift selected tabs 1px towards the contents (and compensate via margin and78* padding) to visually merge the borders of the tab with the borders of the79* content area.80*/81.goog-tab-bar-top .goog-tab-selected {82top: 1px;83margin-top: 0;84padding-bottom: 5px;85}8687.goog-tab-bar-bottom .goog-tab-selected {88top: -1px;89margin-bottom: 0;90padding-top: 5px;91}9293.goog-tab-bar-start .goog-tab-selected {94left: 1px;95margin-left: 0;96padding-right: 9px;97}9899.goog-tab-bar-end .goog-tab-selected {100left: -1px;101margin-right: 0;102padding-left: 9px;103}104105106