Path: blob/trunk/third_party/closure/goog/css/tab.css
2868 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/* Author: [email protected] (Attila Bodis) */8/* Author: [email protected] (Emil A. Eklund) */91011/*12* Styles used by goog.ui.TabRenderer.13*/14.goog-tab {15position: relative;16padding: 4px 8px;17color: #00c;18text-decoration: underline;19cursor: default;20}2122.goog-tab-bar-top .goog-tab {23margin: 1px 4px 0 0;24border-bottom: 0;25float: left;26}2728.goog-tab-bar-top:after,29.goog-tab-bar-bottom:after {30content: " ";31display: block;32height: 0;33clear: both;34visibility: hidden;35}3637.goog-tab-bar-bottom .goog-tab {38margin: 0 4px 1px 0;39border-top: 0;40float: left;41}4243.goog-tab-bar-start .goog-tab {44margin: 0 0 4px 1px;45border-right: 0;46}4748.goog-tab-bar-end .goog-tab {49margin: 0 1px 4px 0;50border-left: 0;51}5253/* State: Hover */54.goog-tab-hover {55background: #eee;56}5758/* State: Disabled */59.goog-tab-disabled {60color: #666;61}6263/* State: Selected */64.goog-tab-selected {65color: #000;66background: #fff;67text-decoration: none;68font-weight: bold;69border: 1px solid #6b90da;70}7172.goog-tab-bar-top {73padding-top: 5px !important;74padding-left: 5px !important;75border-bottom: 1px solid #6b90da !important;76}77/*78* Shift selected tabs 1px towards the contents (and compensate via margin and79* padding) to visually merge the borders of the tab with the borders of the80* content area.81*/82.goog-tab-bar-top .goog-tab-selected {83top: 1px;84margin-top: 0;85padding-bottom: 5px;86}8788.goog-tab-bar-bottom .goog-tab-selected {89top: -1px;90margin-bottom: 0;91padding-top: 5px;92}9394.goog-tab-bar-start .goog-tab-selected {95left: 1px;96margin-left: 0;97padding-right: 9px;98}99100.goog-tab-bar-end .goog-tab-selected {101left: -1px;102margin-right: 0;103padding-left: 9px;104}105106107