Skip to content

Commit d700928

Browse files
committed
[update]更新站点图标 review by luox
1 parent 6cbc2c4 commit d700928

20 files changed

+197
-231
lines changed

examples/3dwebgl/config.js

-18
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,3 @@ var exampleConfig = {
2727
}
2828
}
2929
};
30-
/**
31-
*key值:为exampleConfig配置的key值或者fileName值
32-
* (为中间节点时是key值,叶结点是fileName值)
33-
*value值:fontawesome字体icon名
34-
*不分层
35-
*/
36-
var sideBarIconConfig = {
37-
"3D-WebGL": "fa-globe"
38-
};
39-
40-
/**
41-
*key值:为exampleConfig配置的key值
42-
*value值:fontawesome字体icon名
43-
*与sideBarIconConfig的区别:sideBarIconConfig包括侧边栏所有层级目录的图标,exampleIconConfig仅包括一级标题的图标
44-
*/
45-
var exampleIconConfig = {
46-
"3D-WebGL": "fa-globe"
47-
};

examples/classic/config.js

-37
Original file line numberDiff line numberDiff line change
@@ -1244,42 +1244,5 @@ var exampleConfig = {
12441244
},
12451245

12461246
};
1247-
/**
1248-
*key值:为exampleConfig配置的key值或者fileName值
1249-
* (为中间节点时是key值,叶结点是fileName值)
1250-
*value值:fontawesome字体icon名
1251-
*不分层
1252-
*/
1253-
var sideBarIconConfig = {
1254-
"map": "fa-map-marker",
1255-
"overlay": "fa-image",
1256-
"control": "fa-cog",
1257-
"popup": "fa-commenting-o",
1258-
"query": "fa-search",
1259-
"theme": " fa-area-chart",
1260-
"analysis": "fa-leanpub",
1261-
"viz": "fa-map",
1262-
"OGC": "fa fa-globe",
1263-
"plot": "fa-edit",
1264-
"others": "fa-th-large",
1265-
};
12661247

1267-
/**
1268-
*key值:为exampleConfig配置的key值
1269-
*value值:fontawesome字体icon名
1270-
*与sideBarIconConfig的区别:sideBarIconConfig包括侧边栏所有层级目录的图标,exampleIconConfig仅包括一级标题的图标
1271-
*/
1272-
var exampleIconConfig = {
1273-
"map": "fa-map-marker",
1274-
"overlay": "fa-image",
1275-
"control": "fa-cog",
1276-
"popup": "fa-commenting-o",
1277-
"query": "fa-search",
1278-
"theme": " fa-area-chart",
1279-
"analysis": "fa-leanpub",
1280-
"viz": "fa-map",
1281-
"OGC": "fa fa-globe",
1282-
"plot": "fa-edit",
1283-
"others": "fa-th-large"
1284-
};
12851248
window.classicExampleConfig = exampleConfig;

examples/component/config.js

-24
Original file line numberDiff line numberDiff line change
@@ -748,28 +748,4 @@ var exampleConfig = {
748748
// }
749749
};
750750

751-
/**
752-
*key值:为exampleConfig配置的key值或者fileName值
753-
* (为中间节点时是key值,叶结点是fileName值)
754-
*value值:fontawesome字体icon名
755-
*不分层
756-
*/
757-
var sideBarIconConfig = {
758-
vuecomponents_mbgl: 'fa-window-restore',
759-
vuecomponents_leaflet: 'fa-window-restore',
760-
reactcomponents_mbgl: 'fa-globe',
761-
h5components: 'fa-map'
762-
};
763-
764-
/**
765-
*key值:为exampleConfig配置的key值
766-
*value值:fontawesome字体icon名
767-
*与sideBarIconConfig的区别:sideBarIconConfig包括侧边栏所有层级目录的图标,exampleIconConfig仅包括一级标题的图标
768-
*/
769-
var exampleIconConfig = {
770-
vuecomponents_mbgl: 'fa-window-restore',
771-
vuecomponents_leaflet: 'fa-window-restore',
772-
reactcomponents_mbgl: 'fa-globe',
773-
h5components: 'fa-map'
774-
};
775751
window.componentExampleConfig = exampleConfig;

examples/css/sideBar.css

+3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ a.sidebar-toggle {
154154
.main-sidebar .iconName {
155155
margin-right: 4px;
156156
color: var(--text-color);
157+
width: 20px;
158+
height: 14px;
159+
display: inline-block;
157160
}
158161

159162
.menuTitle a.active {
+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
@font-face {
2+
font-family: "iconfont"; /* Project id 4848754 */
3+
src: url('iconfont.woff2?t=1741260044249') format('woff2'),
4+
url('iconfont.woff?t=1741260044249') format('woff'),
5+
url('iconfont.ttf?t=1741260044249') format('truetype');
6+
}
7+
8+
.iconfont {
9+
font-family: "iconfont" !important;
10+
font-size: 16px;
11+
font-style: normal;
12+
-webkit-font-smoothing: antialiased;
13+
-moz-osx-font-smoothing: grayscale;
14+
}
15+
16+
.icon-control:before {
17+
content: "\e61f";
18+
}
19+
20+
.icon-components:before {
21+
content: "\e626";
22+
}
23+
24+
.icon-Online:before {
25+
content: "\e625";
26+
}
27+
28+
.icon-OGC:before {
29+
content: "\e624";
30+
}
31+
32+
.icon-analysis:before {
33+
content: "\e620";
34+
}
35+
36+
.icon-Elasticsearch:before {
37+
content: "\e621";
38+
}
39+
40+
.icon-multiCoordSys:before {
41+
content: "\e618";
42+
}
43+
44+
.icon-mapping:before {
45+
content: "\e619";
46+
}
47+
48+
.icon-MapboxGL:before {
49+
content: "\e61a";
50+
}
51+
52+
.icon-map:before {
53+
content: "\e61b";
54+
}
55+
56+
.icon-dynamicPlot:before {
57+
content: "\e61c";
58+
}
59+
60+
.icon-others:before {
61+
content: "\e61d";
62+
}
63+
64+
.icon-iServer:before {
65+
content: "\e61e";
66+
}
67+
68+
.icon-clientSpatialAnalyst:before {
69+
content: "\e622";
70+
}
71+
72+
.icon-overlay:before {
73+
content: "\e60f";
74+
}
75+
76+
.icon-Leaflet:before {
77+
content: "\e60e";
78+
}
79+
80+
.icon-iPortal:before {
81+
content: "\e611";
82+
}
83+
84+
.icon-theme:before {
85+
content: "\e613";
86+
}
87+
88+
.icon-popup:before {
89+
content: "\e614";
90+
}
91+
92+
.icon-iManager:before {
93+
content: "\e615";
94+
}
95+
96+
.icon-viz:before {
97+
content: "\e616";
98+
}
99+
100+
.icon-query:before {
101+
content: "\e617";
102+
}
103+
9.07 KB
Binary file not shown.
5.94 KB
Binary file not shown.
5.09 KB
Binary file not shown.

examples/img/svg/FAQ-dark.svg

+7-10
Loading

examples/img/svg/FAQ.svg

+7-10
Loading

examples/img/svg/arrowDown-dark.svg

+18
Loading

examples/img/svg/arrowDown.svg

+12-10
Loading

0 commit comments

Comments
 (0)