-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtabContainer.css
100 lines (87 loc) · 2.27 KB
/
tabContainer.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
/* tabContainer.css -- stylesheet for Atto TabContainer, a tab set microwidget */
.aw-tabcontainer {
position: relative;
}
.aw-tab-row {
list-style: none;
margin: 0; padding: 0 5px;
line-height: 24px;
height: 26px;
overflow: hidden;
font-size: 12px;
font-family: verdana;
position: relative;
}
.aw-tab-row .aw-tab {
border: 1px solid #AAA;
background-color: #F7F7F7;
display: inline-block;
position: relative;
z-index: 0;
text-shadow: 0 1px #FFF;
margin: 0 8px 0 -5px;
padding: 0 30px 0 20px;
text-align: center;
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
cursor: pointer;
}
.aw-tab:hover {
background: #D1D1D1;
background: -o-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -ms-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -moz-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: -webkit-linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%);
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
}
.aw-tab a {
text-decoration: none;
}
.aw-tab.selected {
color: #333;
z-index: 2;
background: #FFF;
border-bottom-color: #FFF;
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
}
.aw-tab.home {
padding: 0 20px;
}
.aw-tab-body {
border: 1px solid #aaa;
margin: 0;
padding: 0.5em;
height: auto;
position: absolute;
top: 25px; left: 0; right: 0; bottom: 0;
-webkit-box-shadow: 1px 1px 2px 0px #aaa;
-moz-box-shadow: 1px 1px 2px 0px #aaa;
box-shadow: 1px 1px 2px 0px #aaa;
}
.aw-tab-panel {
background-color: #FFF;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
opacity: 0;
visibility: hidden;
padding: 0.5em;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.aw-tab-panel.selected {
opacity: 1;
visibility: inherit;
}
.aw-tab-close-button {
color: #999;
position: absolute;
right: 6px;
}
.aw-tab-close-button:hover {
color: inherit;
}