forked from markserbol/tocible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtocible.css
85 lines (72 loc) · 1.37 KB
/
tocible.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
.tocible {
background:#635A52;
color:#FFF;
font-family:'Myriad Pro',Arial, Helvetica, sans-serif;
font-size:16px;
height:auto;
left:auto;
right:auto;
margin:0;
}
.tocible .tocible_header {
height:35px;
line-height:35px;
background:#585149;
text-transform:uppercase;
cursor:pointer;
padding:0 20px 0 40px;
position:relative;
}
.tocible_header span {
position:absolute;
top:15px;
left:15px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #867B6F;
font-size: 0;
line-height: 0;
transition-property: -moz-transform, -webkit-transform, -o-transform, -ms-transform;
transition-timing-function:linear;
transition-duration:0.4s;
}
.tocible_header span.toc_open {
-moz-transform:rotate(-90deg);
-webkit-transform:rotate(-90deg);
-o-transform:rotate(-90deg);
-ms-transform:rotate(-90deg);
transform:rotate(-90deg);
}
.tocible ul {
list-style:none;
padding:0;
margin:0;
overflow:hidden;
}
.tocible li {
height:35px;
line-height:35px;
cursor:pointer;
white-space:nowrap;
}
.tocible li a {
color:inherit;
text-decoration:none;
display:block;
padding:0 20px;
}
.tocible li:active {
background:#635A52;
}
.tocible li.toc_scrolled {
background:#635A52;
}
.tocible .tocible_heading {
background:#777366;
}
.tocible .tocible_subheading {
background:#938E81;
padding-left:15px;
}