molstar 3.31.2 → 3.31.4
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/LICENSE +20 -20
- package/README.md +202 -202
- package/build/viewer/embedded.html +52 -52
- package/build/viewer/index.html +115 -115
- package/build/viewer/molstar.js +1 -1
- package/lib/apps/docking-viewer/index.html +36 -36
- package/lib/apps/viewer/embedded.html +52 -52
- package/lib/apps/viewer/index.html +115 -115
- package/lib/commonjs/extensions/meshes/mesh-extension.d.ts +4 -2
- package/lib/commonjs/extensions/meshes/mesh-streaming/behavior.d.ts +2 -0
- package/lib/commonjs/mol-canvas3d/canvas3d.js +2 -1
- package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
- package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/commonjs/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/commonjs/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/commonjs/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/commonjs/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/commonjs/mol-math/linear-algebra/matrix/principal-axes.js +1 -1
- package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/commonjs/mol-plugin/context.js +1 -0
- package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -1
- package/lib/commonjs/mol-repr/structure/visual/util/link.d.ts +1 -0
- package/lib/commonjs/mol-repr/structure/visual/util/link.js +27 -9
- package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
- package/lib/commonjs/mol-util/data-source.js +2 -1
- package/lib/examples/alpha-orbitals/index.html +72 -72
- package/lib/examples/basic-wrapper/index.html +137 -137
- package/lib/examples/lighting/index.html +88 -88
- package/lib/examples/proteopedia-wrapper/index.html +236 -236
- package/lib/extensions/meshes/mesh-extension.d.ts +4 -2
- package/lib/extensions/meshes/mesh-streaming/behavior.d.ts +2 -0
- package/lib/mol-canvas3d/canvas3d.js +2 -1
- package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +1 -1
- package/lib/mol-geo/geometry/lines/lines.d.ts +0 -1
- package/lib/mol-geo/geometry/points/points.d.ts +1 -1
- package/lib/mol-gl/shader/cylinders.vert.d.ts +2 -2
- package/lib/mol-gl/shader/cylinders.vert.js +2 -2
- package/lib/mol-gl/shader/spheres.vert.d.ts +2 -2
- package/lib/mol-gl/shader/spheres.vert.js +2 -2
- package/lib/mol-math/linear-algebra/matrix/principal-axes.js +1 -1
- package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
- package/lib/mol-plugin/context.js +1 -0
- package/lib/mol-plugin/version.js +2 -2
- package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
- package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
- package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
- package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
- package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
- package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
- package/lib/mol-plugin-ui/skin/base/components/misc.scss +663 -663
- package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
- package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
- package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
- package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
- package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
- package/lib/mol-plugin-ui/skin/base/components/viewport.scss +137 -137
- package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
- package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
- package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
- package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
- package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
- package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
- package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
- package/lib/mol-plugin-ui/skin/base/variables.scss +88 -88
- package/lib/mol-plugin-ui/skin/blue.scss +1 -1
- package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
- package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
- package/lib/mol-plugin-ui/skin/dark.scss +1 -1
- package/lib/mol-plugin-ui/skin/light.scss +1 -1
- package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.js +2 -1
- package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.js +2 -1
- package/lib/mol-repr/structure/visual/util/link.d.ts +1 -0
- package/lib/mol-repr/structure/visual/util/link.js +27 -9
- package/lib/mol-script/language/builder.d.ts +1 -0
- package/lib/mol-util/data-source.js +2 -1
- package/package.json +178 -177
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
.msp-help-row {
|
|
3
|
-
position: relative;
|
|
4
|
-
height: $row-height;
|
|
5
|
-
background: $default-background;
|
|
6
|
-
margin-top: 1px;
|
|
7
|
-
display: table;
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
> span {
|
|
11
|
-
width: $control-label-width + $control-spacing;
|
|
12
|
-
text-align: right;
|
|
13
|
-
padding: $info-vertical-padding $control-spacing;
|
|
14
|
-
color: color-lower-contrast($font-color, 15%);
|
|
15
|
-
display: table-cell;
|
|
16
|
-
font-weight: bold;
|
|
17
|
-
|
|
18
|
-
@include non-selectable;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
> div {
|
|
22
|
-
background: $msp-form-control-background;
|
|
23
|
-
position: relative;
|
|
24
|
-
padding: $info-vertical-padding $control-spacing;
|
|
25
|
-
display: table-cell;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
|
|
2
|
+
.msp-help-row {
|
|
3
|
+
position: relative;
|
|
4
|
+
height: $row-height;
|
|
5
|
+
background: $default-background;
|
|
6
|
+
margin-top: 1px;
|
|
7
|
+
display: table;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
> span {
|
|
11
|
+
width: $control-label-width + $control-spacing;
|
|
12
|
+
text-align: right;
|
|
13
|
+
padding: $info-vertical-padding $control-spacing;
|
|
14
|
+
color: color-lower-contrast($font-color, 15%);
|
|
15
|
+
display: table-cell;
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
|
|
18
|
+
@include non-selectable;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> div {
|
|
22
|
+
background: $msp-form-control-background;
|
|
23
|
+
position: relative;
|
|
24
|
+
padding: $info-vertical-padding $control-spacing;
|
|
25
|
+
display: table-cell;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
.msp-canvas {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
background-color: #f3f2ee;
|
|
5
|
-
|
|
6
|
-
text {
|
|
7
|
-
-webkit-touch-callout: none; /* iOS Safari */
|
|
8
|
-
-webkit-user-select: none; /* Safari */
|
|
9
|
-
-khtml-user-select: none; /* Konqueror HTML */
|
|
10
|
-
-moz-user-select: none; /* Firefox */
|
|
11
|
-
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
12
|
-
user-select: none; /* Non-prefixed version, currently
|
|
13
|
-
supported by Chrome and Opera */
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
circle {
|
|
17
|
-
stroke: black;
|
|
18
|
-
stroke-width: 10;
|
|
19
|
-
stroke-opacity: .3;
|
|
20
|
-
|
|
21
|
-
&:hover {
|
|
22
|
-
fill: #ae5d04;
|
|
23
|
-
stroke: black;
|
|
24
|
-
stroke-width: 10px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.info {
|
|
29
|
-
fill: white;
|
|
30
|
-
stroke: black;
|
|
31
|
-
stroke-width: 3;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.show {
|
|
35
|
-
visibility: visible;
|
|
36
|
-
}
|
|
37
|
-
.hide {
|
|
38
|
-
visibility: hidden;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.delete-button {
|
|
42
|
-
rect {
|
|
43
|
-
fill: #ED4337;
|
|
44
|
-
stroke: black;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
text {
|
|
48
|
-
stroke: white;
|
|
49
|
-
fill: white;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&:hover {
|
|
53
|
-
stroke: black;
|
|
54
|
-
stroke-width: 3;
|
|
55
|
-
fill: #ff6961;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.infoCircle {
|
|
60
|
-
&:hover {
|
|
61
|
-
fill: #4c66b2;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.msp-canvas:focus {
|
|
67
|
-
outline: none;
|
|
1
|
+
.msp-canvas {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
background-color: #f3f2ee;
|
|
5
|
+
|
|
6
|
+
text {
|
|
7
|
+
-webkit-touch-callout: none; /* iOS Safari */
|
|
8
|
+
-webkit-user-select: none; /* Safari */
|
|
9
|
+
-khtml-user-select: none; /* Konqueror HTML */
|
|
10
|
+
-moz-user-select: none; /* Firefox */
|
|
11
|
+
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
12
|
+
user-select: none; /* Non-prefixed version, currently
|
|
13
|
+
supported by Chrome and Opera */
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
circle {
|
|
17
|
+
stroke: black;
|
|
18
|
+
stroke-width: 10;
|
|
19
|
+
stroke-opacity: .3;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
fill: #ae5d04;
|
|
23
|
+
stroke: black;
|
|
24
|
+
stroke-width: 10px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.info {
|
|
29
|
+
fill: white;
|
|
30
|
+
stroke: black;
|
|
31
|
+
stroke-width: 3;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.show {
|
|
35
|
+
visibility: visible;
|
|
36
|
+
}
|
|
37
|
+
.hide {
|
|
38
|
+
visibility: hidden;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.delete-button {
|
|
42
|
+
rect {
|
|
43
|
+
fill: #ED4337;
|
|
44
|
+
stroke: black;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
text {
|
|
48
|
+
stroke: white;
|
|
49
|
+
fill: white;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:hover {
|
|
53
|
+
stroke: black;
|
|
54
|
+
stroke-width: 3;
|
|
55
|
+
fill: #ff6961;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.infoCircle {
|
|
60
|
+
&:hover {
|
|
61
|
+
fill: #4c66b2;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.msp-canvas:focus {
|
|
67
|
+
outline: none;
|
|
68
68
|
}
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
.msp-log-wrap {
|
|
3
|
-
position: absolute;
|
|
4
|
-
right: 0;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
bottom: 0;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.msp-log {
|
|
12
|
-
position: absolute;
|
|
13
|
-
right: -20px;
|
|
14
|
-
top: 0;
|
|
15
|
-
left: 0;
|
|
16
|
-
bottom: 0;
|
|
17
|
-
overflow-y: scroll;
|
|
18
|
-
overflow-x: hidden;
|
|
19
|
-
font-size: 90%;
|
|
20
|
-
background: $control-background;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.msp-log {
|
|
24
|
-
font-size: 90%;
|
|
25
|
-
|
|
26
|
-
ul {
|
|
27
|
-
padding: 0;
|
|
28
|
-
margin: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
color: $log-font-color;
|
|
32
|
-
|
|
33
|
-
li {
|
|
34
|
-
clear: both;
|
|
35
|
-
margin: 0;
|
|
36
|
-
background: $default-background;
|
|
37
|
-
position: relative;
|
|
38
|
-
|
|
39
|
-
&:not(:last-child) {
|
|
40
|
-
border-bottom: 1px solid $border-color;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
.msp-log-entry {
|
|
46
|
-
margin-left: $control-label-width;
|
|
47
|
-
background: color-lower-contrast($control-background, 5%);
|
|
48
|
-
padding: $info-vertical-padding ($control-spacing + 15px) $info-vertical-padding $control-spacing ;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.msp-log-timestamp {
|
|
52
|
-
padding: $info-vertical-padding $control-spacing $info-vertical-padding $control-spacing;
|
|
53
|
-
float: left;
|
|
54
|
-
text-align: right;
|
|
55
|
-
width: $control-label-width;
|
|
56
|
-
color: $log-timestamp-font-color;
|
|
57
|
-
//vertical-align: baseline;
|
|
58
|
-
//line-height: $row-height;
|
|
59
|
-
font-size: 100%;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.msp-log-timestamp small {
|
|
63
|
-
font-size: 100%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// .msp-log hr {
|
|
68
|
-
// border-color: $separator-color;
|
|
69
|
-
// margin: 3px 3px 0 5px;
|
|
70
|
-
// }
|
|
71
|
-
|
|
72
|
-
.msp-log .label {
|
|
73
|
-
margin-top: -3px;
|
|
74
|
-
font-size: 7pt;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.msp-log-entry-badge {
|
|
78
|
-
position: absolute;
|
|
79
|
-
left: 0;
|
|
80
|
-
top: 0;
|
|
81
|
-
bottom: 0;
|
|
82
|
-
width: 6px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.msp-log-entry-message {
|
|
86
|
-
background: $log-message;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.msp-log-entry-info {
|
|
90
|
-
background: $log-info;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.msp-log-entry-error {
|
|
94
|
-
background: $log-error;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.msp-log-entry-warning {
|
|
98
|
-
background: $log-warning;
|
|
99
|
-
}
|
|
100
|
-
|
|
1
|
+
|
|
2
|
+
.msp-log-wrap {
|
|
3
|
+
position: absolute;
|
|
4
|
+
right: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.msp-log {
|
|
12
|
+
position: absolute;
|
|
13
|
+
right: -20px;
|
|
14
|
+
top: 0;
|
|
15
|
+
left: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
overflow-y: scroll;
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
font-size: 90%;
|
|
20
|
+
background: $control-background;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.msp-log {
|
|
24
|
+
font-size: 90%;
|
|
25
|
+
|
|
26
|
+
ul {
|
|
27
|
+
padding: 0;
|
|
28
|
+
margin: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
color: $log-font-color;
|
|
32
|
+
|
|
33
|
+
li {
|
|
34
|
+
clear: both;
|
|
35
|
+
margin: 0;
|
|
36
|
+
background: $default-background;
|
|
37
|
+
position: relative;
|
|
38
|
+
|
|
39
|
+
&:not(:last-child) {
|
|
40
|
+
border-bottom: 1px solid $border-color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
.msp-log-entry {
|
|
46
|
+
margin-left: $control-label-width;
|
|
47
|
+
background: color-lower-contrast($control-background, 5%);
|
|
48
|
+
padding: $info-vertical-padding ($control-spacing + 15px) $info-vertical-padding $control-spacing ;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.msp-log-timestamp {
|
|
52
|
+
padding: $info-vertical-padding $control-spacing $info-vertical-padding $control-spacing;
|
|
53
|
+
float: left;
|
|
54
|
+
text-align: right;
|
|
55
|
+
width: $control-label-width;
|
|
56
|
+
color: $log-timestamp-font-color;
|
|
57
|
+
//vertical-align: baseline;
|
|
58
|
+
//line-height: $row-height;
|
|
59
|
+
font-size: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.msp-log-timestamp small {
|
|
63
|
+
font-size: 100%;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// .msp-log hr {
|
|
68
|
+
// border-color: $separator-color;
|
|
69
|
+
// margin: 3px 3px 0 5px;
|
|
70
|
+
// }
|
|
71
|
+
|
|
72
|
+
.msp-log .label {
|
|
73
|
+
margin-top: -3px;
|
|
74
|
+
font-size: 7pt;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.msp-log-entry-badge {
|
|
78
|
+
position: absolute;
|
|
79
|
+
left: 0;
|
|
80
|
+
top: 0;
|
|
81
|
+
bottom: 0;
|
|
82
|
+
width: 6px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.msp-log-entry-message {
|
|
86
|
+
background: $log-message;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.msp-log-entry-info {
|
|
90
|
+
background: $log-info;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.msp-log-entry-error {
|
|
94
|
+
background: $log-error;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.msp-log-entry-warning {
|
|
98
|
+
background: $log-warning;
|
|
99
|
+
}
|
|
100
|
+
|