1 |
@import 'http://suika.fam.cx/www/style/ui/toc-style-float.css'; |
2 |
@namespace toc 'http://suika.fam.cx/~wakaba/archive/2005/3/toc#'; |
3 |
@namespace h1 'http://www.w3.org/1999/xhtml'; |
4 |
@namespace h2 'http://www.w3.org/2002/06/xhtml2/'; |
5 |
@namespace xoxo 'http://suika.fam.cx/www/style/html/xoxo#'; |
6 |
|
7 |
h1|div[toc|toc] { |
8 |
max-height: none; |
9 |
height: auto; |
10 |
overflow: hidden; |
11 |
overflow-x: auto; |
12 |
overflow-y: hidden; |
13 |
} |
14 |
|
15 |
h1|div[toc|toc] h2|nl { |
16 |
display: block; |
17 |
margin: 0; |
18 |
border-style: none; |
19 |
padding: 0; |
20 |
width: 90%; |
21 |
overflow: hidden; |
22 |
overflow-x: auto; |
23 |
overflow-y: hidden; |
24 |
} |
25 |
|
26 |
h1|div[toc|toc] h2|nl h2|nl { |
27 |
display: block; |
28 |
margin-top: 0; |
29 |
margin-bottom: 0; |
30 |
margin-left: 0; |
31 |
margin-right: 0; |
32 |
width: auto; |
33 |
border-style: none; |
34 |
padding: 0; |
35 |
} |
36 |
|
37 |
h1|div[toc|toc] h2|li { |
38 |
display: block; |
39 |
list-style-type: none; |
40 |
margin: 0 0 0 1em; |
41 |
border-style: none; |
42 |
padding: 0; |
43 |
} |
44 |
|
45 |
h1|div[toc|toc] h2|label { |
46 |
display: block; |
47 |
list-style-type: none; |
48 |
margin: 0; |
49 |
border-style: none; |
50 |
padding: 0; |
51 |
font-weight: normal; |
52 |
cursor: pointer; |
53 |
} |
54 |
|
55 |
h1|div[toc|toc] h2|label, |
56 |
h1|div[toc|toc] h2|label[href] { |
57 |
-moz-binding: url(/www/style/html/xhtml2-dynamic.xbl#expandable-label-open-by-hover); |
58 |
} |
59 |
|
60 |
h1|div[toc|toc] h2|nl:not([xoxo|compact]):not(:hover):not(:focus) > h2|label:after, |
61 |
h1|div[toc|toc] h2|nl:not([xoxo|compact]) > h2|label:after { |
62 |
content: " \0025BF"; |
63 |
} |
64 |
|
65 |
h1|div[toc|toc] h2|nl:not([xoxo|compact]):not(:hover):not(:focus) > h2|li, |
66 |
h1|div[toc|toc] h2|nl:not([xoxo|compact]) > h2|li { |
67 |
display: block; |
68 |
} |
69 |
|
70 |
h1|div[toc|toc] h2|nl[xoxo|compact]:not(:hover):not(:focus) > h2|label:after, |
71 |
h1|div[toc|toc] h2|nl[xoxo|compact] > h2|label:after { |
72 |
content: " \0025BE"; |
73 |
} |
74 |
|
75 |
h1|div[toc|toc] h2|nl[xoxo|compact]:not(:hover):not(:focus) > h2|li, |
76 |
h1|div[toc|toc] h2|nl[xoxo|compact] > h2|li { |
77 |
display: none; |
78 |
} |
79 |
|
80 |
|
81 |
|
82 |
/* Revision: $Date: 2005/07/25 10:59:58 $ */ |
83 |
|
84 |
/* ***** BEGIN LICENSE BLOCK ***** |
85 |
* Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
86 |
* |
87 |
* The contents of this file are subject to the Mozilla Public License Version |
88 |
* 1.1 (the "License"); you may not use this file except in compliance with |
89 |
* the License. You may obtain a copy of the License at |
90 |
* <http://www.mozilla.org/MPL/> |
91 |
* |
92 |
* Software distributed under the License is distributed on an "AS IS" basis, |
93 |
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
94 |
* for the specific language governing rights and limitations under the |
95 |
* License. |
96 |
* |
97 |
* The Original Code is toc.xbl code. |
98 |
* |
99 |
* The Initial Developer of the Original Code is |
100 |
* Wakaba <w@suika.fam.cx>. |
101 |
* Portions created by the Initial Developer are Copyright (C) 2005 |
102 |
* the Initial Developer. All Rights Reserved. |
103 |
* |
104 |
* Contributor(s): |
105 |
* Wakaba <w@suika.fam.cx> |
106 |
* |
107 |
* Alternatively, the contents of this file may be used under the terms of |
108 |
* either the GNU General Public License Version 2 or later (the "GPL"), or |
109 |
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
110 |
* in which case the provisions of the GPL or the LGPL are applicable instead |
111 |
* of those above. If you wish to allow use of your version of this file only |
112 |
* under the terms of either the GPL or the LGPL, and not to allow others to |
113 |
* use your version of this file under the terms of the MPL, indicate your |
114 |
* decision by deleting the provisions above and replace them with the notice |
115 |
* and other provisions required by the GPL or the LGPL. If you do not delete |
116 |
* the provisions above, a recipient may use your version of this file under |
117 |
* the terms of any one of the MPL, the GPL or the LGPL. |
118 |
* |
119 |
* ***** END LICENSE BLOCK ***** */ |