plexora 0.0.1__py3-none-any.whl

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 (248) hide show
  1. plexora/__init__.py +129 -0
  2. plexora/__main__.py +15 -0
  3. plexora/_url.py +105 -0
  4. plexora/api/__init__.py +55 -0
  5. plexora/api/dataset.py +398 -0
  6. plexora/api/http.py +19 -0
  7. plexora/api/plugin.py +541 -0
  8. plexora/api/store.py +221 -0
  9. plexora/cli.py +777 -0
  10. plexora/client/dist/354_bundle.js +2 -0
  11. plexora/client/dist/354_bundle.js.LICENSE.txt +20 -0
  12. plexora/client/dist/418_bundle.js +2 -0
  13. plexora/client/dist/418_bundle.js.LICENSE.txt +1 -0
  14. plexora/client/dist/693b935cb1f907814be9c6199a68c217.svg +19 -0
  15. plexora/client/dist/713c134ff47cd328a5b711526f151082.svg +18 -0
  16. plexora/client/dist/770_bundle.js +1 -0
  17. plexora/client/dist/ff743f408972e0e96ca9153ed5ae4c83.svg +23 -0
  18. plexora/client/dist/vendor_bundle.js +2 -0
  19. plexora/client/dist/vendor_bundle.js.LICENSE.txt +308 -0
  20. plexora/client/external/openseadragon-bin-2.4.0/LICENSE.txt +28 -0
  21. plexora/client/external/openseadragon-bin-2.4.0/canvas-overlay-hd.js +140 -0
  22. plexora/client/external/openseadragon-bin-2.4.0/changelog.txt +501 -0
  23. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/.gitattributes +17 -0
  24. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/LICENSE.txt +116 -0
  25. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/Toolbar.png +0 -0
  26. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/fullpage.psd +0 -0
  27. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/home.psd +0 -0
  28. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/next.psd +0 -0
  29. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/previous.psd +0 -0
  30. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/rotateleft.psd +0 -0
  31. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/rotateright.psd +0 -0
  32. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/zoom.psd +0 -0
  33. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/README.md +9 -0
  34. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_grouphover.png +0 -0
  35. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_hover.png +0 -0
  36. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_pressed.png +0 -0
  37. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_rest.png +0 -0
  38. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_grouphover.png +0 -0
  39. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_hover.png +0 -0
  40. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_pressed.png +0 -0
  41. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_rest.png +0 -0
  42. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_grouphover.png +0 -0
  43. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_hover.png +0 -0
  44. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_pressed.png +0 -0
  45. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_rest.png +0 -0
  46. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_grouphover.png +0 -0
  47. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_hover.png +0 -0
  48. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_pressed.png +0 -0
  49. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_rest.png +0 -0
  50. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_grouphover.png +0 -0
  51. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_hover.png +0 -0
  52. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_pressed.png +0 -0
  53. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_rest.png +0 -0
  54. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_grouphover.png +0 -0
  55. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_hover.png +0 -0
  56. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_pressed.png +0 -0
  57. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_rest.png +0 -0
  58. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_grouphover.png +0 -0
  59. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_hover.png +0 -0
  60. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_pressed.png +0 -0
  61. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_rest.png +0 -0
  62. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_grouphover.png +0 -0
  63. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_hover.png +0 -0
  64. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_pressed.png +0 -0
  65. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_rest.png +0 -0
  66. plexora/client/external/openseadragon-bin-2.4.0/openseadragon-scalebar.js +562 -0
  67. plexora/client/src/css/import.css +474 -0
  68. plexora/client/src/css/main.css +903 -0
  69. plexora/client/src/css/openProject.css +363 -0
  70. plexora/client/src/css/quickView.css +166 -0
  71. plexora/client/src/css/tokens.css +51 -0
  72. plexora/client/src/css/viewer.css +1655 -0
  73. plexora/client/src/img/apple-touch-icon.png +0 -0
  74. plexora/client/src/img/favicon.ico +0 -0
  75. plexora/client/src/img/logo.ai +8892 -33
  76. plexora/client/src/img/logo.svg +1 -0
  77. plexora/client/src/img/logo_with_text.ai +9011 -34
  78. plexora/client/src/img/logo_with_text.svg +1 -0
  79. plexora/client/src/js/main.js +704 -0
  80. plexora/client/src/js/pluginRegistry.js +108 -0
  81. plexora/client/src/js/services/appStatus.js +286 -0
  82. plexora/client/src/js/services/browsePicker.js +73 -0
  83. plexora/client/src/js/services/dataLayer.js +400 -0
  84. plexora/client/src/js/services/datasetContext.js +143 -0
  85. plexora/client/src/js/services/glRenderer.js +143 -0
  86. plexora/client/src/js/services/importFormValidation.js +257 -0
  87. plexora/client/src/js/services/numericData.js +100 -0
  88. plexora/client/src/js/services/passVariablesToFrontend.js +20 -0
  89. plexora/client/src/js/services/simpleEventHandler.js +25 -0
  90. plexora/client/src/js/vendor.js +29 -0
  91. plexora/client/src/js/views/channelList.js +663 -0
  92. plexora/client/src/js/views/colorSwatchPicker.js +202 -0
  93. plexora/client/src/js/views/columnClassifier.js +146 -0
  94. plexora/client/src/js/views/coordinateField.js +133 -0
  95. plexora/client/src/js/views/dataSourceField.js +276 -0
  96. plexora/client/src/js/views/imageViewer.js +3306 -0
  97. plexora/client/src/js/views/miniMap.js +787 -0
  98. plexora/client/src/js/views/navbarControls.js +178 -0
  99. plexora/client/src/js/views/openProjectPage.js +239 -0
  100. plexora/client/src/js/views/projectEdit.js +335 -0
  101. plexora/client/src/js/views/quickViewLanding.js +136 -0
  102. plexora/client/src/js/views/rainbow.js +326 -0
  103. plexora/client/src/js/views/requirementsModal.js +572 -0
  104. plexora/client/src/js/views/rgbImageViewer.js +115 -0
  105. plexora/client/src/js/views/searchableSelect.js +411 -0
  106. plexora/client/src/js/views/segmentationProgress.js +122 -0
  107. plexora/client/src/js/views/toolLoader.js +747 -0
  108. plexora/client/src/js/views/viewerControls.js +689 -0
  109. plexora/client/src/js/views/viewerManager.js +434 -0
  110. plexora/client/src/js/views/viewerSidebar.js +1117 -0
  111. plexora/client/src/js/workers/tileDecoder.js +130 -0
  112. plexora/client/src/shaders/frag.glsl +528 -0
  113. plexora/client/src/shaders/vert.glsl +12 -0
  114. plexora/client/templates/base.html +212 -0
  115. plexora/client/templates/index.html +238 -0
  116. plexora/client/templates/open_project.html +96 -0
  117. plexora/client/templates/project_columns.html +86 -0
  118. plexora/client/templates/project_edit.html +196 -0
  119. plexora/client/templates/upload.html +118 -0
  120. plexora/connect.py +528 -0
  121. plexora/datasource.py +782 -0
  122. plexora/jupyter.py +406 -0
  123. plexora/notebook_env.py +232 -0
  124. plexora/paths.py +486 -0
  125. plexora/plugins/__init__.py +12 -0
  126. plexora/plugins/cell_explorer/__init__.py +100 -0
  127. plexora/plugins/cell_explorer/server/__init__.py +11 -0
  128. plexora/plugins/cell_explorer/server/routes.py +167 -0
  129. plexora/plugins/cell_explorer/server/state.py +281 -0
  130. plexora/plugins/cell_explorer/server/values.py +145 -0
  131. plexora/plugins/cell_explorer/server/variables.py +367 -0
  132. plexora/plugins/cell_explorer/static/cellExplorerApi.js +158 -0
  133. plexora/plugins/cell_explorer/static/cellExplorerColors.js +316 -0
  134. plexora/plugins/cell_explorer/static/cellExplorerContinuous.js +403 -0
  135. plexora/plugins/cell_explorer/static/cellExplorerFigureBridge.js +133 -0
  136. plexora/plugins/cell_explorer/static/cellExplorerLegend.js +188 -0
  137. plexora/plugins/cell_explorer/static/cellExplorerRoiBridge.js +822 -0
  138. plexora/plugins/cell_explorer/static/cellExplorerSidebarController.js +826 -0
  139. plexora/plugins/cell_explorer/static/cellExplorerState.js +372 -0
  140. plexora/plugins/cell_explorer/static/cell_explorer.css +752 -0
  141. plexora/plugins/cell_explorer/templates/cell_explorer/panel.html +137 -0
  142. plexora/plugins/figure_builder/__init__.py +125 -0
  143. plexora/plugins/figure_builder/server/__init__.py +7 -0
  144. plexora/plugins/figure_builder/server/compose.py +365 -0
  145. plexora/plugins/figure_builder/server/export.py +784 -0
  146. plexora/plugins/figure_builder/server/export_jobs.py +148 -0
  147. plexora/plugins/figure_builder/server/operations.py +556 -0
  148. plexora/plugins/figure_builder/server/pixels.py +142 -0
  149. plexora/plugins/figure_builder/server/provenance.py +174 -0
  150. plexora/plugins/figure_builder/server/render.py +278 -0
  151. plexora/plugins/figure_builder/server/repository.py +701 -0
  152. plexora/plugins/figure_builder/server/routes.py +594 -0
  153. plexora/plugins/figure_builder/server/schema.py +1023 -0
  154. plexora/plugins/figure_builder/server/sources.py +120 -0
  155. plexora/plugins/figure_builder/server/textmetrics.py +155 -0
  156. plexora/plugins/figure_builder/static/figureActions.js +363 -0
  157. plexora/plugins/figure_builder/static/figureBuilderApi.js +255 -0
  158. plexora/plugins/figure_builder/static/figureCanvas.js +2362 -0
  159. plexora/plugins/figure_builder/static/figureCaptureBoxes.js +369 -0
  160. plexora/plugins/figure_builder/static/figureCaptureDock.js +466 -0
  161. plexora/plugins/figure_builder/static/figureCaptureTool.js +1034 -0
  162. plexora/plugins/figure_builder/static/figureConfirm.js +136 -0
  163. plexora/plugins/figure_builder/static/figureContextBar.js +1193 -0
  164. plexora/plugins/figure_builder/static/figureContextMenu.js +253 -0
  165. plexora/plugins/figure_builder/static/figureDocumentState.js +275 -0
  166. plexora/plugins/figure_builder/static/figureExportUi.js +174 -0
  167. plexora/plugins/figure_builder/static/figureLibrary.js +247 -0
  168. plexora/plugins/figure_builder/static/figureQuickEdit.js +628 -0
  169. plexora/plugins/figure_builder/static/figureRichText.js +634 -0
  170. plexora/plugins/figure_builder/static/figureSceneSnapshot.js +361 -0
  171. plexora/plugins/figure_builder/static/figureSchema.js +218 -0
  172. plexora/plugins/figure_builder/static/figureSidebarController.js +1159 -0
  173. plexora/plugins/figure_builder/static/figureTextEditor.js +503 -0
  174. plexora/plugins/figure_builder/static/figureTextPanel.js +491 -0
  175. plexora/plugins/figure_builder/static/figureViewOptions.js +273 -0
  176. plexora/plugins/figure_builder/static/figureWorkspace.js +2030 -0
  177. plexora/plugins/figure_builder/static/figure_builder.css +3292 -0
  178. plexora/plugins/figure_builder/templates/figure_builder/library.html +74 -0
  179. plexora/plugins/figure_builder/templates/figure_builder/workspace.html +27 -0
  180. plexora/plugins/figure_builder/templates/figure_builder/workspace_body.html +458 -0
  181. plexora/plugins/gating/__init__.py +76 -0
  182. plexora/plugins/gating/server/__init__.py +0 -0
  183. plexora/plugins/gating/server/anndata_gates.py +367 -0
  184. plexora/plugins/gating/server/database.py +16 -0
  185. plexora/plugins/gating/server/model.py +320 -0
  186. plexora/plugins/gating/server/routes.py +235 -0
  187. plexora/plugins/gating/static/csvGatingList.js +947 -0
  188. plexora/plugins/gating/static/gating.css +289 -0
  189. plexora/plugins/gating/static/gatingApi.js +221 -0
  190. plexora/plugins/gating/static/gatingSidebarController.js +513 -0
  191. plexora/plugins/gating/templates/gating/legacy.html +26 -0
  192. plexora/plugins/gating/templates/gating/panel.html +69 -0
  193. plexora/plugins/roi/__init__.py +95 -0
  194. plexora/plugins/roi/server/__init__.py +8 -0
  195. plexora/plugins/roi/server/adapters.py +655 -0
  196. plexora/plugins/roi/server/geojson.py +267 -0
  197. plexora/plugins/roi/server/geometry.py +181 -0
  198. plexora/plugins/roi/server/mapping.py +169 -0
  199. plexora/plugins/roi/server/operations.py +293 -0
  200. plexora/plugins/roi/server/repository.py +215 -0
  201. plexora/plugins/roi/server/routes.py +409 -0
  202. plexora/plugins/roi/server/schema.py +323 -0
  203. plexora/plugins/roi/static/roi.css +583 -0
  204. plexora/plugins/roi/static/roiApi.js +177 -0
  205. plexora/plugins/roi/static/roiFigureBridge.js +107 -0
  206. plexora/plugins/roi/static/roiGeometry.js +350 -0
  207. plexora/plugins/roi/static/roiRenderer.js +278 -0
  208. plexora/plugins/roi/static/roiSidebarController.js +1038 -0
  209. plexora/plugins/roi/static/roiState.js +518 -0
  210. plexora/plugins/roi/static/roiTools.js +993 -0
  211. plexora/plugins/roi/templates/roi/panel.html +240 -0
  212. plexora/proxy.py +57 -0
  213. plexora/server/models/adapters/__init__.py +94 -0
  214. plexora/server/models/adapters/anndata_adapter.py +388 -0
  215. plexora/server/models/adapters/base.py +93 -0
  216. plexora/server/models/adapters/classify.py +192 -0
  217. plexora/server/models/adapters/csv_adapter.py +105 -0
  218. plexora/server/models/adapters/inspection.py +265 -0
  219. plexora/server/models/adapters/spatialdata_adapter.py +248 -0
  220. plexora/server/models/centroid_tiles.py +305 -0
  221. plexora/server/models/data_model.py +1659 -0
  222. plexora/server/models/database_model.py +169 -0
  223. plexora/server/models/project.py +1270 -0
  224. plexora/server/plugins.py +199 -0
  225. plexora/server/routes/browse_routes.py +41 -0
  226. plexora/server/routes/data_routes.py +294 -0
  227. plexora/server/routes/import_routes.py +603 -0
  228. plexora/server/routes/page_routes.py +139 -0
  229. plexora/server/routes/project_routes.py +438 -0
  230. plexora/server/routes/quick_view_routes.py +62 -0
  231. plexora/server/routes/system_routes.py +39 -0
  232. plexora/server/routes/tool_routes.py +418 -0
  233. plexora/server/utils/addHEColumns.py +11 -0
  234. plexora/server/utils/fast_png.py +97 -0
  235. plexora/server/utils/fullConversion.py +50 -0
  236. plexora/server/utils/native_dialog.py +168 -0
  237. plexora/server/utils/pre_normalization.py +47 -0
  238. plexora/server/utils/segmentation_pyramid.py +598 -0
  239. plexora/server/utils/smallestenclosingcircle.py +126 -0
  240. plexora/server/utils/tiffsurgeon.py +372 -0
  241. plexora/server_cli.py +48 -0
  242. plexora/test.py +0 -0
  243. plexora-0.0.1.dist-info/METADATA +341 -0
  244. plexora-0.0.1.dist-info/RECORD +248 -0
  245. plexora-0.0.1.dist-info/WHEEL +5 -0
  246. plexora-0.0.1.dist-info/entry_points.txt +12 -0
  247. plexora-0.0.1.dist-info/licenses/LICENSE +207 -0
  248. plexora-0.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1655 @@
