Skip to content

Commit afdbf91

Browse files
author
Rehan Chawdry
committed
Fixed some text/styling with one of the examples
1 parent cda26f1 commit afdbf91

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

examples/first.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
stroke: #94aab0;
3030
}
3131
#home .plasmid .scale-majortext {
32-
font-size: 9px;
33-
font-weight: 300;
32+
font: 300 9px "Lato";
3433
fill: #94aab0;
3534
}
3635
#home .plasmid .markerlabel {
@@ -96,7 +95,7 @@
9695
</trackmarker>
9796
<trackmarker start="230" style="stroke:#c00;stroke-width:2px" wadjust="12" vadjust="-6">
9897
<svgelement type="a" xlink:href="http://en.wikipedia.org/wiki/EcoRI" target="_blank"><markerlabel labelclass="featurelabel" text="EcoRI" type="path" valign="outer" hadjust="2" vadjust="30" showline="1" linestyle="stroke:#666;stroke-dasharray:2,2" linevadjust="-10"></markerlabel></svgelement>
99-
<markerlabel labelclass="featurelabel" text="75" type="path" valign="inner" vadjust="-5"></markerlabel>
98+
<markerlabel labelclass="featurelabel" text="230" type="path" valign="inner" vadjust="-5"></markerlabel>
10099
</trackmarker>
101100
<trackmarker markerclass="markerhover" start="231" end="350" style="fill:rgba(128,0,0,0.4)" arrowstartlength="4" wadjust="8" vadjust="-4" markerclick="markerClick($event,$marker)">
102101
<markerlabel labelclass="markerlabel" text="REVERSE" type="path" style="fill:#fff" vadjust="5"></markerlabel>
@@ -116,7 +115,7 @@
116115

117116
<!-- TARGET PROTEINS -->
118117
<trackmarker start="462" end="712" style="fill:rgba(0,0,128,.4)" vadjust="3" arrowendlength="4" arrowendwidth="4" wadjust="-5">
119-
<markerlabel text="TARGET PROTEINS" type="path" style="fill:rgba(0,0,64,.7);font-size:12px;font-weight:700" vadjust="45"></markerlabel>
118+
<markerlabel text="TARGET PROTEINS" type="path" style="fill:rgba(0,0,64,.7);font-family:'Lato';font-size:12px;font-weight:700" vadjust="45"></markerlabel>
120119
</trackmarker>
121120
<trackmarker markerclass="markerhover" style="fill:rgba(0,0,128,.4)" start="482" end="567" wadjust="8" vadjust="-4" markerclick="markerClick($event, $marker)">
122121
<markerlabel labelclass="markerlabel" text="LEUII" style="fill:#fff;font-weight:700" ></markerlabel>
@@ -128,12 +127,12 @@
128127
<markerlabel labelclass="markerlabel" text="ADHI" style="fill:#fff;font-weight:700" ></markerlabel>
129128
</trackmarker>
130129
<trackmarker start="462" style="stroke:rgba(0,0,64,.7);stroke-width:2px;stroke-dasharray:4,2" vadjust="-7" wadjust="15">
131-
<markerlabel text="462" style="fill:rgba(0,0,64,.7);font-size:11px;font-weight:700" vadjust="-35"></markerlabel>
130+
<markerlabel text="462" style="fill:rgba(0,0,64,.7);font:700 10px 'Lato'" vadjust="-35"></markerlabel>
132131
</trackmarker>
133132
<trackmarker start="712" style="stroke:rgba(0,0,64,.7);stroke-width:2px;stroke-dasharray:4,2" vadjust="-7" wadjust="15">
134-
<markerlabel text="712" style="fill:rgba(0,0,64,.7);font-size:11px;font-weight:700" vadjust="-35"></markerlabel>
133+
<markerlabel text="712" style="fill:rgba(0,0,64,.7);font:700 10px 'Lato'" vadjust="-35"></markerlabel>
135134
</trackmarker>
136135

137136
</plasmidtrack>
138137
</plasmid>
139-
</div>
138+
</div>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angularplasmid",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Biological Plasmid Visualization Component using AngularJS",
55
"main": "index.js",
66
"scripts": {
@@ -34,7 +34,7 @@
3434
],
3535
"buildJS": []
3636
},
37-
"keywords": ["biojs", "plasmid"],
37+
"keywords": ["biojs", "plasmid","visualization", "drawing", "DNA"],
3838
"dependencies": {
3939
"angular": "^1.3.12"
4040
}

0 commit comments

Comments
 (0)