genoverse 3.2.0

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.
Files changed (148) hide show
  1. package/.eslintrc.js +197 -0
  2. package/.github/workflows/test.yml +24 -0
  3. package/LICENSE.TXT +24 -0
  4. package/README.md +11 -0
  5. package/css/controlPanel.css +200 -0
  6. package/css/fileDrop.css +22 -0
  7. package/css/font-awesome.css +3 -0
  8. package/css/fullscreen.css +19 -0
  9. package/css/genoverse.css +466 -0
  10. package/css/karyotype.css +85 -0
  11. package/css/resizer.css +36 -0
  12. package/css/tooltips.css +26 -0
  13. package/css/trackControls.css +111 -0
  14. package/expanded.html +120 -0
  15. package/fontawesome/css/fontawesome.min.css +5 -0
  16. package/fontawesome/css/regular.min.css +5 -0
  17. package/fontawesome/css/solid.min.css +5 -0
  18. package/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  19. package/fontawesome/webfonts/fa-brands-400.woff +0 -0
  20. package/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  21. package/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  22. package/fontawesome/webfonts/fa-regular-400.woff +0 -0
  23. package/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  24. package/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  25. package/fontawesome/webfonts/fa-solid-900.woff +0 -0
  26. package/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  27. package/help.pdf +0 -0
  28. package/i/sort_handle.png +0 -0
  29. package/index.html +68 -0
  30. package/index.js +83 -0
  31. package/jest.config.js +4 -0
  32. package/js/Genoverse.js +1681 -0
  33. package/js/Track/Controller/Sequence.js +17 -0
  34. package/js/Track/Controller/Stranded.js +73 -0
  35. package/js/Track/Controller.js +620 -0
  36. package/js/Track/Model/File/BAM.js +44 -0
  37. package/js/Track/Model/File/BED.js +116 -0
  38. package/js/Track/Model/File/GFF.js +40 -0
  39. package/js/Track/Model/File/VCF.js +101 -0
  40. package/js/Track/Model/File/WIG.js +67 -0
  41. package/js/Track/Model/File.js +36 -0
  42. package/js/Track/Model/Gene/Ensembl.js +22 -0
  43. package/js/Track/Model/Gene.js +5 -0
  44. package/js/Track/Model/Sequence/Ensembl.js +4 -0
  45. package/js/Track/Model/Sequence/Fasta.js +60 -0
  46. package/js/Track/Model/Sequence.js +50 -0
  47. package/js/Track/Model/SequenceVariation.js +41 -0
  48. package/js/Track/Model/Stranded.js +28 -0
  49. package/js/Track/Model/Transcript/Ensembl.js +67 -0
  50. package/js/Track/Model/Transcript.js +5 -0
  51. package/js/Track/Model.js +303 -0
  52. package/js/Track/View/Gene/Ensembl.js +46 -0
  53. package/js/Track/View/Gene.js +6 -0
  54. package/js/Track/View/Sequence/Variation.js +115 -0
  55. package/js/Track/View/Sequence.js +63 -0
  56. package/js/Track/View/Transcript/Ensembl.js +12 -0
  57. package/js/Track/View/Transcript.js +28 -0
  58. package/js/Track/View.js +566 -0
  59. package/js/Track/library/Chromosome.js +145 -0
  60. package/js/Track/library/File/BAM.js +30 -0
  61. package/js/Track/library/File/BED.js +24 -0
  62. package/js/Track/library/File/BIGBED.js +47 -0
  63. package/js/Track/library/File/BIGWIG.js +52 -0
  64. package/js/Track/library/File/GFF.js +9 -0
  65. package/js/Track/library/File/VCF.js +71 -0
  66. package/js/Track/library/File/WIG.js +5 -0
  67. package/js/Track/library/File.js +10 -0
  68. package/js/Track/library/Gene.js +37 -0
  69. package/js/Track/library/Graph/Bar.js +235 -0
  70. package/js/Track/library/Graph/Line.js +296 -0
  71. package/js/Track/library/Graph.js +355 -0
  72. package/js/Track/library/HighlightRegion.js +292 -0
  73. package/js/Track/library/Legend.js +224 -0
  74. package/js/Track/library/Scalebar.js +227 -0
  75. package/js/Track/library/Scaleline.js +91 -0
  76. package/js/Track/library/Static.js +78 -0
  77. package/js/Track/library/dbSNP.js +142 -0
  78. package/js/Track.js +632 -0
  79. package/js/genomes/grch37.js +990 -0
  80. package/js/genomes/grch38.js +990 -0
  81. package/js/genoverse.min.js +2 -0
  82. package/js/genoverse.min.js.map +1 -0
  83. package/js/lib/BWReader.js +578 -0
  84. package/js/lib/Base.js +145 -0
  85. package/js/lib/VCFReader.js +286 -0
  86. package/js/lib/dalliance/js/bam.js +494 -0
  87. package/js/lib/dalliance/js/bin.js +185 -0
  88. package/js/lib/dalliance/js/das.js +749 -0
  89. package/js/lib/dalliance/js/utils.js +370 -0
  90. package/js/lib/dalliance-lib.js +3594 -0
  91. package/js/lib/dalliance-lib.min.js +68 -0
  92. package/js/lib/jDataView.js +2 -0
  93. package/js/lib/jParser.js +192 -0
  94. package/js/lib/jquery-ui.js +8 -0
  95. package/js/lib/jquery.js +2 -0
  96. package/js/lib/jquery.mousehold.js +53 -0
  97. package/js/lib/jquery.mousewheel.js +84 -0
  98. package/js/lib/jquery.tipsy.js +258 -0
  99. package/js/lib/rtree.js +1 -0
  100. package/js/plugins/controlPanel.js +395 -0
  101. package/js/plugins/fileDrop.js +62 -0
  102. package/js/plugins/focusRegion.js +12 -0
  103. package/js/plugins/fullscreen.js +77 -0
  104. package/js/plugins/karyotype.js +210 -0
  105. package/js/plugins/resizer.js +45 -0
  106. package/js/plugins/tooltips.js +94 -0
  107. package/js/plugins/trackControls.js +143 -0
  108. package/package.json +43 -0
  109. package/test/View/__snapshots__/render-bar-graph.test.js.snap +111 -0
  110. package/test/View/__snapshots__/render-blocks.test.js.snap +105 -0
  111. package/test/View/__snapshots__/render-chromosome.test.js.snap +5 -0
  112. package/test/View/__snapshots__/render-highlights.test.js.snap +73 -0
  113. package/test/View/__snapshots__/render-insert-variants.test.js.snap +9 -0
  114. package/test/View/__snapshots__/render-labels.test.js.snap +241 -0
  115. package/test/View/__snapshots__/render-legends.test.js.snap +13 -0
  116. package/test/View/__snapshots__/render-line-graph.test.js.snap +349 -0
  117. package/test/View/__snapshots__/render-scalebar.test.js.snap +49 -0
  118. package/test/View/__snapshots__/render-scaleline.test.js.snap +31 -0
  119. package/test/View/__snapshots__/render-sequence.test.js.snap +23 -0
  120. package/test/View/__snapshots__/render-stranded.test.js.snap +5 -0
  121. package/test/View/__snapshots__/render-transcripts.test.js.snap +193 -0
  122. package/test/View/render-bar-graph.test.js +87 -0
  123. package/test/View/render-blocks.test.js +171 -0
  124. package/test/View/render-chromosome.test.js +40 -0
  125. package/test/View/render-highlights.test.js +67 -0
  126. package/test/View/render-insert-variants.test.js +11 -0
  127. package/test/View/render-labels.test.js +266 -0
  128. package/test/View/render-legends.test.js +31 -0
  129. package/test/View/render-line-graph.test.js +169 -0
  130. package/test/View/render-scalebar.test.js +36 -0
  131. package/test/View/render-scaleline.test.js +28 -0
  132. package/test/View/render-sequence.test.js +49 -0
  133. package/test/View/render-stranded.test.js +10 -0
  134. package/test/View/render-transcripts.test.js +165 -0
  135. package/test/create-and-destroy.test.js +63 -0
  136. package/test/track-ordering.test.js +514 -0
  137. package/test/track_config/__snapshots__/config-settings.test.js.snap +23 -0
  138. package/test/track_config/config-settings.test.js +321 -0
  139. package/test/track_config/zoom-level-settings.test.js +98 -0
  140. package/test/utils.js +80 -0
  141. package/utils/createGenome.js +52 -0
  142. package/utils/devServer.js +36 -0
  143. package/utils/expandedTemplate.html +46 -0
  144. package/utils/git-hooks/post-commit +9 -0
  145. package/utils/git-hooks/pre-commit +7 -0
  146. package/utils/git-hooks/setup +6 -0
  147. package/utils/makeExpanded.js +19 -0
  148. package/webpack.config.js +39 -0
