-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmartTabs.css
97 lines (94 loc) · 1.95 KB
/
smartTabs.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
/*
------------------------ =cornerstoneUX smartTabs ------------------------ */
.smart-tabs {
position: relative;
}
.smart-tabs:before,
.smart-tabs:after {
content: " ";
display: table;
}
.smart-tabs:after {
clear: both;
}
/* ------------------------ navigation ------------------------ */
.smart-tabs dt {
background: #eee;
border: solid #dfe1e1;
border-width: 1px 1px 0;
color: #333;
float: left;
font-size: 0.875em;
font-weight: 400;
height: 3em;
line-height: 3;
text-align: center;
}
.smart-tabs dt a {
color: #999;
display: block;
padding: 0 1rem;
text-decoration: none;
}
.smart-tabs dt.current {
background: #fff;
border-bottom: 1px solid #fff;
position: relative;
z-index: 2;
}
.smart-tabs dt.current a {
color: #111;
}
/* ------------------------ panels ------------------------ */
.smart-tabs dd {
background: #fff;
border: 1px solid #dfe1e1;
font-size: 0.875em;
margin-top: -1px;
padding: 0.75em 1em;
position: absolute;
width: 100%;
}
/* ------------------------ accordion changes ------------------------ */
.smart-tabs.accordion {
border-bottom: 1px solid #dfe1e1;
min-height: 100%;
}
.smart-tabs.accordion dt {
float: none;
text-align: left;
width: 100%;
z-index: 1;
}
.smart-tabs.accordion dt.current {
z-index: 0;
}
.smart-tabs.accordion dt a:before {
content: '\2b\a0';
}
.smart-tabs.accordion dt.current a:before {
content: '\2013\a0';
}
/*.smart-tabs.accordion dt a:after {
content: '\2b';
position: absolute;
right: 1rem;
}
.smart-tabs.accordion dt.current a:after {
content: '\2013';
}*/
.smart-tabs.accordion dd {
border-bottom: 0 none;
height: 100%;
min-height: 0;
position: relative;
top: 0;
}
.smart-tabs.accordion dd:before,
.smart-tabs.accordion dd:after {
content: " ";
display: table;
}
.smart-tabs.accordion dd:after {
clear: both;
}