-
Notifications
You must be signed in to change notification settings - Fork 0
/
teinte.tree.css
130 lines (105 loc) · 2 KB
/
teinte.tree.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
/* CSS for Javascript teinte.tree.js */
ol.tree,
ul.tree,
menu.tree {
padding: 0;
margin: 1em 0 1em 0;
list-style: none;
line-height: 105%;
}
.tree a {
color: black;
text-decoration: none;
border-bottom: none;
padding: 0 1ex 0 0;
}
.tree a:hover {
color: gray;
}
.tree ol,
.tree ul,
.tree menu {
list-style-type: none;
padding: 0 0 0 0;
margin: 2px 0 2px -9px;
border-left: dotted 1px transparent;
}
.tree li {
margin: 0;
background-repeat: no-repeat;
background-position: -1px 4px;
list-style-image: none;
list-style: none;
padding: 1px 0 1px 18px;
border: 1px solid transparent;
}
.tree ol:hover,
.tree ul:hover {
border-left: dotted 1px #333;
}
.tree li.more,
.tree li.less {
cursor: default
}
.tree li:before {
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', 'FreeSans', 'Lucida Sans Unicode', sans-serif;
color: #666;
margin-left: -2ex;
float: left;
}
.tree li.more:before {
content: '▶ ';
}
/* ► */
.tree li.less:before {
content: '▽ ';
}
/* */
.tree li:before {
content: '○ ';
font-weight: 900;
color: #999;
}
/* '○' */
/* treejs is a class set by Tree.js to ensure that hidden blocks could be seen with no js, this order is important */
@media screen {
.treejs li.less ol,
.treejs li.less ul {
display: block;
}
.treejs li.less>ol,
.treejs li.less>ul {
border-left: 1px dotted #FFF;
}
.treejs li.more ol,
.treejs li.more ul {
display: none;
}
}
@media print {
.tree li {
margin-top: none;
margin-bottom: none;
border: none;
}
}
.tree mark,
.tree .mark,
.tree .hi {
background: transparent;
padding-left: 2px;
border-left: 4px #888888 solid;
}
li a.here {
font-weight: bold;
color: #000;
}
li.here {
color: #000;
background-color: #FFFFFF;
border-top: 1px #E2DED0 solid;
border-bottom: 1px #E2DED0 solid;
}
li.here mark {
background: inherit;
}