-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy ebiwd/EBI-Icon-fonts to github.com/ebiwd/EBI-Icon-fonts.git:v1.2
- Loading branch information
0 parents
commit f84516a
Showing
569 changed files
with
19,310 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.DS_Store | ||
*.log | ||
node_modules | ||
build | ||
*.node | ||
components | ||
_site/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
image: netroby/alpine-rsync | ||
|
||
#project specific variables can be defines here, or overridden project settings | ||
variables: | ||
SERVER_DEV: ebi-cli.ebi.ac.uk | ||
SCRIPT_DEV: ~/bin/update-ebi-icon-fonts | ||
DEV_URL: http://wwwdev.ebi.ac.uk/web_guidelines/EBI-Icon-fonts | ||
SERVER_PROD: ebi-cli.ebi.ac.uk | ||
SCRIPT_PROD: ~/bin/update-ebi-icon-fonts-prod | ||
PROD_URL: http://www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts | ||
# do not define here, put in project variables | ||
SSH_USER: username | ||
SSH_KEY: secret-key | ||
|
||
#setup ssh keys | ||
.deploy_setup: &deploy_setup | ||
before_script: | ||
- mkdir ~/.ssh | ||
- echo -e "${SSH_KEY}" >> ~/.ssh/${SSH_USER} && chmod 400 ~/.ssh/${SSH_USER} | ||
- echo -e "Host *\n\tIdentityFile ~/.ssh/%r\n\tStrictHostKeyChecking no" >> ~/.ssh/config | ||
|
||
stages: | ||
- deploy | ||
|
||
deploy_dev: | ||
<<: *deploy_setup | ||
stage: deploy | ||
script: | ||
- ssh -t ${SSH_USER}@${SERVER_DEV} ${SCRIPT_DEV} | ||
only: | ||
- branches | ||
environment: | ||
name: dev | ||
url: ${DEV_URL} | ||
|
||
deploy_live: | ||
<<: *deploy_setup | ||
stage: deploy | ||
script: | ||
- ssh -t ${SSH_USER}@${SERVER_PROD} ${SCRIPT_PROD} | ||
only: | ||
- tags | ||
environment: | ||
name: live | ||
url: ${LIVE_URL} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<FilesMatch "\.(ttf|ttc|otf|eot|woff)$"> | ||
<IfModule mod_headers.c> | ||
Header set Access-Control-Allow-Origin "*" | ||
</IfModule> | ||
SetOutputFilter DEFLATE | ||
</FilesMatch> | ||
|
||
AddType font/ttf .ttf | ||
AddType font/eot .eot | ||
AddType font/otf .otf | ||
AddType font/woff .woff | ||
AddType image/svg+xml .svg | ||
|
||
# AddOutputFilterByType DEFLATE application/vnd.ms-fontobject application/x-font-ttf image/svg+xml | ||
|
||
DirectoryIndex index.html demo.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.*.swp | ||
._* | ||
.DS_Store | ||
.git | ||
.hg | ||
.npmrc | ||
.lock-wscript | ||
.svn | ||
.wafpickle-* | ||
config.gypi | ||
CVS | ||
npm-debug.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- stable | ||
|
||
install: | ||
- npm install | ||
|
||
before_script: | ||
- sudo apt-get install fontforge | ||
- npm install grunt-cli -g | ||
|
||
script: grunt | ||
|
||
deploy: | ||
provider: pages | ||
skip_cleanup: true | ||
target_branch: v1.2 | ||
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard | ||
on: | ||
branch: v1.2-code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/* Generated by grunt-webfont */ | ||
|
||
|
||
@font-face { | ||
font-family:"EBI-Chemistry"; | ||
src:url("EBI-Chemistry.eot?9dd2cabb56ee52d14f94ac02f6a316fe"); | ||
src:url("EBI-Chemistry.eot?#iefix") format("embedded-opentype"), | ||
url("EBI-Chemistry.woff?9dd2cabb56ee52d14f94ac02f6a316fe") format("woff"), | ||
url("EBI-Chemistry.ttf?9dd2cabb56ee52d14f94ac02f6a316fe") format("truetype"), | ||
url("EBI-Chemistry.svg?9dd2cabb56ee52d14f94ac02f6a316fe#EBI-Chemistry") format("svg"); | ||
font-weight:normal; | ||
font-style:normal; | ||
} | ||
|
||
.icon-chemistry { | ||
|
||
font-family:"EBI-Chemistry"; | ||
|
||
display:inline-block; | ||
vertical-align:middle; | ||
line-height:1; | ||
font-weight:normal; | ||
font-style:normal; | ||
speak:none; | ||
text-decoration:inherit; | ||
text-transform:none; | ||
text-rendering:auto; | ||
-webkit-font-smoothing:antialiased; | ||
-moz-osx-font-smoothing:grayscale; | ||
} | ||
|
||
|
||
/* Icons */ | ||
|
||
|
||
.icon-direction_left:before { | ||
content:"\6c"; | ||
} | ||
|
||
|
||
.icon-direction_reversible:before { | ||
content:"\52"; | ||
} | ||
|
||
|
||
.icon-direction_right:before { | ||
content:"\72"; | ||
} | ||
|
||
|
||
.icon-direction_unknown:before { | ||
content:"\55"; | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- This will be embeded into a master preview at http://www.ebi.ac.uk/web_guidelines/EBI-Icon-fonts/ --> | ||
<link rel="stylesheet" href="../../fonts.css" type="text/css" media="all"> | ||
<!-- We still relink the fonts css for a basic preview --> | ||
<table class="responsive-table"> | ||
<thead> | ||
<tr> | ||
<th class="small-5" id="EBI-Chemistry" data-magellan-target="EBI-Chemistry">EBI-Chemistry <small>version 1.2</small></th> | ||
<th class="small-1"></th> | ||
<th class="small-6 kbd small">HTML</th> | ||
<th class="show-for-large kbd small">Drupal</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
|
||
|
||
<tr> | ||
|
||
|
||
<td>Direction left</td> | ||
<td><span class="icon-chemistry icon-" data-icon="l"> </span></td> | ||
<td><* class="icon icon-chemistry" data-icon="l"></td> | ||
<td>[icon-chemistry:l]</td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
|
||
|
||
<td>Direction reversible</td> | ||
<td><span class="icon-chemistry icon-" data-icon="R"> </span></td> | ||
<td><* class="icon icon-chemistry" data-icon="R"></td> | ||
<td>[icon-chemistry:R]</td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
|
||
|
||
<td>Direction right</td> | ||
<td><span class="icon-chemistry icon-" data-icon="r"> </span></td> | ||
<td><* class="icon icon-chemistry" data-icon="r"></td> | ||
<td>[icon-chemistry:r]</td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
|
||
|
||
<td>Direction unknown</td> | ||
<td><span class="icon-chemistry icon-" data-icon="U"> </span></td> | ||
<td><* class="icon icon-chemistry" data-icon="U"></td> | ||
<td>[icon-chemistry:U]</td> | ||
</tr> | ||
|
||
</tbody> | ||
</table> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
/* Generated by grunt-webfont */ | ||
|
||
|
||
@font-face { | ||
font-family:"EBI-Conceptual"; | ||
src:url("EBI-Conceptual.eot?631900a6853fcdf209846465a95a51ed"); | ||
src:url("EBI-Conceptual.eot?#iefix") format("embedded-opentype"), | ||
url("EBI-Conceptual.woff?631900a6853fcdf209846465a95a51ed") format("woff"), | ||
url("EBI-Conceptual.ttf?631900a6853fcdf209846465a95a51ed") format("truetype"), | ||
url("EBI-Conceptual.svg?631900a6853fcdf209846465a95a51ed#EBI-Conceptual") format("svg"); | ||
font-weight:normal; | ||
font-style:normal; | ||
} | ||
|
||
.icon-conceptual { | ||
|
||
font-family:"EBI-Conceptual"; | ||
|
||
display:inline-block; | ||
vertical-align:middle; | ||
line-height:1; | ||
font-weight:normal; | ||
font-style:normal; | ||
speak:none; | ||
text-decoration:inherit; | ||
text-transform:none; | ||
text-rendering:auto; | ||
-webkit-font-smoothing:antialiased; | ||
-moz-osx-font-smoothing:grayscale; | ||
} | ||
|
||
|
||
/* Icons */ | ||
|
||
|
||
.icon-chemical:before { | ||
content:"\62"; | ||
} | ||
|
||
|
||
.icon-cross-domain:before { | ||
content:"\63"; | ||
} | ||
|
||
|
||
.icon-dna:before { | ||
content:"\64"; | ||
} | ||
|
||
|
||
.icon-expression:before { | ||
content:"\67"; | ||
} | ||
|
||
|
||
.icon-literature:before { | ||
content:"\6c"; | ||
} | ||
|
||
|
||
.icon-ontology:before { | ||
content:"\6f"; | ||
} | ||
|
||
|
||
.icon-proteins:before { | ||
content:"\50"; | ||
} | ||
|
||
|
||
.icon-structures:before { | ||
content:"\73"; | ||
} | ||
|
||
|
||
.icon-systems:before { | ||
content:"\79"; | ||
} |
Binary file not shown.
Oops, something went wrong.