Fix info and faq icons.
This commit is contained in:
parent
1c9104bec4
commit
485f6b5eda
@ -37,11 +37,15 @@ def Main (argv):
|
|||||||
websiteIconFontDir = os.path.join (websiteCssDir, 'O3DVIcons')
|
websiteIconFontDir = os.path.join (websiteCssDir, 'O3DVIcons')
|
||||||
if not os.path.exists (websiteIconFontDir):
|
if not os.path.exists (websiteIconFontDir):
|
||||||
os.makedirs (websiteIconFontDir)
|
os.makedirs (websiteIconFontDir)
|
||||||
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.woff'), websiteIconFontDir)
|
|
||||||
|
|
||||||
websiteIconsCssPath = os.path.join (websiteCssDir, 'icons.css')
|
websiteIconsCssPath = os.path.join (websiteCssDir, 'icons.css')
|
||||||
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.css'), websiteIconsCssPath)
|
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.css'), websiteIconsCssPath)
|
||||||
Tools.ReplaceStringInFile (websiteIconsCssPath, './O3DVIcons.woff', 'O3DVIcons/O3DVIcons.woff')
|
Tools.ReplaceStringInFile (websiteIconsCssPath, './O3DVIcons.woff', 'O3DVIcons/O3DVIcons.woff')
|
||||||
|
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.woff'), websiteIconFontDir)
|
||||||
|
|
||||||
|
infoCssDir = os.path.join (rootDir, 'website', 'info')
|
||||||
|
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.css'), os.path.join (infoCssDir, 'icons.css'))
|
||||||
|
shutil.copy (os.path.join (iconFontDir, 'O3DVIcons.woff'), os.path.join (infoCssDir, 'O3DVIcons.woff'))
|
||||||
|
|
||||||
shutil.rmtree (tempDir)
|
shutil.rmtree (tempDir)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "O3DVIcons";
|
font-family: "O3DVIcons";
|
||||||
src: url("O3DVIcons/O3DVIcons.woff?dfbca3429a4573f9f2cc136d53e6ad15") format("woff");
|
src: url("O3DVIcons/O3DVIcons.woff?01bd85707830dedc06defe6d5374c240") format("woff");
|
||||||
}
|
}
|
||||||
|
|
||||||
i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
||||||
|
|||||||
BIN
website/info/O3DVIcons.woff
Normal file
BIN
website/info/O3DVIcons.woff
Normal file
Binary file not shown.
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<title>Online 3D Viewer Frequently Asked Questions</title>
|
<title>Online 3D Viewer Frequently Asked Questions</title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/icons.css">
|
<link rel="stylesheet" type="text/css" href="icons.css">
|
||||||
<link rel="stylesheet" type="text/css" href="info.css">
|
<link rel="stylesheet" type="text/css" href="info.css">
|
||||||
|
|
||||||
<!-- meta start -->
|
<!-- meta start -->
|
||||||
|
|||||||
133
website/info/icons.css
Normal file
133
website/info/icons.css
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "O3DVIcons";
|
||||||
|
src: url("./O3DVIcons.woff?01bd85707830dedc06defe6d5374c240") format("woff");
|
||||||
|
}
|
||||||
|
|
||||||
|
i[class^="icon-"]:before, i[class*=" icon-"]:before {
|
||||||
|
font-family: O3DVIcons !important;
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal !important;
|
||||||
|
font-variant: normal;
|
||||||
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-arrow_down:before {
|
||||||
|
content: "\f101";
|
||||||
|
}
|
||||||
|
.icon-arrow_left:before {
|
||||||
|
content: "\f102";
|
||||||
|
}
|
||||||
|
.icon-arrow_right:before {
|
||||||
|
content: "\f103";
|
||||||
|
}
|
||||||
|
.icon-arrow_up:before {
|
||||||
|
content: "\f104";
|
||||||
|
}
|
||||||
|
.icon-close:before {
|
||||||
|
content: "\f105";
|
||||||
|
}
|
||||||
|
.icon-collapse:before {
|
||||||
|
content: "\f106";
|
||||||
|
}
|
||||||
|
.icon-deisolate:before {
|
||||||
|
content: "\f107";
|
||||||
|
}
|
||||||
|
.icon-details:before {
|
||||||
|
content: "\f108";
|
||||||
|
}
|
||||||
|
.icon-donate:before {
|
||||||
|
content: "\f109";
|
||||||
|
}
|
||||||
|
.icon-expand:before {
|
||||||
|
content: "\f10a";
|
||||||
|
}
|
||||||
|
.icon-export:before {
|
||||||
|
content: "\f10b";
|
||||||
|
}
|
||||||
|
.icon-feedback:before {
|
||||||
|
content: "\f10c";
|
||||||
|
}
|
||||||
|
.icon-file_download:before {
|
||||||
|
content: "\f10d";
|
||||||
|
}
|
||||||
|
.icon-files:before {
|
||||||
|
content: "\f10e";
|
||||||
|
}
|
||||||
|
.icon-fit:before {
|
||||||
|
content: "\f10f";
|
||||||
|
}
|
||||||
|
.icon-fix_up_off:before {
|
||||||
|
content: "\f110";
|
||||||
|
}
|
||||||
|
.icon-fix_up_on:before {
|
||||||
|
content: "\f111";
|
||||||
|
}
|
||||||
|
.icon-flat_list:before {
|
||||||
|
content: "\f112";
|
||||||
|
}
|
||||||
|
.icon-flip:before {
|
||||||
|
content: "\f113";
|
||||||
|
}
|
||||||
|
.icon-github:before {
|
||||||
|
content: "\f114";
|
||||||
|
}
|
||||||
|
.icon-hidden:before {
|
||||||
|
content: "\f115";
|
||||||
|
}
|
||||||
|
.icon-info:before {
|
||||||
|
content: "\f116";
|
||||||
|
}
|
||||||
|
.icon-isolate:before {
|
||||||
|
content: "\f117";
|
||||||
|
}
|
||||||
|
.icon-materials:before {
|
||||||
|
content: "\f118";
|
||||||
|
}
|
||||||
|
.icon-measure:before {
|
||||||
|
content: "\f119";
|
||||||
|
}
|
||||||
|
.icon-meshes:before {
|
||||||
|
content: "\f11a";
|
||||||
|
}
|
||||||
|
.icon-missing_files:before {
|
||||||
|
content: "\f11b";
|
||||||
|
}
|
||||||
|
.icon-model:before {
|
||||||
|
content: "\f11c";
|
||||||
|
}
|
||||||
|
.icon-open_url:before {
|
||||||
|
content: "\f11d";
|
||||||
|
}
|
||||||
|
.icon-open:before {
|
||||||
|
content: "\f11e";
|
||||||
|
}
|
||||||
|
.icon-settings:before {
|
||||||
|
content: "\f11f";
|
||||||
|
}
|
||||||
|
.icon-share:before {
|
||||||
|
content: "\f120";
|
||||||
|
}
|
||||||
|
.icon-tree_mesh:before {
|
||||||
|
content: "\f121";
|
||||||
|
}
|
||||||
|
.icon-tree_view:before {
|
||||||
|
content: "\f122";
|
||||||
|
}
|
||||||
|
.icon-twitter:before {
|
||||||
|
content: "\f123";
|
||||||
|
}
|
||||||
|
.icon-up_y:before {
|
||||||
|
content: "\f124";
|
||||||
|
}
|
||||||
|
.icon-up_z:before {
|
||||||
|
content: "\f125";
|
||||||
|
}
|
||||||
|
.icon-visible:before {
|
||||||
|
content: "\f126";
|
||||||
|
}
|
||||||
|
.icon-warning:before {
|
||||||
|
content: "\f127";
|
||||||
|
}
|
||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<title>Online 3D Viewer Manual</title>
|
<title>Online 3D Viewer Manual</title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/icons.css">
|
<link rel="stylesheet" type="text/css" href="icons.css">
|
||||||
<link rel="stylesheet" type="text/css" href="info.css">
|
<link rel="stylesheet" type="text/css" href="info.css">
|
||||||
|
|
||||||
<!-- meta start -->
|
<!-- meta start -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user