Skip to content

Commit 022eb02

Browse files
committed
修改api样式,增加api链接
1 parent 96a7a55 commit 022eb02

File tree

8 files changed

+35
-26
lines changed

8 files changed

+35
-26
lines changed

build/jsdocs/leaflet/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"monospaceLinks": true,
2323
"default": {
2424
"outputSourceFiles": false
25-
},
26-
"applicationName": "iClient for Leaflet"
25+
}
26+
//"applicationName": "iClient for Leaflet"
2727
}
2828
}

build/jsdocs/legacy/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"monospaceLinks": false,
2222
"default": {
2323
"outputSourceFiles": false
24-
},
25-
"applicationName": "iClient for Legacy(iClient8C)"
24+
}
25+
//"applicationName": "iClient for Legacy(iClient8C)"
2626
}
2727
}

build/jsdocs/mapboxgl/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"monospaceLinks": false,
2222
"default": {
2323
"outputSourceFiles": false
24-
},
25-
"applicationName": "iClient for MapboxGL"
24+
}
25+
//"applicationName": "iClient for MapboxGL"
2626
}
2727
}

build/jsdocs/openlayers/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"monospaceLinks": false,
2424
"default": {
2525
"outputSourceFiles": false
26-
},
27-
"applicationName": "iClient for OpenLayers"
26+
}
27+
//"applicationName": "iClient for OpenLayers"
2828
}
2929
}

build/jsdocs/template/static/scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $(function () {
4747
var height = $(window).height();
4848
var $el = $('.navigation');
4949

50-
$el.height(height).find('.list').height(height - 133);
50+
$el.height(height).find('.list').height(height - 120);
5151
};
5252

5353
$(window).on('resize', _onResize);

build/jsdocs/template/static/styles/jaguar.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,18 @@ li {
1919
background-color: transparent;
2020
}
2121
::-webkit-scrollbar-thumb {
22-
background-color: gray;
22+
background-color: #8bbfde;
2323
border-radius: 4px;
2424
}
25+
::-webkit-scrollbar-corner{
26+
display: none;
27+
}
2528
.navigation {
2629
position: fixed;
2730
float: left;
2831
width: 250px;
2932
height: 100%;
30-
background-color: #1a1a1a;
33+
background-color: #3c8dbc;
3134
}
3235
.navigation .applicationName {
3336
margin: 0;
@@ -43,9 +46,6 @@ li {
4346
padding: 10px 15px;
4447
}
4548
.navigation .search input {
46-
background-color: #333;
47-
color: #fff;
48-
border-color: #555;
4949
}
5050
.navigation .list {
5151
padding: 10px 15px 0 15px;
@@ -56,10 +56,10 @@ li {
5656
.navigation li.item {
5757
margin-bottom: 8px;
5858
padding-bottom: 8px;
59-
border-bottom: 1px solid #333;
59+
border-bottom: 1px solid rgba(0,0,0,0.2);
6060
}
6161
.navigation li.item a {
62-
color: #bbb;
62+
color: #cde3ef;
6363
}
6464
.navigation li.item a:hover {
6565
color: #fff;
@@ -71,15 +71,15 @@ li {
7171
font-size: 0.8em;
7272
}
7373
.navigation li.item .title a {
74-
color: #e1e1e1;
74+
color: #f5f5f5;
7575
}
7676
.navigation li.item .title a:hover {
7777
color: #fff;
7878
}
7979
.navigation li.item .title .static {
8080
display: block;
8181
border-radius: 3px;
82-
background-color: #779c34;
82+
background-color: #ccc;
8383
color: #000;
8484
font-size: 0.7em;
8585
padding: 2px 4px;
@@ -88,7 +88,7 @@ li {
8888
.navigation li.item .subtitle {
8989
margin-top: 10px;
9090
font: bold 0.65em Helvetica;
91-
color: #779c34;
91+
color: #ccc;
9292
display: block;
9393
}
9494
.navigation li.item ul > li {
@@ -157,7 +157,7 @@ li {
157157
.main span.static {
158158
display: inline-block;
159159
border-radius: 3px;
160-
background-color: #779c34 !important;
160+
background-color: #ccc !important;
161161
color: #fff;
162162
font-size: 0.7em;
163163
padding: 2px 4px;
@@ -181,7 +181,7 @@ li {
181181
.main .subsection-title {
182182
font-size: 14px;
183183
margin-top: 30px;
184-
color: #779c34;
184+
color: #ccc;
185185
}
186186
.main .description {
187187
margin-top: 10px;

build/jsdocs/template/tmpl/navigation.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
var self = this;
33
?>
44
<div class="navigation">
5+
<?js if( env.conf.templates.applicationName){ ?>
56
<h3 class="applicationName"><a href="index.html"><?js= env.conf.templates.applicationName ?></a></h3>
6-
7+
<?js } ?>
78
<div class="search">
89
<input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
910
</div>

examples/section/header.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<li><a href="../../web/docs/leaflet.html">for Leaflet</a></li>
2929
<li><a href="../../web/docs/openlayers.html">for OpenLayers</a></li>
3030
<li><a href="../../web/docs/mapboxgl.html">for MapboxGL</a></li>
31-
<li><a href="../../web/docs/legacy.html">for Legacy</a></li>
31+
<li><a href="../../web/docs/legacy.html">for Legacy(iClient8)</a></li>
3232
<li><a href="../../web/docs/3dwebgl.html">3D-WebGL</a></li>
3333
</ul>
3434
</li>
@@ -41,14 +41,22 @@
4141
<li><a href="../leaflet/examples.html" id="leaflet">for Leaflet</a></li>
4242
<li><a href="../openlayers/examples.html" id="openlayers">for OpenLayers</a></li>
4343
<li><a href="../mapboxgl/examples.html" id="mapboxgl">for MapboxGL</a></li>
44-
<li><a href="../legacy/examples.html" id="legacy">for Legacy</a></li>
44+
<li><a href="../legacy/examples.html" id="legacy">for Legacy(iClient8)</a></li>
4545
<li><a href="../3dwebgl/examples.html" id="3dwebgl">3D-WebGL</a></li>
4646
</ul>
4747
</li>
48-
<li class="api-menu" id="headerPricing">
49-
<a href="#">
48+
<li class="dropdown nav-dropdown-menu api-menu" id="headerPricing">
49+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
5050
API
51+
<i class="fa fa-sort-down"></i>
5152
</a>
53+
<ul class="dropdown-menu">
54+
<li><a href="../../web/APIs/leaflet.html">for Leaflet</a></li>
55+
<li><a href="../../web/APIs/openlayers.html">for OpenLayers</a></li>
56+
<li><a href="../../web/APIs/mapboxgl.html">for MapboxGL</a></li>
57+
<li><a href="../../web/APIs/legacy.html">for Legacy(iClient8)</a></li>
58+
<li><a href="../../web/APIs/3dwebgl.html">3D-WebGL</a></li>
59+
</ul>
5260
</li>
5361
<li class="dropdown nav-dropdown-menu download-menu">
5462
<a href="#" class="dropdown-toggle" data-toggle="dropdown">

0 commit comments

Comments
 (0)