genoverse 4.0.9 → 4.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/test.yml +1 -1
- package/dist/171.genoverse.js +2 -0
- package/dist/171.genoverse.js.map +1 -0
- package/dist/2463b90d9a316e4e5294.woff2 +0 -0
- package/dist/2582b0e4bcf85eceead0.ttf +0 -0
- package/dist/298.genoverse.js +2 -0
- package/dist/298.genoverse.js.map +1 -0
- package/dist/{394.css → 347.css} +1 -1
- package/dist/{394.css.map → 347.css.map} +1 -1
- package/dist/347.genoverse.js +2 -0
- package/dist/347.genoverse.js.map +1 -0
- package/dist/{949.css → 407.css} +27 -27
- package/dist/{952.css.map → 407.css.map} +1 -1
- package/dist/{729.css → 423.css} +1 -1
- package/dist/{729.css.map → 423.css.map} +1 -1
- package/dist/423.genoverse.js +2 -0
- package/dist/423.genoverse.js.map +1 -0
- package/dist/{547.css → 47.css} +1 -1
- package/dist/47.css.map +1 -0
- package/dist/{166.genoverse.js → 47.genoverse.js} +1 -1
- package/dist/{129.css → 512.css} +1 -1
- package/dist/{129.css.map → 512.css.map} +1 -1
- package/dist/512.genoverse.js +2 -0
- package/dist/512.genoverse.js.map +1 -0
- package/dist/{232.css → 52.css} +1 -1
- package/dist/52.css.map +1 -0
- package/dist/52.genoverse.js +2 -0
- package/dist/52.genoverse.js.map +1 -0
- package/dist/758.css +23 -0
- package/dist/758.css.map +1 -0
- package/dist/840.genoverse.js +2 -0
- package/dist/840.genoverse.js.map +1 -0
- package/dist/{547.genoverse.js → 895.genoverse.js} +1 -1
- package/dist/89999bdf5d835c012025.woff2 +0 -0
- package/dist/914997e1bdfc990d0897.ttf +0 -0
- package/dist/{530.css → 943.css} +1 -1
- package/dist/{530.css.map → 943.css.map} +1 -1
- package/dist/943.genoverse.js +2 -0
- package/dist/943.genoverse.js.map +1 -0
- package/dist/{469.css → 966.css} +1 -1
- package/dist/{469.css.map → 966.css.map} +1 -1
- package/dist/966.genoverse.js +2 -0
- package/dist/966.genoverse.js.map +1 -0
- package/dist/{952.css → 984.css} +27 -27
- package/dist/{949.css.map → 984.css.map} +1 -1
- package/dist/984.genoverse.js +2 -0
- package/dist/984.genoverse.js.map +1 -0
- package/dist/genoverse.js +1 -1
- package/dist/genoverse.js.map +1 -1
- package/eslint.config.js +176 -0
- package/genoverse-4.1.0-alpha.2.tgz +0 -0
- package/package.json +18 -10
- package/src/js/Genoverse.js +7 -5
- package/src/js/plugins/controlPanel.js +4 -3
- package/src/js/plugins/fileDrop.js +4 -2
- package/test/View/__snapshots__/render-chromosome.test.js.snap +2 -2
- package/test/View/__snapshots__/render-highlights.test.js.snap +3 -3
- package/test/View/__snapshots__/render-labels.test.js.snap +74 -74
- package/test/View/__snapshots__/render-legends.test.js.snap +3 -3
- package/test/View/__snapshots__/render-scalebar.test.js.snap +12 -12
- package/test/View/__snapshots__/render-scaleline.test.js.snap +15 -15
- package/test/View/__snapshots__/render-sequence.test.js.snap +5 -5
- package/test/track_config/__snapshots__/config-settings.test.js.snap +9 -9
- package/utils/devServer.js +14 -1
- package/dist/0caf4c6cf244a90efcc5.woff2 +0 -0
- package/dist/0d03b1bbd1d62c1e1284.ttf +0 -0
- package/dist/129.genoverse.js +0 -2
- package/dist/129.genoverse.js.map +0 -1
- package/dist/216.css +0 -20
- package/dist/216.css.map +0 -1
- package/dist/232.css.map +0 -1
- package/dist/232.genoverse.js +0 -2
- package/dist/232.genoverse.js.map +0 -1
- package/dist/394.genoverse.js +0 -2
- package/dist/394.genoverse.js.map +0 -1
- package/dist/469.genoverse.js +0 -2
- package/dist/469.genoverse.js.map +0 -1
- package/dist/530.genoverse.js +0 -2
- package/dist/530.genoverse.js.map +0 -1
- package/dist/547.css.map +0 -1
- package/dist/59edf72a325ac2048d60.woff2 +0 -0
- package/dist/804.genoverse.js +0 -2
- package/dist/804.genoverse.js.map +0 -1
- package/dist/842.genoverse.js +0 -2
- package/dist/842.genoverse.js.map +0 -1
- package/dist/893.genoverse.js +0 -2
- package/dist/893.genoverse.js.map +0 -1
- package/dist/949.genoverse.js +0 -2
- package/dist/949.genoverse.js.map +0 -1
- package/dist/952.genoverse.js +0 -2
- package/dist/952.genoverse.js.map +0 -1
- package/dist/e615bbcb258550973c16.ttf +0 -0
- /package/dist/{166.css → 895.css} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkgenoverse=self.webpackChunkgenoverse||[]).push([[943],{6943:function(i,e){e.default={resizer:function(){var i=this.jQuery;this.on("afterSetMVC","tracks",function(){if(!0===this.prop("resizable")){var e=this,t=this.controller,s=this.prop("height"),r=this.prop("resizer");r||(r=this.prop("resizer",i('<div class="gv-resizer gv-static"><div class="gv-handle"></div></div>').appendTo(e.prop("container")).draggable({axis:"y",start:function(){i("body").addClass("gv-dragging")},stop:function(s,r){i("body").removeClass("gv-dragging"),t.resize(e.prop("height")+r.position.top-r.originalPosition.top,!0),i(this).css({top:"auto",bottom:0})}}).on("click",function(){var i=e.prop("fullVisibleHeight");i&&t.resize(i,!0)}))),r.css({width:this.width,left:0})[this.prop("autoHeight")?"hide":"show"](),this.prop("autoHeight")||s-this.prop("margin")!==this.prop("featureHeight")||(t.resize(s+r.height()),this.prop("initialHeight",this.prop("height")))}}),this.on("afterToggleExpander","tracks",function(){var i,e=this.prop("resizer");e&&e[null!==(i=this.expander)&&void 0!==i&&i.is(":visible")?"addClass":"removeClass"]("gv-resizer-expander")})}}}}]);
|
|
2
|
+
//# sourceMappingURL=943.genoverse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"943.genoverse.js","mappings":"yGAmDAA,EAAA,SAAiBC,QAjDF,WACb,IAAMC,EAASC,KAAKD,OAEpBC,KAAKC,GAAG,cAAe,SAAU,WAC/B,IAA+B,IAA3BD,KAAKE,KAAK,aAAd,CAIA,IAAMC,EAAaH,KACbI,EAAaJ,KAAKI,WAClBC,EAAaL,KAAKE,KAAK,UAEzBJ,EAAUE,KAAKE,KAAK,WAEnBJ,IACHA,EAAUE,KAAKE,KAAK,UAAWH,EAAO,yEAAyEO,SAASH,EAAMD,KAAK,cAAcK,UAAU,CACzJC,KAAQ,IACRC,MAAQ,WAAQV,EAAO,QAAQW,SAAS,cAAgB,EACxDC,KAAQ,SAAUC,EAAGC,GACnBd,EAAO,QAAQe,YAAY,eAC3BV,EAAWW,OAAOZ,EAAMD,KAAK,UAAYW,EAAGG,SAASC,IAAMJ,EAAGK,iBAAiBD,KAAK,GACpFlB,EAAOC,MAAMmB,IAAI,CAAEF,IAAK,OAAQG,OAAQ,GAC1C,IACCnB,GAAG,QAAS,WACb,IAAMoB,EAAIlB,EAAMD,KAAK,qBAEjBmB,GACFjB,EAAWW,OAAOM,GAAG,EAEzB,KAGFvB,EAAQqB,IAAI,CAAEG,MAAOtB,KAAKsB,MAAOC,KAAM,IAAKvB,KAAKE,KAAK,cAAgB,OAAS,UAE1EF,KAAKE,KAAK,eAAiBG,EAASL,KAAKE,KAAK,YAAcF,KAAKE,KAAK,mBACzEE,EAAWW,OAAOV,EAASP,EAAQO,UACnCL,KAAKE,KAAK,gBAAiBF,KAAKE,KAAK,WA9BvC,CAgCF,GAEAF,KAAKC,GAAG,sBAAuB,SAAU,WACvC,IAEauB,EAFP1B,EAAUE,KAAKE,KAAK,WAEtBJ,GACFA,EAAqB,QAAb0B,EAAAxB,KAAKyB,gBAAQ,IAAAD,GAAbA,EAAeE,GAAG,YAAc,WAAa,eAAe,sBAExE,EACF","sources":["webpack://genoverse/./src/js/plugins/resizer.js"],"sourcesContent":["import '../../css/resizer.css';\n\nconst plugin = function () {\n const jQuery = this.jQuery;\n\n this.on('afterSetMVC', 'tracks', function () {\n if (this.prop('resizable') !== true) {\n return;\n }\n\n const track = this;\n const controller = this.controller;\n const height = this.prop('height');\n\n let resizer = this.prop('resizer');\n\n if (!resizer) {\n resizer = this.prop('resizer', jQuery('<div class=\"gv-resizer gv-static\"><div class=\"gv-handle\"></div></div>').appendTo(track.prop('container')).draggable({\n axis : 'y',\n start : () => { jQuery('body').addClass('gv-dragging'); },\n stop : function (e, ui) {\n jQuery('body').removeClass('gv-dragging');\n controller.resize(track.prop('height') + ui.position.top - ui.originalPosition.top, true);\n jQuery(this).css({ top: 'auto', bottom: 0 }); // returns the resizer to the bottom of the container - needed when the track is resized to 0\n },\n }).on('click', () => {\n const h = track.prop('fullVisibleHeight');\n\n if (h) {\n controller.resize(h, true);\n }\n }));\n }\n\n resizer.css({ width: this.width, left: 0 })[this.prop('autoHeight') ? 'hide' : 'show']();\n\n if (!this.prop('autoHeight') && height - this.prop('margin') === this.prop('featureHeight')) {\n controller.resize(height + resizer.height());\n this.prop('initialHeight', this.prop('height'));\n }\n });\n\n this.on('afterToggleExpander', 'tracks', function () {\n const resizer = this.prop('resizer');\n\n if (resizer) {\n resizer[this.expander?.is(':visible') ? 'addClass' : 'removeClass']('gv-resizer-expander');\n }\n });\n};\n\nexport default { resizer: plugin };\n"],"names":["__webpack_exports__","resizer","jQuery","this","on","prop","track","controller","height","appendTo","draggable","axis","start","addClass","stop","e","ui","removeClass","resize","position","top","originalPosition","css","bottom","h","width","left","_this$expander","expander","is"],"sourceRoot":""}
|
package/dist/{469.css → 966.css}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"966.css","mappings":"AAAA;EACE,kBAAkB;EAClB,cAAc;EACd,uCAAuC;EACvC,oCAAoC;EACpC,mBAAmB;EACnB,WAAW;EACX,QAAQ;EACR,SAAS;EACT,MAAM;EACN,OAAO;AACT;;AAEA;EACE,cAAc;EACd,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,YAAY;EACZ,WAAW;EACX,gBAAgB;AAClB,C","sources":["webpack://genoverse/./src/css/fileDrop.css"],"sourcesContent":[".gv-file-drop {\n position: absolute;\n display: block;\n background-color: rgba(255,255,255,0.7);\n border: 10px dashed rgb(111,111,111);\n border-radius: 11px;\n z-index: 10;\n right: 0;\n bottom: 0;\n top: 0;\n left: 0;\n}\n\n.gv-file-drop-total-overlay {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n z-index: 1000000;\n}"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(self.webpackChunkgenoverse=self.webpackChunkgenoverse||[]).push([[966],{8966:function(e,n,t){"use strict";var o=t(9418);n.default={fileDrop:function(){var e=this.jQuery;this.on("afterInit",function(){var n=this,a=this.wrapper;e(window).on("dragenter",function(r){var i=r.originalEvent.dataTransfer;if(null!=i&&i.types&&("Files"===i.types[0]||"Files"===i.types[1]||"Files"===i.types[2])&&!e(".gv-file-drop-total-overlay").length){var s=e('<div class="gv-file-drop">').appendTo(a),l=e('<div class="gv-file-drop-total-overlay">').prependTo("body"),f=function(){s.remove(),l.remove()};l.on("dragenter",function(e){e.preventDefault(),e.stopPropagation()}),l.on("dragover",function(e){e.preventDefault(),e.stopPropagation()}),l.on("dragleave",f),l.on("drop",function(e){f(),e.preventDefault(),e.stopPropagation();for(var a=Object.values(e.originalEvent.dataTransfer.files).sort(function(e,n){return e.name.localeCompare(n.name)}),r=[],i=0;i<a.length;i++){var s=a[i],l=s.name.split(".").reverse(),c="gz"===l[0],p=l[c?1:0],u=void 0;a[i+1]&&new RegExp("^".concat(s.name,"\\.\\w+$")).test(a[i+1].name)&&(u=a[++i]),r.push({file:s,indexFile:u,gz:c,trackType:p.toUpperCase()})}r.forEach(function(e){t(7382)("./".concat(e.trackType)).then(function(t){var a=o.A.sanitize(e.file.name),r=t.default.extend({name:a,info:'Local file "'.concat(a,'", size: ').concat(e.file.size," bytes"),isLocal:!0,dataFile:e.file,indexFile:e.indexFile,gz:e.gz});n.addTrack(r,n.tracks.length-1)},function(){})})})}})})}}},7382:function(e,n,t){var o={"./BAM":3593,"./BAM.js":3593,"./BED":3350,"./BED.js":3350,"./BIGBED":148,"./BIGBED.js":148,"./BIGWIG":5330,"./BIGWIG.js":5330,"./GFF":1200,"./GFF.js":1200,"./VCF":8598,"./VCF.js":8598,"./WIG":728,"./WIG.js":728};function a(e){return Promise.resolve().then(function(){if(!t.o(o,e)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t(o[e])})}a.keys=function(){return Object.keys(o)},a.id=7382,e.exports=a}}]);
|
|
2
|
+
//# sourceMappingURL=966.genoverse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"966.genoverse.js","mappings":"yHAkFAA,EAAA,SAAiBC,SA/EF,WACb,IAAMC,EAASC,KAAKD,OAEpBC,KAAKC,GAAG,YAAa,WACnB,IAAMC,EAAUF,KACVG,EAAUH,KAAKG,QAErBJ,EAAOK,QAAQH,GAAG,YAAa,SAACI,GAC9B,IAAMC,EAAeD,EAAEE,cAAcD,aAErC,GAAIA,SAAAA,EAAcE,QACU,UAA1BF,EAAaE,MAAM,IAA4C,UAA1BF,EAAaE,MAAM,IAA4C,UAA1BF,EAAaE,MAAM,MACzFT,EAAO,+BAA+BU,OAAQ,CAClD,IAAMC,EAAmBX,EAAO,8BAA8BY,SAASR,GACjES,EAAmBb,EAAO,4CAA4Cc,UAAU,QAEhFC,EAAY,WAChBJ,EAAYK,SACZH,EAAiBG,QACnB,EAEAH,EAAiBX,GAAG,YAAa,SAACe,GAASA,EAAGC,iBAAkBD,EAAGE,iBAAmB,GACtFN,EAAiBX,GAAG,WAAa,SAACe,GAASA,EAAGC,iBAAkBD,EAAGE,iBAAmB,GACtFN,EAAiBX,GAAG,YAAaa,GACjCF,EAAiBX,GAAG,OAAQ,SAACe,GAC3BF,IACAE,EAAGC,iBACHD,EAAGE,kBAMH,IAHA,IAAMC,EAAiBC,OAAOC,OAAOL,EAAGT,cAAcD,aAAaa,OAAOG,KAAK,SAACC,EAAGC,GAAC,OAAKD,EAAEE,KAAKC,cAAcF,EAAEC,KAAK,GAC/GE,EAAiB,GAEdC,EAAI,EAAGA,EAAIT,EA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KACAC,EAAAC,QAAAV","sources":["webpack://genoverse/./src/js/plugins/fileDrop.js","webpack://genoverse/./src/js/Track/library/File/ lazy ^\\.\\/.*$ referencedExports: default namespace object"],"sourcesContent":["import '../../css/fileDrop.css';\nimport DOMPurify from 'dompurify';\n\nconst plugin = function () {\n const jQuery = this.jQuery;\n\n this.on('afterInit', function () {\n const browser = this;\n const wrapper = this.wrapper;\n\n jQuery(window).on('dragenter', (e) => {\n const dataTransfer = e.originalEvent.dataTransfer;\n\n if (dataTransfer?.types && (\n dataTransfer.types[0] === 'Files' || dataTransfer.types[1] === 'Files' || dataTransfer.types[2] === 'Files'\n ) && !jQuery('.gv-file-drop-total-overlay').length) {\n const fileDropDiv = jQuery('<div class=\"gv-file-drop\">').appendTo(wrapper);\n const totalDropOverlay = jQuery('<div class=\"gv-file-drop-total-overlay\">').prependTo('body');\n\n const dragleave = () => {\n fileDropDiv.remove();\n totalDropOverlay.remove();\n };\n\n totalDropOverlay.on('dragenter', (ev) => { ev.preventDefault(); ev.stopPropagation(); });\n totalDropOverlay.on('dragover', (ev) => { ev.preventDefault(); ev.stopPropagation(); });\n totalDropOverlay.on('dragleave', dragleave);\n totalDropOverlay.on('drop', (ev) => {\n dragleave();\n ev.preventDefault();\n ev.stopPropagation();\n\n // Sort in order to ensure that .bam files are before their .bam.bai files\n const files = Object.values(ev.originalEvent.dataTransfer.files).sort((a, b) => a.name.localeCompare(b.name));\n const trackImporters = [];\n\n for (let i = 0; i < files.length; i++) {\n const file = files[i];\n const parts = file.name.split('.').reverse();\n const gz = parts[0] === 'gz';\n const ext = parts[gz ? 1 : 0];\n\n let indexFile;\n\n if (files[i + 1] && new RegExp(`^${file.name}\\\\.\\\\w+$`).test(files[i + 1].name)) {\n indexFile = files[++i];\n }\n\n trackImporters.push({\n file : file,\n indexFile : indexFile,\n gz : gz,\n trackType : ext.toUpperCase(),\n });\n }\n\n trackImporters.forEach(\n (importer) => {\n import(`../Track/library/File/${importer.trackType}`).then(\n (imported) => {\n const trackName = DOMPurify.sanitize(importer.file.name);\n const track = imported.default.extend({\n name : trackName,\n info : `Local file \"${trackName}\", size: ${importer.file.size} bytes`,\n isLocal : true,\n dataFile : importer.file,\n indexFile : importer.indexFile,\n gz : importer.gz,\n });\n\n browser.addTrack(track, browser.tracks.length - 1);\n },\n () => {}\n );\n }\n );\n });\n }\n });\n });\n};\n\nexport default { fileDrop: plugin };\n","var map = {\n\t\"./BAM\": 3593,\n\t\"./BAM.js\": 3593,\n\t\"./BED\": 3350,\n\t\"./BED.js\": 3350,\n\t\"./BIGBED\": 148,\n\t\"./BIGBED.js\": 148,\n\t\"./BIGWIG\": 5330,\n\t\"./BIGWIG.js\": 5330,\n\t\"./GFF\": 1200,\n\t\"./GFF.js\": 1200,\n\t\"./VCF\": 8598,\n\t\"./VCF.js\": 8598,\n\t\"./WIG\": 728,\n\t\"./WIG.js\": 728\n};\n\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(function() {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\tvar id = map[req];\n\treturn __webpack_require__(id);\n});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7382;\nmodule.exports = webpackAsyncContext;"],"names":["__webpack_exports__","fileDrop","jQuery","this","on","browser","wrapper","window","e","dataTransfer","originalEvent","types","length","fileDropDiv","appendTo","totalDropOverlay","prependTo","dragleave","remove","ev","preventDefault","stopPropagation","files","Object","values","sort","a","b","name","localeCompare","trackImporters","i","file","parts","split","reverse","gz","ext","indexFile","RegExp","concat","test","push","trackType","toUpperCase","forEach","importer","__webpack_require__","then","imported","trackName","DOMPurify","sanitize","track","extend","info","size","isLocal","dataFile","addTrack","tracks","map","webpackAsyncContext","req","Promise","resolve","o","Error","code","keys","id","module","exports"],"sourceRoot":""}
|
package/dist/{952.css → 984.css}
RENAMED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 1000; }
|
|
2
|
+
.tipsy-inner { background-color: #000; color: #FFF; max-width: 250px; padding: 5px 8px 4px 8px; text-align: center; font-family: Tahoma; font-size: 11px; }
|
|
3
|
+
|
|
4
|
+
/* Rounded corners */
|
|
5
|
+
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|
|
6
|
+
|
|
7
|
+
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
|
|
8
|
+
|
|
9
|
+
/* Rules to colour arrows */
|
|
10
|
+
.tipsy-arrow-n { border-bottom-color: #000; }
|
|
11
|
+
.tipsy-arrow-s { border-top-color: #000; }
|
|
12
|
+
.tipsy-arrow-e { border-left-color: #000; }
|
|
13
|
+
.tipsy-arrow-w { border-right-color: #000; }
|
|
14
|
+
|
|
15
|
+
.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
|
|
16
|
+
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
|
17
|
+
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
|
18
|
+
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
19
|
+
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
20
|
+
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
21
|
+
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
|
|
22
|
+
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
|
|
23
|
+
|
|
24
|
+
.gv-wrapper-tooltip { position: absolute; left: 50%; top: 60px; }
|
|
25
|
+
|
|
26
|
+
.genoverse .tooltip { z-index: 1000; }
|
|
1
27
|
.gv-control-panel-plugin table.gv {
|
|
2
28
|
position: relative;
|
|
3
29
|
margin-bottom: 30px;
|
|
@@ -199,32 +225,6 @@
|
|
|
199
225
|
font-weight: bold;
|
|
200
226
|
}
|
|
201
227
|
|
|
202
|
-
.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 1000; }
|
|
203
|
-
.tipsy-inner { background-color: #000; color: #FFF; max-width: 250px; padding: 5px 8px 4px 8px; text-align: center; font-family: Tahoma; font-size: 11px; }
|
|
204
|
-
|
|
205
|
-
/* Rounded corners */
|
|
206
|
-
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
|
|
207
|
-
|
|
208
|
-
.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }
|
|
209
|
-
|
|
210
|
-
/* Rules to colour arrows */
|
|
211
|
-
.tipsy-arrow-n { border-bottom-color: #000; }
|
|
212
|
-
.tipsy-arrow-s { border-top-color: #000; }
|
|
213
|
-
.tipsy-arrow-e { border-left-color: #000; }
|
|
214
|
-
.tipsy-arrow-w { border-right-color: #000; }
|
|
215
|
-
|
|
216
|
-
.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
|
|
217
|
-
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
|
218
|
-
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
|
|
219
|
-
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
220
|
-
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
221
|
-
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
|
|
222
|
-
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
|
|
223
|
-
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }
|
|
224
|
-
|
|
225
|
-
.gv-wrapper-tooltip { position: absolute; left: 50%; top: 60px; }
|
|
226
|
-
|
|
227
|
-
.genoverse .tooltip { z-index: 1000; }
|
|
228
228
|
.gv-karyotype-plugin .gv-karyotype-container {
|
|
229
229
|
height: 50px;
|
|
230
230
|
overflow: hidden;
|
|
@@ -312,4 +312,4 @@
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
|
|
315
|
-
/*# sourceMappingURL=
|
|
315
|
+
/*# sourceMappingURL=984.css.map*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"949.css","mappings":"AAAA,SAAS,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE;AAC3E,eAAe,sBAAsB,EAAE,WAAW,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE;;AAE1J,oBAAoB;AACpB,eAAe,kBAAkB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE;;AAExF,eAAe,kBAAkB,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,uBAAuB,EAAE;;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kBAAkB;EAClB,gBAAgB;AAClB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,aAAa;EACb,eAAe;EACf,YAAY;AACd;;AAEA;EACE,iBAAiB;AACnB;;ACrMA;EACE,YAAY;EACZ,gBAAgB;EAChB,sDAAsD;EACtD,sBAAsB;EACtB,sBAAsB;AACxB;;AAEA;EACE,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,kBAAkB;EAClB,yBAAyB;AAC3B;;AAEA;EACE,oCAAoC;AACtC;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,cAAc;AAChB;;AAEA;EACE,yCAAyC;EACzC,0BAA0B;EAC1B,0FAA0F;EAC1F,YAAY;EACZ,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,oBAAoB;AACtB;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,WAAW;EACX,MAAM;EACN,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,UAAU;EACV,MAAM;EACN,UAAU;AACZ;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,gBAAgB;EAChB,YAAY;EACZ,eAAe;EACf,WAAW;AACb;;AAEA;EACE,WAAW;EACX,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,cAAc;AAChB","sources":["webpack://genoverse/./src/css/tooltips.css","webpack://genoverse/./src/css/controlPanel.css","webpack://genoverse/./src/css/karyotype.css"],"sourcesContent":[".tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 1000; }\n.tipsy-inner { background-color: #000; color: #FFF; max-width: 250px; padding: 5px 8px 4px 8px; text-align: center; font-family: Tahoma; font-size: 11px; }\n\n/* Rounded corners */\n.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }\n\n.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }\n\n/* Rules to colour arrows */\n.tipsy-arrow-n { border-bottom-color: #000; }\n.tipsy-arrow-s { border-top-color: #000; }\n.tipsy-arrow-e { border-left-color: #000; }\n.tipsy-arrow-w { border-right-color: #000; }\n\n.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}\n.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}\n.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }\n.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }\n\n.gv-wrapper-tooltip { position: absolute; left: 50%; top: 60px; }\n\n.genoverse .tooltip { z-index: 1000; }",".gv-control-panel-plugin table.gv {\n position: relative;\n margin-bottom: 30px;\n border-collapse: separate;\n}\n\n.gv-control-panel-plugin table.gv td {\n padding: 0;\n color: white;\n vertical-align: top;\n}\n\n.gv-control-panel-plugin .gv-panel {\n height: 100%;\n background-color: #5F8CB0;\n border: 1px solid #1C5380;\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 1px 3px rgba(0, 0, 0, 0.1), -2px 0 2px rgba(0, 0, 0, 0.1);\n}\n\n.gv-control-panel-plugin .gv-panel div {\n white-space: nowrap;\n}\n\n.gv-control-panel-plugin .gv-panel button {\n background: none;\n border: none;\n border-bottom: 1px solid #1C5380;\n color: #E2E9EF;\n text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);\n width: 30px;\n height: 50px;\n font-family: inherit;\n font-size: 18px;\n line-height: 20px;\n padding: 2px;\n margin: 0;\n}\n\n.gv-control-panel-plugin .gv-panel button:only-child {\n width: 100%;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set > button:not(:first-child) {\n border-left: 1px solid #1C5380;\n}\n\n.gv-control-panel-plugin .gv-panel button.gv-button-large {\n font-size: 25px;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set:not(:first-child) > button {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.12) inset;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set:last-child {\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);\n}\n\n.gv-control-panel-plugin .gv-panel button:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #FFFFFF;\n cursor: pointer;\n}\n\n.gv-control-panel-plugin .gv-panel button:active,\n.gv-control-panel-plugin .gv-panel button.gv-active {\n border-top: none;\n background-color: rgba(6, 54, 95, 0.35);\n box-shadow: 0 0 1px rgba(6, 54, 95, 0.8) inset !important;\n}\n\n.gv-control-panel-plugin .gv-panel-right {\n background-image: -webkit-linear-gradient(left, #5F8CB0, #4A7496);\n background-image: -moz-linear-gradient(left center, #5F8CB0, #4A7496);\n border-radius: 0 5px 5px 0;\n border-left: 0;\n}\n\n.gv-control-panel-plugin .gv-panel-right button.gv-wheel-zoom {\n font-weight: bold;\n}\n\n.gv-control-panel-plugin .gv-panel-right button.gv-drag-select i {\n border: 1px dashed #FFF;\n padding: 0 5px;\n box-shadow: 0px 0px 1px #FFF inset, 0px 1px 3px rgba(0, 0, 0, 0.1), 2px 2px rgba(0, 0, 0, 0.2);\n}\n\n.gv-control-panel-plugin .gv-panel-left {\n background-image: -webkit-linear-gradient(right, #5F8CB0, #4A7496);\n background-image: -moz-linear-gradient(right center, #5F8CB0, #4A7496);\n border-radius: 5px 0 0 5px;\n border-right: 0;\n}\n\n.gv-control-panel-plugin .gv-panel-left .gv-label-container {\n border: 0;\n box-shadow: none;\n background: none;\n}\n\n.gv-control-panel-plugin td.gv-canvas-container {\n border: 1px solid #000;\n}\n\n.gv-control-panel-plugin .gv-karyotype-container {\n border-width: 0 0 1px!important;\n}\n\n.gv-control-panel-plugin .gv-canvas-container .gv-wrapper {\n border: 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu {\n top: 70px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-close {\n font-size: 20px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-menu-content {\n font-size: 13px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu table {\n margin: 0 0 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu td {\n padding: 5px 10px!important;\n vertical-align: top;\n width: 50%;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr:first-child td {\n font-weight: bold;\n white-space: nowrap;\n padding: 5px 30px 5px 10px;\n margin-bottom: 5px;\n background: rgba(6, 54, 95, 0.35);\n line-height: normal;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr:first-child td:last-child {\n border-radius: 0 12px 0 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr td:first-child {\n padding-right: 50px!important;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks.ui-sortable {\n cursor: move;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks-instructions {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-remove-track,\n.gv-control-panel-plugin .gv-tracks-menu .gv-add-track {\n font-size: 14px;\n margin: 2px 5px 0 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu input {\n margin-bottom: 10px;\n width: 200px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-tracks-menu-reset {\n font-style: italic;\n margin-top: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category {\n margin-bottom: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category:last-child {\n margin-bottom: 0px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category .gv-tracks-library-category-header {\n font-weight: bold;\n}\n\n.gv-control-panel-plugin .gv-powered-by {\n position: absolute;\n right: 0;\n bottom: -16px;\n font-size: 10px;\n color: black;\n}\n\n.gv-control-panel-plugin .gv-powered-by a {\n font-weight: bold;\n}\n","@import url('./tooltips.css');\n\n.gv-karyotype-plugin .gv-karyotype-container {\n height: 50px;\n overflow: hidden;\n box-shadow: inset 0 0 33px -7px rgba(24, 36, 56, 0.97);\n border: 1px solid #000;\n background-color: #FFF;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-wrapper {\n border: 0;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome {\n margin: 15px;\n position: relative;\n height: calc(100% - 30px);\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-image-container {\n box-shadow: 0 0 33px -7px #CCC inset;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-karyotype-viewpoint-wrapper {\n position: relative;\n height: 70%;\n top: -85%;\n margin: 0 15px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-karyotype-viewpoint {\n background-color: rgba(222, 84, 35, 0.37);\n border: 1px dashed #E6380D;\n box-shadow: 0 0 3px 2px rgba(237, 237, 237, 0.4) inset, 0 0 4px 0 rgba(116, 116, 116, 0.7);\n height: 100%;\n position: absolute;\n z-index: 50;\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-e {\n cursor: e-resize;\n height: 100%;\n right: -5px;\n top: 0;\n width: 7px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-w {\n cursor: w-resize;\n height: 100%;\n left: -5px;\n top: 0;\n width: 7px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-handle {\n display: block;\n font-size: 0.1px;\n position: absolute;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome .gv-label-container {\n background: transparent;\n box-shadow: none;\n border: none;\n cursor: default;\n width: auto;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome .gv-label-container .gv-name {\n color: #000;\n float: none;\n left: 0 !important;\n margin: 0;\n overflow: auto;\n position: relative;\n text-shadow: none;\n width: 100%;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container.gv-no-label .gv-wrapper {\n margin-left: 0;\n}\n"],"names":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"984.css","mappings":"AAAA,SAAS,eAAe,EAAE,kBAAkB,EAAE,YAAY,EAAE,aAAa,EAAE;AAC3E,eAAe,sBAAsB,EAAE,WAAW,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,eAAe,EAAE;;AAE1J,oBAAoB;AACpB,eAAe,kBAAkB,EAAE,uBAAuB,EAAE,0BAA0B,EAAE;;AAExF,eAAe,kBAAkB,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,uBAAuB,EAAE;;AAEjG,2BAA2B;AAC3B,iBAAiB,yBAAyB,EAAE;AAC5C,iBAAiB,sBAAsB,EAAE;AACzC,iBAAiB,uBAAuB,EAAE;AAC1C,iBAAiB,wBAAwB,EAAE;;AAE3C,yBAAyB,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,8BAA8B,EAAE,+BAA+B,EAAE;AAChL,yBAAyB,MAAM,EAAE,UAAU,EAAE,0BAA0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A;EACE,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,kBAAkB;EAClB,yBAAyB;AAC3B;;AAEA;EACE,oCAAoC;AACtC;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,cAAc;AAChB;;AAEA;EACE,yCAAyC;EACzC,0BAA0B;EAC1B,0FAA0F;EAC1F,YAAY;EACZ,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,iBAAiB;EACjB,oBAAoB;AACtB;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,WAAW;EACX,MAAM;EACN,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,UAAU;EACV,MAAM;EACN,UAAU;AACZ;;AAEA;EACE,cAAc;EACd,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,uBAAuB;EACvB,gBAAgB;EAChB,YAAY;EACZ,eAAe;EACf,WAAW;AACb;;AAEA;EACE,WAAW;EACX,WAAW;EACX,kBAAkB;EAClB,SAAS;EACT,cAAc;EACd,kBAAkB;EAClB,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,cAAc;AAChB","sources":["webpack://genoverse/./src/css/tooltips.css","webpack://genoverse/./src/css/controlPanel.css","webpack://genoverse/./src/css/karyotype.css"],"sourcesContent":[".tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 1000; }\n.tipsy-inner { background-color: #000; color: #FFF; max-width: 250px; padding: 5px 8px 4px 8px; text-align: center; font-family: Tahoma; font-size: 11px; }\n\n/* Rounded corners */\n.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }\n\n.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }\n\n/* Rules to colour arrows */\n.tipsy-arrow-n { border-bottom-color: #000; }\n.tipsy-arrow-s { border-top-color: #000; }\n.tipsy-arrow-e { border-left-color: #000; }\n.tipsy-arrow-w { border-right-color: #000; }\n\n.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}\n.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}\n.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }\n.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }\n.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }\n\n.gv-wrapper-tooltip { position: absolute; left: 50%; top: 60px; }\n\n.genoverse .tooltip { z-index: 1000; }",".gv-control-panel-plugin table.gv {\n position: relative;\n margin-bottom: 30px;\n border-collapse: separate;\n}\n\n.gv-control-panel-plugin table.gv td {\n padding: 0;\n color: white;\n vertical-align: top;\n}\n\n.gv-control-panel-plugin .gv-panel {\n height: 100%;\n background-color: #5F8CB0;\n border: 1px solid #1C5380;\n box-shadow: 0 0 1px rgba(255, 255, 255, 0.4) inset, 0 1px 3px rgba(0, 0, 0, 0.1), -2px 0 2px rgba(0, 0, 0, 0.1);\n}\n\n.gv-control-panel-plugin .gv-panel div {\n white-space: nowrap;\n}\n\n.gv-control-panel-plugin .gv-panel button {\n background: none;\n border: none;\n border-bottom: 1px solid #1C5380;\n color: #E2E9EF;\n text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);\n width: 30px;\n height: 50px;\n font-family: inherit;\n font-size: 18px;\n line-height: 20px;\n padding: 2px;\n margin: 0;\n}\n\n.gv-control-panel-plugin .gv-panel button:only-child {\n width: 100%;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set > button:not(:first-child) {\n border-left: 1px solid #1C5380;\n}\n\n.gv-control-panel-plugin .gv-panel button.gv-button-large {\n font-size: 25px;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set:not(:first-child) > button {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.12) inset;\n}\n\n.gv-control-panel-plugin .gv-panel div.gv-button-set:last-child {\n box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);\n}\n\n.gv-control-panel-plugin .gv-panel button:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #FFFFFF;\n cursor: pointer;\n}\n\n.gv-control-panel-plugin .gv-panel button:active,\n.gv-control-panel-plugin .gv-panel button.gv-active {\n border-top: none;\n background-color: rgba(6, 54, 95, 0.35);\n box-shadow: 0 0 1px rgba(6, 54, 95, 0.8) inset !important;\n}\n\n.gv-control-panel-plugin .gv-panel-right {\n background-image: -webkit-linear-gradient(left, #5F8CB0, #4A7496);\n background-image: -moz-linear-gradient(left center, #5F8CB0, #4A7496);\n border-radius: 0 5px 5px 0;\n border-left: 0;\n}\n\n.gv-control-panel-plugin .gv-panel-right button.gv-wheel-zoom {\n font-weight: bold;\n}\n\n.gv-control-panel-plugin .gv-panel-right button.gv-drag-select i {\n border: 1px dashed #FFF;\n padding: 0 5px;\n box-shadow: 0px 0px 1px #FFF inset, 0px 1px 3px rgba(0, 0, 0, 0.1), 2px 2px rgba(0, 0, 0, 0.2);\n}\n\n.gv-control-panel-plugin .gv-panel-left {\n background-image: -webkit-linear-gradient(right, #5F8CB0, #4A7496);\n background-image: -moz-linear-gradient(right center, #5F8CB0, #4A7496);\n border-radius: 5px 0 0 5px;\n border-right: 0;\n}\n\n.gv-control-panel-plugin .gv-panel-left .gv-label-container {\n border: 0;\n box-shadow: none;\n background: none;\n}\n\n.gv-control-panel-plugin td.gv-canvas-container {\n border: 1px solid #000;\n}\n\n.gv-control-panel-plugin .gv-karyotype-container {\n border-width: 0 0 1px!important;\n}\n\n.gv-control-panel-plugin .gv-canvas-container .gv-wrapper {\n border: 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu {\n top: 70px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-close {\n font-size: 20px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-menu-content {\n font-size: 13px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu table {\n margin: 0 0 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu td {\n padding: 5px 10px!important;\n vertical-align: top;\n width: 50%;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr:first-child td {\n font-weight: bold;\n white-space: nowrap;\n padding: 5px 30px 5px 10px;\n margin-bottom: 5px;\n background: rgba(6, 54, 95, 0.35);\n line-height: normal;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr:first-child td:last-child {\n border-radius: 0 12px 0 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu tr td:first-child {\n padding-right: 50px!important;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks.ui-sortable {\n cursor: move;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks-instructions {\n font-style: italic;\n margin-bottom: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-remove-track,\n.gv-control-panel-plugin .gv-tracks-menu .gv-add-track {\n font-size: 14px;\n margin: 2px 5px 0 0;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu input {\n margin-bottom: 10px;\n width: 200px;\n}\n\n.gv-control-panel-plugin .gv-tracks-menu .gv-tracks-menu-reset {\n font-style: italic;\n margin-top: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category {\n margin-bottom: 10px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category:last-child {\n margin-bottom: 0px;\n}\n\n.gv-control-panel-plugin .gv-tracks-library-category .gv-tracks-library-category-header {\n font-weight: bold;\n}\n\n.gv-control-panel-plugin .gv-powered-by {\n position: absolute;\n right: 0;\n bottom: -16px;\n font-size: 10px;\n color: black;\n}\n\n.gv-control-panel-plugin .gv-powered-by a {\n font-weight: bold;\n}\n","@import url('./tooltips.css');\n\n.gv-karyotype-plugin .gv-karyotype-container {\n height: 50px;\n overflow: hidden;\n box-shadow: inset 0 0 33px -7px rgba(24, 36, 56, 0.97);\n border: 1px solid #000;\n background-color: #FFF;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-wrapper {\n border: 0;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome {\n margin: 15px;\n position: relative;\n height: calc(100% - 30px);\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-image-container {\n box-shadow: 0 0 33px -7px #CCC inset;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-karyotype-viewpoint-wrapper {\n position: relative;\n height: 70%;\n top: -85%;\n margin: 0 15px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-karyotype-viewpoint {\n background-color: rgba(222, 84, 35, 0.37);\n border: 1px dashed #E6380D;\n box-shadow: 0 0 3px 2px rgba(237, 237, 237, 0.4) inset, 0 0 4px 0 rgba(116, 116, 116, 0.7);\n height: 100%;\n position: absolute;\n z-index: 50;\n cursor: grab;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-e {\n cursor: e-resize;\n height: 100%;\n right: -5px;\n top: 0;\n width: 7px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-w {\n cursor: w-resize;\n height: 100%;\n left: -5px;\n top: 0;\n width: 7px;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .ui-resizable-handle {\n display: block;\n font-size: 0.1px;\n position: absolute;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome .gv-label-container {\n background: transparent;\n box-shadow: none;\n border: none;\n cursor: default;\n width: auto;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container .gv-chromosome .gv-label-container .gv-name {\n color: #000;\n float: none;\n left: 0 !important;\n margin: 0;\n overflow: auto;\n position: relative;\n text-shadow: none;\n width: 100%;\n}\n\n.gv-karyotype-plugin .gv-karyotype-container.gv-no-label .gv-wrapper {\n margin-left: 0;\n}\n"],"names":[],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkgenoverse=self.webpackChunkgenoverse||[]).push([[407,984],{7557:function(t,e,r){var i=r(2459);function n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,o,s=[],l=!0,f=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(s.push(i.value),s.length!==e);l=!0);}catch(t){f=!0,n=t}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(f)throw n}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r<e;r++)i[r]=t[r];return i}e.default={tooltips:function(){var t=this,e=this.jQuery;function r(t,r,i){var n=t.superContainer.offset();r=r||t.superContainer.find(".gv-tooltip"),i=i||e(this).toggleClass("gv-active").hasClass("gv-active")?"show":"hide",r.each(function(){var r=e(this);r.is(":visible")?r.tipsy(i).data("tipsy").$tip.data({parent:r}).appendTo(t.superContainer).css({marginTop:-n.top,marginLeft:-n.left}):r.data("tipsy").$tip&&r.tipsy("hide")})}function i(){var i=e();return[[t.labelContainer.find(".gv-handle"),{gravity:"w",fade:!0,trigger:"manual",fallback:"Reorder tracks by dragging this handle"}],[t.container.find(".gv-resizer"),{gravity:"n",fade:!0,trigger:"manual",fallback:"Resize track by dragging this handle"}]].forEach(function(t){var e=n(t,2),r=e[0],a=e[1],o=r.filter(":visible").first();o.hasClass("gv-tooltip")||(r.filter(".gv-tooltip").removeClass("gv-tooltip").tipsy("hide").removeData("tipsy"),o.tipsy(a).addClass("gv-tooltip")),i=i.add(o)}),t.superContainer.find(".tipsy").not(function(){var r=e(this).data("parent");return r&&t.superContainer.find(r).length}).remove(),t.controlPanel.find(".gv-tooltips").hasClass("gv-active")&&r(t,i,"show"),i}this.controls.push({icon:'<i class="fas fa-question-circle"></i>',class:"gv-tooltips",name:"Tooltips",action:r}),this.on("afterInit",function(){this.superContainer.find(".gv-panel-left .gv-button-set[title]").tipsy({gravity:"w",fade:!0,trigger:"manual"}).addClass("gv-tooltip"),this.superContainer.find(".gv-panel-right .gv-button-set[title]").tipsy({gravity:"e",fade:!0,trigger:"manual"}).addClass("gv-tooltip"),e('<i class="gv-wrapper-tooltip">').prependTo(this.wrapper).tipsy({gravity:"s",fade:!0,trigger:"manual",fallback:"Scroll left and right by dragging with your mouse, click on any feature in any track for more info"}).addClass("gv-tooltip"),i()}),this.on("beforeSetWidth",function(){this.controlPanel.find(".gv-tooltips.gv-active").trigger("click")}),this.on("afterSortTracks",function(){i()}),this.on("afterResize","tracks",function(){i()})},requires:i.default}}}]);
|
|
2
|
+
//# sourceMappingURL=984.genoverse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"984.genoverse.js","mappings":"6nCA+FAA,EAAA,SAAiBC,SAvFF,WACb,IAAMC,EAAYC,KACZC,EAAYD,KAAKC,OAEvB,SAASC,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C,SAASC,KAAK,CACjBC,KAAS,yCACTC,MAAS,cACTC,KAAS,WACT9C,OAASF,IAGXF,KAAKmD,GAAG,YAAa,WACnBnD,KAAKM,eAAeC,KAAK,yCAAyCM,MAAM,CAAEY,QAAS,IAAKC,MAAM,EAAMC,QAAS,WAAYa,SAAS,cAClIxC,KAAKM,eAAeC,KAAK,yCAAyCM,MAAM,CAAEY,QAAS,IAAKC,MAAM,EAAMC,QAAS,WAAYa,SAAS,cAGlIvC,EAAO,kCAAkCmD,UAAUpD,KAAKqD,SAASxC,MAAM,CACrEY,QAAW,IACXC,MAAW,EACXC,QAAW,SACXC,SAAW,uGACVY,SAAS,cAEZjB,GACF,GAEAvB,KAAKmD,GAAG,iBAAkB,WACxBnD,KAAK6C,aAAatC,KAAK,0BAA0BoB,QAAQ,QAC3D,GAEA3B,KAAKmD,GAAG,kBAAyB,WAAQ5B,GAAkB,GAC3DvB,KAAKmD,GAAG,cAAe,SAAU,WAAQ5B,GAAkB,EAC7D,EAEmC+B,SAAUT,EAAAA","sources":["webpack://genoverse/./src/js/plugins/tooltips.js"],"sourcesContent":["// tipsy, facebook style tooltips for jquery\n// version 1.0.0a\n// (c) 2008-2010 jason frame [jason@onehackoranother.com]\n// released under the MIT license\n\nimport '../../css/tooltips.css';\nimport controlPanel from './controlPanel';\n\nconst plugin = function () {\n const genoverse = this;\n const jQuery = this.jQuery;\n\n function toggleTooltips(browser, tooltips, action) {\n const offset = browser.superContainer.offset();\n\n tooltips = tooltips || browser.superContainer.find('.gv-tooltip');\n action = action || jQuery(this).toggleClass('gv-active').hasClass('gv-active') ? 'show' : 'hide';\n\n tooltips.each(function () {\n const el = jQuery(this);\n\n if (el.is(':visible')) {\n el.tipsy(action).data('tipsy').$tip.data({ parent: el }).appendTo(browser.superContainer).css({\n marginTop : -offset.top,\n marginLeft : -offset.left,\n });\n } else if (el.data('tipsy').$tip) {\n el.tipsy('hide');\n }\n });\n }\n\n function updateTooltips() {\n let tooltips = jQuery();\n\n [\n [ genoverse.labelContainer.find('.gv-handle'), { gravity: 'w', fade: true, trigger: 'manual', fallback: 'Reorder tracks by dragging this handle' }],\n [ genoverse.container.find('.gv-resizer'), { gravity: 'n', fade: true, trigger: 'manual', fallback: 'Resize track by dragging this handle' }],\n ].forEach(\n ([ selector, options ]) => {\n const el = selector.filter(':visible').first();\n\n if (!el.hasClass('gv-tooltip')) {\n selector.filter('.gv-tooltip').removeClass('gv-tooltip').tipsy('hide').removeData('tipsy');\n el.tipsy(options).addClass('gv-tooltip');\n }\n\n tooltips = tooltips.add(el);\n }\n );\n\n // Remove any tooltips orphaned by the removal of a track\n genoverse.superContainer.find('.tipsy').not(function () {\n const parent = jQuery(this).data('parent');\n\n return parent && genoverse.superContainer.find(parent).length;\n }).remove();\n\n if (genoverse.controlPanel.find('.gv-tooltips').hasClass('gv-active')) {\n toggleTooltips(genoverse, tooltips, 'show');\n }\n\n return tooltips;\n }\n\n this.controls.push({\n icon : '<i class=\"fas fa-question-circle\"></i>',\n class : 'gv-tooltips',\n name : 'Tooltips',\n action : toggleTooltips,\n });\n\n this.on('afterInit', function () {\n this.superContainer.find('.gv-panel-left .gv-button-set[title]').tipsy({ gravity: 'w', fade: true, trigger: 'manual' }).addClass('gv-tooltip');\n this.superContainer.find('.gv-panel-right .gv-button-set[title]').tipsy({ gravity: 'e', fade: true, trigger: 'manual' }).addClass('gv-tooltip');\n\n // In order to force placement of this tooltip to be inside the superContainer boundaries, and just below the karyotype, create a hidden element, positioned where we want the tooltip to appear\n jQuery('<i class=\"gv-wrapper-tooltip\">').prependTo(this.wrapper).tipsy({\n gravity : 's',\n fade : true,\n trigger : 'manual',\n fallback : 'Scroll left and right by dragging with your mouse, click on any feature in any track for more info',\n }).addClass('gv-tooltip');\n\n updateTooltips();\n });\n\n this.on('beforeSetWidth', function () {\n this.controlPanel.find('.gv-tooltips.gv-active').trigger('click');\n });\n\n this.on('afterSortTracks', () => { updateTooltips(); });\n this.on('afterResize', 'tracks', () => { updateTooltips(); });\n};\n\nexport default { tooltips: plugin, requires: controlPanel };\n"],"names":["__webpack_exports__","tooltips","genoverse","this","jQuery","toggleTooltips","browser","action","offset","superContainer","find","toggleClass","hasClass","each","el","is","tipsy","data","$tip","parent","appendTo","css","marginTop","top","marginLeft","left","updateTooltips","labelContainer","gravity","fade","trigger","fallback","container","forEach","_ref","_ref2","_slicedToArray","selector","options","filter","first","removeClass","removeData","addClass","add","not","length","remove","controlPanel","controls","push","icon","class","name","on","prependTo","wrapper","requires"],"sourceRoot":""}
|