1
+ /* Bootstrap Overrides */
2
+ #bodyDiv {
3
+ background: #05070a !important;
4
+ height: 100%;
5
+ }
6
+
7
+ #container {
8
+ border: 0;
9
+ box-sizing: border-box;
10
+ margin: 0;
11
+ padding: 0;
12
+ }
13
+
14
+ #container {
15
+ height: 95vh;
16
+ max-height: 95vh;
17
+ margin: 0;
18
+ overflow: hidden;
19
+ position: relative;
20
+ width: 100vw;
21
+ max-width: 100vw;
22
+ z-index: 100;
23
+ }
24
+
25
+ /* Design tokens (--surface-*, --text-*, --space-*, etc.) live in tokens.css,
26
+ loaded by base.html on every page. */
27
+
28
+ :focus-visible {
29
+ outline: 2px solid var(--accent-channel);
30
+ outline-offset: 2px;
31
+ }
32
+
33
+ .viewer-shell {
34
+ box-sizing: border-box;
35
+ display: grid;
36
+ grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
37
+ height: 100%;
38
+ min-width: 0;
39
+ width: 100%;
40
+ }
41
+
42
+ .viewer-sidebar {
43
+ background: linear-gradient(180deg, rgba(20, 24, 31, 0.98), rgba(10, 13, 18, 0.98));
44
+ border-right: 1px solid var(--border-subtle);
45
+ box-sizing: border-box;
46
+ box-shadow: 12px 0 28px rgba(0, 0, 0, 0.35);
47
+ color: var(--text-primary);
48
+ display: flex;
49
+ flex-direction: column;
50
+ gap: var(--space-3);
51
+ min-height: 0;
52
+ overflow-y: auto;
53
+ /* Explicit, and not merely the default. `overflow-y: auto` alone makes the
54
+ other axis compute to `auto` too, so a single pixel of overflow anywhere
55
+ in the sidebar -- a long column name, a row one gap too wide -- put a
56
+ scrollbar across the bottom of the whole panel. Nothing in here is meant
57
+ to be reached by scrolling sideways: every long value truncates. */
58
+ overflow-x: hidden;
59
+ padding: var(--space-4);
60
+ position: relative;
61
+ z-index: 103;
62
+ }
63
+
64
+ /* Scrollbars in the viewer's own colours.
65
+ *
66
+ * Left alone they are drawn by the platform, which on Windows means a white
67
+ * trough and a grey thumb sitting in a panel that is nearly black -- the
68
+ * brightest thing on the page, on a control nobody is looking at. Both
69
+ * spellings are needed: `scrollbar-*` is the standard one (Firefox), and the
70
+ * `::-webkit-scrollbar` pseudo-elements are what Chromium reads.
71
+ *
72
+ * Scoped to the shell rather than to a list, so anything that scrolls inside it
73
+ * matches -- including a plugin's, which should not have to ship scrollbar
74
+ * chrome of its own to look like it belongs.
75
+ */
76
+ .viewer-sidebar,
77
+ .viewer-sidebar *,
78
+ .marker-combobox-menu,
79
+ .color-swatch-popover {
80
+ scrollbar-color: var(--border-strong) transparent;
81
+ scrollbar-width: thin;
82
+ }
83
+
84
+ .viewer-sidebar::-webkit-scrollbar,
85
+ .viewer-sidebar *::-webkit-scrollbar,
86
+ .marker-combobox-menu::-webkit-scrollbar,
87
+ .color-swatch-popover::-webkit-scrollbar {
88
+ height: 8px;
89
+ width: 8px;
90
+ }
91
+
92
+ .viewer-sidebar::-webkit-scrollbar-track,
93
+ .viewer-sidebar *::-webkit-scrollbar-track,
94
+ .marker-combobox-menu::-webkit-scrollbar-track,
95
+ .color-swatch-popover::-webkit-scrollbar-track {
96
+ background: transparent;
97
+ }
98
+
99
+ .viewer-sidebar::-webkit-scrollbar-thumb,
100
+ .viewer-sidebar *::-webkit-scrollbar-thumb,
101
+ .marker-combobox-menu::-webkit-scrollbar-thumb,
102
+ .color-swatch-popover::-webkit-scrollbar-thumb {
103
+ background: var(--border-strong);
104
+ /* Fully round, and inset from the track, so the thumb reads as an overlay
105
+ on the panel rather than as a groove cut into it. */
106
+ background-clip: padding-box;
107
+ border: 2px solid transparent;
108
+ border-radius: 999px;
109
+ }
110
+
111
+ .viewer-sidebar::-webkit-scrollbar-thumb:hover,
112
+ .viewer-sidebar *::-webkit-scrollbar-thumb:hover,
113
+ .marker-combobox-menu::-webkit-scrollbar-thumb:hover,
114
+ .color-swatch-popover::-webkit-scrollbar-thumb:hover {
115
+ background: var(--text-muted);
116
+ background-clip: padding-box;
117
+ }
118
+
119
+ /* The corner where two scrollbars meet, which is drawn white otherwise. */
120
+ .viewer-sidebar::-webkit-scrollbar-corner,
121
+ .viewer-sidebar *::-webkit-scrollbar-corner {
122
+ background: transparent;
123
+ }
124
+
125
+ .sidebar-header {
126
+ align-items: center;
127
+ display: flex;
128
+ justify-content: space-between;
129
+ min-height: 44px;
130
+ }
131
+
132
+ .sidebar-kicker {
133
+ color: var(--text-muted);
134
+ display: block;
135
+ font-size: 11px;
136
+ font-weight: 700;
137
+ letter-spacing: 0;
138
+ text-transform: uppercase;
139
+ }
140
+
141
+ .sidebar-header h1 {
142
+ color: #ffffff;
143
+ font-size: 20px;
144
+ font-weight: 700;
145
+ line-height: 1.1;
146
+ margin: 0;
147
+ }
148
+
149
+ .sidebar-section {
150
+ border-top: 1px solid var(--border-subtle);
151
+ padding-top: 14px;
152
+ }
153
+
154
+ /* Addon-tool mount point (see toolLoader.js) -- hidden until the tool is
155
+ opened, whether that's on first client-side lazy load or after closing. */
156
+ #tool_panel_slot.tool-panel-hidden {
157
+ display: none;
158
+ }
159
+
160
+ /* One wrapper per tool inside that slot. Several tools can be loaded at once
161
+ and each keeps its own panel DOM; a collapsed card hides its own. The slot
162
+ used to hold a single tool's markup directly, so opening a second tool
163
+ overwrote the first -- see toolLoader.js. */
164
+ .tool-panel-mount.tool-panel-hidden {
165
+ display: none;
166
+ }
167
+
168
+ /* One card per loaded tool. The stack IS the layer order: the top card is the
169
+ topmost layer, and dragging by the grip restacks the picture (toolLoader.js's
170
+ syncLayerOrder). */
171
+ #tool_panel_slot {
172
+ display: flex;
173
+ flex-direction: column;
174
+ gap: 8px;
175
+ }
176
+
177
+ .tool-card {
178
+ background: var(--surface-2);
179
+ border: 1px solid var(--border-subtle);
180
+ border-radius: var(--radius-sm);
181
+ min-width: 0;
182
+ }
183
+
184
+ /* The selected tool -- the one the Cells control and the opacity slider act on.
185
+ A left edge rather than a fill: several cards can be on screen and only one of
186
+ them is selected, so the marker has to read at a glance without making the
187
+ others look switched off. */
188
+ .tool-card.is-active {
189
+ border-color: var(--accent-channel-soft);
190
+ box-shadow: inset 3px 0 0 var(--accent-channel);
191
+ }
192
+
193
+ /* Loaded but drawing nothing. Dimmed, not hidden: the card is how the user gets
194
+ it back. */
195
+ .tool-card.is-layer-off .tool-card-title {
196
+ color: var(--text-muted);
197
+ }
198
+
199
+ .tool-card-header {
200
+ align-items: center;
201
+ display: flex;
202
+ gap: 4px;
203
+ min-width: 0;
204
+ padding: 6px 6px 6px 4px;
205
+ }
206
+
207
+ .tool-card-grip {
208
+ color: var(--text-muted);
209
+ cursor: grab;
210
+ font-size: 11px;
211
+ flex: 0 0 auto;
212
+ padding: 2px 4px;
213
+ }
214
+
215
+ .tool-card-grip:active {
216
+ cursor: grabbing;
217
+ }
218
+
219
+ .tool-card-title {
220
+ background: none;
221
+ border: 0;
222
+ color: var(--text-primary);
223
+ flex: 1;
224
+ font-size: 12px;
225
+ font-weight: 700;
226
+ min-width: 0;
227
+ overflow: hidden;
228
+ padding: 2px 0;
229
+ text-align: left;
230
+ text-overflow: ellipsis;
231
+ white-space: nowrap;
232
+ }
233
+
234
+ .tool-card-collapse,
235
+ .tool-card-eye,
236
+ .tool-card-remove {
237
+ background: none;
238
+ border: 0;
239
+ border-radius: var(--radius-sm);
240
+ color: var(--text-muted);
241
+ flex: 0 0 auto;
242
+ font-size: 11px;
243
+ line-height: 1;
244
+ padding: 4px 5px;
245
+ transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
246
+ }
247
+
248
+ .tool-card-collapse:hover,
249
+ .tool-card-eye:hover,
250
+ .tool-card-remove:hover {
251
+ background: rgba(255, 255, 255, 0.12);
252
+ color: #ffffff;
253
+ }
254
+
255
+ /* The chevron points at what a click does: down while open, right while folded.
256
+ `> *` and not `span`: FontAwesome is loaded as JS (vendor.js), so it REPLACES
257
+ every `<span class="fas fa-...">` with an `<svg>` on load. A selector naming
258
+ the span -- or the `fas` class, which the generated svg does not carry --
259
+ stops matching the moment the page finishes loading, and the rule silently
260
+ does nothing. Extra, non-FontAwesome classes ARE carried onto the svg, which
261
+ is what the eye below relies on. */
262
+ .tool-card.is-collapsed .tool-card-collapse > * {
263
+ transform: rotate(-90deg);
264
+ }
265
+
266
+ .tool-card-collapse > * {
267
+ display: inline-block;
268
+ transition: transform var(--duration-fast) var(--ease-standard);
269
+ }
270
+
271
+ /* The eye says what the layer is doing NOW, so a hidden layer gets a struck-out
272
+ eye. Both glyphs live in the button and CSS picks one: rewriting a captured
273
+ glyph's class from JS is what used to leave an open eye sitting over a layer
274
+ that was off -- after the replacement above there is no span left to rewrite,
275
+ and nothing reports that. */
276
+ .tool-card-eye .tool-card-eye-off,
277
+ .tool-card.is-layer-off .tool-card-eye .tool-card-eye-on {
278
+ display: none;
279
+ }
280
+
281
+ .tool-card.is-layer-off .tool-card-eye .tool-card-eye-off {
282
+ display: inline-block;
283
+ }
284
+
285
+ .tool-card-body {
286
+ padding: 0 8px 8px;
287
+ }
288
+
289
+ .tool-card.is-collapsed .tool-card-body {
290
+ display: none;
291
+ }
292
+
293
+ /* Brief state while toolLoader.js fetches + injects a tool's panel/scripts
294
+ on first open (subsequent opens are instant, no loading state). */
295
+ .dropdown-item.tool-loading {
296
+ opacity: 0.6;
297
+ pointer-events: none;
298
+ }
299
+
300
+ #image_channel_section {
301
+ border-color: var(--accent-channel-soft);
302
+ }
303
+
304
+ #image_channel_section .section-heading h2 {
305
+ color: #d9f3ff;
306
+ }
307
+
308
+ .sidebar-section.compact {
309
+ margin-top: auto;
310
+ padding-bottom: 12px;
311
+ }
312
+
313
+ .section-heading {
314
+ align-items: center;
315
+ display: flex;
316
+ gap: var(--space-3);
317
+ justify-content: space-between;
318
+ margin-bottom: 10px;
319
+ min-width: 0;
320
+ }
321
+
322
+ .section-heading h2 {
323
+ align-items: center;
324
+ color: #f7fafc;
325
+ display: flex;
326
+ font-size: 13px;
327
+ font-weight: 700;
328
+ gap: var(--space-2);
329
+ margin: 0;
330
+ }
331
+
332
+ /* A core section's fold control. The whole title row is the button, so it reads
333
+ as a heading and behaves like the plugin cards' chevron -- but there is no
334
+ grip and no remove beside it: core's sections are fixed in place, and only a
335
+ plugin's card can be restacked or unloaded. */
336
+ .section-collapse {
337
+ align-items: center;
338
+ background: none;
339
+ border: 0;
340
+ color: inherit;
341
+ cursor: pointer;
342
+ display: flex;
343
+ font: inherit;
344
+ gap: var(--space-2);
345
+ letter-spacing: inherit;
346
+ min-width: 0;
347
+ padding: 0;
348
+ text-align: left;
349
+ }
350
+
351
+ /* A heading does not usually respond to the pointer, so the chevron brightening
352
+ is what says this one is a control. */
353
+ .section-collapse:hover .section-collapse-chevron {
354
+ color: var(--text-primary);
355
+ }
356
+
357
+ /* Points at what a click does -- down while open, right while folded. Its own
358
+ class, not `.fas` or a tag: FontAwesome (loaded as JS in vendor.js) replaces
359
+ the span with an svg and keeps only the classes that are not its own, so a
360
+ marker class is the one handle that survives the swap. */
361
+ .section-collapse-chevron {
362
+ color: var(--text-muted);
363
+ font-size: 11px;
364
+ transition: transform var(--duration-fast) var(--ease-standard);
365
+ }
366
+
367
+ .sidebar-section.is-collapsed .section-collapse-chevron {
368
+ transform: rotate(-90deg);
369
+ }
370
+
371
+ /* Folding hides the body, never the heading: the CSV-rename button lives in the
372
+ heading and has to stay reachable while the channel list is put away. */
373
+ .sidebar-section.is-collapsed .section-heading {
374
+ margin-bottom: 0;
375
+ }
376
+
377
+ .sidebar-section.is-collapsed .section-body {
378
+ display: none;
379
+ }
380
+
381
+ .section-heading-icon {
382
+ color: var(--text-muted);
383
+ font-size: 12px;
384
+ }
385
+
386
+ .section-actions {
387
+ box-sizing: border-box;
388
+ display: flex;
389
+ flex: 0 0 auto;
390
+ flex-wrap: nowrap;
391
+ gap: 4px;
392
+ justify-content: flex-end;
393
+ }
394
+
395
+ .icon-button {
396
+ align-items: center;
397
+ background: rgba(255, 255, 255, 0.06);
398
+ border: 1px solid var(--border-subtle);
399
+ border-radius: var(--radius-sm);
400
+ color: var(--text-secondary);
401
+ cursor: pointer;
402
+ display: inline-flex;
403
+ height: 28px;
404
+ justify-content: center;
405
+ min-width: 28px;
406
+ padding: 0;
407
+ transition: background var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
408
+ }
409
+
410
+ .icon-button:hover {
411
+ background: rgba(255, 255, 255, 0.12);
412
+ color: #ffffff;
413
+ }
414
+
415
+ .icon-button:active {
416
+ transform: scale(0.94);
417
+ }
418
+
419
+ .control-label {
420
+ color: var(--text-muted);
421
+ display: block;
422
+ font-size: 11px;
423
+ font-weight: 700;
424
+ margin-bottom: 6px;
425
+ text-transform: uppercase;
426
+ }
427
+
428
+ .sidebar-select {
429
+ background: var(--surface-2);
430
+ border: 1px solid var(--border-strong);
431
+ border-radius: var(--radius-sm);
432
+ color: var(--text-primary);
433
+ font-size: 13px;
434
+ height: 32px;
435
+ max-width: 100%;
436
+ min-width: 0;
437
+ overflow: hidden;
438
+ padding: 0 8px;
439
+ text-overflow: ellipsis;
440
+ transition: border-color var(--duration-fast) var(--ease-standard);
441
+ width: 100%;
442
+ }
443
+
444
+ .sidebar-select:hover {
445
+ border-color: rgba(255, 255, 255, 0.32);
446
+ }
447
+
448
+ .range-readout {
449
+ color: var(--text-secondary);
450
+ display: flex;
451
+ font-variant-numeric: tabular-nums;
452
+ font-size: 12px;
453
+ justify-content: space-between;
454
+ margin: 9px 2px 0;
455
+ }
456
+
457
+ .sidebar-slider {
458
+ min-height: 38px;
459
+ overflow: visible;
460
+ width: 100%;
461
+ }
462
+
463
+ .sidebar-action {
464
+ align-items: center;
465
+ background: var(--accent-gate);
466
+ border: 0;
467
+ border-radius: var(--radius-sm);
468
+ color: #160b06;
469
+ cursor: pointer;
470
+ display: inline-flex;
471
+ font-size: 12px;
472
+ font-weight: 700;
473
+ gap: 8px;
474
+ height: 32px;
475
+ justify-content: center;
476
+ margin-top: 6px;
477
+ padding: 0 12px;
478
+ transition: filter var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
479
+ width: 100%;
480
+ }
481
+
482
+ .sidebar-action:hover {
483
+ filter: brightness(1.08);
484
+ }
485
+
486
+ .sidebar-action:active {
487
+ transform: scale(0.98);
488
+ }
489
+
490
+ .sidebar-action.secondary {
491
+ background: rgba(255, 255, 255, 0.08);
492
+ border: 1px dashed var(--border-strong);
493
+ color: var(--text-secondary);
494
+ }
495
+
496
+ .sidebar-action:disabled {
497
+ cursor: default;
498
+ filter: none;
499
+ opacity: 0.45;
500
+ transform: none;
501
+ }
502
+
503
+ .sidebar-action-fancy {
504
+ align-items: center;
505
+ background: var(--surface-2);
506
+ border: 1px solid var(--accent-channel);
507
+ border-radius: var(--radius-sm);
508
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
509
+ color: #eef3f8;
510
+ cursor: pointer;
511
+ display: inline-flex;
512
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
513
+ font-size: 12.5px;
514
+ font-weight: 700;
515
+ gap: 8px;
516
+ height: 36px;
517
+ justify-content: center;
518
+ letter-spacing: 0.02em;
519
+ margin-top: 14px;
520
+ padding: 0 12px;
521
+ width: 100%;
522
+ }
523
+
524
+ .sidebar-action-fancy .fas {
525
+ color: var(--accent-channel);
526
+ font-size: 13px;
527
+ }
528
+
529
+ .sidebar-action-fancy:hover {
530
+ background: #182231;
531
+ }
532
+
533
+ .sidebar-action-fancy:active {
534
+ background: var(--surface-1);
535
+ }
536
+
537
+ .sidebar-action-fancy[hidden] {
538
+ display: none;
539
+ }
540
+
541
+ .distribution-plot {
542
+ background: var(--surface-1);
543
+ border: 1px solid var(--border-subtle);
544
+ border-radius: var(--radius-sm);
545
+ height: 132px;
546
+ margin-top: 12px;
547
+ overflow: hidden;
548
+ width: 100%;
549
+ }
550
+
551
+ .sidebar-distribution-line {
552
+ fill: none;
553
+ stroke: #9fb0c6;
554
+ stroke-width: 2;
555
+ }
556
+
557
+ .gate-threshold-line {
558
+ stroke: #ff3131;
559
+ stroke-width: 2;
560
+ }
561
+
562
+ .distribution-axis path,
563
+ .distribution-axis line {
564
+ stroke: rgba(255, 255, 255, 0.2);
565
+ }
566
+
567
+ .distribution-axis text {
568
+ fill: #9aa8ba;
569
+ font-size: 10px;
570
+ }
571
+
572
+ .selected-count {
573
+ align-items: baseline;
574
+ color: var(--text-muted);
575
+ display: flex;
576
+ font-size: 12px;
577
+ gap: 4px;
578
+ justify-content: flex-end;
579
+ margin: -2px 0 8px;
580
+ }
581
+
582
+ .selected-count-max {
583
+ color: rgba(142, 160, 184, 0.7);
584
+ }
585
+
586
+ .channel-slot-list {
587
+ display: flex;
588
+ flex-direction: column;
589
+ gap: var(--space-2);
590
+ }
591
+
592
+ .channel-slot {
593
+ background: rgba(8, 21, 30, 0.76);
594
+ border: 1px solid rgba(56, 189, 248, 0.18);
595
+ border-radius: 7px;
596
+ padding: 7px 9px 4px 12px;
597
+ position: relative;
598
+ transition: opacity var(--duration-base) var(--ease-standard);
599
+ }
600
+
601
+ .channel-slot::before {
602
+ background: var(--slot-color, var(--accent-channel));
603
+ border-radius: 3px 0 0 3px;
604
+ bottom: 0;
605
+ content: "";
606
+ left: 0;
607
+ position: absolute;
608
+ top: 0;
609
+ transition: background var(--duration-fast) var(--ease-standard);
610
+ width: 3px;
611
+ }
612
+
613
+ .channel-slot.is-hidden {
614
+ display: none;
615
+ }
616
+
617
+ .channel-slot.is-disabled {
618
+ opacity: 0.58;
619
+ }
620
+
621
+ .channel-slot-top {
622
+ align-items: center;
623
+ display: grid;
624
+ gap: 7px;
625
+ grid-template-columns: 28px 24px minmax(0, 1fr) 24px 24px;
626
+ min-width: 0;
627
+ }
628
+
629
+ /* Toggle switch (replaces the default OS checkbox for per-channel enable state) */
630
+ .channel-toggle-switch {
631
+ appearance: none;
632
+ background: rgba(255, 255, 255, 0.16);
633
+ border: 0;
634
+ border-radius: 999px;
635
+ cursor: pointer;
636
+ height: 16px;
637
+ margin: 0;
638
+ position: relative;
639
+ transition: background var(--duration-fast) var(--ease-standard);
640
+ width: 28px;
641
+ }
642
+
643
+ .channel-toggle-switch::before {
644
+ background: #f8fafc;
645
+ border-radius: 50%;
646
+ content: "";
647
+ height: 12px;
648
+ left: 2px;
649
+ position: absolute;
650
+ top: 2px;
651
+ transition: transform var(--duration-fast) var(--ease-standard);
652
+ width: 12px;
653
+ }
654
+
655
+ .channel-toggle-switch:checked {
656
+ background: var(--accent-channel);
657
+ }
658
+
659
+ .channel-toggle-switch:checked::before {
660
+ transform: translateX(12px);
661
+ }
662
+
663
+ .channel-toggle-switch:hover {
664
+ background: rgba(255, 255, 255, 0.26);
665
+ }
666
+
667
+ .channel-toggle-switch:checked:hover {
668
+ background: var(--accent-channel);
669
+ filter: brightness(1.1);
670
+ }
671
+
672
+ /* Color swatch button + curated-palette popover */
673
+ .color-swatch-mount {
674
+ position: relative;
675
+ }
676
+
677
+ .channel-color-swatch {
678
+ background: var(--swatch-color, var(--accent-channel));
679
+ border: 1px solid rgba(255, 255, 255, 0.28);
680
+ border-radius: var(--radius-sm);
681
+ cursor: pointer;
682
+ height: 24px;
683
+ padding: 0;
684
+ transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
685
+ width: 24px;
686
+ }
687
+
688
+ .channel-color-swatch:hover {
689
+ border-color: rgba(255, 255, 255, 0.5);
690
+ transform: scale(1.06);
691
+ }
692
+
693
+ .channel-color-swatch:active {
694
+ transform: scale(0.94);
695
+ }
696
+
697
+ .color-swatch-popover {
698
+ background: var(--surface-2);
699
+ border: 1px solid var(--border-strong);
700
+ border-radius: var(--radius-md);
701
+ box-shadow: var(--shadow-md);
702
+ opacity: 0;
703
+ padding: var(--space-2);
704
+ /* position: fixed + left/top set inline in JS on open (see ColorSwatchPicker.positionPopover) -
705
+ this element is portaled onto <body> so a dimmed (opacity<1) ancestor row's stacking
706
+ context can never trap it behind a later sibling row */
707
+ position: fixed;
708
+ transform: translateY(-4px) scale(0.96);
709
+ transform-origin: top left;
710
+ transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
711
+ width: 184px;
712
+ z-index: 500;
713
+ }
714
+
715
+ .color-swatch-popover.is-open {
716
+ opacity: 1;
717
+ transform: translateY(0) scale(1);
718
+ }
719
+
720
+ .color-swatch-grid {
721
+ display: grid;
722
+ gap: 6px;
723
+ grid-template-columns: repeat(5, 1fr);
724
+ }
725
+
726
+ .color-swatch-option {
727
+ background: var(--swatch-color);
728
+ border: 2px solid transparent;
729
+ border-radius: 50%;
730
+ cursor: pointer;
731
+ height: 26px;
732
+ padding: 0;
733
+ transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard);
734
+ width: 26px;
735
+ }
736
+
737
+ .color-swatch-option:hover {
738
+ transform: scale(1.12);
739
+ }
740
+
741
+ .color-swatch-option.is-selected {
742
+ border-color: #ffffff;
743
+ }
744
+
745
+ .color-swatch-custom-row {
746
+ align-items: center;
747
+ border-top: 1px solid var(--border-subtle);
748
+ color: var(--text-secondary);
749
+ display: flex;
750
+ font-size: 11px;
751
+ font-weight: 700;
752
+ justify-content: space-between;
753
+ margin-top: var(--space-2);
754
+ padding-top: var(--space-2);
755
+ text-transform: uppercase;
756
+ }
757
+
758
+ .color-swatch-custom-row input[type="color"] {
759
+ background: transparent;
760
+ border: 1px solid var(--border-strong);
761
+ border-radius: var(--radius-sm);
762
+ cursor: pointer;
763
+ height: 22px;
764
+ padding: 0;
765
+ width: 32px;
766
+ }
767
+
768
+ /* Searchable marker combobox (channel rows + gate marker) */
769
+ .marker-combobox,
770
+ .marker-combobox-mount {
771
+ min-width: 0;
772
+ position: relative;
773
+ }
774
+
775
+ .marker-combobox-input {
776
+ cursor: text;
777
+ }
778
+
779
+ /* The compact trigger: a button showing the current value, with the search
780
+ inside the menu it opens. Sized to its label rather than to a text field,
781
+ which is what lets it share a line with other controls. */
782
+ .marker-combobox-trigger {
783
+ align-items: center;
784
+ cursor: pointer;
785
+ display: flex;
786
+ gap: 6px;
787
+ justify-content: space-between;
788
+ text-align: left;
789
+ }
790
+
791
+ .marker-combobox-trigger-label {
792
+ /* Truncates rather than widening the row -- the full value is on the
793
+ button's title. */
794
+ flex: 1 1 auto;
795
+ min-width: 0;
796
+ overflow: hidden;
797
+ text-overflow: ellipsis;
798
+ white-space: nowrap;
799
+ }
800
+
801
+ .marker-combobox-trigger-label.is-placeholder {
802
+ color: var(--text-muted);
803
+ }
804
+
805
+ .marker-combobox-caret {
806
+ color: var(--text-muted);
807
+ flex: 0 0 auto;
808
+ font-size: 9px;
809
+ }
810
+
811
+ .marker-combobox-menu {
812
+ background: var(--surface-2);
813
+ border: 1px solid var(--border-strong);
814
+ border-radius: var(--radius-md);
815
+ box-shadow: var(--shadow-md);
816
+ max-height: 220px;
817
+ opacity: 0;
818
+ /* A wheel this list cannot absorb stops here rather than moving the panel
819
+ behind it. Scrolling a popup must never scroll what the popup is over. */
820
+ overscroll-behavior: contain;
821
+ overflow-y: auto;
822
+ /* position: fixed + left/top/width set inline in JS on open (see SearchableSelect.positionMenu) -
823
+ portaled onto <body> for the same stacking-context reason as .color-swatch-popover above */
824
+ position: fixed;
825
+ transform: translateY(-4px) scale(0.98);
826
+ transform-origin: top;
827
+ transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard);
828
+ z-index: 500;
829
+ }
830
+
831
+ .marker-combobox-menu.is-open {
832
+ opacity: 1;
833
+ transform: translateY(0) scale(1);
834
+ }
835
+
836
+ /* With a search box in it the menu stops scrolling as a whole -- the search
837
+ has to stay put while the list under it moves, or it scrolls away exactly
838
+ when it is being used. */
839
+ .marker-combobox-menu.has-search {
840
+ display: flex;
841
+ flex-direction: column;
842
+ max-height: 260px;
843
+ overflow: hidden;
844
+ }
845
+
846
+ .marker-combobox-searchbox {
847
+ align-items: center;
848
+ background: var(--surface-1);
849
+ border-bottom: 1px solid var(--border-subtle);
850
+ color: var(--text-muted);
851
+ display: flex;
852
+ flex: 0 0 auto;
853
+ font-size: 11px;
854
+ gap: 6px;
855
+ padding: 6px 10px;
856
+ }
857
+
858
+ .marker-combobox-search {
859
+ background: none;
860
+ border: 0;
861
+ color: var(--text-primary);
862
+ flex: 1;
863
+ font-size: 13px;
864
+ min-width: 0;
865
+ outline: none;
866
+ padding: 0;
867
+ }
868
+
869
+ .marker-combobox-list {
870
+ flex: 1 1 auto;
871
+ min-height: 0;
872
+ overscroll-behavior: contain;
873
+ overflow-y: auto;
874
+ }
875
+
876
+ .marker-combobox-option {
877
+ align-items: center;
878
+ color: var(--text-primary);
879
+ cursor: pointer;
880
+ display: flex;
881
+ font-size: 13px;
882
+ gap: var(--space-2);
883
+ justify-content: space-between;
884
+ padding: 7px 10px;
885
+ }
886
+
887
+ .marker-combobox-option:hover,
888
+ .marker-combobox-option.is-active {
889
+ background: rgba(56, 189, 248, 0.16);
890
+ }
891
+
892
+ .marker-combobox-option.is-selected .marker-combobox-option-label {
893
+ color: var(--accent-channel);
894
+ font-weight: 700;
895
+ }
896
+
897
+ .marker-combobox-option-label {
898
+ flex: 1 1 auto;
899
+ min-width: 0;
900
+ overflow: hidden;
901
+ text-overflow: ellipsis;
902
+ white-space: nowrap;
903
+ }
904
+
905
+ .marker-combobox-option-indicator {
906
+ background: #2bd46f;
907
+ border-radius: 50%;
908
+ flex: 0 0 auto;
909
+ height: 6px;
910
+ width: 6px;
911
+ }
912
+
913
+ .marker-combobox-hint {
914
+ color: var(--text-muted);
915
+ flex: 0 0 auto;
916
+ font-size: 10px;
917
+ font-style: italic;
918
+ text-transform: uppercase;
919
+ }
920
+
921
+ .marker-combobox-empty {
922
+ color: var(--text-muted);
923
+ font-size: 12px;
924
+ padding: 10px;
925
+ text-align: center;
926
+ }
927
+
928
+ .channel-slot-expand-toggle {
929
+ align-items: center;
930
+ background: transparent;
931
+ border: 1px solid transparent;
932
+ border-radius: var(--radius-sm);
933
+ color: var(--text-muted);
934
+ cursor: pointer;
935
+ display: inline-flex;
936
+ height: 26px;
937
+ justify-content: center;
938
+ padding: 0;
939
+ width: 24px;
940
+ }
941
+
942
+ /* `> *`, not `.fas`: FontAwesome's JS swaps the span for an svg that carries
943
+ `svg-inline--fa fa-chevron-down` and NOT `fas`, so the `.fas` this used to
944
+ name stopped matching once the page loaded and the chevron never turned. */
945
+ .channel-slot-expand-toggle > * {
946
+ transition: transform var(--duration-base) var(--ease-standard);
947
+ }
948
+
949
+ .channel-slot-expand-toggle:hover {
950
+ background: rgba(255, 255, 255, 0.08);
951
+ color: var(--text-primary);
952
+ }
953
+
954
+ .channel-slot-expand-toggle.is-expanded > * {
955
+ transform: rotate(180deg);
956
+ }
957
+
958
+ .slot-auto-button {
959
+ background: rgba(255, 255, 255, 0.08);
960
+ border: 1px solid var(--border-subtle);
961
+ border-radius: var(--radius-sm);
962
+ color: var(--text-primary);
963
+ cursor: pointer;
964
+ flex: 0 0 auto;
965
+ font-size: 11px;
966
+ font-weight: 700;
967
+ height: 22px;
968
+ padding: 0 8px;
969
+ transition: background var(--duration-fast) var(--ease-standard);
970
+ }
971
+
972
+ .slot-auto-button:hover {
973
+ background: rgba(255, 255, 255, 0.14);
974
+ }
975
+
976
+ .slot-remove-button {
977
+ align-items: center;
978
+ background: transparent;
979
+ border: 1px solid rgba(148, 163, 184, 0.18);
980
+ border-radius: 5px;
981
+ color: #93a4b8;
982
+ cursor: pointer;
983
+ display: inline-flex;
984
+ font-size: 11px;
985
+ height: 26px;
986
+ justify-content: center;
987
+ padding: 0;
988
+ transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), color var(--duration-fast) var(--ease-standard);
989
+ width: 24px;
990
+ }
991
+
992
+ .slot-remove-button:hover,
993
+ .slot-remove-button:focus {
994
+ background: rgba(248, 113, 113, 0.12);
995
+ border-color: rgba(248, 113, 113, 0.45);
996
+ color: #fecaca;
997
+ outline: none;
998
+ }
999
+
1000
+ /* Collapsible per-channel threshold panel - hidden until the expand chevron is clicked */
1001
+ .channel-slot-detail {
1002
+ max-height: 0;
1003
+ opacity: 0;
1004
+ overflow: hidden;
1005
+ transition: max-height var(--duration-base) var(--ease-standard), opacity var(--duration-base) var(--ease-standard), margin-top var(--duration-base) var(--ease-standard);
1006
+ }
1007
+
1008
+ .channel-slot-detail.is-expanded {
1009
+ margin-top: 4px;
1010
+ max-height: 150px;
1011
+ opacity: 1;
1012
+ }
1013
+
1014
+ .slot-detail-header {
1015
+ align-items: center;
1016
+ display: flex;
1017
+ gap: var(--space-2);
1018
+ justify-content: space-between;
1019
+ }
1020
+
1021
+ .slot-detail-header .range-readout {
1022
+ flex: 1;
1023
+ margin: 0;
1024
+ }
1025
+
1026
+ .slot-range-readout {
1027
+ color: #b7e7f7;
1028
+ }
1029
+
1030
+ /* How cells are drawn: one choice of four, not four independent switches.
1031
+ Styled as a segmented control so the mutual exclusivity is visible before
1032
+ anything is clicked -- the two checkboxes this replaced looked combinable and
1033
+ were not. */
1034
+ /* The whole section on one line: four mode buttons, then HD. The buttons take
1035
+ whatever is left after HD, and truncate rather than wrap -- a control that
1036
+ reflows to two lines in a narrow sidebar stops reading as one choice. */
1037
+ .cell-display-row {
1038
+ align-items: center;
1039
+ display: flex;
1040
+ gap: 10px;
1041
+ min-width: 0;
1042
+ }
1043
+
1044
+ .cell-mode-control {
1045
+ flex: 1;
1046
+ min-width: 0;
1047
+ }
1048
+
1049
+ .cell-mode-options {
1050
+ background: var(--surface-2);
1051
+ border: 1px solid var(--border-subtle);
1052
+ border-radius: 6px;
1053
+ display: flex;
1054
+ overflow: hidden;
1055
+ width: 100%;
1056
+ }
1057
+
1058
+ .cell-mode-option {
1059
+ background: transparent;
1060
+ border: 0;
1061
+ border-right: 1px solid var(--border-subtle);
1062
+ color: var(--text-secondary);
1063
+ cursor: pointer;
1064
+ flex: 1;
1065
+ font-size: 11px;
1066
+ min-width: 0;
1067
+ overflow: hidden;
1068
+ padding: 6px 4px;
1069
+ text-overflow: ellipsis;
1070
+ transition: background 120ms ease, color 120ms ease;
1071
+ white-space: nowrap;
1072
+ }
1073
+
1074
+ .cell-mode-option:last-child {
1075
+ border-right: 0;
1076
+ }
1077
+
1078
+ .cell-mode-option:hover:not(:disabled):not(.is-active) {
1079
+ background: rgba(255, 255, 255, 0.06);
1080
+ color: var(--text-primary);
1081
+ }
1082
+
1083
+ .cell-mode-option:focus-visible {
1084
+ /* Inset so the outline is not clipped by the group's overflow:hidden --
1085
+ a focus ring drawn outside the rounded box is a focus ring nobody sees. */
1086
+ outline: 2px solid var(--accent-channel);
1087
+ outline-offset: -2px;
1088
+ }
1089
+
1090
+ .cell-mode-option.is-active {
1091
+ background: var(--accent-channel);
1092
+ color: #0b1118;
1093
+ font-weight: 600;
1094
+ }
1095
+
1096
+ .cell-mode-option:disabled {
1097
+ /* Still readable, so the control says what this project could draw rather
1098
+ than hiding the option and leaving no clue that a mask would enable it. */
1099
+ cursor: not-allowed;
1100
+ opacity: 0.4;
1101
+ }
1102
+
1103
+ #viewer_controls_panel {
1104
+ align-items: center;
1105
+ background: transparent;
1106
+ border: 0;
1107
+ bottom: auto;
1108
+ color: var(--text-secondary);
1109
+ display: flex;
1110
+ /* Fixed to its content and never shrinking: HD is two characters, and the
1111
+ mode buttons beside it are the part with room to give. */
1112
+ flex: 0 0 auto;
1113
+ font-size: 12px;
1114
+ gap: 6px;
1115
+ padding: 0;
1116
+ position: static;
1117
+ z-index: auto;
1118
+ }
1119
+
1120
+ /* A checkbox drawn as one of the segmented buttons next to it, so the row reads
1121
+ as one row of controls instead of a control plus a leftover tickbox. The
1122
+ input stays a real focusable checkbox -- moved off-screen rather than
1123
+ `display: none`, which would take it out of the tab order -- and the span
1124
+ beside it is what gets painted. Sibling selectors rather than :has(), so
1125
+ there is no support question to answer. */
1126
+ .cell-toggle {
1127
+ cursor: pointer;
1128
+ display: inline-flex;
1129
+ margin: 0;
1130
+ position: relative;
1131
+ }
1132
+
1133
+ .cell-toggle input {
1134
+ height: 1px;
1135
+ opacity: 0;
1136
+ position: absolute;
1137
+ width: 1px;
1138
+ }
1139
+
1140
+ .cell-toggle span {
1141
+ background: var(--surface-2);
1142
+ border: 1px solid var(--border-subtle);
1143
+ border-radius: 6px;
1144
+ color: var(--text-secondary);
1145
+ font-size: 11px;
1146
+ padding: 6px 10px;
1147
+ transition: background 120ms ease, color 120ms ease;
1148
+ }
1149
+
1150
+ .cell-toggle:hover span {
1151
+ background: rgba(255, 255, 255, 0.06);
1152
+ color: var(--text-primary);
1153
+ }
1154
+
1155
+ .cell-toggle input:checked + span {
1156
+ background: var(--accent-channel);
1157
+ border-color: var(--accent-channel);
1158
+ color: #0b1118;
1159
+ font-weight: 600;
1160
+ }
1161
+
1162
+ .cell-toggle input:focus-visible + span {
1163
+ outline: 2px solid var(--accent-channel);
1164
+ outline-offset: 2px;
1165
+ }
1166
+
1167
+ /* Appears under the mode row, and only in Centroids. */
1168
+ .cell-point-size {
1169
+ align-items: center;
1170
+ display: flex;
1171
+ gap: 10px;
1172
+ padding-top: 8px;
1173
+ }
1174
+
1175
+ .cell-point-size .control-label {
1176
+ flex: 0 0 auto;
1177
+ margin-bottom: 0;
1178
+ }
1179
+
1180
+ .cell-point-size input {
1181
+ flex: 1;
1182
+ min-width: 0;
1183
+ }
1184
+
1185
+ /* Same row shape as the point-size slider, under the mode buttons, and shown
1186
+ only while a plugin layer is active -- there is nothing to fade a plain white
1187
+ cell layer against. */
1188
+ .cell-layer-opacity {
1189
+ align-items: center;
1190
+ display: flex;
1191
+ gap: 10px;
1192
+ padding-top: 8px;
1193
+ }
1194
+
1195
+ .cell-layer-opacity .control-label {
1196
+ flex: 0 0 auto;
1197
+ margin-bottom: 0;
1198
+ }
1199
+
1200
+ .cell-layer-opacity input {
1201
+ flex: 1;
1202
+ min-width: 0;
1203
+ }
1204
+
1205
+ .cell-layer-opacity-value {
1206
+ color: var(--text-muted);
1207
+ flex: 0 0 auto;
1208
+ font-size: 11px;
1209
+ font-variant-numeric: tabular-nums;
1210
+ min-width: 34px;
1211
+ text-align: right;
1212
+ }
1213
+
1214
+ #openseadragon_wrapper {
1215
+ display: flex;
1216
+ height: 100%;
1217
+ min-width: 0;
1218
+ padding: 0;
1219
+ position: relative;
1220
+ width: 100%;
1221
+ z-index: 100;
1222
+ }
1223
+
1224
+ .sidebar-expand-button {
1225
+ align-items: center;
1226
+ background: rgba(18, 24, 32, 0.92);
1227
+ border: 1px solid var(--border-strong);
1228
+ border-radius: 0 6px 6px 0;
1229
+ color: var(--text-primary);
1230
+ cursor: pointer;
1231
+ display: none;
1232
+ height: 38px;
1233
+ justify-content: center;
1234
+ left: 0;
1235
+ position: absolute;
1236
+ top: 24px;
1237
+ transition: background var(--duration-fast) var(--ease-standard);
1238
+ width: 34px;
1239
+ z-index: 106;
1240
+ }
1241
+
1242
+ .sidebar-expand-button:hover {
1243
+ background: rgba(31, 41, 55, 0.98);
1244
+ }
1245
+
1246
+ .viewer-shell.sidebar-collapsed .sidebar-expand-button {
1247
+ display: inline-flex;
1248
+ }
1249
+
1250
+ #openseadragon {
1251
+ height: 100%;
1252
+ position: relative;
1253
+ transform: translate3d(0, 0, 0);
1254
+ width: 100%;
1255
+ will-change: width;
1256
+ z-index: 100;
1257
+ }
1258
+
1259
+ #openseadragon_loader {
1260
+ align-items: center;
1261
+ display: none;
1262
+ inset: 0;
1263
+ justify-content: center;
1264
+ left: 50%;
1265
+ position: absolute;
1266
+ top: 50%;
1267
+ transform: translate(-50%, -50%);
1268
+ z-index: 200;
1269
+ }
1270
+
1271
+ #openseadragon_loader.viewer-loader {
1272
+ left: 0;
1273
+ top: 0;
1274
+ transform: none;
1275
+ }
1276
+
1277
+ #openseadragon_loader .lds-ellipsis div {
1278
+ background: rgba(255, 255, 255, 1);
1279
+ }
1280
+
1281
+ .viewer-project-label {
1282
+ background: rgba(17, 24, 39, 0.86);
1283
+ border: 1px solid rgba(148, 163, 184, 0.34);
1284
+ border-radius: 5px;
1285
+ color: rgba(241, 245, 249, 0.95);
1286
+ font-size: 13px;
1287
+ font-weight: 600;
1288
+ left: 12px;
1289
+ max-width: 40%;
1290
+ overflow: hidden;
1291
+ padding: 6px 10px;
1292
+ pointer-events: none;
1293
+ position: absolute;
1294
+ text-overflow: ellipsis;
1295
+ top: 12px;
1296
+ white-space: nowrap;
1297
+ z-index: 220;
1298
+ }
1299
+
1300
+ .viewer-channel-legend {
1301
+ background: rgba(17, 24, 39, 0.86);
1302
+ border: 1px solid rgba(148, 163, 184, 0.34);
1303
+ border-radius: 5px;
1304
+ bottom: 48px;
1305
+ color: rgba(241, 245, 249, 0.95);
1306
+ display: flex;
1307
+ flex-direction: column;
1308
+ font-size: 15px;
1309
+ gap: 6px;
1310
+ padding: 10px 12px;
1311
+ pointer-events: none;
1312
+ position: absolute;
1313
+ right: 12px;
1314
+ z-index: 220;
1315
+ }
1316
+
1317
+ .legend-row {
1318
+ align-items: center;
1319
+ display: flex;
1320
+ gap: 8px;
1321
+ }
1322
+
1323
+ .legend-name {
1324
+ font-weight: 600;
1325
+ }
1326
+
1327
+ .legend-swatch {
1328
+ border-radius: 2px;
1329
+ display: inline-block;
1330
+ height: 13px;
1331
+ width: 13px;
1332
+ }
1333
+
1334
+ /* The overview lens, bottom-left. Bottom-right is taken by the channel legend
1335
+ above and the OSD scalebar.
1336
+
1337
+ The root keeps its FULL expanded size in both states and never animates its
1338
+ own box -- collapsing is a transform on the stage instead. Two reasons: a
1339
+ size transition would make offsetWidth mid-flight meaningless to miniMap.js's
1340
+ _layout(), and a layout-affecting animation on an absolutely positioned
1341
+ sibling of the canvas is a repaint the viewer does not need. Nothing about
1342
+ the root itself is interactive, so it passes pointer events through to the
1343
+ viewer and the two children opt back in. */
1344
+ .viewer-mini-map {
1345
+ bottom: 12px;
1346
+ /* min() rather than a flat 220px because OSD's own toolbar is repositioned
1347
+ imperatively to left:40vh (imageViewer.js) -- a viewport-HEIGHT unit used
1348
+ as a horizontal offset, so the toolbar slides left as the window gets
1349
+ shorter. Sizing the lens in the same unit keeps the two apart at every
1350
+ window height instead of only tall ones; a flat 220px overlaps the
1351
+ toolbar below roughly 600px of window height. */
1352
+ height: min(220px, 30vh);
1353
+ left: 12px;
1354
+ pointer-events: none;
1355
+ position: absolute;
1356
+ width: min(220px, 30vh);
1357
+ z-index: 220;
1358
+ }
1359
+
1360
+ /* The circle. Scaled down into the lens button while collapsed rather than
1361
+ hidden, so opening reads as the button expanding into the map. */
1362
+ .viewer-mini-map-stage {
1363
+ background: rgba(8, 12, 18, 0.92);
1364
+ border: 1px solid rgba(148, 163, 184, 0.34);
1365
+ border-radius: 50%;
1366
+ box-shadow: var(--shadow-md);
1367
+ height: 100%;
1368
+ left: 0;
1369
+ opacity: 0;
1370
+ overflow: hidden;
1371
+ pointer-events: none;
1372
+ position: absolute;
1373
+ top: 0;
1374
+ transform: scale(0.16);
1375
+ transform-origin: bottom left;
1376
+ transition: opacity var(--duration-base) var(--ease-standard),
1377
+ transform var(--duration-base) var(--ease-standard);
1378
+ width: 100%;
1379
+ }
1380
+
1381
+ .viewer-mini-map.is-expanded .viewer-mini-map-stage {
1382
+ opacity: 1;
1383
+ pointer-events: auto;
1384
+ transform: scale(1);
1385
+ }
1386
+
1387
+ /* Positioned and sized entirely from JS (_layout), because where the image
1388
+ sits inside the circle depends on its aspect ratio. */
1389
+ .viewer-mini-map-canvas {
1390
+ position: absolute;
1391
+ }
1392
+
1393
+ /* The region currently on screen. Sized from the viewer's own viewport bounds,
1394
+ so it is a rectangle of the canvas's aspect rather than a square. */
1395
+ .viewer-mini-map-indicator {
1396
+ border: 1.5px solid rgba(248, 250, 252, 0.9);
1397
+ border-radius: 2px;
1398
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.55);
1399
+ cursor: grab;
1400
+ position: absolute;
1401
+ }
1402
+
1403
+ .viewer-mini-map-indicator:active {
1404
+ cursor: grabbing;
1405
+ }
1406
+
1407
+ /* Why the circle is empty, on the rare occasion it is empty for a reason (see
1408
+ MiniMap._updateNote). Inset well inside the diameter so the text does not run
1409
+ under the border-radius clip, and pointer-events: none so it never steals a
1410
+ click meant for the map underneath. */
1411
+ .viewer-mini-map-note {
1412
+ align-items: center;
1413
+ color: var(--text-secondary);
1414
+ display: flex;
1415
+ font-size: 11px;
1416
+ inset: 0 14%;
1417
+ justify-content: center;
1418
+ line-height: 1.35;
1419
+ pointer-events: none;
1420
+ position: absolute;
1421
+ text-align: center;
1422
+ }
1423
+
1424
+ /* The indicator means "you are here on the tissue"; with no tissue drawn it
1425
+ points at nothing and only competes with the message. */
1426
+ .viewer-mini-map.has-note .viewer-mini-map-indicator {
1427
+ display: none;
1428
+ }
1429
+
1430
+ /* Sits at the bottom-left corner of the root while collapsed -- which is where
1431
+ the stage's transform-origin is, so the map appears to grow out of it -- and
1432
+ moves to the top-right when expanded, where a contain-fitted image leaves
1433
+ dead space. */
1434
+ .viewer-mini-map-lens {
1435
+ align-items: center;
1436
+ background: rgba(18, 24, 32, 0.82);
1437
+ border: 1px solid var(--border-subtle);
1438
+ border-radius: 50%;
1439
+ bottom: 0;
1440
+ color: rgba(226, 232, 240, 0.72);
1441
+ cursor: pointer;
1442
+ display: inline-flex;
1443
+ height: 34px;
1444
+ justify-content: center;
1445
+ left: 0;
1446
+ padding: 0;
1447
+ pointer-events: auto;
1448
+ position: absolute;
1449
+ transition: background var(--duration-fast) var(--ease-standard),
1450
+ bottom var(--duration-base) var(--ease-standard),
1451
+ color var(--duration-fast) var(--ease-standard),
1452
+ height var(--duration-base) var(--ease-standard),
1453
+ left var(--duration-base) var(--ease-standard),
1454
+ width var(--duration-base) var(--ease-standard);
1455
+ width: 34px;
1456
+ }
1457
+
1458
+ .viewer-mini-map-lens:hover {
1459
+ background: rgba(31, 41, 55, 0.95);
1460
+ color: var(--text-primary);
1461
+ }
1462
+
1463
+ .viewer-mini-map-lens svg {
1464
+ height: 18px;
1465
+ width: 18px;
1466
+ }
1467
+
1468
+ .viewer-mini-map.is-expanded .viewer-mini-map-lens {
1469
+ bottom: calc(100% - 26px);
1470
+ height: 26px;
1471
+ left: calc(100% - 26px);
1472
+ width: 26px;
1473
+ }
1474
+
1475
+ .viewer-mini-map.is-expanded .viewer-mini-map-lens svg {
1476
+ height: 14px;
1477
+ width: 14px;
1478
+ }
1479
+
1480
+ #legacy_controls_mount {
1481
+ height: 1px;
1482
+ left: -10000px;
1483
+ overflow: hidden;
1484
+ position: absolute;
1485
+ top: 0;
1486
+ width: 420px;
1487
+ }
1488
+
1489
+ #channel_list_wrapper {
1490
+ background-color: rgba(0, 0, 0, 0);
1491
+ left: 0;
1492
+ position: absolute;
1493
+ top: 0;
1494
+ width: 360px;
1495
+ z-index: 1;
1496
+ }
1497
+
1498
+ #boxHeading1 {
1499
+ color: rgba(255, 255, 255, 1);
1500
+ font-size: 16px;
1501
+ position: relative;
1502
+ }
1503
+
1504
+ #selected-channels-header-div {
1505
+ position: absolute;
1506
+ right: 0;
1507
+ top: 0;
1508
+ }
1509
+
1510
+ #download-channels-header-div {
1511
+ color: rgba(255, 255, 255, 1);
1512
+ }
1513
+
1514
+ #channels_upload_icon {
1515
+ cursor: pointer;
1516
+ }
1517
+
1518
+ .list {
1519
+ border: 1px solid rgba(255, 255, 255, 1);
1520
+ overflow-y: scroll;
1521
+ position: relative;
1522
+ width: 100%;
1523
+ }
1524
+
1525
+ .list .list-group-item {
1526
+ background-color: rgba(0, 0, 0, 0.75);
1527
+ border: 0;
1528
+ color: rgba(255, 255, 255, 1);
1529
+ padding: 5px 2px 3px 2px;
1530
+ }
1531
+
1532
+ #channel_list {
1533
+ font-size: 10pt;
1534
+ height: 80vh;
1535
+ overflow-x: hidden;
1536
+ overflow-y: auto;
1537
+ width: 100%;
1538
+ }
1539
+
1540
+ body.sidebar-collapsed .viewer-shell,
1541
+ .viewer-shell.sidebar-collapsed {
1542
+ grid-template-columns: 0 minmax(0, 1fr);
1543
+ }
1544
+
1545
+ .viewer-shell.sidebar-collapsed .viewer-sidebar {
1546
+ border-right: 0;
1547
+ overflow: hidden;
1548
+ padding-left: 0;
1549
+ padding-right: 0;
1550
+ }
1551
+
1552
+ .viewer-shell.sidebar-collapsed .viewer-sidebar > * {
1553
+ display: none;
1554
+ }
1555
+
1556
+ /* Loader offset, and core's channel-CSV upload input, which is triggered by
1557
+ the upload icon rather than shown. Both lived in gating.css back when that
1558
+ stylesheet was linked unconditionally; a plugin's stylesheet must not be
1559
+ what keeps a core control hidden. */
1560
+ #openseadragon_loader, #channel_list_loader {
1561
+ margin-left: 33px;
1562
+ }
1563
+
1564
+ #channels_arrow-upload-form, #channels_arrow-upload-form * {
1565
+ display: none;
1566
+ }
1567
+
1568
+ .input {
1569
+ border: 1px solid gray;
1570
+ box-sizing: border-box;
1571
+ font-size: 8px;
1572
+ margin-top: 15px;
1573
+ width: 35px;
1574
+ }
1575
+
1576
+ .auto-loading {
1577
+ opacity: 50%;
1578
+ }
1579
+
1580
+ .auto-btn {
1581
+ border: 1px;
1582
+ float: right;
1583
+ padding-bottom: 0;
1584
+ padding-top: 0;
1585
+ }
1586
+
1587
+ .image_distribution_line,
1588
+ .distribution_line {
1589
+ fill: none;
1590
+ stroke: rgba(130, 130, 130, 0.5);
1591
+ stroke-width: 4px;
1592
+ }
1593
+
1594
+ .gmm_line {
1595
+ fill: none;
1596
+ stroke-opacity: 0.75;
1597
+ stroke-width: 1px;
1598
+ }
1599
+
1600
+ .slider .handle {
1601
+ cursor: move;
1602
+ fill: #fff;
1603
+ stroke: #000;
1604
+ stroke-opacity: .5;
1605
+ stroke-width: 1.25px;
1606
+ }
1607
+
1608
+ .slider text {
1609
+ font-size: 10px;
1610
+ margin-top: -10px;
1611
+ }
1612
+
1613
+ .list-button {
1614
+ cursor: pointer;
1615
+ }
1616
+
1617
+ .selected-channels-header {
1618
+ color: white;
1619
+ font-size: 0.6rem;
1620
+ }
1621
+
1622
+ .bold-selections-header * {
1623
+ font-weight: bold;
1624
+ }
1625
+
1626
+ .col-svg-wrapper {
1627
+ }
1628
+
1629
+ @media (max-width: 900px) {
1630
+ .viewer-shell {
1631
+ grid-template-columns: 100%;
1632
+ grid-template-rows: minmax(290px, 42vh) minmax(0, 1fr);
1633
+ }
1634
+
1635
+ .section-heading {
1636
+ align-items: flex-start;
1637
+ flex-direction: column;
1638
+ gap: 8px;
1639
+ }
1640
+
1641
+ .section-actions {
1642
+ justify-content: flex-start;
1643
+ width: 100%;
1644
+ }
1645
+
1646
+ .viewer-sidebar {
1647
+ border-bottom: 1px solid rgba(255, 255, 255, 0.12);
1648
+ border-right: 0;
1649
+ max-height: 42vh;
1650
+ }
1651
+
1652
+ #openseadragon_wrapper {
1653
+ min-height: 0;
1654
+ }
1655
+ }