tabstrip.css
1.47 KB
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
/*
* tabstrip-default.css
* Default styling for tabstrips
* Designed to look like windows-xp tabs
*
* Modified by Sean Harvey, SilverStripe Ltd 02/11/2007
*/
ul.tabstrip {
border-bottom: 1px #AAA solid;
padding: 0;
margin: 0 !important;
clear: left;
float: left;
width: 100%;
/* Need this to stop tabs from disappearing sometimes */
position: relative;
}
ul.tabstrip li {
float: left;
list-style: none;
background: url(images/norm_li_bg.gif) no-repeat left 3px;
margin: 0 2px 0 0;
padding: 0 0 0 9px;
cursor: pointer;
position: relative;
top: 1px;
}
ul.tabstrip li a {
background: url(images/norm_a_bg.gif) no-repeat right 3px;
display: block;
float: left;
outline: none;
padding: 7px 9px 3px 0;
text-decoration: none;
color: #555;
font-size: 11px;
font-weight: bold;
}
ul.tabstrip li a:hover {
text-decoration: none;
color: #000;
}
ul.tabstrip li.current,
ul.tabstrip li.ui-tabs-active,
ul.tabstrip li.sel,
ul.tabstrip li.over {
background: url(images/sel_li_bg.gif) no-repeat left top;
top: 1px;
}
ul.tabstrip li.current a,
ul.tabstrip li.ui-tabs-active a,
ul.tabstrip li.sel a,
ul.tabstrip li.over a {
background: url(images/sel_a_bg.gif) no-repeat right top;
padding: 6px 9px 5px 0;
color: #0074c6;
}
.tab {
clear: left;
overflow: auto;
border: 1px solid #aaa;
border-top: none;
position: relative;
top: 0;
margin: 0;
padding: 10px;
background-color: #FFFFFF;
}