Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 101692c

Browse files
author
Steve Johnson
committed
Merge remote-tracking branch 'upstream/master'
Conflicts: common/css/jquery.toc.css common/fonts/LICENSE.txt common/js/expand-toc.js common/js/jquery-1.11.0.min.js common/js/jquery.toc.js common/js/test.js guides/m2devgde/v1.0.0.0/integration/integration-auth.md
2 parents 82f3e29 + 2eb2934 commit 101692c

File tree

7 files changed

+926
-1
lines changed

7 files changed

+926
-1
lines changed

common/css/jquery.toc.css

Lines changed: 199 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,205 @@ ol.tmplDefault {
114114

115115

116116

117+
/* TEMPLATE: elegant */
118+
.tmplElegant a:before {
119+
color: gray;
120+
}
121+
122+
.tmplElegant > li {
123+
margin-bottom: 1em;
124+
position: relative;
125+
}
126+
127+
.tmplElegant > li > a {
128+
font-size: 1.6em;
129+
margin-left: 1.4em;
130+
padding: 0 0.2em;
131+
}
132+
133+
.tmplElegant > li > a:before {
134+
color: white;
135+
background-color: silver;
136+
font-weight:bold;
137+
width: 1.3em;
138+
text-align: center;
139+
padding: 0px;
140+
position: absolute;
141+
left: 0px;
142+
}
143+
144+
.tmplElegant > li > ol {
145+
border-top: 1px solid silver;
146+
margin-top: 0em;
147+
padding-top: 0.6em;
148+
}
149+
150+
.tmplElegant > li > ol > li {
151+
padding-left: 0;
152+
}
153+
154+
/* TEMPLATE: modern */
155+
.tmplModern a:before {
156+
color: gray;
157+
}
158+
159+
.tmplModern a.tocActive {
160+
background-color: #428BCA;
161+
color: white;
162+
}
163+
164+
.tmplModern a.tocActive:before {
165+
color: white;
166+
}
167+
168+
.tmplModern > li {
169+
margin-bottom: 1em;
170+
}
171+
172+
.tmplModern > li > a {
173+
text-transform: uppercase;
174+
font-weight: bold;
175+
}
176+
177+
.tmplModern > li > ol {
178+
margin-top: 0.2em;
179+
padding-top: 0.6em;
180+
}
181+
182+
/* TEMPLATE: simple */
183+
184+
.tmplSimple, .tmplSimple ol {
185+
list-style: circle outside none;
186+
}
187+
188+
.tmplSimple li.tocActive {
189+
list-style: disc outside none;
190+
}
191+
192+
.tmplSimple a.tocActive {
193+
color: inherit;
194+
}
195+
196+
/* TEMPLATE: bootstrap3.list */
197+
.list-group.toc li {
198+
cursor: pointer;
199+
=======
200+
/* Decimal numbering: 1.3.2 etc. */
201+
202+
/* TEMPLATE: default */
203+
.tmplDefault, .tmplDefault ol {
204+
counter-reset: item;
205+
list-style: none;
206+
font-family:'OpenSansRegular';
207+
font-size: 12pt;
208+
color:#31302b;
209+
margin-bottom:6pt;
210+
margin-left:1em;
211+
}
212+
213+
.tmplDefault a:before {
214+
content: counters(item, ".");
215+
counter-increment: item;
216+
color: inherit;
217+
padding-right: 0.5em;
218+
}
219+
220+
ol.tmplDefault, .tmplDefault ol {
221+
padding: 0px;
222+
margin: 0px;
223+
}
224+
225+
ol.tmplDefault {
226+
margin-left:.65em;
227+
padding-left: -12px ;
228+
text-indent: -6px ;
229+
margin-bottom:6pt;
230+
/* margin-left:1em;
231+
*//* margin: 1em 0px;
232+
*/}
233+
234+
.tmplDefault li {
235+
padding: 0px;
236+
}
237+
238+
.tmplDefault li li {
239+
padding-left: 2em;
240+
}
241+
242+
.tmplDefault li.tocActiveParent {
243+
}
244+
245+
.tmplDefault a {
246+
padding: 0px 0.5em;
247+
display: block;
248+
}
249+
250+
.tmplDefault li.tocActive {
251+
}
252+
253+
.tmplDefault a.tocActive {
254+
background-color: #EEE;
255+
color: inherit;
256+
text-decoration: none;
257+
}
258+
/* Feature: collapsible */
259+
.toc.collapsibleFeat > li ol {
260+
display: none;
261+
}
262+
263+
.toc.collapsibleFeat li.tocActiveParent > ol,
264+
.toc.collapsibleFeat li.tocActive > ol {
265+
display: block;
266+
}
267+
268+
/* Feature: list-styles */
269+
.alphaFeat li a:before {
270+
text-transform: none;
271+
content: counter(item, upper-alpha);
272+
}
273+
.alphaFeat li li a:before {
274+
content: counter(item, lower-alpha);
275+
}
276+
.romanFeat li a:before {
277+
text-transform: none;
278+
content: counter(item, upper-roman);
279+
}
280+
.romanFeat li li a:before {
281+
content: counter(item, lower-roman);
282+
}
283+
.discFeat a:before {
284+
content: counter(item, disc);
285+
}
286+
.squareFeat a:before {
287+
content: counter(item, square);
288+
}
289+
290+
.nonumFeat a:before {
291+
/* content: "\00a0\00a0"; nbsp \00a0\00a0 */
292+
content: "\200B";
293+
}
294+
295+
.mixedFeat li a:before {
296+
text-transform: none;
297+
content: counters(decimal);
298+
}
299+
.mixedFeat li li a:before {
300+
text-transform: none;
301+
content: counter(item, lower-alpha);
302+
}
303+
304+
.mixedFeat li li li a:before {
305+
text-transform: none;
306+
content: counter(item, lower-roman);
307+
}
308+
309+
.mixedFeat li li li a:before {
310+
text-transform: none;
311+
content: counter(item, disc);
312+
}
313+
314+
315+
117316
/* TEMPLATE: elegant */
118317
.tmplElegant a:before {
119318
color: gray;

0 commit comments

Comments
 (0)