-
Notifications
You must be signed in to change notification settings - Fork 11
/
traditional-tabs.css
73 lines (63 loc) · 1.33 KB
/
traditional-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
.traditional-tabs {
list-style: none;
margin: 0;
padding: 0;
position: relative;
white-space: nowrap;
}
.traditional-tabs > :not(.traditional-tabs-panel) {
white-space: normal;
}
.traditional-tabs:after {
clear: both;
content: '';
display: table;
}
.traditional-tabs-panel {
display: inline;
margin: 0;
padding: 0;
}
.traditional-tabs-title {
background: #EBEBEB;
color: #363636;
cursor: pointer;
display: inline-block;
font-weight: bold;
padding: 1em;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: normal;
}
.traditional-tabs-title--between,
.traditional-tabs-title--last {
border-left: 1px solid #D2D2D2;
}
.traditional-tabs-title--first {
border-top-left-radius: 3px;
}
.traditional-tabs-title--last {
border-top-right-radius: 3px;
}
.traditional-tabs-title--checked {
background: #FAFAFA;
}
.traditional-tabs-content {
background: #FAFAFA;
border-radius: 0 3px 3px 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #363636;
display: none;
float: left;
overflow: hidden;
padding: 0 1em;
white-space: normal;
width: 100%;
}
.traditional-tabs-content--checked {
display: block;
}