1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
|
/*
* Copyright 2008 The Closure Library Authors. All Rights Reserved.
*
* Use of this source code is governed by the Apache License, Version 2.0.
* See the COPYING file for details.
*/
/* Author: attila@google.com (Attila Bodis) */
/*
* Styles used by goog.ui.RoundedTabRenderer.
*/
.goog-rounded-tab {
border: 0;
cursor: default;
padding: 0;
}
.goog-tab-bar-top .goog-rounded-tab,
.goog-tab-bar-bottom .goog-rounded-tab {
float: left;
margin: 0 4px 0 0;
}
.goog-tab-bar-start .goog-rounded-tab,
.goog-tab-bar-end .goog-rounded-tab {
margin: 0 0 4px 0;
}
.goog-rounded-tab-caption {
border: 0;
color: #fff;
margin: 0;
padding: 4px 8px;
}
.goog-rounded-tab-caption,
.goog-rounded-tab-inner-edge,
.goog-rounded-tab-outer-edge {
background: #036;
border-right: 1px solid #003;
}
.goog-rounded-tab-inner-edge,
.goog-rounded-tab-outer-edge {
font-size: 1px;
height: 1px;
overflow: hidden;
}
/* State: Hover */
.goog-rounded-tab-hover .goog-rounded-tab-caption,
.goog-rounded-tab-hover .goog-rounded-tab-inner-edge,
.goog-rounded-tab-hover .goog-rounded-tab-outer-edge {
background-color: #69c;
border-right: 1px solid #369;
}
/* State: Disabled */
.goog-rounded-tab-disabled .goog-rounded-tab-caption,
.goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,
.goog-rounded-tab-disabled .goog-rounded-tab-outer-edge {
background: #ccc;
border-right: 1px solid #ccc;
}
/* State: Selected */
.goog-rounded-tab-selected .goog-rounded-tab-caption,
.goog-rounded-tab-selected .goog-rounded-tab-inner-edge,
.goog-rounded-tab-selected .goog-rounded-tab-outer-edge {
background: #369 !important; /* Selected trumps hover. */
border-right: 1px solid #036 !important;
}
/*
* Styles for horizontal (top or bottom) tabs.
*/
.goog-tab-bar-top .goog-rounded-tab {
vertical-align: bottom;
}
.goog-tab-bar-bottom .goog-rounded-tab {
vertical-align: top;
}
.goog-tab-bar-top .goog-rounded-tab-outer-edge,
.goog-tab-bar-bottom .goog-rounded-tab-outer-edge {
margin: 0 3px;
}
.goog-tab-bar-top .goog-rounded-tab-inner-edge,
.goog-tab-bar-bottom .goog-rounded-tab-inner-edge {
margin: 0 1px;
}
/*
* Styles for vertical (start or end) tabs.
*/
.goog-tab-bar-start .goog-rounded-tab-table,
.goog-tab-bar-end .goog-rounded-tab-table {
width: 100%;
}
.goog-tab-bar-start .goog-rounded-tab-inner-edge {
margin-left: 1px;
}
.goog-tab-bar-start .goog-rounded-tab-outer-edge {
margin-left: 3px;
}
.goog-tab-bar-end .goog-rounded-tab-inner-edge {
margin-right: 1px;
}
.goog-tab-bar-end .goog-rounded-tab-outer-edge {
margin-right: 3px;
}
/*
* Overrides for start tabs.
*/
.goog-tab-bar-start .goog-rounded-tab-table,
.goog-tab-bar-end .goog-rounded-tab-table {
width: 12ex; /* TODO(attila): Make this work for variable width. */
}
.goog-tab-bar-start .goog-rounded-tab-caption,
.goog-tab-bar-start .goog-rounded-tab-inner-edge,
.goog-tab-bar-start .goog-rounded-tab-outer-edge {
border-left: 1px solid #003;
border-right: 0;
}
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-caption,
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-inner-edge,
.goog-tab-bar-start .goog-rounded-tab-hover .goog-rounded-tab-outer-edge {
border-left: 1px solid #369 !important;
border-right: 0 !important;
}
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-outer-edge,
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-inner-edge,
.goog-tab-bar-start .goog-rounded-tab-selected .goog-rounded-tab-caption {
border-left: 1px solid #036 !important;
border-right: 0 !important;
}
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-outer-edge,
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-inner-edge,
.goog-tab-bar-start .goog-rounded-tab-disabled .goog-rounded-tab-caption {
border-left: 1px solid #ccc !important;
border-right: 0 !important;
}
|