This repository has been archived by the owner on Oct 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-tabs.css
171 lines (142 loc) · 4.38 KB
/
ui-tabs.css
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
159
160
161
162
163
164
165
166
167
168
169
170
/* Caution! Ensure accessibility in print and other media types... */
@media projection, screen { /* Use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
.ui-tabs-hide {
display: none;}
}
/* Hide useless elements in print layouts... */
@media print {
.ui-tabs-nav {
display: none;}
}
/* Skin */
.ui-tabs-nav {
z-index:1000;
font-size: 14px;
position: relative;
list-style: none;
margin: 0px;
padding: 0 0 0 4px;}
.ui-tabs-nav:after { /* clearing without presentational markup, IE gets extra treatment */
display: block;
clear: both;
content: " ";}
.ui-tabs-nav li {
float: left;
margin: 0 0 0 1px;
min-width: 84px; /* be nice to Opera */}
.ui-tabs-nav a, .ui-tabs-nav a span {
display: block;
padding: 0 10px;}
.ui-tabs-nav a {
margin: 1px 2px 0; /* position: relative makes opacity fail for disabled tab in IE */
padding-left: 0;
top: 5px;
color: #27537a;
line-height: 1.2;
text-align: center;
text-decoration: none;
white-space: nowrap; /* required in IE 6 */
outline: 0; /* prevent dotted border in Firefox */}
.ui-tabs-nav .ui-tabs-selected a {
position: relative;
top: 3px;
margin-bottom:-3px;
z-index: 2;
margin-top: 1px;
color: #000;}
.ui-tabs-nav a span {
width: 64px; /* IE 6 treats width as min-width */
min-width: 64px;
margin-top:5px;
text-align: center;
height: 18px; /* IE 6 treats height as min-height */
min-height: 18px;
padding: 6px 9px 1px 9px;}
*>.ui-tabs-nav a span { /* hide from IE 6 */
width: auto;
height: auto;}
.ui-tabs-nav .ui-tabs-selected a span {
font-size: 1.1em;
top:2px;
margin-top:0px;
padding-top:8px;
font-weight: bold;
color: #333;
text-decoration: none;}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active {
background-position: 100% -150px;}
.ui-tabs-nav .ui-tabs-selected a{
background-position: 98% -150px;}
.ui-tabs-nav a, .ui-tabs-nav .ui-tabs-disabled a:hover, .ui-tabs-nav .ui-tabs-disabled a:focus, .ui-tabs-nav .ui-tabs-disabled a:active {
background-position: 100% -100px;}
.ui-tabs-nav .ui-tabs-selected a span, .ui-tabs-nav a:hover span, .ui-tabs-nav a:focus span, .ui-tabs-nav a:active span {
background-position: 0 -50px;}
.ui-tabs-nav a span, .ui-tabs-nav .ui-tabs-disabled a:hover span, .ui-tabs-nav .ui-tabs-disabled a:focus span, .ui-tabs-nav .ui-tabs-disabled a:active span {
background-position: 0 0;}
.ui-tabs-nav .ui-tabs-selected a:link, .ui-tabs-nav .ui-tabs-selected a:visited, .ui-tabs-nav .ui-tabs-disabled a:link, .ui-tabs-nav .ui-tabs-disabled a:visited { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
cursor: text;}
.ui-tabs-nav a:hover, .ui-tabs-nav a:focus, .ui-tabs-nav a:active,
.ui-tabs-nav .ui-tabs-unselect a:hover, .ui-tabs-nav .ui-tabs-unselect a:focus, .ui-tabs-nav .ui-tabs-unselect a:active { /* @ Opera, we need to be explicit again here now... */
cursor: pointer;}
.ui-tabs-disabled {
opacity: .4;
filter: alpha(opacity=40);}
.ui-tabs-panel {
position: relative;
float: left;
border: 1px solid #B5B2B5; /*#503019*/ /*#97a5b0;*/
padding: 10px 25px 30px 25px;
height: 300px;
z-index:10;
background: #fff; /* declare background color for container to avoid distorted fonts in IE while fading */}
.ui-tabs-panel[class] {
height: auto;
min-height: 300px;}
.ui-tabs-loading em {
padding: 0 0 0 20px;
background: url(/images/loading.gif) no-repeat 0 50%;}
/* Additional IE specific bug fixes... */
* html .ui-tabs-nav { /* auto clear, @ IE 6 & IE 7 Quirks Mode */
display: inline-block;}
*:first-child+html .ui-tabs-nav { /* @ IE 7 Standards Mode - do not group selectors, otherwise IE 6 will ignore complete rule (because of the unknown + combinator)... */
display: inline-block;}
#db-table-layer #top-tabs-menu{
margin: 0 0 -2px;
}
#db-table-layer #top-tabs-menu li {
float: left;
margin: 3px 3px 0;
min-width: 84px;
border: 1px solid #CCC;
border-bottom: none;
position: relative;
background: #EEE;
padding-top: 2px;
}
#db-table-layer #top-tabs-menu .ui-tabs-selected{
background: white;
position: relative;
height: 34px;
margin-top: 0px;
padding-top: 0px;
}
#db-table-layer #top-tabs-menu a {
margin: -3px 2px 0;
padding-left: 0;
top: 0px;
color: #27537A;
line-height: 1.2;
text-align: center;
text-decoration: none;
white-space: nowrap;
outline: 0;
}
#db-table-layer #top-tabs-menu .ui-tabs-selected a {
position: relative;
top: 0;
margin-bottom: -3px;
z-index: 2;
margin-top: 1px;
color: black;
display: block;
}