159
159
<xsl : param name =" externalCSSURL" ></xsl : param >
160
160
161
161
<!-- Link to JQuery. -->
162
- <xsl : param name =" jQueryURL" >https://code.jquery .com/jquery- 2.2.1.min.js</xsl : param >
162
+ <xsl : param name =" jQueryURL" >https://cdnjs.cloudflare .com/ajax/libs/ jquery/ 2.2.1/jquery .min.js</xsl : param >
163
163
164
164
<!-- Link base to Bootstrap CSS and JS. The files
165
165
<bootstrapURL>/css/bootstrap.min.css and
166
166
<bootstrapURL>/js/bootstrap.min.js must exist.-->
167
- <xsl : param name =" bootstrapURL" >https://netdna.bootstrapcdn .com/bootstrap/3.3.6</xsl : param >
167
+ <xsl : param name =" bootstrapURL" >https://cdnjs.cloudflare .com/ajax/libs/twitter- bootstrap/3.3.6</xsl : param >
168
168
169
169
<!-- ******** Constants ******** -->
170
170
302
302
</xsl : choose >
303
303
</style >
304
304
305
- <script src =" https://pagedown.googlecode .com/hg /Markdown.Converter.js" >
305
+ <script src =" https://cdnjs.cloudflare .com/ajax/libs/pagedown/1.0 /Markdown.Converter.js" >
306
306
// Import Markdown converter for comments processing
307
307
</script >
308
308
433
433
var indent = $(rawDocID).html().match("^\\n[\\t ]*");
434
434
if (!(indent === null)) {
435
435
normalized = $(rawDocID).html().replace(new RegExp(indent[0], "gm"), "\n");
436
+ } else {
437
+ normalized = $(rawDocID).html();
436
438
}
437
439
$(this).html(c.makeHtml(normalized));
438
440
$(this).find('code,pre').each(function(i, block) {
710
712
<xsl : text disable-output-escaping =" yes" >
711
713
/* XS3P specific CSS */
712
714
body {
713
- background-color: #FFF;
714
- padding-top: 50px;
715
+ background-color: #FFF;
716
+ padding-top: 50px;
715
717
}
716
718
717
719
.nav > li.active {
718
- background-color: #FFF;
720
+ background-color: #FFF;
719
721
}
720
722
.nav > li > a:hover {
721
- background-color: #CCC;
723
+ background-color: #CCC;
722
724
}
723
725
724
726
code {
725
- color: #333;
727
+ color: #333;
726
728
}
727
729
728
730
.container-fluid {
729
- padding: 15px 15px;
731
+ padding: 15px 15px;
730
732
}
731
733
732
734
.nav-sub-item > a {
733
- padding-left: 30px !important;
735
+ padding-left: 30px !important;
734
736
}
735
737
736
738
a.name {
737
- padding-top: 65px;
739
+ padding-top: 65px;
738
740
}
739
741
740
742
h3.xs3p-subsection-heading {
741
- margin-bottom: 30px;
743
+ margin-bottom: 30px;
742
744
}
743
745
744
746
section, #top {
745
- margin-top: -65px;
746
- padding-top: 65px;
747
+ margin-top: -65px;
748
+ padding-top: 65px;
747
749
}
748
750
749
751
pre {
750
- padding: 5px;
752
+ padding: 5px;
751
753
}
752
754
753
755
.xs3p-sidenav {
754
- padding-top: 10px;
755
- padding-bottom: 10px;
756
- background-color: #EEE;
757
- border-radius: 10px;
756
+ padding-top: 10px;
757
+ padding-bottom: 10px;
758
+ background-color: #EEE;
759
+ border-radius: 10px;
758
760
}
759
761
.xs3p-navbar-title {
760
- color: #FFF !important;
761
- font-weight: bold;
762
+ color: #FFF !important;
763
+ font-weight: bold;
762
764
}
763
765
.xs3p-in-panel-table {
764
- margin-bottom: 0px;
766
+ margin-bottom: 0px;
765
767
}
766
768
.xs3p-sidebar {
767
- position: static;
769
+ position: static;
768
770
}
769
771
.xs3p-collapse-button {
770
- font-size: 8pt;
772
+ font-size: 8pt;
771
773
}
772
774
.panel-heading .xs3p-panel-title:after {
773
- font-family: 'Glyphicons Halflings';
774
- content: "\e114";
775
- float: left;
776
- color: grey;
777
- margin-right: 10px;
775
+ font-family: 'Glyphicons Halflings';
776
+ content: "\e114";
777
+ float: left;
778
+ color: grey;
779
+ margin-right: 10px;
778
780
}
779
781
.panel-heading .xs3p-panel-title.collapsed:after {
780
- content: "\e080";
782
+ content: "\e080";
781
783
}
782
784
.panel-info > .panel-heading .xs3p-panel-title:after {
783
- color: white;
785
+ color: white;
784
786
}
785
787
.xs3p-panel-help {
786
- color: #CCCCCC;
787
- cursor: pointer;
788
+ color: #CCCCCC;
789
+ cursor: pointer;
788
790
}
789
791
790
792
.panel-group {
791
- margin-bottom: 20px;
793
+ margin-bottom: 20px;
792
794
}
793
795
794
796
.btn-doc {
795
- padding: 0px;
796
- border: 0px none;
797
- background: none repeat scroll 0% 0% transparent;
798
- line-height: 1;
799
- font-size: 12px;
797
+ padding: 0px;
798
+ border: 0px none;
799
+ background: none repeat scroll 0% 0% transparent;
800
+ line-height: 1;
801
+ font-size: 12px;
800
802
}
801
803
802
804
.unpre {
803
- font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
804
- font-size: 14px;
805
- white-space: normal;
806
- word-break: normal;
807
- word-wrap: normal;
805
+ font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
806
+ font-size: 14px;
807
+ white-space: normal;
808
+ word-break: normal;
809
+ word-wrap: normal;
808
810
}
809
811
810
812
.popover {
811
- max-width: 400px;
813
+ max-width: 400px;
812
814
}
813
815
814
816
// Syntax highlighting
@@ -823,11 +825,11 @@ pre {
823
825
.codehilite a:hover {opacity: 0.7 !important;}
824
826
825
827
@media (min-width: 992px) {
826
- .xs3p-sidebar {
827
- position: fixed;
828
- top: 65px;
829
- width: 22%;
830
- }
828
+ .xs3p-sidebar {
829
+ position: fixed;
830
+ top: 65px;
831
+ width: 22%;
832
+ }
831
833
}
832
834
</xsl : text >
833
835
</xsl : template >
0 commit comments