Path: blob/trunk/third_party/closure/goog/css/roundedtab.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) */8910/*11* Styles used by goog.ui.RoundedTabRenderer.12*/13.goog-rounded-tab {14border: 0;15cursor: default;16padding: 0;17}1819.goog-tab-bar-top .goog-rounded-tab,20.goog-tab-bar-bottom .goog-rounded-tab {21float: left;22margin: 0 4px 0 0;23}2425.goog-tab-bar-start .goog-rounded-tab,26.goog-tab-bar-end .goog-rounded-tab {27margin: 0 0 4px 0;28}2930.goog-rounded-tab-caption {31border: 0;32color: #fff;33margin: 0;34padding: 4px 8px;35}3637.goog-rounded-tab-caption,38.goog-rounded-tab-inner-edge,39.goog-rounded-tab-outer-edge {40background: #036;41border-right: 1px solid #003;42}4344.goog-rounded-tab-inner-edge,45.goog-rounded-tab-outer-edge {46font-size: 1px;47height: 1px;48overflow: hidden;49}5051/* State: Hover */52.goog-rounded-tab-hover .goog-rounded-tab-caption,53.goog-rounded-tab-hover .goog-rounded-tab-inner-edge,54.goog-rounded-tab-hover .goog-rounded-tab-outer-edge {55background-color: #69c;56border-right: 1px solid #369;57}5859/* State: Disabled */60.goog-rounded-tab-disabled .goog-rounded-tab-caption,61.goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,62.goog-rounded-tab-disabled .goog-rounded-tab-outer-edge {63background: #ccc;64border-right: 1px solid #ccc;65}6667/* State: Selected */68.goog-rounded-tab-selected .goog-rounded-tab-caption,69.goog-rounded-tab-selected .goog-rounded-tab-inner-edge,70.goog-rounded-tab-selected .goog-rounded-tab-outer-edge {71background: #369 !important; /* Selected trumps hover. */72border-right: 1px solid #036 !important;73}747576/*77* Styles for horizontal (top or bottom) tabs.78*/79.goog-tab-bar-top .goog-rounded-tab {80vertical-align: bottom;81}8283.goog-tab-bar-bottom .goog-rounded-tab {84vertical-align: top;85}8687.goog-tab-bar-top .goog-rounded-tab-outer-edge,88.goog-tab-bar-bottom .goog-rounded-tab-outer-edge {89margin: 0 3px;90}9192.goog-tab-bar-top .goog-rounded-tab-inner-edge,93.goog-tab-bar-bottom .goog-rounded-tab-inner-edge {94margin: 0 1px;95}969798/*99* Styles for vertical (start or end) tabs.100*/101.goog-tab-bar-start .goog-rounded-tab-table,102.goog-tab-bar-end .goog-rounded-tab-table {103width: 100%;104}105106.goog-tab-bar-start .goog-rounded-tab-inner-edge {107margin-left: 1px;108}109110.goog-tab-bar-start .goog-rounded-tab-outer-edge {111margin-left: 3px;112}113114.goog-tab-bar-end .goog-rounded-tab-inner-edge {115margin-right: 1px;116}117118.goog-tab-bar-end .goog-rounded-tab-outer-edge {119margin-right: 3px;120}121122123/*124* Overrides for start tabs.125*/126.goog-tab-bar-start .goog-rounded-tab-table,127.goog-tab-bar-end .goog-rounded-tab-table {128width: 12ex; /* TODO(attila): Make this work for variable width. */129}130131.goog-tab-bar-start .goog-rounded-tab-caption,132.goog-tab-bar-start .goog-rounded-tab-inner-edge,133.goog-tab-bar-start .goog-rounded-tab-outer-edge {134border-left: 1px solid #003;135border-right: 0;136}137138.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-caption,139.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-inner-edge,140.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-outer-edge {141border-left: 1px solid #369 !important;142border-right: 0 !important;143}144145.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-outer-edge,146.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-inner-edge,147.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-caption {148border-left: 1px solid #036 !important;149border-right: 0 !important;150}151152.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-outer-edge,153.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,154.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-caption {155border-left: 1px solid #ccc !important;156border-right: 0 !important;157}158159160