package/.eslintrc.js ADDED
@@ -0,0 +1,197 @@
1
+ const noRestrictedProperies = require('eslint-config-airbnb-base/rules/best-practices').rules['no-restricted-properties'].filter(
2
+ rule => !(
3
+ // Disable options which force code that doesn't work in IE11
4
+ (rule.object === 'Math' && rule.property === 'pow') ||
5
+ (rule.object === 'window' && rule.property === 'isNaN')
6
+ )
7
+ );
8
+
9
+ module.exports = {
10
+ env: {
11
+ browser : true,
12
+ jquery : true
13
+ },
14
+ extends : [
15
+ 'airbnb-base',
16
+ ],
17
+ globals: {
18
+ Base : true,
19
+ Genoverse : true,
20
+ RTree : true,
21
+ dallianceLib : true,
22
+ VCFReader : true,
23
+ BWReader : true
24
+ },
25
+ ignorePatterns: [
26
+ '.eslintrc.js',
27
+ 'node_modules',
28
+ 'index.js',
29
+ '**/*.min.js',
30
+ 'js/lib/**/*.js'
31
+ ],
32
+ overrides: [
33
+ {
34
+ files : [ 'js/**/*.js' ],
35
+ plugins : [ 'es' ],
36
+ extends : [
37
+ 'airbnb-base',
38
+ 'plugin:es/no-new-in-es2018',
39
+ 'plugin:es/no-new-in-es2017',
40
+ 'plugin:es/no-new-in-es2016',
41
+ 'plugin:es/no-new-in-es2015'
42
+ ],
43
+ parserOptions: {
44
+ parser : 'espree',
45
+ ecmaVersion : 5,
46
+ sourceType : 'script'
47
+ },
48
+ rules: {
49
+ 'linebreak-style' : [ 'error', 'unix' ],
50
+ 'comma-dangle' : [ 'error', 'never' ],
51
+ 'quotes' : [ 'warn', 'single', { avoidEscape: true }], // be more permissive than airbnb - allow 'double quotes containing 'singles''
52
+ 'object-shorthand' : [ 'error', 'never' ],
53
+ 'array-bracket-spacing' : [ 'warn', 'always', {
54
+ objectsInArrays : false,
55
+ arraysInArrays : false
56
+ }],
57
+ 'object-curly-newline': [ 'error', {
58
+ ObjectExpression : { multiline: true, consistent: true },
59
+ ObjectPattern : { multiline: true, consistent: true }
60
+ }],
61
+ 'key-spacing': [ 'error', {
62
+ singleLine : { beforeColon: false, afterColon: true },
63
+ multiLine : { beforeColon: false, afterColon: true },
64
+ align : { beforeColon: true, afterColon: true, on: 'colon' },
65
+ }],
66
+ 'quote-props' : 'off',
67
+ 'no-multi-spaces' : 'off',
68
+ 'prefer-destructuring' : 'off',
69
+ 'no-prototype-builtins' : 'off',
70
+ 'no-nested-ternary' : 'off',
71
+ 'no-plusplus' : 'off',
72
+ 'template-curly-spacing' : 'off',
73
+ 'no-var' : 'off',
74
+ 'one-var' : 'off',
75
+ 'one-var-declaration-per-line' : 'off',
76
+ 'vars-on-top' : 'off',
77
+ 'func-names' : 'off',
78
+ 'prefer-arrow-callback' : 'off',
79
+ 'prefer-spread' : 'off',
80
+ 'prefer-template' : 'off',
81
+ 'prefer-rest-params' : 'off',
82
+ 'no-param-reassign' : 'off',
83
+ 'no-multi-assign' : 'off',
84
+ 'no-underscore-dangle' : 'off',
85
+ 'no-empty' : 'off',
86
+ 'switch-colon-spacing' : 'off',
87
+ 'max-len' : 'off',
88
+ 'no-continue' : 'off',
89
+ 'consistent-return' : 'off',
90
+ 'operator-linebreak' : 'off',
91
+ 'guard-for-in' : 'off',
92
+ 'no-restricted-syntax' : 'off',
93
+ 'no-restricted-globals' : 'off',
94
+ 'function-paren-newline' : 'off',
95
+ 'no-fallthrough' : 'off',
96
+ 'no-bitwise' : 'off',
97
+ 'no-cond-assign' : 'off',
98
+ 'no-new' : 'off',
99
+ 'newline-per-chained-call' : 'off',
100
+ 'prefer-exponentiation-operator' : 'off',
101
+ 'no-restricted-properties' : noRestrictedProperies
102
+ }
103
+ },
104
+ {
105
+ files : [ '**/*.js' ],
106
+ excludedFiles: 'js/**/*.js',
107
+ env : {
108
+ es6: true,
109
+ },
110
+ plugins : [ 'align-assignments' ],
111
+ globals : {
112
+ jest : true,
113
+ describe : true,
114
+ it : true,
115
+ expect : true,
116
+ fail : true,
117
+ beforeAll : true,
118
+ afterAll : true,
119
+ afterEach : true,
120
+ beforeEach : true,
121
+ },
122
+ rules: {
123
+ 'align-assignments/align-assignments' : [ 'error', { requiresOnly: false }],
124
+ 'padding-line-between-statements' : [
125
+ 'error', ...[
126
+ [ '*', [ 'multiline-block-like', 'return', 'break', 'export', 'throw', 'cjs-export' ]],
127
+ [ '*', [ 'cjs-import', 'import', 'const', 'let', 'var' ]],
128
+ [[ 'multiline-block-like', 'return', 'break', 'export', 'throw', 'cjs-export' ], '*' ],
129
+ [[ 'cjs-import', 'import', 'const', 'let', 'var' ], '*' ],
130
+ [ 'cjs-import', 'cjs-import', 'any' ],
131
+ [ 'import', 'import', 'any' ],
132
+ [ 'singleline-const', 'const', 'any' ],
133
+ [ 'singleline-let', 'let', 'any' ],
134
+ [ 'singleline-var', 'var', 'any' ],
135
+ [ 'expression', 'expression', 'any' ],
136
+ ].map(
137
+ ([ prev, next = '*', blankLine = 'always' ]) => ({ prev, next, blankLine })
138
+ ),
139
+ ],
140
+ 'max-len' : 'off',
141
+ 'no-multi-spaces' : 'off',
142
+ 'no-multi-assign' : 'off',
143
+ 'no-nested-ternary' : 'off',
144
+ 'no-prototype-builtins' : 'off',
145
+ 'no-plusplus' : 'off',
146
+ 'operator-linebreak' : 'off',
147
+ 'prefer-destructuring' : 'off',
148
+ 'quote-props' : 'off',
149
+ 'template-curly-spacing' : 'off',
150
+ 'yoda' : 'off',
151
+ 'no-underscore-dangle' : 'off',
152
+ 'newline-per-chained-call' : 'off',
153
+ 'default-param-last' : 'off',
154
+ 'no-promise-executor-return' : 'off',
155
+ 'no-continue' : 'off',
156
+ 'no-fallthrough' : 'off',
157
+ 'no-bitwise' : 'off',
158
+ 'func-names' : 'off',
159
+ 'no-param-reassign' : 'off',
160
+
161
+ 'array-bracket-spacing' : [ 'warn', 'always', { objectsInArrays: false, arraysInArrays: false }],
162
+ 'quotes' : [ 'warn', 'single', { avoidEscape: true }],
163
+
164
+ 'arrow-parens' : [ 'error', 'as-needed', { requireForBlockBody: true }],
165
+ 'function-paren-newline' : [ 'error', 'consistent' ],
166
+ 'function-call-argument-newline' : [ 'error', 'consistent' ],
167
+ 'linebreak-style' : [ 'error', 'unix' ],
168
+ 'object-shorthand' : [ 'error', 'consistent' ],
169
+
170
+ 'comma-dangle': [ 'error', {
171
+ arrays : 'always-multiline',
172
+ objects : 'always-multiline',
173
+ imports : 'always-multiline',
174
+ exports : 'always-multiline',
175
+ functions : 'never',
176
+ }],
177
+ 'key-spacing': [ 'error', {
178
+ singleLine : { beforeColon: false, afterColon: true },
179
+ multiLine : { beforeColon: false, afterColon: true },
180
+ align : { beforeColon: true, afterColon: true, on: 'colon' },
181
+ }],
182
+ 'object-curly-newline': [ 'error', {
183
+ ObjectExpression : { multiline: true, consistent: true },
184
+ ObjectPattern : { multiline: true, consistent: true },
185
+ }],
186
+ 'import/no-extraneous-dependencies' : [ 'error' ],
187
+ 'import/order' : [ 'error', {
188
+ alphabetize : { order: 'asc' },
189
+ groups : [ 'builtin', 'external', 'internal', 'parent', 'sibling' ],
190
+ }],
191
+
192
+ 'no-restricted-globals' : [ 'error', 'event', 'isFinite' ],
193
+ 'no-restricted-properties' : noRestrictedProperies,
194
+ }
195
+ },
196
+ ]
197
+ };
@@ -0,0 +1,24 @@
1
+ name: test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - gh-pages
7
+ - master
8
+ jobs:
9
+ test:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ node-version: [14.x]
16
+
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: npm install and test
20
+ uses: actions/setup-node@v1
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ - run: npm install
24
+ - run: npm test
package/LICENSE.TXT ADDED
@@ -0,0 +1,24 @@
1
+ Copyright (c) 2011 Genome Research Ltd.
2
+ Author: Evgeny Bragin
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ 1. Redistributions of source code must retain the above copyright notice,
7
+ this list of conditions and the following disclaimer.
8
+ 2. Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+ 3. Neither the names Genome Research Ltd and Wellcome Trust Sanger
12
+ Institute nor the names of its contributors may be used to endorse or promote
13
+ products derived from this software without specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY GENOME RESEARCH LTD AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL GENOME RESEARCH LTD OR CONTRIBUTORS BE LIABLE
19
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # Genoverse [![Build Status](https://github.com/wtsi-web/Genoverse/actions/workflows/test.yml/badge.svg)](https://github.com/wtsi-web/Genoverse/actions)
2
+
3
+ Genoverse is a portable, customizable, back-end independent JavaScript and HTML5 based genome browser which allows the user to explore data in a dynamic and interactive manner.
4
+
5
+ Data is visualized in the browser, meaning Genoverse can be installed on any website and show data from a wide range of online or local sources.
6
+
7
+ Genoverse works with a variety of formats, such as XML, JSON, BED, VCF, GFF, GFF3 or delimited text files, and can be customized to parse and display any data source as required.
8
+
9
+ If you have any questions, please raise an issue at https://github.com/wtsi-web/Genoverse
10
+
11
+ Example: https://wtsi-web.github.io/Genoverse/
@@ -0,0 +1,200 @@
1
+ .gv-control-panel-plugin table.gv {
2
+ position: relative;
3
+ margin-bottom: 30px;
4
+ border-collapse: separate;
5
+ }
6
+
7
+ .gv-control-panel-plugin table.gv td {
8
+ padding: 0;
9
+ color: white;
10
+ vertical-align: top;
11
+ }
12
+
13
+ .gv-control-panel-plugin .gv-panel {
14
+ height: 100%;
15
+ background-color: #5F8CB0;
16
+ border: 1px solid #1C5380;
17
+ 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);
18
+ }
19
+
20
+ .gv-control-panel-plugin .gv-panel div {
21
+ white-space: nowrap;
22
+ }
23
+
24
+ .gv-control-panel-plugin .gv-panel button {
25
+ background: none;
26
+ border: none;
27
+ border-bottom: 1px solid #1C5380;
28
+ color: #E2E9EF;
29
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.75);
30
+ width: 30px;
31
+ height: 50px;
32
+ font-family: inherit;
33
+ font-size: 18px;
34
+ line-height: 20px;
35
+ padding: 2px;
36
+ margin: 0;
37
+ }
38
+
39
+ .gv-control-panel-plugin .gv-panel button:only-child {
40
+ width: 100%;
41
+ }
42
+
43
+ .gv-control-panel-plugin .gv-panel div.gv-button-set > button:not(:first-child) {
44
+ border-left: 1px solid #1C5380;
45
+ }
46
+
47
+ .gv-control-panel-plugin .gv-panel button.gv-button-large {
48
+ font-size: 25px;
49
+ }
50
+
51
+ .gv-control-panel-plugin .gv-panel div.gv-button-set:not(:first-child) > button {
52
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.12) inset;
53
+ }
54
+
55
+ .gv-control-panel-plugin .gv-panel div.gv-button-set:last-child {
56
+ box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
57
+ }
58
+
59
+ .gv-control-panel-plugin .gv-panel button:hover {
60
+ background-color: rgba(255, 255, 255, 0.1);
61
+ color: #FFFFFF;
62
+ cursor: pointer;
63
+ }
64
+
65
+ .gv-control-panel-plugin .gv-panel button:active,
66
+ .gv-control-panel-plugin .gv-panel button.gv-active {
67
+ border-top: none;
68
+ background-color: rgba(6, 54, 95, 0.35);
69
+ box-shadow: 0 0 1px rgba(6, 54, 95, 0.8) inset !important;
70
+ }
71
+
72
+ .gv-control-panel-plugin .gv-panel-right {
73
+ background-image: -webkit-linear-gradient(left, #5F8CB0, #4A7496);
74
+ background-image: -moz-linear-gradient(left center, #5F8CB0, #4A7496);
75
+ border-radius: 0 5px 5px 0;
76
+ border-left: 0;
77
+ }
78
+
79
+ .gv-control-panel-plugin .gv-panel-right button.gv-wheel-zoom {
80
+ font-weight: bold;
81
+ }
82
+
83
+ .gv-control-panel-plugin .gv-panel-right button.gv-drag-select i {
84
+ border: 1px dashed #FFF;
85
+ padding: 0 5px;
86
+ box-shadow: 0px 0px 1px #FFF inset, 0px 1px 3px rgba(0, 0, 0, 0.1), 2px 2px rgba(0, 0, 0, 0.2);
87
+ }
88
+
89
+ .gv-control-panel-plugin .gv-panel-left {
90
+ background-image: -webkit-linear-gradient(right, #5F8CB0, #4A7496);
91
+ background-image: -moz-linear-gradient(right center, #5F8CB0, #4A7496);
92
+ border-radius: 5px 0 0 5px;
93
+ border-right: 0;
94
+ }
95
+
96
+ .gv-control-panel-plugin .gv-panel-left .gv-label-container {
97
+ border: 0;
98
+ box-shadow: none;
99
+ background: none;
100
+ }
101
+
102
+ .gv-control-panel-plugin td.gv-canvas-container {
103
+ border: 1px solid #000;
104
+ }
105
+
106
+ .gv-control-panel-plugin .gv-karyotype-container {
107
+ border-width: 0 0 1px!important;
108
+ }
109
+
110
+ .gv-control-panel-plugin .gv-canvas-container .gv-wrapper {
111
+ border: 0;
112
+ }
113
+
114
+ .gv-control-panel-plugin .gv-tracks-menu {
115
+ top: 70px;
116
+ }
117
+
118
+ .gv-control-panel-plugin .gv-tracks-menu .gv-close {
119
+ font-size: 20px;
120
+ }
121
+
122
+ .gv-control-panel-plugin .gv-tracks-menu .gv-menu-content {
123
+ font-size: 13px;
124
+ }
125
+
126
+ .gv-control-panel-plugin .gv-tracks-menu table {
127
+ margin: 0 0 10px;
128
+ }
129
+
130
+ .gv-control-panel-plugin .gv-tracks-menu td {
131
+ padding: 5px 10px!important;
132
+ vertical-align: top;
133
+ width: 50%;
134
+ }
135
+
136
+ .gv-control-panel-plugin .gv-tracks-menu tr:first-child td {
137
+ font-weight: bold;
138
+ white-space: nowrap;
139
+ padding: 5px 30px 5px 10px;
140
+ margin-bottom: 5px;
141
+ background: rgba(6, 54, 95, 0.35);
142
+ line-height: normal;
143
+ }
144
+
145
+ .gv-control-panel-plugin .gv-tracks-menu tr:first-child td:last-child {
146
+ border-radius: 0 12px 0 0;
147
+ }
148
+
149
+ .gv-control-panel-plugin .gv-tracks-menu tr td:first-child {
150
+ padding-right: 50px!important;
151
+ }
152
+
153
+ .gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks.ui-sortable {
154
+ cursor: move;
155
+ }
156
+
157
+ .gv-control-panel-plugin .gv-tracks-menu .gv-current-tracks-instructions {
158
+ font-style: italic;
159
+ margin-bottom: 10px;
160
+ }
161
+
162
+ .gv-control-panel-plugin .gv-tracks-menu .gv-remove-track,
163
+ .gv-control-panel-plugin .gv-tracks-menu .gv-add-track {
164
+ font-size: 14px;
165
+ margin: 2px 5px 0 0;
166
+ }
167
+
168
+ .gv-control-panel-plugin .gv-tracks-menu input {
169
+ margin-bottom: 10px;
170
+ width: 200px;
171
+ }
172
+
173
+ .gv-control-panel-plugin .gv-tracks-menu .gv-tracks-menu-reset {
174
+ font-style: italic;
175
+ margin-top: 10px;
176
+ }
177
+
178
+ .gv-control-panel-plugin .gv-tracks-library-category {
179
+ margin-bottom: 10px;
180
+ }
181
+
182
+ .gv-control-panel-plugin .gv-tracks-library-category:last-child {
183
+ margin-bottom: 0px;
184
+ }
185
+
186
+ .gv-control-panel-plugin .gv-tracks-library-category .gv-tracks-library-category-header {
187
+ font-weight: bold;
188
+ }
189
+
190
+ .gv-control-panel-plugin .gv-powered-by {
191
+ position: absolute;
192
+ right: 0;
193
+ bottom: -16px;
194
+ font-size: 10px;
195
+ color: black;
196
+ }
197
+
198
+ .gv-control-panel-plugin .gv-powered-by a {
199
+ font-weight: bold;
200
+ }
@@ -0,0 +1,22 @@
1
+ .gv-file-drop {
2
+ position: absolute;
3
+ display: block;
4
+ background-color: rgba(255,255,255,0.7);
5
+ border: 10px dashed rgb(111,111,111);
6
+ border-radius: 11px;
7
+ z-index: 10;
8
+ right: 0;
9
+ bottom: 0;
10
+ top: 0;
11
+ left: 0;
12
+ }
13
+
14
+ .gv-file-drop-total-overlay {
15
+ display: block;
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ height: 100%;
20
+ width: 100%;
21
+ z-index: 1000000;
22
+ }
@@ -0,0 +1,3 @@
1
+ @import url(../fontawesome/css/fontawesome.min.css);
2
+ @import url(../fontawesome/css/regular.min.css);
3
+ @import url(../fontawesome/css/solid.min.css);
@@ -0,0 +1,19 @@
1
+ .genoverse.gv-fullscreen {
2
+ overflow-y: scroll;
3
+ }
4
+
5
+ .genoverse.gv-fullscreen table.gv {
6
+ background: #FFF;
7
+ margin-bottom: 0;
8
+ }
9
+
10
+ .genoverse.gv-fullscreen .gv-powered-by {
11
+ display: none;
12
+ }
13
+
14
+ .gv-control-panel-plugin .gv-panel-right .gv-fullscreen-button i {
15
+ width: 30px;
16
+ padding: 5px;
17
+ border: 1px solid #FFF;
18
+ box-shadow: 0px 0px 1px #FFF inset, 0px 1px 3px rgba(0, 0, 0, 0.1), 2px 2px rgba(0, 0, 0, 0.2);
19
+ }