-
Notifications
You must be signed in to change notification settings - Fork 1
/
taby.css
executable file
·114 lines (107 loc) · 2.17 KB
/
taby.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
.tmp-wrapper {
max-width: 860px;
margin: 5% auto 0 auto;
}
.content-wrapper {
max-width: 860px;
margin: 0 auto;
}
html * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
background-color: #b3b3b3;
}
.hidden {
display: none !important;
}
.show {
display: block !important;
}
.taby[data-tab] a:link, .taby[data-tab] a:visited, .taby[data-tab] a:hover, .taby[data-tab] a:active, .taby[data-tab] a:focus {
color: black;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
}
.taby[data-tab] ul {
position: relative;
padding: 0;
margin: 0;
list-style-type: none;
}
.taby[data-tab] ul ul {
position: absolute;
top: 45px;
left: 0;
right: 0;
}
.taby[data-tab] ul > li {
height: 45px;
padding: 10px;
float: left;
z-index: 1;
}
.taby[data-tab] ul > li[data-taby-fixed-size] {
height: 45px;
width: 45px;
position: absolute;
right: 0;
top: 0;
padding: 10px;
z-index: 2;
}
.taby[data-tab] ul ul {
display: none;
padding: 0;
list-style-type: none;
margin: 0;
}
.taby[data-tab],
.taby[data-tab="default"] {
font-size: 14px;
}
.taby[data-tab] ul > li,
.taby[data-tab="default"] ul > li {
cursor: pointer;
background-color: #bdc0b0;
text-align: center;
border-right: 2px solid #ffffff;
border-bottom: 2px solid #ffffff;
}
.taby[data-tab] ul li:last-child,
.taby[data-tab="default"] ul li:last-child {
border-right: none;
}
.taby[data-tab] ul ul > li,
.taby[data-tab="default"] ul ul > li {
border-right: none;
background-color: #d9dccc;
}
.taby[data-tab] ul ul > li:after,
.taby[data-tab="default"] ul ul > li:after {
content: " ";
display: block;
border-right: 2px solid #bdc0b0;
height: 25px;
position: relative;
top: -17px;
}
.taby[data-tab] ul ul > li:last-child:after,
.taby[data-tab="default"] ul ul > li:last-child:after {
content: "";
border-right: none;
}
.taby[data-tab] ul li.taby-lock,
.taby[data-tab="default"] ul li.taby-lock {
background-color: gray;
}
.taby[data-tab] ul li.taby-active > ul,
.taby[data-tab="default"] ul li.taby-active > ul {
font-weight: normal;
}
.taby[data-tab] ul li a,
.taby[data-tab="default"] ul li a {
display: block;
}