-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathjquery.tocible.css
89 lines (78 loc) · 1.46 KB
/
jquery.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
84
85
86
87
88
89
/*
* jquery.tocible.css v1.2.0, jQuery Tocible
*
* A lightweight table of contents navigation plugin
* https://github.com/markserbol/tocible
*
*/
.tocible {
background:#666;
color:#FFF;
font-size:14px;
height:auto;
left:auto;
right:auto;
margin:0;
}
.tocible_header {
text-transform:uppercase;
cursor:pointer;
padding:5px 40px 5px 15px;
position:relative;
background:#333;
}
.tocible_header span {
position:absolute;
top:15px;
right:15px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #999;
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 {
cursor:pointer;
white-space:nowrap;
display:block;
}
.tocible li a {
color:inherit;
text-decoration:none;
display:block;
padding:5px 15px;
text-align:center;
word-wrap:break-word;
white-space:pre-wrap;
white-space: -moz-pre-wrap
}
.tocible li:hover {
background:#444;
}
.tocible li.toc_scrolled {
background:#444;
}
.tocible .tocible_heading {
background:#555;
}
.tocible .tocible_subheading {
background:#666;
}