Skip to content

Commit

Permalink
Deploy ebiwd/EBI-Icon-fonts to github.com/ebiwd/EBI-Icon-fonts.git:v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscibot committed Jun 16, 2017
0 parents commit f84516a
Show file tree
Hide file tree
Showing 569 changed files with 19,310 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
*.log
node_modules
build
*.node
components
_site/
46 changes: 46 additions & 0 deletions .gitlab-ci.yml
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}

16 changes: 16 additions & 0 deletions .htaccess
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
13 changes: 13 additions & 0 deletions .npmignore
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

21 changes: 21 additions & 0 deletions .travis.yml
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
53 changes: 53 additions & 0 deletions EBI-Chemistry/fonts/EBI-Chemistry.css
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 added EBI-Chemistry/fonts/EBI-Chemistry.eot
Binary file not shown.
56 changes: 56 additions & 0 deletions EBI-Chemistry/fonts/EBI-Chemistry.html
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="&#x6c"> </span></td>
<td>&lt;* class="icon icon-chemistry" data-icon="&#x6c"&gt;</td>
<td>[icon-chemistry:&#x6c]</td>
</tr>


<tr>


<td>Direction reversible</td>
<td><span class="icon-chemistry icon-" data-icon="&#x52"> </span></td>
<td>&lt;* class="icon icon-chemistry" data-icon="&#x52"&gt;</td>
<td>[icon-chemistry:&#x52]</td>
</tr>


<tr>


<td>Direction right</td>
<td><span class="icon-chemistry icon-" data-icon="&#x72"> </span></td>
<td>&lt;* class="icon icon-chemistry" data-icon="&#x72"&gt;</td>
<td>[icon-chemistry:&#x72]</td>
</tr>


<tr>


<td>Direction unknown</td>
<td><span class="icon-chemistry icon-" data-icon="&#x55"> </span></td>
<td>&lt;* class="icon icon-chemistry" data-icon="&#x55"&gt;</td>
<td>[icon-chemistry:&#x55]</td>
</tr>

</tbody>
</table>
57 changes: 57 additions & 0 deletions EBI-Chemistry/fonts/EBI-Chemistry.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added EBI-Chemistry/fonts/EBI-Chemistry.ttf
Binary file not shown.
Binary file added EBI-Chemistry/fonts/EBI-Chemistry.woff
Binary file not shown.
1 change: 1 addition & 0 deletions EBI-Chemistry/static/svg/direction_left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions EBI-Chemistry/static/svg/direction_reversible.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions EBI-Chemistry/static/svg/direction_right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions EBI-Chemistry/static/svg/direction_unknown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions EBI-Conceptual/fonts/EBI-Conceptual.css
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 added EBI-Conceptual/fonts/EBI-Conceptual.eot
Binary file not shown.
Loading

0 comments on commit f84516a

Please sign in to comment.