molstar 3.0.0-dev.3 → 3.0.0-dev.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.
Files changed (379) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +187 -187
  3. package/build/viewer/embedded.html +43 -43
  4. package/build/viewer/index.html +95 -94
  5. package/build/viewer/molstar.css +1 -1
  6. package/build/viewer/molstar.js +1 -1
  7. package/lib/apps/docking-viewer/index.html +36 -36
  8. package/lib/apps/docking-viewer/viewport.js +2 -1
  9. package/lib/apps/viewer/embedded.html +43 -43
  10. package/lib/apps/viewer/index.html +95 -94
  11. package/lib/commonjs/apps/docking-viewer/viewport.js +2 -1
  12. package/lib/commonjs/examples/lighting/index.js +2 -1
  13. package/lib/commonjs/extensions/anvil/behavior.d.ts +3 -0
  14. package/lib/commonjs/extensions/anvil/representation.d.ts +13 -0
  15. package/lib/commonjs/extensions/cellpack/representation.d.ts +3 -0
  16. package/lib/commonjs/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  17. package/lib/commonjs/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  18. package/lib/commonjs/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  19. package/lib/commonjs/extensions/rcsb/validation-report/representation.d.ts +15 -0
  20. package/lib/commonjs/mol-canvas3d/canvas3d.d.ts +6 -0
  21. package/lib/commonjs/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  22. package/lib/commonjs/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  23. package/lib/commonjs/mol-canvas3d/helper/helper.d.ts +4 -0
  24. package/lib/commonjs/mol-canvas3d/passes/image.d.ts +3 -0
  25. package/lib/commonjs/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  26. package/lib/commonjs/mol-canvas3d/passes/postprocessing.js +4 -2
  27. package/lib/commonjs/mol-geo/geometry/base.d.ts +2 -0
  28. package/lib/commonjs/mol-geo/geometry/base.js +2 -0
  29. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  30. package/lib/commonjs/mol-geo/geometry/cylinders/cylinders.js +4 -2
  31. package/lib/commonjs/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  32. package/lib/commonjs/mol-geo/geometry/image/image.d.ts +1 -0
  33. package/lib/commonjs/mol-geo/geometry/lines/lines.d.ts +1 -0
  34. package/lib/commonjs/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  35. package/lib/commonjs/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  36. package/lib/commonjs/mol-geo/geometry/mesh/mesh.js +4 -2
  37. package/lib/commonjs/mol-geo/geometry/points/points.d.ts +2 -1
  38. package/lib/commonjs/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  39. package/lib/commonjs/mol-geo/geometry/spheres/spheres.js +4 -2
  40. package/lib/commonjs/mol-geo/geometry/substance-data.js +3 -3
  41. package/lib/commonjs/mol-geo/geometry/text/text.d.ts +1 -0
  42. package/lib/commonjs/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  43. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  44. package/lib/commonjs/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  45. package/lib/commonjs/mol-gl/renderable/cylinders.d.ts +31 -28
  46. package/lib/commonjs/mol-gl/renderable/cylinders.js +2 -2
  47. package/lib/commonjs/mol-gl/renderable/direct-volume.d.ts +1 -0
  48. package/lib/commonjs/mol-gl/renderable/image.d.ts +1 -0
  49. package/lib/commonjs/mol-gl/renderable/lines.d.ts +1 -0
  50. package/lib/commonjs/mol-gl/renderable/mesh.d.ts +28 -25
  51. package/lib/commonjs/mol-gl/renderable/mesh.js +2 -2
  52. package/lib/commonjs/mol-gl/renderable/points.d.ts +1 -0
  53. package/lib/commonjs/mol-gl/renderable/schema.d.ts +1 -0
  54. package/lib/commonjs/mol-gl/renderable/schema.js +3 -3
  55. package/lib/commonjs/mol-gl/renderable/spheres.d.ts +31 -28
  56. package/lib/commonjs/mol-gl/renderable/spheres.js +2 -2
  57. package/lib/commonjs/mol-gl/renderable/text.d.ts +1 -0
  58. package/lib/commonjs/mol-gl/renderable/texture-mesh.d.ts +3 -0
  59. package/lib/commonjs/mol-gl/renderable/texture-mesh.js +1 -1
  60. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  61. package/lib/commonjs/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  62. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  63. package/lib/commonjs/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  64. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  65. package/lib/commonjs/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  66. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  67. package/lib/commonjs/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  68. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  69. package/lib/commonjs/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  70. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  71. package/lib/commonjs/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  72. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  73. package/lib/commonjs/mol-gl/shader/chunks/common.glsl.js +1 -1
  74. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  75. package/lib/commonjs/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  76. package/lib/commonjs/mol-gl/shader/cylinders.frag.d.ts +1 -1
  77. package/lib/commonjs/mol-gl/shader/cylinders.frag.js +1 -1
  78. package/lib/commonjs/mol-gl/shader/mesh.frag.d.ts +1 -1
  79. package/lib/commonjs/mol-gl/shader/mesh.frag.js +1 -1
  80. package/lib/commonjs/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  81. package/lib/commonjs/mol-gl/shader/postprocessing.frag.js +1 -1
  82. package/lib/commonjs/mol-gl/shader/spheres.frag.d.ts +1 -1
  83. package/lib/commonjs/mol-gl/shader/spheres.frag.js +1 -1
  84. package/lib/commonjs/mol-model/structure/model/model.js +7 -3
  85. package/lib/commonjs/mol-model-formats/shape/ply.d.ts +6 -0
  86. package/lib/commonjs/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  87. package/lib/commonjs/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  88. package/lib/commonjs/mol-model-props/computed/representations/interactions.d.ts +9 -0
  89. package/lib/commonjs/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  90. package/lib/commonjs/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  91. package/lib/commonjs/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  92. package/lib/commonjs/mol-plugin/commands.d.ts +3 -0
  93. package/lib/commonjs/mol-plugin/config.d.ts +1 -0
  94. package/lib/commonjs/mol-plugin/config.js +9 -3
  95. package/lib/commonjs/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  96. package/lib/commonjs/mol-plugin-state/manager/structure/component.d.ts +2 -0
  97. package/lib/commonjs/mol-plugin-state/transforms/representation.d.ts +22 -0
  98. package/lib/commonjs/mol-plugin-ui/controls/parameters.d.ts +3 -2
  99. package/lib/commonjs/mol-plugin-ui/controls/parameters.js +11 -6
  100. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  101. package/lib/commonjs/mol-plugin-ui/hooks/use-behavior.js +8 -17
  102. package/lib/commonjs/mol-plugin-ui/plugin.d.ts +1 -1
  103. package/lib/commonjs/mol-plugin-ui/plugin.js +76 -10
  104. package/lib/commonjs/mol-repr/shape/loci/angle.d.ts +3 -0
  105. package/lib/commonjs/mol-repr/shape/loci/common.d.ts +1 -0
  106. package/lib/commonjs/mol-repr/shape/loci/dihedral.d.ts +3 -0
  107. package/lib/commonjs/mol-repr/shape/loci/distance.d.ts +1 -0
  108. package/lib/commonjs/mol-repr/shape/loci/label.d.ts +1 -0
  109. package/lib/commonjs/mol-repr/shape/loci/orientation.d.ts +3 -0
  110. package/lib/commonjs/mol-repr/shape/loci/plane.d.ts +3 -0
  111. package/lib/commonjs/mol-repr/shape/model/unitcell.d.ts +3 -0
  112. package/lib/commonjs/mol-repr/structure/complex-visual.d.ts +12 -0
  113. package/lib/commonjs/mol-repr/structure/params.d.ts +16 -0
  114. package/lib/commonjs/mol-repr/structure/registry.d.ts +35 -1
  115. package/lib/commonjs/mol-repr/structure/representation/backbone.d.ts +9 -0
  116. package/lib/commonjs/mol-repr/structure/representation/backbone.js +2 -1
  117. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  118. package/lib/commonjs/mol-repr/structure/representation/ball-and-stick.js +2 -1
  119. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  120. package/lib/commonjs/mol-repr/structure/representation/carbohydrate.js +2 -1
  121. package/lib/commonjs/mol-repr/structure/representation/cartoon.d.ts +9 -0
  122. package/lib/commonjs/mol-repr/structure/representation/cartoon.js +2 -1
  123. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  124. package/lib/commonjs/mol-repr/structure/representation/ellipsoid.js +2 -1
  125. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  126. package/lib/commonjs/mol-repr/structure/representation/gaussian-surface.js +2 -1
  127. package/lib/commonjs/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  128. package/lib/commonjs/mol-repr/structure/representation/label.d.ts +6 -3
  129. package/lib/commonjs/mol-repr/structure/representation/line.d.ts +3 -0
  130. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  131. package/lib/commonjs/mol-repr/structure/representation/molecular-surface.js +2 -1
  132. package/lib/commonjs/mol-repr/structure/representation/orientation.d.ts +9 -0
  133. package/lib/commonjs/mol-repr/structure/representation/orientation.js +2 -1
  134. package/lib/commonjs/mol-repr/structure/representation/point.d.ts +3 -0
  135. package/lib/commonjs/mol-repr/structure/representation/putty.d.ts +9 -0
  136. package/lib/commonjs/mol-repr/structure/representation/putty.js +2 -1
  137. package/lib/commonjs/mol-repr/structure/representation/spacefill.d.ts +9 -0
  138. package/lib/commonjs/mol-repr/structure/representation/spacefill.js +2 -1
  139. package/lib/commonjs/mol-repr/structure/units-visual.d.ts +16 -0
  140. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  141. package/lib/commonjs/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  142. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  143. package/lib/commonjs/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  144. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  145. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  146. package/lib/commonjs/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  147. package/lib/commonjs/mol-repr/structure/visual/element-cross.d.ts +1 -0
  148. package/lib/commonjs/mol-repr/structure/visual/element-point.d.ts +1 -0
  149. package/lib/commonjs/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  150. package/lib/commonjs/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  151. package/lib/commonjs/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  152. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  153. package/lib/commonjs/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  154. package/lib/commonjs/mol-repr/structure/visual/label-text.d.ts +3 -2
  155. package/lib/commonjs/mol-repr/structure/visual/label-text.js +2 -2
  156. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  157. package/lib/commonjs/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  158. package/lib/commonjs/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  159. package/lib/commonjs/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  160. package/lib/commonjs/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  161. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  162. package/lib/commonjs/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  163. package/lib/commonjs/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  164. package/lib/commonjs/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  165. package/lib/commonjs/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  166. package/lib/commonjs/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  167. package/lib/commonjs/mol-repr/volume/direct-volume.d.ts +3 -0
  168. package/lib/commonjs/mol-repr/volume/isosurface.d.ts +16 -0
  169. package/lib/commonjs/mol-repr/volume/isosurface.js +2 -1
  170. package/lib/commonjs/mol-repr/volume/registry.d.ts +5 -0
  171. package/lib/commonjs/mol-repr/volume/representation.d.ts +1 -0
  172. package/lib/commonjs/mol-repr/volume/slice.d.ts +3 -0
  173. package/lib/commonjs/mol-script/language/builder.d.ts +1 -0
  174. package/lib/commonjs/mol-theme/color/illustrative.d.ts +2 -0
  175. package/lib/commonjs/mol-theme/color/illustrative.js +2 -2
  176. package/lib/commonjs/mol-theme/color.d.ts +1 -0
  177. package/lib/commonjs/mol-util/material.d.ts +5 -1
  178. package/lib/commonjs/mol-util/material.js +9 -7
  179. package/lib/examples/alpha-orbitals/index.html +60 -60
  180. package/lib/examples/basic-wrapper/index.html +136 -136
  181. package/lib/examples/lighting/index.html +86 -86
  182. package/lib/examples/lighting/index.js +2 -1
  183. package/lib/examples/proteopedia-wrapper/index.html +235 -235
  184. package/lib/extensions/anvil/behavior.d.ts +3 -0
  185. package/lib/extensions/anvil/representation.d.ts +13 -0
  186. package/lib/extensions/cellpack/representation.d.ts +3 -0
  187. package/lib/extensions/dnatco/confal-pyramids/representation.d.ts +9 -0
  188. package/lib/extensions/rcsb/assembly-symmetry/behavior.d.ts +3 -0
  189. package/lib/extensions/rcsb/assembly-symmetry/representation.d.ts +3 -0
  190. package/lib/extensions/rcsb/validation-report/representation.d.ts +15 -0
  191. package/lib/mol-canvas3d/canvas3d.d.ts +6 -0
  192. package/lib/mol-canvas3d/helper/camera-helper.d.ts +3 -0
  193. package/lib/mol-canvas3d/helper/handle-helper.d.ts +3 -0
  194. package/lib/mol-canvas3d/helper/helper.d.ts +4 -0
  195. package/lib/mol-canvas3d/passes/image.d.ts +3 -0
  196. package/lib/mol-canvas3d/passes/postprocessing.d.ts +1 -0
  197. package/lib/mol-canvas3d/passes/postprocessing.js +4 -2
  198. package/lib/mol-geo/geometry/base.d.ts +2 -0
  199. package/lib/mol-geo/geometry/base.js +2 -0
  200. package/lib/mol-geo/geometry/cylinders/cylinders.d.ts +4 -1
  201. package/lib/mol-geo/geometry/cylinders/cylinders.js +4 -2
  202. package/lib/mol-geo/geometry/direct-volume/direct-volume.d.ts +1 -0
  203. package/lib/mol-geo/geometry/image/image.d.ts +1 -0
  204. package/lib/mol-geo/geometry/lines/lines.d.ts +1 -0
  205. package/lib/mol-geo/geometry/mesh/color-smoothing.js +1 -1
  206. package/lib/mol-geo/geometry/mesh/mesh.d.ts +3 -0
  207. package/lib/mol-geo/geometry/mesh/mesh.js +4 -2
  208. package/lib/mol-geo/geometry/points/points.d.ts +2 -1
  209. package/lib/mol-geo/geometry/spheres/spheres.d.ts +3 -0
  210. package/lib/mol-geo/geometry/spheres/spheres.js +4 -2
  211. package/lib/mol-geo/geometry/substance-data.js +3 -3
  212. package/lib/mol-geo/geometry/text/text.d.ts +1 -0
  213. package/lib/mol-geo/geometry/texture-mesh/color-smoothing.js +3 -3
  214. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.d.ts +3 -0
  215. package/lib/mol-geo/geometry/texture-mesh/texture-mesh.js +4 -2
  216. package/lib/mol-gl/renderable/cylinders.d.ts +31 -28
  217. package/lib/mol-gl/renderable/cylinders.js +3 -3
  218. package/lib/mol-gl/renderable/direct-volume.d.ts +1 -0
  219. package/lib/mol-gl/renderable/image.d.ts +1 -0
  220. package/lib/mol-gl/renderable/lines.d.ts +1 -0
  221. package/lib/mol-gl/renderable/mesh.d.ts +28 -25
  222. package/lib/mol-gl/renderable/mesh.js +3 -3
  223. package/lib/mol-gl/renderable/points.d.ts +1 -0
  224. package/lib/mol-gl/renderable/schema.d.ts +1 -0
  225. package/lib/mol-gl/renderable/schema.js +3 -3
  226. package/lib/mol-gl/renderable/spheres.d.ts +31 -28
  227. package/lib/mol-gl/renderable/spheres.js +3 -3
  228. package/lib/mol-gl/renderable/text.d.ts +1 -0
  229. package/lib/mol-gl/renderable/texture-mesh.d.ts +3 -0
  230. package/lib/mol-gl/renderable/texture-mesh.js +1 -1
  231. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.d.ts +1 -1
  232. package/lib/mol-gl/shader/chunks/apply-light-color.glsl.js +1 -1
  233. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.d.ts +1 -1
  234. package/lib/mol-gl/shader/chunks/assign-color-varying.glsl.js +1 -1
  235. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.d.ts +1 -1
  236. package/lib/mol-gl/shader/chunks/assign-material-color.glsl.js +1 -1
  237. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.d.ts +1 -1
  238. package/lib/mol-gl/shader/chunks/color-frag-params.glsl.js +1 -1
  239. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.d.ts +1 -1
  240. package/lib/mol-gl/shader/chunks/color-vert-params.glsl.js +1 -1
  241. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.d.ts +1 -1
  242. package/lib/mol-gl/shader/chunks/common-frag-params.glsl.js +1 -1
  243. package/lib/mol-gl/shader/chunks/common.glsl.d.ts +1 -1
  244. package/lib/mol-gl/shader/chunks/common.glsl.js +1 -1
  245. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.d.ts +1 -1
  246. package/lib/mol-gl/shader/chunks/light-frag-params.glsl.js +1 -1
  247. package/lib/mol-gl/shader/cylinders.frag.d.ts +1 -1
  248. package/lib/mol-gl/shader/cylinders.frag.js +1 -1
  249. package/lib/mol-gl/shader/mesh.frag.d.ts +1 -1
  250. package/lib/mol-gl/shader/mesh.frag.js +1 -1
  251. package/lib/mol-gl/shader/postprocessing.frag.d.ts +1 -1
  252. package/lib/mol-gl/shader/postprocessing.frag.js +1 -1
  253. package/lib/mol-gl/shader/spheres.frag.d.ts +1 -1
  254. package/lib/mol-gl/shader/spheres.frag.js +1 -1
  255. package/lib/mol-model/structure/model/model.js +7 -3
  256. package/lib/mol-model-formats/shape/ply.d.ts +6 -0
  257. package/lib/mol-model-props/computed/representations/interactions-inter-unit-cylinder.d.ts +3 -0
  258. package/lib/mol-model-props/computed/representations/interactions-intra-unit-cylinder.d.ts +3 -0
  259. package/lib/mol-model-props/computed/representations/interactions.d.ts +9 -0
  260. package/lib/mol-model-props/integrative/cross-link-restraint/representation.d.ts +12 -0
  261. package/lib/mol-plugin/behavior/dynamic/selection/structure-focus-representation.d.ts +1 -0
  262. package/lib/mol-plugin/behavior/dynamic/volume-streaming/model.d.ts +2 -3
  263. package/lib/mol-plugin/commands.d.ts +3 -0
  264. package/lib/mol-plugin/config.d.ts +1 -0
  265. package/lib/mol-plugin/config.js +8 -3
  266. package/lib/mol-plugin/util/viewport-screenshot.d.ts +9 -0
  267. package/lib/mol-plugin/version.js +2 -2
  268. package/lib/mol-plugin-state/manager/structure/component.d.ts +2 -0
  269. package/lib/mol-plugin-state/transforms/representation.d.ts +22 -0
  270. package/lib/mol-plugin-ui/controls/parameters.d.ts +3 -2
  271. package/lib/mol-plugin-ui/controls/parameters.js +12 -7
  272. package/lib/mol-plugin-ui/hooks/use-behavior.d.ts +1 -1
  273. package/lib/mol-plugin-ui/hooks/use-behavior.js +9 -18
  274. package/lib/mol-plugin-ui/plugin.d.ts +1 -1
  275. package/lib/mol-plugin-ui/plugin.js +76 -10
  276. package/lib/mol-plugin-ui/skin/base/base.scss +32 -32
  277. package/lib/mol-plugin-ui/skin/base/components/controls-base.scss +333 -333
  278. package/lib/mol-plugin-ui/skin/base/components/controls.scss +418 -418
  279. package/lib/mol-plugin-ui/skin/base/components/help.scss +27 -27
  280. package/lib/mol-plugin-ui/skin/base/components/line-graph.scss +67 -67
  281. package/lib/mol-plugin-ui/skin/base/components/log.scss +100 -100
  282. package/lib/mol-plugin-ui/skin/base/components/misc.scss +643 -616
  283. package/lib/mol-plugin-ui/skin/base/components/sequence.scss +125 -125
  284. package/lib/mol-plugin-ui/skin/base/components/slider.scss +165 -165
  285. package/lib/mol-plugin-ui/skin/base/components/tasks.scss +99 -99
  286. package/lib/mol-plugin-ui/skin/base/components/toast.scss +83 -83
  287. package/lib/mol-plugin-ui/skin/base/components/transformer.scss +163 -163
  288. package/lib/mol-plugin-ui/skin/base/components/viewport.scss +127 -127
  289. package/lib/mol-plugin-ui/skin/base/layout/common.scss +71 -71
  290. package/lib/mol-plugin-ui/skin/base/layout/controls-landscape.scss +89 -89
  291. package/lib/mol-plugin-ui/skin/base/layout/controls-outside.scss +98 -98
  292. package/lib/mol-plugin-ui/skin/base/layout/controls-portrait.scss +108 -108
  293. package/lib/mol-plugin-ui/skin/base/layout.scss +40 -40
  294. package/lib/mol-plugin-ui/skin/base/logo.scss +12 -12
  295. package/lib/mol-plugin-ui/skin/base/normalize.scss +209 -209
  296. package/lib/mol-plugin-ui/skin/base/ui.scss +40 -40
  297. package/lib/mol-plugin-ui/skin/base/variables.scss +85 -85
  298. package/lib/mol-plugin-ui/skin/blue.scss +1 -1
  299. package/lib/mol-plugin-ui/skin/colors/blue.scss +23 -23
  300. package/lib/mol-plugin-ui/skin/colors/dark.scss +23 -23
  301. package/lib/mol-plugin-ui/skin/colors/light.scss +29 -29
  302. package/lib/mol-plugin-ui/skin/dark.scss +1 -1
  303. package/lib/mol-plugin-ui/skin/light.scss +1 -1
  304. package/lib/mol-repr/shape/loci/angle.d.ts +3 -0
  305. package/lib/mol-repr/shape/loci/common.d.ts +1 -0
  306. package/lib/mol-repr/shape/loci/dihedral.d.ts +3 -0
  307. package/lib/mol-repr/shape/loci/distance.d.ts +1 -0
  308. package/lib/mol-repr/shape/loci/label.d.ts +1 -0
  309. package/lib/mol-repr/shape/loci/orientation.d.ts +3 -0
  310. package/lib/mol-repr/shape/loci/plane.d.ts +3 -0
  311. package/lib/mol-repr/shape/model/unitcell.d.ts +3 -0
  312. package/lib/mol-repr/structure/complex-visual.d.ts +12 -0
  313. package/lib/mol-repr/structure/params.d.ts +16 -0
  314. package/lib/mol-repr/structure/registry.d.ts +35 -1
  315. package/lib/mol-repr/structure/representation/backbone.d.ts +9 -0
  316. package/lib/mol-repr/structure/representation/backbone.js +2 -1
  317. package/lib/mol-repr/structure/representation/ball-and-stick.d.ts +9 -0
  318. package/lib/mol-repr/structure/representation/ball-and-stick.js +2 -1
  319. package/lib/mol-repr/structure/representation/carbohydrate.d.ts +9 -0
  320. package/lib/mol-repr/structure/representation/carbohydrate.js +2 -1
  321. package/lib/mol-repr/structure/representation/cartoon.d.ts +9 -0
  322. package/lib/mol-repr/structure/representation/cartoon.js +2 -1
  323. package/lib/mol-repr/structure/representation/ellipsoid.d.ts +9 -0
  324. package/lib/mol-repr/structure/representation/ellipsoid.js +2 -1
  325. package/lib/mol-repr/structure/representation/gaussian-surface.d.ts +9 -0
  326. package/lib/mol-repr/structure/representation/gaussian-surface.js +2 -1
  327. package/lib/mol-repr/structure/representation/gaussian-volume.d.ts +3 -0
  328. package/lib/mol-repr/structure/representation/label.d.ts +6 -3
  329. package/lib/mol-repr/structure/representation/line.d.ts +3 -0
  330. package/lib/mol-repr/structure/representation/molecular-surface.d.ts +9 -0
  331. package/lib/mol-repr/structure/representation/molecular-surface.js +2 -1
  332. package/lib/mol-repr/structure/representation/orientation.d.ts +9 -0
  333. package/lib/mol-repr/structure/representation/orientation.js +2 -1
  334. package/lib/mol-repr/structure/representation/point.d.ts +3 -0
  335. package/lib/mol-repr/structure/representation/putty.d.ts +9 -0
  336. package/lib/mol-repr/structure/representation/putty.js +2 -1
  337. package/lib/mol-repr/structure/representation/spacefill.d.ts +9 -0
  338. package/lib/mol-repr/structure/representation/spacefill.js +2 -1
  339. package/lib/mol-repr/structure/units-visual.d.ts +16 -0
  340. package/lib/mol-repr/structure/visual/bond-inter-unit-cylinder.d.ts +6 -0
  341. package/lib/mol-repr/structure/visual/bond-inter-unit-line.d.ts +1 -0
  342. package/lib/mol-repr/structure/visual/bond-intra-unit-cylinder.d.ts +6 -0
  343. package/lib/mol-repr/structure/visual/bond-intra-unit-line.d.ts +1 -0
  344. package/lib/mol-repr/structure/visual/carbohydrate-link-cylinder.d.ts +3 -0
  345. package/lib/mol-repr/structure/visual/carbohydrate-symbol-mesh.d.ts +3 -0
  346. package/lib/mol-repr/structure/visual/carbohydrate-terminal-link-cylinder.d.ts +3 -0
  347. package/lib/mol-repr/structure/visual/element-cross.d.ts +1 -0
  348. package/lib/mol-repr/structure/visual/element-point.d.ts +1 -0
  349. package/lib/mol-repr/structure/visual/element-sphere.d.ts +6 -0
  350. package/lib/mol-repr/structure/visual/ellipsoid-mesh.d.ts +3 -0
  351. package/lib/mol-repr/structure/visual/gaussian-density-volume.d.ts +2 -0
  352. package/lib/mol-repr/structure/visual/gaussian-surface-mesh.d.ts +12 -0
  353. package/lib/mol-repr/structure/visual/gaussian-surface-wireframe.d.ts +1 -0
  354. package/lib/mol-repr/structure/visual/label-text.d.ts +3 -2
  355. package/lib/mol-repr/structure/visual/label-text.js +2 -2
  356. package/lib/mol-repr/structure/visual/molecular-surface-mesh.d.ts +3 -0
  357. package/lib/mol-repr/structure/visual/molecular-surface-wireframe.d.ts +1 -0
  358. package/lib/mol-repr/structure/visual/nucleotide-block-mesh.d.ts +3 -0
  359. package/lib/mol-repr/structure/visual/nucleotide-ring-mesh.d.ts +3 -0
  360. package/lib/mol-repr/structure/visual/orientation-ellipsoid-mesh.d.ts +3 -0
  361. package/lib/mol-repr/structure/visual/polymer-backbone-cylinder.d.ts +6 -0
  362. package/lib/mol-repr/structure/visual/polymer-backbone-sphere.d.ts +6 -0
  363. package/lib/mol-repr/structure/visual/polymer-direction-wedge.d.ts +3 -0
  364. package/lib/mol-repr/structure/visual/polymer-gap-cylinder.d.ts +3 -0
  365. package/lib/mol-repr/structure/visual/polymer-trace-mesh.d.ts +3 -0
  366. package/lib/mol-repr/structure/visual/polymer-tube-mesh.d.ts +3 -0
  367. package/lib/mol-repr/volume/direct-volume.d.ts +3 -0
  368. package/lib/mol-repr/volume/isosurface.d.ts +16 -0
  369. package/lib/mol-repr/volume/isosurface.js +2 -1
  370. package/lib/mol-repr/volume/registry.d.ts +5 -0
  371. package/lib/mol-repr/volume/representation.d.ts +1 -0
  372. package/lib/mol-repr/volume/slice.d.ts +3 -0
  373. package/lib/mol-script/language/builder.d.ts +1 -0
  374. package/lib/mol-theme/color/illustrative.d.ts +2 -0
  375. package/lib/mol-theme/color/illustrative.js +2 -2
  376. package/lib/mol-theme/color.d.ts +1 -0
  377. package/lib/mol-util/material.d.ts +5 -1
  378. package/lib/mol-util/material.js +9 -7
  379. package/package.json +162 -160
@@ -1,99 +1,99 @@
1
- .msp-task-state {
2
-
3
- line-height: $row-height;
4
- //height: $row-height;
5
- //position: relative;
6
- //margin-top: 1px;
7
-
8
- > span {
9
- @include non-selectable;
10
- //display: inline-block;
11
- //padding: 0 $control-spacing;
12
- }
13
- }
14
-
15
- .msp-overlay-tasks {
16
- position: absolute;
17
- display: flex;
18
- top: 0;
19
- left: 0;
20
- bottom: 0;
21
- right: 0;
22
- height: 100%;
23
- width: 100%;
24
- z-index: 1000;
25
- justify-content: center;
26
- align-items: center;
27
- background: rgba(0, 0, 0, 0.25);
28
-
29
- .msp-task-state {
30
- $size: $row-height;
31
-
32
- > div {
33
- height: $size;
34
- margin-top: 1px;
35
- position: relative;
36
- width: 100%;
37
- background: $default-background;
38
-
39
- > div {
40
- height: $size;
41
- line-height: $size;
42
- display: inline-block;
43
- padding: 0 ($control-spacing);
44
- @include non-selectable;
45
- white-space: nowrap;
46
- background: $default-background;
47
- position: absolute;
48
- }
49
-
50
- > button {
51
- display: inline-block;
52
- margin-top: -3px;
53
- // font-size: 140%;
54
- }
55
- }
56
- }
57
- }
58
-
59
- /* background */
60
-
61
- .msp-background-tasks {
62
- position: absolute;
63
- left: 0;
64
- bottom: 0;
65
- z-index: 1000;
66
-
67
- .msp-task-state {
68
- $size: $row-height;
69
-
70
- > div {
71
- height: $size;
72
- margin-top: 1px;
73
- position: relative;
74
- width: 100%;
75
- background: $default-background;
76
-
77
- > div {
78
- height: $size;
79
- line-height: $size;
80
- display: inline-block;
81
- padding: 0 ($control-spacing);
82
- @include non-selectable;
83
- white-space: nowrap;
84
- background: $default-background;
85
- position: absolute;
86
- }
87
-
88
- > button {
89
- display: inline-block;
90
- margin-top: -3px;
91
- // font-size: 140%;
92
- }
93
- }
94
- }
95
- }
96
-
97
- // .msp-background-tasks .msp-task-state {
98
- // color:
99
- // }
1
+ .msp-task-state {
2
+
3
+ line-height: $row-height;
4
+ //height: $row-height;
5
+ //position: relative;
6
+ //margin-top: 1px;
7
+
8
+ > span {
9
+ @include non-selectable;
10
+ //display: inline-block;
11
+ //padding: 0 $control-spacing;
12
+ }
13
+ }
14
+
15
+ .msp-overlay-tasks {
16
+ position: absolute;
17
+ display: flex;
18
+ top: 0;
19
+ left: 0;
20
+ bottom: 0;
21
+ right: 0;
22
+ height: 100%;
23
+ width: 100%;
24
+ z-index: 1000;
25
+ justify-content: center;
26
+ align-items: center;
27
+ background: rgba(0, 0, 0, 0.25);
28
+
29
+ .msp-task-state {
30
+ $size: $row-height;
31
+
32
+ > div {
33
+ height: $size;
34
+ margin-top: 1px;
35
+ position: relative;
36
+ width: 100%;
37
+ background: $default-background;
38
+
39
+ > div {
40
+ height: $size;
41
+ line-height: $size;
42
+ display: inline-block;
43
+ padding: 0 ($control-spacing);
44
+ @include non-selectable;
45
+ white-space: nowrap;
46
+ background: $default-background;
47
+ position: absolute;
48
+ }
49
+
50
+ > button {
51
+ display: inline-block;
52
+ margin-top: -3px;
53
+ // font-size: 140%;
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ /* background */
60
+
61
+ .msp-background-tasks {
62
+ position: absolute;
63
+ left: 0;
64
+ bottom: 0;
65
+ z-index: 1000;
66
+
67
+ .msp-task-state {
68
+ $size: $row-height;
69
+
70
+ > div {
71
+ height: $size;
72
+ margin-top: 1px;
73
+ position: relative;
74
+ width: 100%;
75
+ background: $default-background;
76
+
77
+ > div {
78
+ height: $size;
79
+ line-height: $size;
80
+ display: inline-block;
81
+ padding: 0 ($control-spacing);
82
+ @include non-selectable;
83
+ white-space: nowrap;
84
+ background: $default-background;
85
+ position: absolute;
86
+ }
87
+
88
+ > button {
89
+ display: inline-block;
90
+ margin-top: -3px;
91
+ // font-size: 140%;
92
+ }
93
+ }
94
+ }
95
+ }
96
+
97
+ // .msp-background-tasks .msp-task-state {
98
+ // color:
99
+ // }
@@ -1,84 +1,84 @@
1
-
2
- @use "sass:math";
3
-
4
- .msp-toast-container {
5
- position: relative;
6
- // bottom: $control-spacing;
7
- // right: $control-spacing;
8
- // margin-left: $control-spacing;
9
- z-index: 1001;
10
-
11
- .msp-toast-entry {
12
- color: $font-color;
13
- background: $control-background;
14
- position: relative;
15
- float: right;
16
- min-height: $row-height;
17
- margin-top: $control-spacing;
18
- border: 1px solid $border-color;
19
- display: table;
20
-
21
- .msp-toast-title {
22
- height: 100%;
23
- line-height: $row-height;
24
- padding: 0 $control-spacing;
25
- background: $default-background;
26
- font-weight: bold;
27
- display: table-cell;
28
-
29
- -webkit-user-select: none; /* Chrome/Safari */
30
- -moz-user-select: none; /* Firefox */
31
- -ms-user-select: none; /* IE10+ */
32
-
33
- /* Rules below not implemented in browsers yet */
34
- -o-user-select: none;
35
- user-select: none;
36
-
37
- font-weight: light;
38
-
39
- cursor: pointer;
40
- }
41
-
42
- .msp-toast-message {
43
- padding: $info-vertical-padding ($control-spacing + $row-height) $info-vertical-padding $control-spacing;
44
- display: table-cell;
45
-
46
- a {
47
- text-decoration: none;
48
- color: $msp-btn-commit-on-font-color;
49
- font-weight: bold;
50
-
51
- &:hover {
52
- text-decoration: underline;
53
- color: $msp-btn-commit-on-hover-font-color;
54
- }
55
-
56
- &:active, &:focus {
57
- color: $msp-btn-commit-on-font-color;
58
- outline-offset: 0;
59
- outline: none;
60
- }
61
- }
62
- }
63
-
64
- .msp-toast-hide {
65
- position: absolute;
66
- width: $row-height + $control-spacing;
67
- right: 0;
68
- top: 0;
69
- bottom: 0;
70
-
71
- .msp-btn-icon {
72
- background: transparent;
73
- position: absolute;
74
- top: 1px;
75
- right: 0;
76
- left: 0;
77
- bottom: 0;
78
- width: 100%;
79
- text-align: right;
80
- padding-right: math.div($control-spacing, 2);
81
- }
82
- }
83
- }
1
+
2
+ @use "sass:math";
3
+
4
+ .msp-toast-container {
5
+ position: relative;
6
+ // bottom: $control-spacing;
7
+ // right: $control-spacing;
8
+ // margin-left: $control-spacing;
9
+ z-index: 1001;
10
+
11
+ .msp-toast-entry {
12
+ color: $font-color;
13
+ background: $control-background;
14
+ position: relative;
15
+ float: right;
16
+ min-height: $row-height;
17
+ margin-top: $control-spacing;
18
+ border: 1px solid $border-color;
19
+ display: table;
20
+
21
+ .msp-toast-title {
22
+ height: 100%;
23
+ line-height: $row-height;
24
+ padding: 0 $control-spacing;
25
+ background: $default-background;
26
+ font-weight: bold;
27
+ display: table-cell;
28
+
29
+ -webkit-user-select: none; /* Chrome/Safari */
30
+ -moz-user-select: none; /* Firefox */
31
+ -ms-user-select: none; /* IE10+ */
32
+
33
+ /* Rules below not implemented in browsers yet */
34
+ -o-user-select: none;
35
+ user-select: none;
36
+
37
+ font-weight: light;
38
+
39
+ cursor: pointer;
40
+ }
41
+
42
+ .msp-toast-message {
43
+ padding: $info-vertical-padding ($control-spacing + $row-height) $info-vertical-padding $control-spacing;
44
+ display: table-cell;
45
+
46
+ a {
47
+ text-decoration: none;
48
+ color: $msp-btn-commit-on-font-color;
49
+ font-weight: bold;
50
+
51
+ &:hover {
52
+ text-decoration: underline;
53
+ color: $msp-btn-commit-on-hover-font-color;
54
+ }
55
+
56
+ &:active, &:focus {
57
+ color: $msp-btn-commit-on-font-color;
58
+ outline-offset: 0;
59
+ outline: none;
60
+ }
61
+ }
62
+ }
63
+
64
+ .msp-toast-hide {
65
+ position: absolute;
66
+ width: $row-height + $control-spacing;
67
+ right: 0;
68
+ top: 0;
69
+ bottom: 0;
70
+
71
+ .msp-btn-icon {
72
+ background: transparent;
73
+ position: absolute;
74
+ top: 1px;
75
+ right: 0;
76
+ left: 0;
77
+ bottom: 0;
78
+ width: 100%;
79
+ text-align: right;
80
+ padding-right: math.div($control-spacing, 2);
81
+ }
82
+ }
83
+ }
84
84
  }
@@ -1,164 +1,164 @@
1
- .msp-transformer {
2
-
3
- .msp-entity-badge {
4
- position: absolute;
5
- top: 0;
6
- right: 0;
7
- height: $row-height;
8
- line-height: $row-height;
9
- width: $row-height;
10
- }
11
- }
12
-
13
- .msp-layout-right, .msp-layout-left {
14
- background: $control-background;
15
- }
16
-
17
- .msp-transformer-wrapper {
18
- position: relative;
19
- }
20
-
21
- .msp-transformer-wrapper {
22
-
23
- .msp-entity-badge {
24
- left: 0;
25
- top: 0;
26
- }
27
-
28
- &:first-child {
29
- .msp-panel-description-content {
30
- top: $row-height + 1;
31
- }
32
- }
33
-
34
- &:not(:first-child) {
35
- .msp-panel-description-content {
36
- bottom: $row-height + 1;
37
- }
38
- }
39
- }
40
-
41
- .msp-transform-wrapper {
42
- margin-bottom: $control-spacing;
43
- }
44
-
45
- .msp-transform-wrapper-collapsed {
46
- margin-bottom: 1px;
47
- }
48
-
49
- .msp-transform-update-wrapper {
50
- margin-bottom: 1px;
51
- }
52
-
53
- .msp-transform-update-wrapper-collapsed {
54
- margin-bottom: 1px;
55
- }
56
-
57
- .msp-transform-update-wrapper, .msp-transform-update-wrapper-collapsed {
58
- > .msp-transform-header > button {
59
- text-align: left;
60
- padding-left: $row-height;
61
- line-height: 24px;
62
- background: color-lower-contrast($control-background, 4%); // $control-background; // color-lower-contrast($default-background, 4%);
63
- // font-weight: bold;
64
- }
65
- }
66
-
67
- .msp-transform-wrapper > .msp-transform-header > button {
68
- text-align: left;
69
- background: $default-background; // color-lower-contrast($default-background, 4%);
70
- font-weight: bold;
71
- padding-right: 5px;
72
- }
73
-
74
- .msp-transform-header {
75
- position: relative;
76
- // border-top: 1px solid $entity-color-Behaviour; // TODO: separate color
77
-
78
- // > button {
79
- // text-align: left;
80
- // padding-left: $row-height;
81
- // background: $control-background; // color-lower-contrast($default-background, 4%);
82
- // font-weight: bold;
83
- // }
84
-
85
- > button > small {
86
- font-weight: normal;
87
- float: right;
88
- }
89
-
90
- > button {
91
- > span:first-child {
92
- margin-right: 10px;
93
- }
94
- }
95
-
96
- > button:hover {
97
- color: color-lower-contrast($font-color, 15%);
98
- }
99
- }
100
-
101
- .msp-transform-header-brand {
102
- // padding-left: 42px;
103
- margin-bottom: -1px;
104
- svg {
105
- fill: $font-color;
106
- stroke: $font-color;
107
- }
108
- // > div {
109
- // position: absolute;
110
- // height: 32px;
111
- // line-height: 32px;
112
- // width: 32px;
113
- // top: 0;
114
- // left: 0;
115
- // text-align: center;
116
- // color: #eceff3;
117
- // fill: #eceff3;
118
- // stroke: #eceff3;
119
- // font-size: 85%;
120
- // }
121
- }
122
-
123
- .msp-transform-default-params {
124
- background: $default-background;
125
- position: absolute;
126
- left: 0;
127
- top: 0;
128
- width: $row-height;
129
- padding: 0;
130
- }
131
-
132
- .msp-transform-default-params:hover {
133
- background: color-lower-contrast($default-background, 20%);
134
- }
135
-
136
- .msp-transform-apply-wrap {
137
- position: relative;
138
- margin-top: 1px;
139
- width: 100%;
140
- height: $row-height;
141
- }
142
-
143
- .msp-transform-refresh {
144
- width: $control-label-width + $control-spacing - $row-height - 1;
145
- margin-left: $row-height + 1;
146
- background: $default-background;
147
- text-align: right;
148
- }
149
-
150
- .msp-transform-apply {
151
- display: block;
152
- position: absolute;
153
- left: $control-label-width + $control-spacing;
154
- right: 0;
155
- top: 0;
156
- }
157
-
158
- .msp-transform-apply-wider {
159
- margin-left: $row-height + 1px;
160
- }
161
-
162
- .msp-data-beh {
163
- margin: $control-spacing 0 !important;
1
+ .msp-transformer {
2
+
3
+ .msp-entity-badge {
4
+ position: absolute;
5
+ top: 0;
6
+ right: 0;
7
+ height: $row-height;
8
+ line-height: $row-height;
9
+ width: $row-height;
10
+ }
11
+ }
12
+
13
+ .msp-layout-right, .msp-layout-left {
14
+ background: $control-background;
15
+ }
16
+
17
+ .msp-transformer-wrapper {
18
+ position: relative;
19
+ }
20
+
21
+ .msp-transformer-wrapper {
22
+
23
+ .msp-entity-badge {
24
+ left: 0;
25
+ top: 0;
26
+ }
27
+
28
+ &:first-child {
29
+ .msp-panel-description-content {
30
+ top: $row-height + 1;
31
+ }
32
+ }
33
+
34
+ &:not(:first-child) {
35
+ .msp-panel-description-content {
36
+ bottom: $row-height + 1;
37
+ }
38
+ }
39
+ }
40
+
41
+ .msp-transform-wrapper {
42
+ margin-bottom: $control-spacing;
43
+ }
44
+
45
+ .msp-transform-wrapper-collapsed {
46
+ margin-bottom: 1px;
47
+ }
48
+
49
+ .msp-transform-update-wrapper {
50
+ margin-bottom: 1px;
51
+ }
52
+
53
+ .msp-transform-update-wrapper-collapsed {
54
+ margin-bottom: 1px;
55
+ }
56
+
57
+ .msp-transform-update-wrapper, .msp-transform-update-wrapper-collapsed {
58
+ > .msp-transform-header > button {
59
+ text-align: left;
60
+ padding-left: $row-height;
61
+ line-height: 24px;
62
+ background: color-lower-contrast($control-background, 4%); // $control-background; // color-lower-contrast($default-background, 4%);
63
+ // font-weight: bold;
64
+ }
65
+ }
66
+
67
+ .msp-transform-wrapper > .msp-transform-header > button {
68
+ text-align: left;
69
+ background: $default-background; // color-lower-contrast($default-background, 4%);
70
+ font-weight: bold;
71
+ padding-right: 5px;
72
+ }
73
+
74
+ .msp-transform-header {
75
+ position: relative;
76
+ // border-top: 1px solid $entity-color-Behaviour; // TODO: separate color
77
+
78
+ // > button {
79
+ // text-align: left;
80
+ // padding-left: $row-height;
81
+ // background: $control-background; // color-lower-contrast($default-background, 4%);
82
+ // font-weight: bold;
83
+ // }
84
+
85
+ > button > small {
86
+ font-weight: normal;
87
+ float: right;
88
+ }
89
+
90
+ > button {
91
+ > span:first-child {
92
+ margin-right: 10px;
93
+ }
94
+ }
95
+
96
+ > button:hover {
97
+ color: color-lower-contrast($font-color, 15%);
98
+ }
99
+ }
100
+
101
+ .msp-transform-header-brand {
102
+ // padding-left: 42px;
103
+ margin-bottom: -1px;
104
+ svg {
105
+ fill: $font-color;
106
+ stroke: $font-color;
107
+ }
108
+ // > div {
109
+ // position: absolute;
110
+ // height: 32px;
111
+ // line-height: 32px;
112
+ // width: 32px;
113
+ // top: 0;
114
+ // left: 0;
115
+ // text-align: center;
116
+ // color: #eceff3;
117
+ // fill: #eceff3;
118
+ // stroke: #eceff3;
119
+ // font-size: 85%;
120
+ // }
121
+ }
122
+
123
+ .msp-transform-default-params {
124
+ background: $default-background;
125
+ position: absolute;
126
+ left: 0;
127
+ top: 0;
128
+ width: $row-height;
129
+ padding: 0;
130
+ }
131
+
132
+ .msp-transform-default-params:hover {
133
+ background: color-lower-contrast($default-background, 20%);
134
+ }
135
+
136
+ .msp-transform-apply-wrap {
137
+ position: relative;
138
+ margin-top: 1px;
139
+ width: 100%;
140
+ height: $row-height;
141
+ }
142
+
143
+ .msp-transform-refresh {
144
+ width: $control-label-width + $control-spacing - $row-height - 1;
145
+ margin-left: $row-height + 1;
146
+ background: $default-background;
147
+ text-align: right;
148
+ }
149
+
150
+ .msp-transform-apply {
151
+ display: block;
152
+ position: absolute;
153
+ left: $control-label-width + $control-spacing;
154
+ right: 0;
155
+ top: 0;
156
+ }
157
+
158
+ .msp-transform-apply-wider {
159
+ margin-left: $row-height + 1px;
160
+ }
161
+
162
+ .msp-data-beh {
163
+ margin: $control-spacing 0 !important;
164
164
  }