@vitessce/neuroglancer 3.5.12 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,12 @@
1
- import { makeStyles } from '@material-ui/core';
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { makeStyles, GlobalStyles, ScopedGlobalStyles } from '@vitessce/styles';
2
3
  // Reference: https://github.com/vitessce/vitessce/blob/tkakar/cat-1107-create-neuroglancer-view/sites/demo/neuro-styles.css
3
- function prependGlobalPrefix(jssObject) {
4
- return Object.entries(jssObject).reduce((accumulator, [key, value]) => {
5
- accumulator[`@global ${key}`] = value;
6
- return accumulator;
7
- }, {});
8
- }
4
+ export const useStyles = makeStyles()(() => ({
5
+ neuroglancerWrapper: {
6
+ position: 'relative',
7
+ height: '100%',
8
+ },
9
+ }));
9
10
  // We define a subset of styles as a string,
10
11
  // and render with <style></style>
11
12
  // since Neuroglancer renders them outside of the
@@ -14,7 +15,7 @@ function prependGlobalPrefix(jssObject) {
14
15
  // directly to the `document` by neuroglancer,
15
16
  // so we cannot scope them as children of the
16
17
  // .neuroglancer-container class.
17
- export const globalNeuroglancerCss = `
18
+ const globalNeuroglancerCss = `
18
19
 
19
20
  .neuroglancer-position-widget,
20
21
  .neuroglancer-viewer-top-row,
@@ -644,1981 +645,1979 @@ span.CodeMirror-selectedtext {
644
645
  height: 100%
645
646
  }
646
647
  `;
647
- export const useStyles = makeStyles(() => ({
648
- neuroglancerWrapper: {
648
+ const globalNeuroglancerStyles = {
649
+ '.neuroglancer-container': {
649
650
  position: 'relative',
650
651
  height: '100%',
651
- ...prependGlobalPrefix({
652
- '.neuroglancer-container': {
653
- position: 'relative',
654
- height: '100%',
655
- },
656
- // Converted neuro-styles.css using transform.tools
657
- '#statusContainer': {
658
- position: 'absolute',
659
- bottom: '0px',
660
- zIndex: 100,
661
- backgroundColor: 'gray',
662
- color: '#fff',
663
- margin: '0',
664
- padding: '0',
665
- font: '10pt sans-serif',
666
- },
667
- '#statusContainer li': {
668
- width: '100vw',
669
- maxHeight: '25vh',
670
- overflowY: 'auto',
671
- },
672
- '.neuroglancer-status-header': {
673
- display: 'inline-block',
674
- font: '10pt sans-serif',
675
- fontWeight: 'bold',
676
- backgroundColor: '#333',
677
- padding: '2px',
678
- },
679
- '.neuroglancer-selection-details-body': {
680
- height: '0px',
681
- flex: 1,
682
- overflowY: 'auto',
683
- flexBasis: '0px',
684
- minHeight: '0px',
685
- },
686
- '.neuroglancer-selection-details-position': {
687
- display: 'flex',
688
- flexDirection: 'row',
689
- alignItems: 'center',
690
- justifyItems: 'left',
691
- fontFamily: 'monospace',
692
- fontSize: 'medium',
693
- },
694
- '.neuroglancer-selection-details-position-dimension+.neuroglancer-selection-details-position-dimension': {
695
- marginLeft: '8px',
696
- },
697
- '.neuroglancer-selection-details-position-dimension-name': { color: '#ff6' },
698
- '.neuroglancer-selection-details-position-dimension-coordinate': {
699
- marginLeft: '5px',
700
- userSelect: 'text',
701
- },
702
- '.neuroglancer-selection-details-layer': {
703
- marginTop: '4px',
704
- marginBottom: '4px',
705
- border: '1px solid #222',
706
- },
707
- '.neuroglancer-selection-details-layer-title': {
708
- cursor: 'pointer',
709
- backgroundColor: '#222',
710
- fontFamily: 'sans-serif',
711
- fontSize: '10pt',
712
- },
713
- '.neuroglancer-selection-details-layer-title:hover': {
714
- backgroundColor: '#333',
715
- },
716
- '.neuroglancer-selection-details-layer-body': {
717
- padding: '2px',
718
- display: 'flex',
719
- flexDirection: 'column',
720
- },
721
- '.neuroglancer-side-panel-column': {
722
- display: 'flex',
723
- flexDirection: 'column',
724
- minWidth: '0px',
725
- },
726
- '.neuroglancer-side-panel-row': {
727
- display: 'flex',
728
- flexDirection: 'row',
729
- minHeight: '0px',
730
- },
731
- '.neuroglancer-side-panel': {
732
- display: 'flex',
733
- flexDirection: 'column',
734
- minWidth: '0px',
735
- overflow: 'hidden',
736
- },
737
- '.neuroglancer-side-panel-titlebar': {
738
- display: 'flex',
739
- flexDirection: 'row',
740
- alignItems: 'center',
741
- fontFamily: 'sans-serif',
742
- fontSize: '10pt',
743
- backgroundColor: '#03c',
744
- padding: '2px',
745
- color: '#fff',
746
- },
747
- '.neuroglancer-side-panel-title': {
748
- flex: 1,
749
- textOverflow: 'ellipsis',
750
- overflow: 'hidden',
751
- whiteSpace: 'nowrap',
752
- },
753
- '.neuroglancer-side-panel-drop-zone': { zIndex: 1000, display: 'none' },
754
- '[data-neuroglancer-side-panel-drag] .neuroglancer-side-panel-drop-zone': {
755
- display: 'block',
756
- },
757
- '.neuroglancer-resize-gutter-vertical': {
758
- height: '1px',
759
- backgroundColor: '#333',
760
- backgroundClip: 'content-box',
761
- paddingTop: '2px',
762
- paddingBottom: '2px',
763
- cursor: 'row-resize',
764
- },
765
- '.neuroglancer-resize-gutter-horizontal': {
766
- width: '1px',
767
- backgroundColor: '#333',
768
- backgroundClip: 'content-box',
769
- paddingRight: '2px',
770
- paddingLeft: '2px',
771
- cursor: 'col-resize',
772
- },
773
- '.neuroglancer-drag-status': {
774
- position: 'absolute',
775
- top: '0px',
776
- zIndex: 1000,
777
- backgroundColor: '#ff0',
778
- color: '#000',
779
- font: '10pt sans-serif',
780
- padding: '2px',
781
- },
782
- '.neuroglancer-icon': {
783
- display: 'inline-flex',
784
- textDecoration: 'none',
785
- alignSelf: 'center',
786
- whiteSpace: 'nowrap',
787
- paddingLeft: '2px',
788
- paddingRight: '2px',
789
- minWidth: '18px',
790
- minHeight: '18px',
791
- borderRadius: '20%',
792
- alignItems: 'center',
793
- justifyContent: 'center',
794
- color: '#fff',
795
- font: '12px sans-serif',
796
- cursor: 'pointer',
797
- fontWeight: 900,
798
- marginLeft: '1px',
799
- marginRight: '1px',
800
- },
801
- '.neuroglancer-icon svg': {
802
- width: '16px',
803
- height: '16px',
804
- fill: 'transparent',
805
- stroke: '#fff',
806
- strokeWidth: 2,
807
- strokeLinecap: 'round',
808
- strokeLinejoin: 'round',
809
- },
810
- '.neuroglancer-icon:hover': { backgroundColor: '#db4437' },
811
- '.neuroglancer-checkbox-icon.light-background[data-checked=true]': {
812
- backgroundColor: '#00000080',
813
- },
814
- '.neuroglancer-checkbox-icon.dark-background[data-checked=true]': {
815
- backgroundColor: '#fff3',
816
- },
817
- '.neuroglancer-image-dropdown': {
818
- overflowY: 'auto',
819
- display: 'flex',
820
- flexDirection: 'column',
821
- height: '0px',
822
- },
823
- '.neuroglancer-image-dropdown .neuroglancer-shader-code-widget': {
824
- flexShrink: 0,
825
- height: '8em',
826
- border: '1px solid transparent',
827
- },
828
- '.neuroglancer-image-dropdown-top-row': {
829
- display: 'flex',
830
- flexDirection: 'row',
831
- alignItems: 'center',
832
- },
833
- '.neuroglancer-image-layer-shader-overlay .neuroglancer-shader-code-widget': {
834
- width: '80vw',
835
- height: '80vh',
836
- },
837
- '.neuroglancer-selection-details-value-grid': {
838
- display: 'grid',
839
- gridAutoRows: 'auto',
840
- fontFamily: 'monospace',
841
- fontSize: 'medium',
842
- alignItems: 'center',
843
- },
844
- '.neuroglancer-selection-details-value-grid-dim': {
845
- gridColumn: 'dim',
846
- color: '#ff6',
847
- },
848
- '.neuroglancer-selection-details-value-grid-dim:after': {
849
- content: '"="',
850
- color: '#aaa',
851
- },
852
- '.neuroglancer-selection-details-value-grid-coord': {
853
- gridColumn: 'coord',
854
- color: '#aaa',
855
- marginRight: '1ch',
856
- },
857
- '.neuroglancer-selection-details-value-grid-value': {
858
- gridColumn: 'value',
859
- userSelect: 'text',
860
- },
861
- '.neuroglancer-layer-data-sources-tab': {
862
- display: 'flex',
863
- flexDirection: 'column',
864
- },
865
- '.neuroglancer-layer-data-sources-container': {
866
- overflowY: 'auto',
867
- display: 'flex',
868
- flexDirection: 'column',
869
- flex: 1,
870
- height: '0px',
871
- },
872
- '.neuroglancer-layer-data-source-url-input input.autocomplete-input': {
873
- color: '#fff',
874
- },
875
- '.neuroglancer-layer-data-source-url-input input.autocomplete-hint': {
876
- color: '#aaa',
877
- },
878
- '.neuroglancer-layer-data-source-url-input .autocomplete-dropdown': {
879
- backgroundColor: '#333',
880
- },
881
- '.neuroglancer-layer-data-sources-source-id': { fontWeight: 'bold' },
882
- '.neuroglancer-layer-data-sources-source-id:not(:empty):before': {
883
- content: '"["',
884
- },
885
- '.neuroglancer-layer-data-sources-source-id:not(:empty):after': {
886
- content: '"]"',
887
- },
888
- '.neuroglancer-layer-data-sources-source-id:not(:empty)': {
889
- marginRight: '4px',
890
- color: '#0ff',
891
- },
892
- '.neuroglancer-layer-data-sources-source-messages:empty': { display: 'none' },
893
- '.neuroglancer-layer-data-sources-source-messages': {
894
- marginTop: '0',
895
- listStyle: 'none',
896
- paddingLeft: '0',
897
- },
898
- 'li.neuroglancer-message': { wordWrap: 'break-word', userSelect: 'text' },
899
- 'li.neuroglancer-message-error': { color: 'red' },
900
- 'li.neuroglancer-message-warning': { color: '#ff0' },
901
- 'li.neuroglancer-message-info': { color: '#ccc' },
902
- '.neuroglancer-layer-data-sources-source-default': {
903
- display: 'block',
904
- marginBottom: '4px',
905
- },
906
- '.neuroglancer-layer-data-sources-info-line[data-is-active=false]': {
907
- textDecoration: 'solid line-through #caa',
908
- },
909
- '.neuroglancer-layer-data-sources-tab-type-detection': {
910
- position: 'sticky',
911
- bottom: '0px',
912
- backgroundColor: '#ff9',
913
- color: '#000',
914
- textAlign: 'center',
915
- cursor: 'pointer',
916
- },
917
- '.neuroglancer-layer-data-sources-tab-type-detection:hover': {
918
- backgroundColor: '#ffc',
919
- },
920
- '.neuroglancer-layer-data-sources-tab-type-detection-type': {
921
- fontWeight: 'bold',
922
- },
923
- '.neuroglancer-coordinate-space-transform-widget': {
924
- display: 'grid',
925
- justifyItems: 'stretch',
926
- },
927
- '.neuroglancer-coordinate-space-transform-widget input': {
928
- fontFamily: 'monospace',
929
- justifySelf: 'stretch',
930
- backgroundColor: '#000',
931
- color: '#fff',
932
- padding: '2px',
933
- },
934
- '.neuroglancer-coordinate-space-transform-widget *[data-will-be-deleted=true]': {
935
- color: '#666',
936
- },
937
- '.neuroglancer-coordinate-space-transform-label': {
938
- fontStyle: 'italic',
939
- color: '#fcc',
940
- alignSelf: 'center',
941
- },
942
- '.neuroglancer-coordinate-space-transform-input-lower-label': {
943
- gridRow: 'sourceLower',
944
- gridColumn: 'outputLabel / sourceDim 1',
945
- },
946
- '.neuroglancer-coordinate-space-transform-translation-label': {
947
- gridRow: 'sourceLabel / outputDim 1',
948
- gridColumn: 'sourceDim -1',
949
- writingMode: 'vertical-lr',
950
- textOrientation: 'mixed',
951
- alignSelf: 'end',
952
- justifySelf: 'center',
953
- marginBottom: '2px',
954
- },
955
- '.neuroglancer-coordinate-space-transform-input-lower-label, .neuroglancer-coordinate-space-transform-input-upper-label, .neuroglancer-coordinate-space-transform-input-scale-label': {
956
- textAlign: 'right',
957
- marginRight: '4px',
958
- },
959
- '.neuroglancer-coordinate-space-transform-input-upper-label': {
960
- gridRow: 'sourceUpper',
961
- gridColumn: 'headerStart / headerEnd',
962
- },
963
- '.neuroglancer-coordinate-space-transform-input-scale-label': {
964
- gridRow: '5',
965
- gridColumn: 'headerStart / headerEnd',
966
- },
967
- '.neuroglancer-coordinate-space-transform-source-label': {
968
- gridRow: 'sourceLabel',
969
- gridColumn: 'sourceDim 1 / sourceDim -1',
970
- textAlign: 'center',
971
- },
972
- '.neuroglancer-coordinate-space-transform-output-label': {
973
- gridRow: 'outputDim 1 / outputDim -1',
974
- gridColumn: 'outputLabel',
975
- writingMode: 'vertical-lr',
976
- textOrientation: 'mixed',
977
- alignSelf: 'center',
978
- justifySelf: 'end',
979
- marginRight: '2px',
980
- },
981
- '.neuroglancer-coordinate-space-transform-input-name': {
982
- textAlign: 'center',
983
- },
984
- '.neuroglancer-coordinate-space-transform-input-name, input.neuroglancer-coordinate-space-transform-output-name': {
985
- fontFamily: 'monospace',
986
- color: '#ff6',
987
- },
988
- '.neuroglancer-coordinate-space-transform-scale': { textAlign: 'right' },
989
- '.neuroglancer-coordinate-space-transform-input-bounds, .neuroglancer-coordinate-space-transform-output-bounds': {
990
- whiteSpace: 'nowrap',
991
- fontFamily: 'monospace',
992
- fontSize: 'small',
993
- textAlign: 'right',
994
- paddingLeft: '2px',
995
- paddingRight: '2px',
996
- color: '#aff',
997
- },
998
- '.neuroglancer-coordinate-space-transform-input-bounds.neuroglancer-coordinate-space-transform-singleton:not(*[data-will-be-deleted="true"])': {
999
- color: '#fa6',
1000
- },
1001
- '.neuroglancer-coordinate-space-transform-widget input[data-is-valid=false], .neuroglancer-coordinate-space-transform-widget input[data-is-valid=false]::placeholder': {
1002
- textDecoration: 'solid underline red',
1003
- },
1004
- '.neuroglancer-coordinate-space-transform-output-extend': {
1005
- gridRow: 'outputDim -1',
1006
- gridColumn: 'outputNames',
1007
- display: 'flex',
1008
- flexDirection: 'column',
1009
- },
1010
- '.neuroglancer-coordinate-space-transform-output-extend input': {
1011
- alignSelf: 'stretch',
1012
- },
1013
- '.neuroglancer-coordinate-space-transform-output-extend[data-is-active=false] input': {
1014
- display: 'none',
1015
- },
1016
- '.neuroglancer-coordinate-space-transform-output-extend[data-is-active=true] .neuroglancer-icon': {
1017
- display: 'none',
1018
- },
1019
- '.neuroglancer-coordinate-space-transform-output-extend .neuroglancer-icon': {
1020
- alignSelf: 'start',
1021
- },
1022
- '.neuroglancer-coordinate-space-transform-translation-coeff': {
1023
- marginLeft: '3px',
1024
- },
1025
- '.neuroglancer-coordinate-space-transform-output-scale-container': {
1026
- marginRight: '3px',
1027
- },
1028
- '.neuroglancer-coordinate-space-transform-input-scale-container, .neuroglancer-coordinate-space-transform-input-scale-label': {
1029
- marginBottom: '3px',
1030
- },
1031
- '.neuroglancer-coordinate-space-transform-widget input, .neuroglancer-coordinate-space-transform-output-name-container, .neuroglancer-coordinate-space-transform-scale-container': {
1032
- border: '1px solid #333',
1033
- },
1034
- '.neuroglancer-coordinate-space-transform-widget .neuroglancer-coordinate-space-transform-output-name, .neuroglancer-coordinate-space-transform-widget .neuroglancer-coordinate-space-transform-scale': {
1035
- border: '0px',
1036
- },
1037
- '.neuroglancer-coordinate-space-transform-output-name-container': {
1038
- display: 'flex',
1039
- flexDirection: 'column',
1040
- alignItems: 'stretch',
1041
- marginRight: '3px',
1042
- },
1043
- '.neuroglancer-coordinate-space-transform-scale-container': {
1044
- display: 'flex',
1045
- flexDirection: 'column',
1046
- alignItems: 'stretch',
1047
- },
1048
- '.neuroglancer-coordinate-space-transform-scale-suggestion': {
1049
- fontFamily: 'monospace',
1050
- cursor: 'pointer',
1051
- borderRadius: '20%',
1052
- border: '1px solid #333',
1053
- alignSelf: 'flex-end',
1054
- margin: '2px',
1055
- color: '#aaa',
1056
- },
1057
- '.neuroglancer-coordinate-space-transform-scale-suggestion svg': {
1058
- width: '16px',
1059
- height: '16px',
1060
- fill: 'transparent',
1061
- stroke: '#aaa',
1062
- strokeWidth: 2,
1063
- strokeLinecap: 'round',
1064
- strokeLinejoin: 'round',
1065
- },
1066
- '.neuroglancer-coordinate-space-transform-scale-suggestion:hover': {
1067
- backgroundColor: '#db4437',
1068
- border: '1px solid transparent',
1069
- color: '#fff',
1070
- },
1071
- '.neuroglancer-coordinate-space-transform-scale-suggestion:hover svg': {
1072
- stroke: '#fff',
1073
- },
1074
- '.neuroglancer-coordinate-space-transform-widget-reset-buttons': {
1075
- gridRow: 'outputDim -1',
1076
- gridColumn: 'headerEnd / -1',
1077
- justifySelf: 'start',
1078
- },
1079
- '.neuroglancer-multiline-autocomplete': {
1080
- marginTop: '2px',
1081
- padding: '2px',
1082
- position: 'relative',
1083
- backgroundColor: '#222',
1084
- },
1085
- '.neuroglancer-multiline-autocomplete-hint, .neuroglancer-multiline-autocomplete-input': {
1086
- fontFamily: 'monospace',
1087
- color: '#fff',
1088
- wordWrap: 'break-word',
1089
- },
1090
- '.neuroglancer-multiline-autocomplete-input:focus': { outline: '0px' },
1091
- '.neuroglancer-multiline-autocomplete-input:not(:focus):empty:before': {
1092
- content: 'attr(data-placeholder)',
1093
- color: '#aaa',
1094
- },
1095
- '.neuroglancer-multiline-autocomplete-hint': { color: '#aaa' },
1096
- '.neuroglancer-multiline-autocomplete-hint, .neuroglancer-multiline-autocomplete-input, .neuroglancer-multiline-autocomplete-completion': {
1097
- fontFamily: 'monospace',
1098
- fontSize: 'medium',
1099
- },
1100
- '.neuroglancer-multiline-autocomplete-dropdown': {
1101
- color: '#fff',
1102
- backgroundColor: '#181818',
1103
- position: 'fixed',
1104
- display: 'block',
1105
- outline: '0',
1106
- margin: '0',
1107
- padding: '0',
1108
- left: '0px',
1109
- right: '0px',
1110
- textAlign: 'left',
1111
- cursor: 'default',
1112
- borderStyle: 'solid',
1113
- borderWidth: '1px',
1114
- borderColor: '#aaa',
1115
- overflowY: 'scroll',
1116
- wordWrap: 'break-word',
1117
- },
1118
- '.neuroglancer-multiline-autocomplete-completion:nth-child(even):not(.neuroglancer-multiline-autocomplete-completion-active)': {
1119
- backgroundColor: '#2b2b2b',
1120
- },
1121
- '.neuroglancer-multiline-autocomplete-completion:hover': {
1122
- outline: '1px solid #ddd',
1123
- },
1124
- '.neuroglancer-multiline-autocomplete-completion-active': {
1125
- backgroundColor: '#666',
1126
- },
1127
- '.neuroglancer-multiline-autocomplete-completion-description': {
1128
- fontStyle: 'italic',
1129
- color: '#f9f',
1130
- },
1131
- '.neuroglancer-tab-view': { display: 'flex', flexDirection: 'column' },
1132
- '.neuroglancer-tab-view-bar': {
1133
- display: 'block',
1134
- backgroundColor: '#333',
1135
- borderBottom: '1px solid white',
1136
- },
1137
- '.neuroglancer-tab-label': {
1138
- display: 'inline-block',
1139
- borderTop: '1px solid transparent',
1140
- borderLeft: '1px solid transparent',
1141
- borderRight: '1px solid transparent',
1142
- borderBottom: 'none',
1143
- marginRight: '4px',
1144
- paddingTop: '1px',
1145
- paddingLeft: '2px',
1146
- paddingRight: '2px',
1147
- font: '10pt sans-serif',
1148
- fontWeight: 'bold',
1149
- cursor: 'pointer',
1150
- },
1151
- '.neuroglancer-tab-label:hover': { color: '#daa520' },
1152
- '.neuroglancer-tab-label.neuroglancer-selected-tab-label': {
1153
- backgroundColor: '#000',
1154
- borderTop: '1px solid white',
1155
- borderLeft: '1px solid white',
1156
- borderRight: '1px solid white',
1157
- borderBottom: '1px solid black',
1158
- paddingBottom: '1px',
1159
- marginBottom: '-1px',
1160
- },
1161
- '.neuroglancer-stack-view': { display: 'contents' },
1162
- '.neuroglancer-tab-view>.neuroglancer-stack-view>.neuroglancer-tab-content': {
1163
- flex: 1,
1164
- flexBasis: '0px',
1165
- height: '0px',
1166
- minHeight: '0px',
1167
- padding: '2px',
1168
- },
1169
- '.neuroglancer-tool-key-binding': {
1170
- display: 'inline-block',
1171
- color: '#0ff',
1172
- font: '9pt monospace',
1173
- whiteSpace: 'pre',
1174
- },
1175
- '.neuroglancer-tool-key-binding:hover': { outline: '1px solid #fff' },
1176
- '.neuroglancer-tool-key-binding:before': { content: '"["' },
1177
- '.neuroglancer-tool-key-binding:after': { content: '"]"' },
1178
- '.neuroglancer-tool-key-binding:before, .neuroglancer-tool-key-binding:after': {
1179
- color: '#999',
1180
- },
1181
- '.neuroglancer-tool-button': { display: 'inline-flex', flexDirection: 'row' },
1182
- '#statusContainer li.neuroglancer-tool-status': { maxHeight: '50vh' },
1183
- '.neuroglancer-tool-status-bindings': { backgroundColor: '#333' },
1184
- '.neuroglancer-tool-status-content': {
1185
- display: 'flex',
1186
- flexDirection: 'row',
1187
- },
1188
- '.neuroglancer-tool-status-header-container': {
1189
- backgroundColor: '#555',
1190
- width: 'min-content',
1191
- padding: '3px',
1192
- display: 'flex',
1193
- flexDirection: 'row',
1194
- alignItems: 'center',
1195
- },
1196
- '.neuroglancer-tool-status-header': { alignSelf: 'center' },
1197
- '.neuroglancer-tool-status-body': { flex: 1, padding: '2px' },
1198
- '.neuroglancer-viewer': { outline: '0px' },
1199
- '.neuroglancer-viewer-top-row': {
1200
- display: 'flex',
1201
- flexDirection: 'row',
1202
- alignItems: 'center',
1203
- backgroundColor: '#222',
1204
- marginBottom: '3px',
1205
- paddingRight: '2px',
1206
- },
1207
- '.neuroglancer-viewer-side-panel': {
1208
- display: 'flex',
1209
- flexDirection: 'column',
1210
- alignItems: 'stretch',
1211
- maxWidth: '80%',
1212
- color: '#fff',
1213
- },
1214
- '.neuroglancer-noselect': {
1215
- WebkitTouchCallout: 'none',
1216
- WebkitUserSelect: 'none',
1217
- KhtmlUserSelect: 'none',
1218
- MozUserSelect: 'none',
1219
- msUserSelect: 'none',
1220
- userSelect: 'none',
1221
- },
1222
- '.neuroglancer-select-text': {
1223
- WebkitTouchCallout: 'default',
1224
- WebkitUserSelect: 'text',
1225
- KhtmlUserSelect: 'text',
1226
- MozUserSelect: 'text',
1227
- msUserSelect: 'text',
1228
- userSelect: 'text',
1229
- },
1230
- '.neuroglancer-data-panel-layout-controls': {
1231
- position: 'absolute',
1232
- top: '2px',
1233
- right: '2px',
1234
- display: 'flex',
1235
- alignItems: 'start',
1236
- },
1237
- '.neuroglancer-data-panel-layout-controls>button': {
1238
- display: 'flex',
1239
- margin: '2px',
1240
- border: ['0px', '1px solid white'],
1241
- backgroundColor: '#00000080',
1242
- flexDirection: 'row',
1243
- alignSelf: 'top',
1244
- alignItems: 'center',
1245
- justifyContent: 'center',
1246
- fontSize: '15px',
1247
- width: '18px',
1248
- height: '18px',
1249
- color: '#fff',
1250
- },
1251
- '.neuroglancer-data-panel-layout-controls>button>div': {
1252
- display: 'inline-block',
1253
- textAlign: 'center',
1254
- lineHeight: '12px',
1255
- width: '15px',
1256
- height: '15px',
1257
- },
1258
- '.neuroglancer-data-panel-layout-controls>button:hover': { color: '#6ff' },
1259
- 'label.perspective-panel-show-slice-views': {
1260
- pointerEvents: 'none',
1261
- position: 'absolute',
1262
- right: '2px',
1263
- bottom: '2px',
1264
- fontFamily: 'sans-serif',
1265
- fontSize: 'small',
1266
- },
1267
- 'input.perspective-panel-show-slice-views': { pointerEvents: 'all' },
1268
- '.neuroglancer-rendered-data-panel': {
1269
- cursor: 'crosshair',
1270
- position: 'relative',
1271
- outline: '0',
1272
- touchAction: 'none',
1273
- color: '#fff',
1274
- textAlign: 'left',
1275
- },
1276
- '.neuroglancer-display-dimensions-widget': {
1277
- position: 'absolute',
1278
- cursor: 'default',
1279
- top: '2px',
1280
- left: '2px',
1281
- backgroundColor: '#0000004d',
1282
- },
1283
- '.neuroglancer-display-dimensions-widget-dimension-grid': {
1284
- display: 'grid',
1285
- gridTemplateRows: '0fr 0fr 0fr 0fr',
1286
- gridTemplateColumns: '0fr 0fr 0fr',
1287
- },
1288
- '.neuroglancer-display-dimensions-widget input': {
1289
- outline: '0px',
1290
- backgroundColor: 'transparent',
1291
- borderColor: 'transparent',
1292
- boxShadow: 'none',
1293
- margin: '0',
1294
- border: '0',
1295
- padding: '2px',
1296
- },
1297
- '.neuroglancer-display-dimensions-widget input, .neuroglancer-display-dimensions-widget': {
1298
- fontFamily: 'monospace',
1299
- color: '#fff',
1300
- },
1301
- '.neuroglancer-display-dimensions-widget-dimension:hover': {
1302
- outline: '1px solid black',
1303
- },
1304
- '.neuroglancer-display-dimensions-widget-name[data-is-valid=false]': {
1305
- textDecoration: 'solid underline red',
1306
- },
1307
- '.neuroglancer-display-dimensions-widget-scale-factor': {
1308
- textAlign: 'right',
1309
- alignItems: 'end',
1310
- display: 'inline-block',
1311
- whiteSpace: 'nowrap',
1312
- marginLeft: '2px',
1313
- },
1314
- '.neuroglancer-display-dimensions-widget-scale': {
1315
- display: 'inline-block',
1316
- whiteSpace: 'nowrap',
1317
- paddingLeft: '10px',
1318
- textAlign: 'right',
1319
- marginLeft: '5px',
1320
- },
1321
- '.neuroglancer-display-dimensions-widget-scale:not(:empty):before': {
1322
- content: '"("',
1323
- },
1324
- '.neuroglancer-display-dimensions-widget-scale:not(:empty):after': {
1325
- content: '")"',
1326
- },
1327
- '.neuroglancer-display-dimensions-widget-scale-factor:after': {
1328
- content: '"\\d7"',
1329
- },
1330
- '.neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-scale-factor, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-scale, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-default, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-depth-range-widget-grid, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-depth-range-relative-checkbox-label': {
1331
- display: 'none',
1332
- },
1333
- '.neuroglancer-display-dimensions-widget-dimension[data-is-modified=true] .neuroglancer-display-dimensions-widget-scale-factor, .neuroglancer-display-dimensions-widget-dimension[data-is-modified=true] .neuroglancer-display-dimensions-widget-scale': {
1334
- visibility: 'hidden',
1335
- },
1336
- '.neuroglancer-display-dimensions-widget *:focus': { outline: '0px' },
1337
- '.neuroglancer-display-dimensions-widget-default': {
1338
- gridRow: '4',
1339
- gridColumnStart: '1',
1340
- gridColumnEnd: '3',
1341
- display: 'inline-block',
1342
- whiteSpace: 'nowrap',
1343
- },
1344
- '.neuroglancer-display-dimensions-widget-default input': {
1345
- marginRight: '3px',
1346
- },
1347
- '.neuroglancer-depth-range-widget-grid': {
1348
- marginTop: '1em',
1349
- display: 'grid',
1350
- gridTemplateColumns: '0fr 0fr 0fr',
1351
- gridAutoRows: '0fr',
1352
- },
1353
- '.neuroglancer-depth-range-widget-dimension-names:not(:empty):before': {
1354
- content: '"("',
1355
- },
1356
- '.neuroglancer-depth-range-widget-dimension-names:not(:empty):after': {
1357
- content: '")"',
1358
- },
1359
- '.neuroglancer-depth-range-widget-dimension-names': {
1360
- marginLeft: '1ch',
1361
- whiteSpace: 'nowrap',
1362
- },
1363
- '.neuroglancer-help-body': {
1364
- flexBasis: '0px',
1365
- flex: 1,
1366
- height: '0px',
1367
- minHeight: '0px',
1368
- fontFamily: 'sans-serif',
1369
- display: 'flex',
1370
- flexDirection: 'column',
1371
- },
1372
- '.neuroglancer-help-scroll-container': {
1373
- flex: 1,
1374
- flexBasis: '0px',
1375
- position: 'relative',
1376
- overflow: 'auto',
1377
- },
1378
- '.neuroglancer-help-scroll-container div+h2': { marginTop: '1em' },
1379
- '.neuroglancer-help-scroll-container h2': {
1380
- fontSize: '10pt',
1381
- padding: '4px',
1382
- position: 'sticky',
1383
- top: '0',
1384
- backgroundColor: '#333',
1385
- marginTop: '0',
1386
- },
1387
- '.neuroglancer-help-scroll-container .dt': {
1388
- fontFamily: 'monospace',
1389
- fontWeight: 'bold',
1390
- color: '#ff0',
1391
- },
1392
- '.neuroglancer-help-scroll-container .dd': {
1393
- fontSize: '10pt',
1394
- marginLeft: '4ex',
1395
- },
1396
- '.neuroglancer-layout-split-drop-zone': {
1397
- position: 'absolute',
1398
- zIndex: 1000,
1399
- },
1400
- '.neuroglancer-drag-over': { backgroundColor: '#0000ff80' },
1401
- '.neuroglancer-stack-layout-row>.neuroglancer-stack-layout-drop-placeholder': {
1402
- paddingLeft: '4px',
1403
- paddingRight: '4px',
1404
- width: '1px',
1405
- },
1406
- '.neuroglancer-stack-layout-column>.neuroglancer-stack-layout-drop-placeholder': {
1407
- paddingTop: '4px',
1408
- paddingBottom: '4px',
1409
- height: '1px',
1410
- },
1411
- '.neuroglancer-stack-layout-drop-placeholder': {
1412
- backgroundClip: 'content-box',
1413
- backgroundColor: '#666',
1414
- zIndex: 1,
1415
- },
1416
- '.neuroglancer-stack-layout-drop-placeholder.neuroglancer-drag-over': {
1417
- backgroundClip: 'border-box',
1418
- backgroundColor: '#8080ff80',
1419
- },
1420
- '.neuroglancer-stack-layout-drop-placeholder:first-child, .neuroglancer-stack-layout-drop-placeholder:last-child': {
1421
- display: 'none',
1422
- },
1423
- '.neuroglancer-panel': { flex: 1 },
1424
- '.neuroglancer-show-panel-borders .neuroglancer-panel': {
1425
- borderStyle: 'solid',
1426
- borderColor: '#000',
1427
- borderWidth: '2px',
1428
- },
1429
- '.neuroglancer-panel:focus-within': { borderColor: '#fff' },
1430
- '.neuroglancer-layer-group-viewer': { outline: '0px' },
1431
- '.neuroglancer-layer-group-viewer-context-menu': {
1432
- flexDirection: 'column',
1433
- alignItems: 'stretch',
1434
- },
1435
- '.neuroglancer-layer-group-viewer-context-menu label': {
1436
- display: 'flex',
1437
- flexDirection: 'row',
1438
- justifyContent: 'space-between',
1439
- },
1440
- '.neuroglancer-layer-group-viewer-context-menu select:before': {
1441
- flex: 1,
1442
- content: '" "',
1443
- },
1444
- '.neuroglancer-layer-group-viewer-context-menu select': { marginLeft: '5px' },
1445
- '.neuroglancer-context-menu': {
1446
- position: 'absolute',
1447
- zIndex: 100,
1448
- border: '1px solid white',
1449
- backgroundColor: '#000',
1450
- boxShadow: '5px 5px 2px 1px #00000080',
1451
- fontFamily: 'sans-serif',
1452
- fontSize: '11pt',
1453
- padding: '5px',
1454
- color: '#fff',
1455
- outline: '0px',
1456
- },
1457
- ':root': {
1458
- '--layer-number-color': '#9a7518',
1459
- '--neuroglancer-segment-list-width': 'auto',
1460
- },
1461
- '.neuroglancer-layer-panel': {
1462
- width: '100%',
1463
- display: 'flex',
1464
- flexDirection: 'row',
1465
- flexWrap: 'wrap',
1466
- alignItems: 'stretch',
1467
- marginLeft: '-5px',
1468
- marginTop: '-1px',
1469
- zIndex: -0.1,
1470
- overflow: 'hidden',
1471
- },
1472
- '.neuroglancer-layer-item': {
1473
- position: 'relative',
1474
- display: 'flex',
1475
- alignItems: 'center',
1476
- color: '#fff',
1477
- cursor: 'pointer',
1478
- borderWidth: '1px',
1479
- borderStyle: 'solid',
1480
- borderColor: '#ccc',
1481
- fontFamily: 'sans-serif',
1482
- fontSize: '10pt',
1483
- backgroundColor: '#000',
1484
- padding: '1px',
1485
- },
1486
- '.neuroglancer-layer-item, .neuroglancer-layer-add-button': {
1487
- margin: '1px 1px 1px 5px',
1488
- },
1489
- '.neuroglancer-layer-item[data-selected=true]': { borderColor: '#8c8' },
1490
- '.neuroglancer-layer-item[data-selected=true]:hover': { borderColor: '#3c3' },
1491
- '.neuroglancer-layer-item:hover': { borderColor: '#daa520' },
1492
- '.neuroglancer-layer-item[data-pick=true] .neuroglancer-layer-item-label': {
1493
- backgroundColor: '#939',
1494
- },
1495
- '.neuroglancer-layer-item-label': {
1496
- display: 'inline-block',
1497
- position: 'relative',
1498
- backgroundColor: '#222',
1499
- paddingRight: '3px',
1500
- },
1501
- '.neuroglancer-layer-item-number': {
1502
- display: 'inline-block',
1503
- backgroundColor: 'var(--layer-number-color)',
1504
- fontWeight: 'bold',
1505
- paddingLeft: '1px',
1506
- paddingRight: '1px',
1507
- },
1508
- '.neuroglancer-layer-panel[data-show-hover-values=true] .neuroglancer-layer-item-value': {
1509
- display: 'inline-block',
1510
- fontFamily: 'monospace',
1511
- fontSize: 'medium',
1512
- maxWidth: '50ch',
1513
- marginLeft: '1ch',
1514
- whiteSpace: 'nowrap',
1515
- overflow: 'hidden',
1516
- textOverflow: 'ellipses',
1517
- textAlign: 'center',
1518
- },
1519
- '.neuroglancer-layer-panel[data-show-hover-values=false] .neuroglancer-layer-item-value': {
1520
- display: 'none',
1521
- },
1522
- '.neuroglancer-layer-item[data-visible=false] .neuroglancer-layer-item-label': {
1523
- textDecoration: 'line-through',
1524
- },
1525
- '.neuroglancer-layer-item[data-visible=false]': { color: '#bbb' },
1526
- '.neuroglancer-layer-panel-drop-zone': { display: 'inline-block', flex: 1 },
1527
- '.neuroglancer-layer-item-visible-progress, .neuroglancer-layer-item-prefetch-progress': {
1528
- position: 'absolute',
1529
- left: '0px',
1530
- height: '2px',
1531
- backgroundColor: '#666',
1532
- },
1533
- '.neuroglancer-layer-item-visible-progress': { top: '0px' },
1534
- '.neuroglancer-layer-item-prefetch-progress': { bottom: '0px' },
1535
- '.neuroglancer-layer-item-value-container': {
1536
- display: 'grid',
1537
- gridTemplateColumns: 'min-content',
1538
- alignItems: 'center',
1539
- },
1540
- '.neuroglancer-layer-item-value': {
1541
- gridRow: '1',
1542
- gridColumn: '1',
1543
- visibility: 'visible',
1544
- },
1545
- '.neuroglancer-layer-item-button-container': {
1546
- gridRow: '1',
1547
- gridColumn: '1',
1548
- whiteSpace: 'nowrap',
1549
- display: 'flex',
1550
- flexDirection: 'row',
1551
- alignItems: 'center',
1552
- visibility: 'hidden',
1553
- justifySelf: 'right',
1554
- },
1555
- '.neuroglancer-layer-panel:hover .neuroglancer-layer-item-value': {
1556
- visibility: 'hidden',
1557
- },
1558
- '.neuroglancer-layer-panel:hover .neuroglancer-layer-item-button-container': {
1559
- visibility: 'visible',
1560
- },
1561
- '.neuroglancer-position-widget': {
1562
- display: 'inline-flex',
1563
- alignItems: 'center',
1564
- },
1565
- '.neuroglancer-position-widget input:disabled': { pointerEvents: 'none' },
1566
- '.neuroglancer-position-widget .neuroglancer-copy-button:first-child': {
1567
- display: 'none',
1568
- },
1569
- '.neuroglancer-position-dimension-coordinate, .neuroglancer-position-dimension-name, .neuroglancer-position-dimension-scale': {
1570
- backgroundColor: 'transparent',
1571
- borderColor: 'transparent',
1572
- boxShadow: 'none',
1573
- border: '0',
1574
- margin: '0',
1575
- fontFamily: 'monospace',
1576
- fontSize: 'medium',
1577
- },
1578
- '.neuroglancer-position-dimension[data-coordinate-array=valid] .neuroglancer-position-dimension-scale': {
1579
- display: 'none',
1580
- },
1581
- '.neuroglancer-position-dimension[data-coordinate-array=invalid] .neuroglancer-position-dimension-scale': {
1582
- textDecorationLine: 'underline',
1583
- textDecorationStyle: 'wavy',
1584
- textDecorationColor: 'red',
1585
- },
1586
- '.neuroglancer-position-dimension-coordinate': { color: '#fff' },
1587
- '.neuroglancer-position-widget input:invalid, .neuroglancer-position-widget input::placeholder, .neuroglancer-position-widget input[data-is-valid=false]': {
1588
- textDecoration: 'solid underline red',
1589
- },
1590
- '.neuroglancer-position-widget *:focus': { outline: '0px' },
1591
- '.neuroglancer-position-dimension[data-dropdown-visible=true]:after': {
1592
- content: '""',
1593
- display: 'block',
1594
- left: '0px',
1595
- right: '0px',
1596
- bottom: '-1px',
1597
- position: 'absolute',
1598
- borderBottom: '1px solid black',
1599
- zIndex: 100,
1600
- height: '0px',
1601
- },
1602
- '.neuroglancer-position-dimension-dropdown, .neuroglancer-position-dimension-coordinate-dropdown': {
1603
- position: 'absolute',
1604
- minWidth: 'calc(100% + 2px)',
1605
- border: '1px solid #aaa',
1606
- boxSizing: 'border-box',
1607
- padding: '2px',
1608
- left: '-1px',
1609
- zIndex: 100,
1610
- backgroundColor: '#000',
1611
- },
1612
- '.neuroglancer-position-dimension-dropdown': {
1613
- display: 'grid',
1614
- gridTemplateAreas: '"labels . graph"',
1615
- gridTemplateRows: '1fr',
1616
- gridTemplateColumns: '0fr 3px 0fr',
1617
- },
1618
- '.neuroglancer-position-dimension-coordinate-dropdown': {
1619
- display: 'flex',
1620
- flexDirection: 'column',
1621
- overflowY: 'auto',
1622
- },
1623
- '.neuroglancer-dimension-dropdown-coordinate-entry': {
1624
- display: 'flex',
1625
- flexDirection: 'row',
1626
- justifyContent: 'space-between',
1627
- },
1628
- '.neuroglancer-dimension-dropdown-coordinate-entry:hover': {
1629
- backgroundColor: '#333',
1630
- },
1631
- '.neuroglancer-dimension-dropdown-coordinate-label': {
1632
- width: 'var(--neuroglancer-coordinate-label-width)',
1633
- color: '#0ff',
1634
- },
1635
- '.neuroglancer-position-dimension-dropdown:focus, .neuroglancer-position-dimension-coordinate-dropdown:focus': {
1636
- outline: '0px',
1637
- },
1638
- '.neuroglancer-position-dimension-dropdown-lowerbound, .neuroglancer-position-dimension-dropdown-upperbound, .neuroglancer-position-dimension-dropdown-hoverposition': {
1639
- gridArea: 'labels',
1640
- textAlign: 'right',
1641
- },
1642
- '.neuroglancer-position-dimension-dropdown canvas': {
1643
- marginTop: '.5em',
1644
- marginBottom: '.5em',
1645
- gridArea: 'graph',
1646
- },
1647
- '.neuroglancer-position-dimension:focus-within, .neuroglancer-position-dimension[data-dropdown-visible=true]': {
1648
- border: '1px solid #aaa',
1649
- backgroundColor: '#000',
1650
- },
1651
- '.neuroglancer-position-dimension': {
1652
- border: '1px solid transparent',
1653
- position: 'relative',
1654
- display: 'inline-block',
1655
- fontFamily: 'monospace',
1656
- fontSize: 'medium',
1657
- whiteSpace: 'nowrap',
1658
- },
1659
- '.neuroglancer-position-dimension-name': {
1660
- color: '#ff6',
1661
- paddingLeft: '2px',
1662
- },
1663
- '.neuroglancer-position-dimension-scale-container[data-is-empty=false]:before': {
1664
- content: '"("',
1665
- color: '#aaa',
1666
- },
1667
- '.neuroglancer-position-dimension-scale-container[data-is-empty=false]:after': {
1668
- content: '")"',
1669
- color: '#aaa',
1670
- },
1671
- '.neuroglancer-position-dimension-scale-container[data-is-empty=false]': {
1672
- marginRight: '5px',
1673
- },
1674
- '.neuroglancer-position-dimension-scale': { color: '#bbb' },
1675
- '.neuroglancer-position-dimension-scale-container': {
1676
- marginRight: '2px',
1677
- marginLeft: '4px',
1678
- },
1679
- '.neuroglancer-mouse-position-widget': {
1680
- marginLeft: '1ch',
1681
- verticalAlign: 'center',
1682
- fontFamily: 'monospace',
1683
- fontSize: 'medium',
1684
- color: 'orange',
1685
- whiteSpace: 'pre',
1686
- },
1687
- '.neuroglancer-position-dimension-coordinate-label': {
1688
- display: 'inline-block',
1689
- color: '#0ff',
1690
- },
1691
- '.neuroglancer-position-dimension-coordinate-label:not(:empty):before': {
1692
- content: '"["',
1693
- color: '#aaa',
1694
- },
1695
- '.neuroglancer-position-dimension-coordinate-label:not(:empty):after': {
1696
- content: '"]"',
1697
- color: '#aaa',
1698
- },
1699
- '.neuroglancer-layer-list-panel-items': {
1700
- display: 'flex',
1701
- flexDirection: 'column',
1702
- flex: 1,
1703
- overflow: 'auto',
1704
- height: '0px',
1705
- minHeight: '0px',
1706
- flexBasis: '0px',
1707
- },
1708
- '.neuroglancer-layer-list-panel-item': {
1709
- display: 'flex',
1710
- flexDirection: 'row',
1711
- padding: '2px',
1712
- border: '1px solid #aaa',
1713
- margin: '2px',
1714
- },
1715
- '.neuroglancer-layer-list-panel-item[data-selected=true]': {
1716
- borderColor: '#3c3',
1717
- },
1718
- '.neuroglancer-layer-list-panel-item[data-archived=true]': {
1719
- borderColor: '#666',
1720
- },
1721
- '.neuroglancer-layer-list-panel-item[data-archived=true] .neuroglancer-layer-side-panel-name, .neuroglancer-layer-list-panel-item[data-archived=true] .neuroglancer-icon svg': {
1722
- color: '#999',
1723
- stroke: '#999',
1724
- },
1725
- '.neuroglancer-layer-list-panel-item:hover': { backgroundColor: '#333' },
1726
- '.neuroglancer-layer-list-panel-item-number': {
1727
- fontFamily: 'sans-serif',
1728
- backgroundColor: 'var(--layer-number-color)',
1729
- color: '#fff',
1730
- fontWeight: 'bold',
1731
- display: 'inline-block',
1732
- },
1733
- '.neuroglancer-layer-list-panel-item:not(:hover)>.neuroglancer-layer-list-panel-item-delete': {
1734
- display: 'none',
1735
- },
1736
- '.neuroglancer-layer-list-panel-item:not(:hover)>.neuroglancer-layer-list-panel-item-controls': {
1737
- display: 'none',
1738
- },
1739
- '[data-neuroglancer-layer-panel-pinned=false] .neuroglancer-side-panel-titlebar.neuroglancer-layer-side-panel-title': {
1740
- backgroundColor: '#393',
1741
- },
1742
- '[data-neuroglancer-layer-visible=false] .neuroglancer-side-panel-titlebar.neuroglancer-layer-side-panel-title input': {
1743
- textDecoration: 'line-through',
1744
- },
1745
- '.neuroglancer-layer-side-panel-name': {
1746
- flex: 1,
1747
- backgroundColor: 'transparent',
1748
- border: '0px',
1749
- color: '#fff',
1750
- outline: '0px',
1751
- width: '0px',
1752
- minWidth: '0px',
1753
- },
1754
- '.neuroglancer-layer-side-panel-tab-view': {
1755
- flex: 1,
1756
- display: 'flex',
1757
- flexDirection: 'column',
1758
- font: '10pt sans-serif',
1759
- },
1760
- '.neuroglancer-layer-side-panel-type-measure': {
1761
- position: 'absolute',
1762
- visibility: 'hidden',
1763
- top: '0px',
1764
- height: 'auto',
1765
- width: 'auto',
1766
- whiteSpace: 'nowrap',
1767
- },
1768
- '.neuroglancer-layer-side-panel-type, .neuroglancer-layer-side-panel-type-measure': {
1769
- paddingLeft: '3px',
1770
- paddingRight: '3px',
1771
- fontWeight: 'bold',
1772
- fontFamily: 'sans-serif',
1773
- fontSize: '10pt',
1774
- boxSizing: 'border-box',
1775
- },
1776
- '.neuroglancer-layer-side-panel-type': {
1777
- WebkitAppearance: 'none',
1778
- color: '#fff',
1779
- cursor: 'pointer',
1780
- backgroundColor: '#00000080',
1781
- marginRight: '5px',
1782
- border: '0px',
1783
- outline: '0px',
1784
- },
1785
- '.neuroglancer-layer-side-panel-type option': { backgroundColor: '#000' },
1786
- '.neuroglancer-statistics-panel-body': {
1787
- flex: 1,
1788
- flexBasis: '0px',
1789
- minWidth: '0px',
1790
- display: 'flex',
1791
- flexDirection: 'column',
1792
- overflowY: 'auto',
1793
- font: '10pt sans-serif',
1794
- },
1795
- '.neuroglancer-statistics-panel-body>table': {
1796
- position: 'relative',
1797
- flex: 1,
1798
- width: '100%',
1799
- },
1800
- '.neuroglancer-statistics-panel-body>table>thead td': {
1801
- position: 'sticky',
1802
- top: '0px',
1803
- zIndex: 2,
1804
- backgroundColor: '#333',
1805
- fontWeight: 'bold',
1806
- },
1807
- '.neuroglancer-statistics-panel-body>table>tbody tr:hover': {
1808
- backgroundColor: '#336',
1809
- },
1810
- '.neuroglancer-settings-body': {
1811
- flexBasis: '0px',
1812
- flex: 1,
1813
- height: '0px',
1814
- minHeight: '0px',
1815
- fontFamily: 'sans-serif',
1816
- display: 'flex',
1817
- flexDirection: 'column',
1818
- fontSize: '10pt',
1819
- },
1820
- '.neuroglancer-settings-body input[type=text], .neuroglancer-settings-body input[type=number]': {
1821
- backgroundColor: '#333',
1822
- color: '#fff',
1823
- border: '0px',
1824
- },
1825
- '.neuroglancer-settings-scroll-container': {
1826
- flex: 1,
1827
- flexBasis: '0px',
1828
- position: 'relative',
1829
- overflow: 'auto',
1830
- display: 'flex',
1831
- flexDirection: 'column',
1832
- },
1833
- '.neuroglancer-settings-scroll-container>*': { marginTop: '3px' },
1834
- '.neuroglancer-settings-title': { alignSelf: 'stretch' },
1835
- '.neuroglancer-settings-scroll-container>label': {
1836
- display: 'flex',
1837
- flexDirection: 'row',
1838
- justifyContent: 'space-between',
1839
- },
1840
- '.neuroglancer-settings-scroll-container>label>input:before': {
1841
- flex: 1,
1842
- content: '" "',
1843
- },
1844
- '.neuroglancer-settings-scroll-container>label>input': {
1845
- marginLeft: '5px',
1846
- width: '11ch',
1847
- },
1848
- '.neuroglancer-settings-limit-widget>input': { width: '11ch' },
1849
- '.neuroglancer-annotation-tool-status': {
1850
- display: 'flex',
1851
- flexDirection: 'row',
1852
- alignItems: 'center',
1853
- overflowX: 'scroll',
1854
- scrollbarWidth: 'none',
1855
- },
1856
- '.neuroglancer-annotation-tool-status::-webkit-scrollbar': {
1857
- display: 'none',
1858
- },
1859
- '.neuroglancer-annotation-tool-status-widget+.neuroglancer-annotation-tool-status-widget': {
1860
- marginLeft: '3px',
1861
- },
1862
- '.neuroglancer-annotation-tool-status-widget:hover': {
1863
- outline: '1px solid #fff',
1864
- },
1865
- '.neuroglancer-annotation-tool-status-widget': {
1866
- display: 'flex',
1867
- flexDirection: 'row',
1868
- alignItems: 'center',
1869
- },
1870
- '.neuroglancer-annotation-tool-status-widget-layer-number': {
1871
- display: 'inline-block',
1872
- font: '10pt sans-serif',
1873
- fontWeight: 'bold',
1874
- backgroundColor: '#9a7518',
1875
- },
1876
- '.neuroglancer-annotation-tool-status-widget-key': {
1877
- display: 'inline-block',
1878
- font: '9pt monospace',
1879
- color: '#0ff',
1880
- },
1881
- '.neuroglancer-annotation-tool-status-widget-key:before': { content: '"["' },
1882
- '.neuroglancer-annotation-tool-status-widget-key:after': { content: '"]"' },
1883
- '.neuroglancer-annotation-tool-status-widget-key:before, .neuroglancer-annotation-tool-status-widget-key:after': {
1884
- color: '#999',
1885
- },
1886
- '.neuroglancer-annotation-tool-status-widget-description': {
1887
- display: 'inline-block',
1888
- color: '#3c3',
1889
- font: '10pt sans-serif',
1890
- whiteSpace: 'nowrap',
1891
- },
1892
- '.neuroglancer-annotation-tool-status-widget-delete': {
1893
- visibility: 'hidden',
1894
- },
1895
- '.neuroglancer-annotation-tool-status-widget:hover>.neuroglancer-annotation-tool-status-widget-delete': {
1896
- visibility: 'inherit',
1897
- },
1898
- '.neuroglancer-annotations-tab': {
1899
- display: 'flex',
1900
- alignItems: 'stretch',
1901
- flex: 1,
1902
- flexDirection: 'column',
1903
- },
1904
- '.neuroglancer-annotation-list': {
1905
- position: 'relative',
1906
- margin: '2px 0 0',
1907
- padding: '0',
1908
- overflowY: 'auto',
1909
- height: '0px',
1910
- flex: 1,
1911
- flexBasis: '0px',
1912
- minHeight: '0px',
1913
- },
1914
- '.neuroglancer-annotation-list-entry': {
1915
- display: 'grid',
1916
- gridAutoRows: 'min-content',
1917
- cursor: 'pointer',
1918
- justifyContent: 'start',
1919
- },
1920
- '.neuroglancer-annotation-position': { display: 'contents' },
1921
- '.neuroglancer-annotation-layer-view': {
1922
- display: 'flex',
1923
- flexDirection: 'column',
1924
- flex: 1,
1925
- alignItems: 'stretch',
1926
- },
1927
- '.neuroglancer-annotation-list-header': {
1928
- gridAutoRows: 'min-content',
1929
- display: 'grid',
1930
- paddingBottom: '2px',
1931
- justifyContent: 'start',
1932
- },
1933
- '.neuroglancer-annotation-coordinate': {
1934
- fontFamily: 'monospace',
1935
- textAlign: 'right',
1936
- },
1937
- '.neuroglancer-annotation-icon': {
1938
- gridColumn: 'symbol',
1939
- paddingRight: '5px',
1940
- },
1941
- '.neuroglancer-annotation-description': {
1942
- gridColumn: 'dim / -1',
1943
- textOverflow: 'ellipsis',
1944
- overflow: 'hidden',
1945
- whiteSpace: 'nowrap',
1946
- },
1947
- '.neuroglancer-annotation-list-entry-delete': {
1948
- gridColumn: 'delete',
1949
- marginLeft: '1ch',
1950
- alignSelf: 'start',
1951
- visibility: 'hidden',
1952
- },
1953
- '.neuroglancer-annotation-list-entry:hover>.neuroglancer-annotation-list-entry-delete': {
1954
- visibility: 'visible',
1955
- },
1956
- '.neuroglancer-annotation-hover': { backgroundColor: '#333' },
1957
- '.neuroglancer-annotation-selected': { backgroundColor: '#939' },
1958
- '.neuroglancer-annotation-hover.neuroglancer-annotation-selected': {
1959
- backgroundColor: '#969',
1960
- },
1961
- '.neuroglancer-tab-content.neuroglancer-annotation-details': {
1962
- flex: '0 0 auto',
1963
- alignSelf: 'stretch',
1964
- display: 'flex',
1965
- flexDirection: 'column',
1966
- WebkitTouchCallout: 'default',
1967
- WebkitUserSelect: 'text',
1968
- KhtmlUserSelect: 'text',
1969
- MozUserSelect: 'text',
1970
- msUserSelect: 'text',
1971
- userSelect: 'text',
1972
- },
1973
- '.neuroglancer-annotation-details-title': {
1974
- display: 'flex',
1975
- flexDirection: 'row',
1976
- backgroundColor: '#03c',
1977
- alignSelf: 'stretch',
1978
- padding: '2px',
1979
- },
1980
- '.neuroglancer-voxel-coordinates-link': { cursor: 'pointer' },
1981
- '.neuroglancer-voxel-coordinates-link:hover': { backgroundColor: '#db4437' },
1982
- '.neuroglancer-annotation-details-icon': {
1983
- display: 'inline-block',
1984
- marginRight: '5px',
1985
- },
1986
- '.neuroglancer-annotation-details-title-text': {
1987
- display: 'inline-block',
1988
- flex: 1,
1989
- },
1990
- 'textarea.neuroglancer-annotation-details-description': {
1991
- alignSelf: 'stretch',
1992
- backgroundColor: '#222',
1993
- color: '#fff',
1994
- font: '10pt sans-serif',
1995
- border: '0px',
1996
- outline: '0px',
1997
- resize: 'none',
1998
- overflowY: 'scroll',
1999
- },
2000
- 'div.neuroglancer-annotation-details-description': {
2001
- alignSelf: 'stretch',
2002
- color: '#fff',
2003
- font: '10pt sans-serif',
2004
- },
2005
- '.neuroglancer-annotation-toolbox': {
2006
- display: 'flex',
2007
- alignItems: 'stretch',
2008
- },
2009
- '.neuroglancer-annotation-segment-item': {
2010
- color: '#000',
2011
- backgroundColor: '#fff',
2012
- },
2013
- '.neuroglancer-annotations-view-dimension': {
2014
- fontFamily: 'monospace',
2015
- textAlign: 'right',
2016
- },
2017
- '.neuroglancer-annotations-view-dimension-name': { color: '#ff6' },
2018
- '.neuroglancer-annotations-view-dimension-scale': { color: '#bbb' },
2019
- '.neuroglancer-annotations-view-dimension-scale:not(:empty):before': {
2020
- content: '"("',
2021
- marginLeft: '1ch',
2022
- },
2023
- '.neuroglancer-annotations-view-dimension-scale:not(:empty):after': {
2024
- content: '")"',
2025
- },
2026
- '.neuroglancer-annotation-relationship-label, .neuroglancer-annotation-property-label': {
2027
- marginRight: '5px',
2028
- },
2029
- '.neuroglancer-selected-annotation-details-position-grid': {
2030
- display: 'grid',
2031
- gridAutoRows: 'auto',
2032
- fontFamily: 'monospace',
2033
- fontSize: 'medium',
2034
- gridAutoFlow: 'dense',
2035
- },
2036
- '.neuroglancer-selected-annotation-details-icon': {
2037
- gridRows: '1 / -1',
2038
- gridColumn: 'icon',
2039
- alignSelf: 'start',
2040
- },
2041
- '.neuroglancer-selected-annotation-details-delete': {
2042
- gridRows: '1 / -1',
2043
- gridColumn: 'delete',
2044
- alignSelf: 'start',
2045
- },
2046
- '.neuroglancer-selected-annotation-details-position-dim': {
2047
- color: '#ff6',
2048
- marginLeft: '1ch',
2049
- },
2050
- '.neuroglancer-selected-annotation-details-position-coord': {
2051
- textAlign: 'right',
2052
- marginLeft: '.5ch',
2053
- },
2054
- '.neuroglancer-related-segment-list-title': {
2055
- fontFamily: 'sans-serif',
2056
- fontSize: 'small',
2057
- backgroundColor: '#333',
2058
- },
2059
- '.neuroglancer-related-segment-list-header': {
2060
- display: 'flex',
2061
- flexDirection: 'row',
2062
- },
2063
- '.neuroglancer-annotation-property': {
2064
- display: 'flex',
2065
- flexDirection: 'row',
2066
- fontFamily: 'sans-serif',
2067
- fontSize: 'small',
2068
- },
2069
- '.neuroglancer-annotation-property-label': { color: '#999' },
2070
- '.neuroglancer-annotation-property-value': {
2071
- textAlign: 'right',
2072
- fontFamily: 'monospace',
2073
- fontSize: 'medium',
2074
- flex: 1,
2075
- },
2076
- 'input.neuroglancer-segment-list-entry-id': {
2077
- outline: '0px',
2078
- border: '0px',
2079
- textAlign: 'left',
2080
- },
2081
- '.neuroglancer-segment-list-entry-new>.neuroglancer-segment-list-entry-copy': {
2082
- visibility: 'hidden',
2083
- },
2084
- '.neuroglancer-segment-list-entry-new>input[type=checkbox]': {
2085
- visibility: 'hidden',
2086
- },
2087
- '.neuroglancer-segment-list-entry-delete': { order: 0 },
2088
- '.neuroglancer-selection-annotation-status': {
2089
- fontFamily: 'sans-serif',
2090
- fontSize: 'small',
2091
- },
2092
- '.neuroglancer-channel-dimensions-widget-dim': { display: 'contents' },
2093
- '.neuroglancer-channel-dimensions-widget': {
2094
- display: 'grid',
2095
- gridTemplateColumns: '[name] min-content [lower] min-content [upper] min-content',
2096
- },
2097
- '.neuroglancer-channel-dimensions-widget-name-container': {
2098
- gridColumn: 'name',
2099
- },
2100
- '.neuroglancer-channel-dimensions-widget-name[data-is-valid=false], .neuroglancer-channel-dimensions-widget-name::placeholder': {
2101
- textDecoration: 'solid underline red',
2102
- },
2103
- '.neuroglancer-channel-dimensions-widget-name': {
2104
- backgroundColor: 'transparent',
2105
- borderColor: 'transparent',
2106
- boxShadow: 'none',
2107
- border: '0',
2108
- margin: '0',
2109
- fontFamily: 'monospace',
2110
- fontSize: 'medium',
2111
- color: '#ff6',
2112
- },
2113
- '.neuroglancer-channel-dimensions-widget-name, .neuroglancer-channel-dimensions-widget-lower, .neuroglancer-channel-dimensions-widget-upper': {
2114
- fontFamily: 'monospace',
2115
- },
2116
- '.neuroglancer-channel-dimensions-widget-lower': {
2117
- gridColumn: 'lower',
2118
- textAlign: 'right',
2119
- },
2120
- '.neuroglancer-channel-dimensions-widget-upper': {
2121
- gridColumn: 'upper',
2122
- textAlign: 'right',
2123
- },
2124
- '.neuroglancer-channel-dimensions-widget-lower, .neuroglancer-channel-dimensions-widget-upper': {
2125
- textAlign: 'right',
2126
- marginLeft: '1ch',
2127
- userSelect: 'text',
2128
- },
2129
- '.neuroglancer-channel-dimensions-widget-upper:after': { content: '")"' },
2130
- '.neuroglancer-channel-dimensions-widget-lower:after': { content: '","' },
2131
- '.neuroglancer-channel-dimensions-widget-lower:before': { content: '"["' },
2132
- '.neuroglancer-channel-dimensions-widget-upper:after, .neuroglancer-channel-dimensions-widget-lower:before, .neuroglancer-channel-dimensions-widget-lower:after': {
2133
- color: '#999',
2134
- },
2135
- '.neuroglancer-layer-options-control-container .neuroglancer-layer-control-label-container': {
2136
- marginRight: 'auto',
2137
- },
2138
- '.neuroglancer-layer-control-label-container': { whiteSpace: 'nowrap' },
2139
- '.neuroglancer-layer-control-label': {
2140
- display: 'flex',
2141
- flexDirection: 'row',
2142
- alignItems: 'center',
2143
- },
2144
- '.neuroglancer-layer-control-label-text-container': {
2145
- display: 'flex',
2146
- flexDirection: 'row',
2147
- alignItems: 'start',
2148
- },
2149
- '.neuroglancer-layer-control-container': {
2150
- marginTop: '1.5px',
2151
- marginBottom: '1.5px',
2152
- display: 'flex',
2153
- flexDirection: 'row',
2154
- alignItems: 'center',
2155
- },
2156
- '.neuroglancer-layer-control-control': {
2157
- flex: 1,
2158
- marginLeft: '5px',
2159
- maxWidth: '500px',
2160
- },
2161
- 'select.neuroglancer-layer-control-control, input[type=checkbox].neuroglancer-layer-control-control, input[type=color].neuroglancer-layer-control-control': {
2162
- flex: 'initial',
2163
- },
2164
- '.range-slider': {
2165
- display: 'flex',
2166
- flexDirection: 'row',
2167
- whiteSpace: 'nowrap',
2168
- justifyContent: 'flex-end',
2169
- },
2170
- '.range-slider input[type=range]': {
2171
- background: 'transparent',
2172
- flexBasis: '0px',
2173
- },
2174
- '.range-slider input[type=number]': {
2175
- backgroundColor: '#ffffff4d',
2176
- color: '#fff',
2177
- border: '0px',
2178
- },
2179
- '.range-slider input[type=range]::-moz-range-track': {
2180
- backgroundColor: '#fff',
2181
- },
2182
- '.neuroglancer-render-scale-widget': {
2183
- marginTop: '2px',
2184
- marginBottom: '2px',
2185
- display: 'flex',
2186
- flexDirection: 'row',
2187
- alignItems: 'center',
2188
- },
2189
- '.neuroglancer-render-scale-widget-prompt': { whiteSpace: 'nowrap' },
2190
- '.neuroglancer-render-scale-widget>canvas': {
2191
- height: '36px',
2192
- flex: 1,
2193
- flexBasis: '0px',
2194
- width: '0px',
2195
- },
2196
- '.neuroglancer-render-scale-widget-legend': {
2197
- width: '10ch',
2198
- fontSize: '11px',
2199
- textAlign: 'right',
2200
- },
2201
- '.neuroglancer-render-scale-widget-legend>div': { height: '12px' },
2202
- '.neuroglancer-shader-code-widget.invalid-input': { border: '1px solid red' },
2203
- '.neuroglancer-shader-code-widget.valid-input': { border: '1px solid green' },
2204
- '.neuroglancer-shader-code-widget': { border: '1px solid transparent' },
2205
- '.neuroglancer-invlerp-cdfpanel': { height: '50px', cursor: 'ew-resize' },
2206
- '.neuroglancer-invlerp-cdfpanel, .neuroglancer-invlerp-legend-panel': {
2207
- border: '1px solid #666',
2208
- },
2209
- '.neuroglancer-invlerp-legend-panel': { height: '15px' },
2210
- '.neuroglancer-invlerp-widget-bound': {
2211
- backgroundColor: 'transparent',
2212
- borderColor: 'transparent',
2213
- boxShadow: 'none',
2214
- border: '0',
2215
- margin: '0',
2216
- fontFamily: 'monospace',
2217
- fontSize: 'medium',
2218
- },
2219
- '.neuroglancer-invlerp-widget-window-bound': { color: '#0ff' },
2220
- '.neuroglancer-invlerp-widget-range-bound': { color: '#fff' },
2221
- '.neuroglancer-invlerp-widget-bounds': { display: 'flex' },
2222
- '.neuroglancer-invlerp-widget-range-spacer': { flex: 1, textAlign: 'center' },
2223
- '.neuroglancer-invlerp-widget-window-bounds': {
2224
- justifyContent: 'space-between',
2225
- },
2226
- '.neuroglancer-segmentation-rendering-tab': {
2227
- display: 'flex',
2228
- flexDirection: 'column',
2229
- overflowY: 'auto',
2230
- },
2231
- '.neuroglancer-segmentation-rendering-tab .neuroglancer-shader-code-widget': {
2232
- height: '6em',
2233
- },
2234
- '.neuroglancer-segmentation-dropdown-skeleton-shader-header': {
2235
- display: 'flex',
2236
- flexDirection: 'row',
2237
- alignItems: 'center',
2238
- },
2239
- '.neuroglancer-segmentation-layer-skeleton-shader-overlay .neuroglancer-shader-code-widget': {
2240
- width: '80vw',
2241
- height: '80vh',
2242
- },
2243
- '.neuroglancer-segment-list-entry': {
2244
- display: 'flex',
2245
- flexDirection: 'row',
2246
- width: 'min-content',
2247
- minWidth: '100%',
2248
- backgroundColor: '#000',
2249
- alignItems: 'start',
2250
- },
2251
- '.neuroglancer-segment-list-entry.neuroglancer-segment-list-entry-double-line': {
2252
- display: 'inline-flex',
2253
- minWidth: 'initial',
2254
- backgroundColor: 'initial',
2255
- },
2256
- '.neuroglancer-segment-list-entry[data-selected=true], .neuroglancer-selection-details-segment[data-selected=true]': {
2257
- backgroundColor: '#222',
2258
- },
2259
- '.neuroglancer-segment-list-entry-copy-container': {
2260
- display: 'flex',
2261
- flexDirection: 'column',
2262
- },
2263
- '.neuroglancer-segment-list-entry-id-container': {
2264
- order: 1,
2265
- alignSelf: 'center',
2266
- },
2267
- '.neuroglancer-segment-list-entry-id, .neuroglancer-selection-details-segment-id': {
2268
- display: 'block',
2269
- fontFamily: 'monospace',
2270
- fontSize: 'medium',
2271
- flexShrink: 0,
2272
- textAlign: 'right',
2273
- color: '#000',
2274
- backgroundColor: '#fff',
2275
- userSelect: 'text',
2276
- width: 'var(--neuroglancer-segment-list-width)',
2277
- },
2278
- '.neuroglancer-segment-list .neuroglancer-segment-list-entry-sticky': {
2279
- position: 'sticky',
2280
- left: '0',
2281
- },
2282
- '.neuroglancer-segment-list-entry-sticky': {
2283
- whiteSpace: 'nowrap',
2284
- flexDirection: 'row',
2285
- alignItems: 'start',
2286
- backgroundColor: 'inherit',
2287
- display: 'flex',
2288
- },
2289
- '.neuroglancer-segment-list-entry-extra-property': {
2290
- paddingLeft: '8px',
2291
- flexShrink: 0,
2292
- textAlign: 'right',
2293
- userSelect: 'text',
2294
- },
2295
- '.neuroglancer-selection-details-segment-description, .neuroglancer-selection-details-segment-property': {
2296
- fontFamily: 'sans-serif',
2297
- fontSize: 'small',
2298
- },
2299
- '.neuroglancer-selection-details-segment-property': {
2300
- display: 'flex',
2301
- flexDirection: 'row',
2302
- },
2303
- '.neuroglancer-selection-details-segment-property-name': {
2304
- userSelect: 'text',
2305
- fontStyle: 'italic',
2306
- },
2307
- '.neuroglancer-selection-details-segment-property-value': {
2308
- textAlign: 'right',
2309
- flex: 1,
2310
- },
2311
- '.neuroglancer-segmentation-toolbox': { display: 'inline-block' },
2312
- '.neuroglancer-segmentation-toolbox .neuroglancer-tool-button+.neuroglancer-tool-button': {
2313
- marginLeft: '1em',
2314
- },
2315
- '.neuroglancer-segment-list': {
2316
- position: 'relative',
2317
- overflowY: 'auto',
2318
- overflowX: 'scroll',
2319
- flex: 1,
2320
- },
2321
- '.neuroglancer-segment-display-tab': {
2322
- display: 'flex',
2323
- flexDirection: 'column',
2324
- },
2325
- '.neuroglancer-segment-query-errors': {
2326
- margin: '0',
2327
- listStyleType: 'none',
2328
- padding: '0 0 0 3px',
2329
- backgroundColor: '#333',
2330
- },
2331
- '.neuroglancer-segment-query-errors>li': { display: 'block', color: 'red' },
2332
- '.neuroglancer-segment-list-entry:not(.neuroglancer-segment-list-entry-double-line) .neuroglancer-segment-list-entry-unmapped-id:empty+.neuroglancer-segment-list-entry-copy': {
2333
- display: 'none',
2334
- },
2335
- '.neuroglancer-segment-list-entry.neuroglancer-segment-list-entry-double-line .neuroglancer-segment-list-entry-unmapped-id:empty+.neuroglancer-segment-list-entry-copy': {
2336
- visibility: 'hidden',
2337
- },
2338
- '.neuroglancer-segment-list-entry-name:empty+.neuroglancer-segment-list-entry-filter': {
2339
- display: 'none',
2340
- },
2341
- '.neuroglancer-segment-list-entry-name': {
2342
- order: 1000,
2343
- display: 'inline-block',
2344
- fontFamily: 'monospace',
2345
- fontSize: 'medium',
2346
- userSelect: 'text',
2347
- whiteSpace: 'nowrap',
2348
- },
2349
- '.neuroglancer-segment-list-query': {
2350
- backgroundColor: '#151515',
2351
- color: '#fff',
2352
- fontFamily: 'monospace',
2353
- fontSize: 'medium',
2354
- border: '2px solid #333',
2355
- padding: '2px',
2356
- outline: '0px',
2357
- },
2358
- '.neuroglancer-segment-list-query::placeholder': { color: '#aaa' },
2359
- '.neuroglancer-segment-list-status': {
2360
- display: 'flex',
2361
- flexDirection: 'row',
2362
- alignItems: 'center',
2363
- backgroundColor: '#333',
2364
- },
2365
- '.neuroglancer-segment-list-entry-copy': { order: -2, visibility: 'hidden' },
2366
- '.neuroglancer-segment-list-entry:hover .neuroglancer-segment-list-entry-copy': {
2367
- visibility: 'visible',
2368
- },
2369
- '.neuroglancer-segment-list-entry-visible-checkbox': { order: -1 },
2370
- '.neuroglancer-segment-list-entry[data-visible-list] .neuroglancer-segment-list-entry-sticky:before': {
2371
- order: -1000,
2372
- content: '" "',
2373
- display: 'inline-block',
2374
- width: '2px',
2375
- flexShrink: 0,
2376
- marginRight: '-2px',
2377
- alignSelf: 'stretch',
2378
- marginBottom: '2px',
2379
- backgroundColor: '#999',
2380
- },
2381
- '.neuroglancer-segment-list-entry-filter': {
2382
- visibility: 'hidden',
2383
- gridColumn: 'filter',
2384
- order: 999,
2385
- },
2386
- '.neuroglancer-segment-list-entry:hover .neuroglancer-segment-list-entry-filter': {
2387
- visibility: 'visible',
2388
- },
2389
- '.neuroglancer-segment-query-result-tag-list': {
2390
- display: 'grid',
2391
- gridAutoRows: 'auto',
2392
- gridTemplateColumns: '[include] min-content [exclude] min-content [tag] 1fr [count] min-content',
2393
- },
2394
- '.neuroglancer-segment-query-result-tag': { display: 'contents' },
2395
- '.neuroglancer-segment-query-result-tag:hover *': { backgroundColor: '#222' },
2396
- '.neuroglancer-segment-query-result-tag-name': {
2397
- gridColumn: 'tag',
2398
- whiteSpace: 'nowrap',
2399
- cursor: 'pointer',
2400
- fontWeight: 'bold',
2401
- },
2402
- '.neuroglancer-segment-query-result-tag-name:before': {
2403
- content: '"#"',
2404
- color: '#aaa',
2405
- fontWeight: 'normal',
2406
- },
2407
- '.neuroglancer-segment-query-result-tag-toggle': {
2408
- display: 'inline-block',
2409
- whiteSpace: 'nowrap',
2410
- },
2411
- '.neuroglancer-segment-query-result-tag-include': { gridColumn: 'include' },
2412
- '.neuroglancer-segment-query-result-tag-exclude': { gridColumn: 'exclude' },
2413
- '.neuroglancer-segment-query-result-statistics': {
2414
- backgroundColor: '#333',
2415
- maxHeight: '40%',
2416
- flexShrink: 0,
2417
- overflow: 'auto',
2418
- },
2419
- '.neuroglancer-segment-query-result-statistics:not(:empty)': {
2420
- paddingTop: '3px',
2421
- },
2422
- '.neuroglancer-segment-query-result-statistics:not(:empty)+.neuroglancer-segment-list-status': {
2423
- borderTop: '1px solid white',
2424
- },
2425
- '.neuroglancer-segment-query-result-statistics-separator': {
2426
- height: '3px',
2427
- backgroundColor: '#333',
2428
- borderBottom: '1px solid white',
2429
- },
2430
- '.neuroglancer-segment-query-result-tag-count': {
2431
- gridColumn: 'count',
2432
- textAlign: 'right',
2433
- },
2434
- '.neuroglancer-segment-query-result-tag-count:not(:empty):before': {
2435
- content: '"("',
2436
- color: '#aaa',
2437
- },
2438
- '.neuroglancer-segment-query-result-tag-count:not(:empty):after': {
2439
- content: '")"',
2440
- color: '#aaa',
2441
- },
2442
- '.neuroglancer-segment-query-result-numerical-list': {
2443
- display: 'flex',
2444
- flexDirection: 'column',
2445
- },
2446
- '.neuroglancer-segment-query-result-numerical-plot-container': {
2447
- justifySelf: 'stretch',
2448
- display: 'flex',
2449
- flexDirection: 'column',
2450
- padding: '2px',
2451
- },
2452
- '.neuroglancer-segment-query-result-numerical-plot': {
2453
- display: 'block',
2454
- height: '30px',
2455
- cursor: 'ew-resize',
2456
- justifySelf: 'stretch',
2457
- border: '1px solid #666',
2458
- },
2459
- '.neuroglancer-segment-query-result-numerical-plot-bound': {
2460
- backgroundColor: 'transparent',
2461
- borderColor: 'transparent',
2462
- boxShadow: 'none',
2463
- border: '0',
2464
- margin: '0',
2465
- font: '10pt sans-serif',
2466
- pointerEvents: 'auto',
2467
- },
2468
- '.neuroglancer-segment-query-result-numerical-plot-window-bound': {
2469
- color: '#0ff',
2470
- },
2471
- '.neuroglancer-segment-query-result-numerical-plot-range-bound': {
2472
- color: '#fff',
2473
- },
2474
- '.neuroglancer-segment-query-result-numerical-plot-bounds': {
2475
- display: 'flex',
2476
- flexDirection: 'row',
2477
- color: '#aaa',
2478
- },
2479
- '.neuroglancer-segment-query-result-numerical-plot-bound-constraint-symbol': {
2480
- alignSelf: 'center',
2481
- },
2482
- '.neuroglancer-segment-query-result-numerical-plot-bound-constraint-spacer': {
2483
- flex: 1,
2484
- color: '#fff',
2485
- fontWeight: 'bold',
2486
- display: 'flex',
2487
- flexDirection: 'row',
2488
- justifyContent: 'center',
2489
- alignItems: 'center',
2490
- },
2491
- '.neuroglancer-segment-query-result-numerical-plot-label': {
2492
- cursor: 'pointer',
2493
- },
2494
- '.neuroglancer-segment-query-result-numerical-plot-sort, .neuroglancer-segment-list-header-label-sort': {
2495
- visibility: 'hidden',
2496
- },
2497
- '.neuroglancer-segment-query-result-numerical-plot-label:hover .neuroglancer-segment-query-result-numerical-plot-sort, .neuroglancer-segment-list-header-label:hover .neuroglancer-segment-list-header-label-sort': {
2498
- visibility: 'visible',
2499
- },
2500
- '.neuroglancer-segment-query-result-numerical-plot-container:hover .neuroglancer-segment-query-result-numerical-plot-bounds-window': {
2501
- visibility: 'visible',
2502
- },
2503
- '.neuroglancer-segment-query-result-numerical-plot-bounds-window': {
2504
- justifyContent: 'space-between',
2505
- marginTop: '-16px',
2506
- visibility: 'hidden',
2507
- pointerEvents: 'none',
2508
- },
2509
- '.neuroglancer-segment-list-entry.neuroglancer-segment-list-header': {
2510
- backgroundColor: '#666',
2511
- },
2512
- '.neuroglancer-segment-list-header .neuroglancer-segment-list-entry-id': {
2513
- backgroundColor: 'inherit',
2514
- color: '#fff',
2515
- textAlign: 'center',
2516
- },
2517
- '.neuroglancer-segment-list-header-label': {
2518
- cursor: 'pointer',
2519
- font: '10pt sans-serif',
2520
- },
2521
- '.neuroglancer-segment-list-header .neuroglancer-segment-list-entry-extra-property': {
2522
- textAlign: 'center',
2523
- },
2524
- '.neuroglancer-merge-segments-status': {
2525
- display: 'flex',
2526
- flexDirection: 'row',
2527
- },
2528
- '.neuroglancer-merge-segments-status .neuroglancer-segment-list-entry': {
2529
- marginLeft: '1em',
2530
- marginRight: '1em',
2531
- },
2532
- '.neuroglancer-linked-layer-widget-layer': {
2533
- display: 'flex',
2534
- flexDirection: 'row',
2535
- },
2536
- '.neuroglancer-linked-layer-widget-layer:hover': { backgroundColor: '#333' },
2537
- '.neuroglancer-segmentation-color-seed-control': {
2538
- display: 'flex',
2539
- flexDirection: 'row',
2540
- alignItems: 'center',
2541
- justifyContent: 'flex-end',
2542
- },
2543
- '.neuroglancer-segmentation-color-seed-control input': {
2544
- backgroundColor: '#ffffff4d',
2545
- color: '#fff',
2546
- border: '0px',
2547
- },
2548
- '.neuroglancer-single-mesh-dropdown .neuroglancer-single-mesh-attribute-widget': {
2549
- maxHeight: '6em',
2550
- marginBottom: '8px',
2551
- },
2552
- '.neuroglancer-single-mesh-dropdown .neuroglancer-shader-code-widget': {
2553
- height: '6em',
2554
- width: '60ch',
2555
- border: '1px solid transparent',
2556
- },
2557
- '.neuroglancer-single-mesh-dropdown-top-row': {
2558
- display: 'flex',
2559
- flexDirection: 'row',
2560
- alignItems: 'center',
2561
- },
2562
- '.neuroglancer-single-mesh-shader-overlay .neuroglancer-shader-code-widget': {
2563
- width: '80vw',
2564
- height: '80vh',
2565
- },
2566
- '.neuroglancer-single-mesh-attribute-widget': {
2567
- wordWrap: 'break-word',
2568
- overflowY: 'auto',
2569
- display: 'grid',
2570
- gridTemplateColumns: '[type] auto [name] auto [range] auto',
2571
- },
2572
- '.neuroglancer-single-mesh-layer-shader-overlay .neuroglancer-single-mesh-attribute-widget': {
2573
- maxHeight: '20vh',
2574
- },
2575
- '.neuroglancer-single-mesh-attribute': {
2576
- fontFamily: 'monospace',
2577
- display: 'contents',
2578
- },
2579
- '.neuroglancer-single-mesh-attribute-type': {
2580
- color: '#c6c',
2581
- gridColumn: 'type',
2582
- },
2583
- '.neuroglancer-single-mesh-attribute-name': {
2584
- marginLeft: '1ch',
2585
- color: '#fff',
2586
- gridColumn: 'name',
2587
- userSelect: 'text',
2588
- },
2589
- '.neuroglancer-single-mesh-attribute-range': {
2590
- marginLeft: '1ch',
2591
- whiteSpace: 'nowrap',
2592
- color: '#999',
2593
- gridColumn: 'range',
2594
- },
2595
- '.neuroglancer-annotation-rendering-tab': {
2596
- display: 'flex',
2597
- flexDirection: 'column',
2598
- overflowY: 'auto',
2599
- },
2600
- '.neuroglancer-annotation-rendering-tab .neuroglancer-shader-code-widget': {
2601
- flexShrink: 0,
2602
- },
2603
- '.neuroglancer-annotation-shader-property-list': {
2604
- maxHeight: '8em',
2605
- overflow: 'auto',
2606
- flexShrink: 0,
2607
- },
2608
- '.neuroglancer-annotation-shader-property': {
2609
- whiteSpace: 'pre',
2610
- fontFamily: 'monospace',
2611
- fontSize: 'medium',
2612
- },
2613
- '.neuroglancer-annotation-shader-property-type': {
2614
- color: '#c6c',
2615
- marginRight: '1ch',
2616
- },
2617
- '.neuroglancer-annotation-shader-property-identifier': { userSelect: 'text' },
2618
- '.neuroglancer-annotation-shader-property-identifier:after': {
2619
- content: '"()"',
2620
- color: '#999',
2621
- },
2622
- }),
2623
652
  },
2624
- }));
653
+ // Converted neuro-styles.css using transform.tools
654
+ '#statusContainer': {
655
+ position: 'absolute',
656
+ bottom: '0px',
657
+ zIndex: 100,
658
+ backgroundColor: 'gray',
659
+ color: '#fff',
660
+ margin: '0',
661
+ padding: '0',
662
+ font: '10pt sans-serif',
663
+ },
664
+ '#statusContainer li': {
665
+ width: '100vw',
666
+ maxHeight: '25vh',
667
+ overflowY: 'auto',
668
+ },
669
+ '.neuroglancer-status-header': {
670
+ display: 'inline-block',
671
+ font: '10pt sans-serif',
672
+ fontWeight: 'bold',
673
+ backgroundColor: '#333',
674
+ padding: '2px',
675
+ },
676
+ '.neuroglancer-selection-details-body': {
677
+ height: '0px',
678
+ flex: 1,
679
+ overflowY: 'auto',
680
+ flexBasis: '0px',
681
+ minHeight: '0px',
682
+ },
683
+ '.neuroglancer-selection-details-position': {
684
+ display: 'flex',
685
+ flexDirection: 'row',
686
+ alignItems: 'center',
687
+ justifyItems: 'left',
688
+ fontFamily: 'monospace',
689
+ fontSize: 'medium',
690
+ },
691
+ '.neuroglancer-selection-details-position-dimension+.neuroglancer-selection-details-position-dimension': {
692
+ marginLeft: '8px',
693
+ },
694
+ '.neuroglancer-selection-details-position-dimension-name': { color: '#ff6' },
695
+ '.neuroglancer-selection-details-position-dimension-coordinate': {
696
+ marginLeft: '5px',
697
+ userSelect: 'text',
698
+ },
699
+ '.neuroglancer-selection-details-layer': {
700
+ marginTop: '4px',
701
+ marginBottom: '4px',
702
+ border: '1px solid #222',
703
+ },
704
+ '.neuroglancer-selection-details-layer-title': {
705
+ cursor: 'pointer',
706
+ backgroundColor: '#222',
707
+ fontFamily: 'sans-serif',
708
+ fontSize: '10pt',
709
+ },
710
+ '.neuroglancer-selection-details-layer-title:hover': {
711
+ backgroundColor: '#333',
712
+ },
713
+ '.neuroglancer-selection-details-layer-body': {
714
+ padding: '2px',
715
+ display: 'flex',
716
+ flexDirection: 'column',
717
+ },
718
+ '.neuroglancer-side-panel-column': {
719
+ display: 'flex',
720
+ flexDirection: 'column',
721
+ minWidth: '0px',
722
+ },
723
+ '.neuroglancer-side-panel-row': {
724
+ display: 'flex',
725
+ flexDirection: 'row',
726
+ minHeight: '0px',
727
+ },
728
+ '.neuroglancer-side-panel': {
729
+ display: 'flex',
730
+ flexDirection: 'column',
731
+ minWidth: '0px',
732
+ overflow: 'hidden',
733
+ },
734
+ '.neuroglancer-side-panel-titlebar': {
735
+ display: 'flex',
736
+ flexDirection: 'row',
737
+ alignItems: 'center',
738
+ fontFamily: 'sans-serif',
739
+ fontSize: '10pt',
740
+ backgroundColor: '#03c',
741
+ padding: '2px',
742
+ color: '#fff',
743
+ },
744
+ '.neuroglancer-side-panel-title': {
745
+ flex: 1,
746
+ textOverflow: 'ellipsis',
747
+ overflow: 'hidden',
748
+ whiteSpace: 'nowrap',
749
+ },
750
+ '.neuroglancer-side-panel-drop-zone': { zIndex: 1000, display: 'none' },
751
+ '[data-neuroglancer-side-panel-drag] .neuroglancer-side-panel-drop-zone': {
752
+ display: 'block',
753
+ },
754
+ '.neuroglancer-resize-gutter-vertical': {
755
+ height: '1px',
756
+ backgroundColor: '#333',
757
+ backgroundClip: 'content-box',
758
+ paddingTop: '2px',
759
+ paddingBottom: '2px',
760
+ cursor: 'row-resize',
761
+ },
762
+ '.neuroglancer-resize-gutter-horizontal': {
763
+ width: '1px',
764
+ backgroundColor: '#333',
765
+ backgroundClip: 'content-box',
766
+ paddingRight: '2px',
767
+ paddingLeft: '2px',
768
+ cursor: 'col-resize',
769
+ },
770
+ '.neuroglancer-drag-status': {
771
+ position: 'absolute',
772
+ top: '0px',
773
+ zIndex: 1000,
774
+ backgroundColor: '#ff0',
775
+ color: '#000',
776
+ font: '10pt sans-serif',
777
+ padding: '2px',
778
+ },
779
+ '.neuroglancer-icon': {
780
+ display: 'inline-flex',
781
+ textDecoration: 'none',
782
+ alignSelf: 'center',
783
+ whiteSpace: 'nowrap',
784
+ paddingLeft: '2px',
785
+ paddingRight: '2px',
786
+ minWidth: '18px',
787
+ minHeight: '18px',
788
+ borderRadius: '20%',
789
+ alignItems: 'center',
790
+ justifyContent: 'center',
791
+ color: '#fff',
792
+ font: '12px sans-serif',
793
+ cursor: 'pointer',
794
+ fontWeight: 900,
795
+ marginLeft: '1px',
796
+ marginRight: '1px',
797
+ },
798
+ '.neuroglancer-icon svg': {
799
+ width: '16px',
800
+ height: '16px',
801
+ fill: 'transparent',
802
+ stroke: '#fff',
803
+ strokeWidth: 2,
804
+ strokeLinecap: 'round',
805
+ strokeLinejoin: 'round',
806
+ },
807
+ '.neuroglancer-icon:hover': { backgroundColor: '#db4437' },
808
+ '.neuroglancer-checkbox-icon.light-background[data-checked=true]': {
809
+ backgroundColor: '#00000080',
810
+ },
811
+ '.neuroglancer-checkbox-icon.dark-background[data-checked=true]': {
812
+ backgroundColor: '#fff3',
813
+ },
814
+ '.neuroglancer-image-dropdown': {
815
+ overflowY: 'auto',
816
+ display: 'flex',
817
+ flexDirection: 'column',
818
+ height: '0px',
819
+ },
820
+ '.neuroglancer-image-dropdown .neuroglancer-shader-code-widget': {
821
+ flexShrink: 0,
822
+ height: '8em',
823
+ border: '1px solid transparent',
824
+ },
825
+ '.neuroglancer-image-dropdown-top-row': {
826
+ display: 'flex',
827
+ flexDirection: 'row',
828
+ alignItems: 'center',
829
+ },
830
+ '.neuroglancer-image-layer-shader-overlay .neuroglancer-shader-code-widget': {
831
+ width: '80vw',
832
+ height: '80vh',
833
+ },
834
+ '.neuroglancer-selection-details-value-grid': {
835
+ display: 'grid',
836
+ gridAutoRows: 'auto',
837
+ fontFamily: 'monospace',
838
+ fontSize: 'medium',
839
+ alignItems: 'center',
840
+ },
841
+ '.neuroglancer-selection-details-value-grid-dim': {
842
+ gridColumn: 'dim',
843
+ color: '#ff6',
844
+ },
845
+ '.neuroglancer-selection-details-value-grid-dim:after': {
846
+ content: '"="',
847
+ color: '#aaa',
848
+ },
849
+ '.neuroglancer-selection-details-value-grid-coord': {
850
+ gridColumn: 'coord',
851
+ color: '#aaa',
852
+ marginRight: '1ch',
853
+ },
854
+ '.neuroglancer-selection-details-value-grid-value': {
855
+ gridColumn: 'value',
856
+ userSelect: 'text',
857
+ },
858
+ '.neuroglancer-layer-data-sources-tab': {
859
+ display: 'flex',
860
+ flexDirection: 'column',
861
+ },
862
+ '.neuroglancer-layer-data-sources-container': {
863
+ overflowY: 'auto',
864
+ display: 'flex',
865
+ flexDirection: 'column',
866
+ flex: 1,
867
+ height: '0px',
868
+ },
869
+ '.neuroglancer-layer-data-source-url-input input.autocomplete-input': {
870
+ color: '#fff',
871
+ },
872
+ '.neuroglancer-layer-data-source-url-input input.autocomplete-hint': {
873
+ color: '#aaa',
874
+ },
875
+ '.neuroglancer-layer-data-source-url-input .autocomplete-dropdown': {
876
+ backgroundColor: '#333',
877
+ },
878
+ '.neuroglancer-layer-data-sources-source-id': { fontWeight: 'bold' },
879
+ '.neuroglancer-layer-data-sources-source-id:not(:empty):before': {
880
+ content: '"["',
881
+ },
882
+ '.neuroglancer-layer-data-sources-source-id:not(:empty):after': {
883
+ content: '"]"',
884
+ },
885
+ '.neuroglancer-layer-data-sources-source-id:not(:empty)': {
886
+ marginRight: '4px',
887
+ color: '#0ff',
888
+ },
889
+ '.neuroglancer-layer-data-sources-source-messages:empty': { display: 'none' },
890
+ '.neuroglancer-layer-data-sources-source-messages': {
891
+ marginTop: '0',
892
+ listStyle: 'none',
893
+ paddingLeft: '0',
894
+ },
895
+ 'li.neuroglancer-message': { wordWrap: 'break-word', userSelect: 'text' },
896
+ 'li.neuroglancer-message-error': { color: 'red' },
897
+ 'li.neuroglancer-message-warning': { color: '#ff0' },
898
+ 'li.neuroglancer-message-info': { color: '#ccc' },
899
+ '.neuroglancer-layer-data-sources-source-default': {
900
+ display: 'block',
901
+ marginBottom: '4px',
902
+ },
903
+ '.neuroglancer-layer-data-sources-info-line[data-is-active=false]': {
904
+ textDecoration: 'solid line-through #caa',
905
+ },
906
+ '.neuroglancer-layer-data-sources-tab-type-detection': {
907
+ position: 'sticky',
908
+ bottom: '0px',
909
+ backgroundColor: '#ff9',
910
+ color: '#000',
911
+ textAlign: 'center',
912
+ cursor: 'pointer',
913
+ },
914
+ '.neuroglancer-layer-data-sources-tab-type-detection:hover': {
915
+ backgroundColor: '#ffc',
916
+ },
917
+ '.neuroglancer-layer-data-sources-tab-type-detection-type': {
918
+ fontWeight: 'bold',
919
+ },
920
+ '.neuroglancer-coordinate-space-transform-widget': {
921
+ display: 'grid',
922
+ justifyItems: 'stretch',
923
+ },
924
+ '.neuroglancer-coordinate-space-transform-widget input': {
925
+ fontFamily: 'monospace',
926
+ justifySelf: 'stretch',
927
+ backgroundColor: '#000',
928
+ color: '#fff',
929
+ padding: '2px',
930
+ },
931
+ '.neuroglancer-coordinate-space-transform-widget *[data-will-be-deleted=true]': {
932
+ color: '#666',
933
+ },
934
+ '.neuroglancer-coordinate-space-transform-label': {
935
+ fontStyle: 'italic',
936
+ color: '#fcc',
937
+ alignSelf: 'center',
938
+ },
939
+ '.neuroglancer-coordinate-space-transform-input-lower-label': {
940
+ gridRow: 'sourceLower',
941
+ gridColumn: 'outputLabel / sourceDim 1',
942
+ },
943
+ '.neuroglancer-coordinate-space-transform-translation-label': {
944
+ gridRow: 'sourceLabel / outputDim 1',
945
+ gridColumn: 'sourceDim -1',
946
+ writingMode: 'vertical-lr',
947
+ textOrientation: 'mixed',
948
+ alignSelf: 'end',
949
+ justifySelf: 'center',
950
+ marginBottom: '2px',
951
+ },
952
+ '.neuroglancer-coordinate-space-transform-input-lower-label, .neuroglancer-coordinate-space-transform-input-upper-label, .neuroglancer-coordinate-space-transform-input-scale-label': {
953
+ textAlign: 'right',
954
+ marginRight: '4px',
955
+ },
956
+ '.neuroglancer-coordinate-space-transform-input-upper-label': {
957
+ gridRow: 'sourceUpper',
958
+ gridColumn: 'headerStart / headerEnd',
959
+ },
960
+ '.neuroglancer-coordinate-space-transform-input-scale-label': {
961
+ gridRow: '5',
962
+ gridColumn: 'headerStart / headerEnd',
963
+ },
964
+ '.neuroglancer-coordinate-space-transform-source-label': {
965
+ gridRow: 'sourceLabel',
966
+ gridColumn: 'sourceDim 1 / sourceDim -1',
967
+ textAlign: 'center',
968
+ },
969
+ '.neuroglancer-coordinate-space-transform-output-label': {
970
+ gridRow: 'outputDim 1 / outputDim -1',
971
+ gridColumn: 'outputLabel',
972
+ writingMode: 'vertical-lr',
973
+ textOrientation: 'mixed',
974
+ alignSelf: 'center',
975
+ justifySelf: 'end',
976
+ marginRight: '2px',
977
+ },
978
+ '.neuroglancer-coordinate-space-transform-input-name': {
979
+ textAlign: 'center',
980
+ },
981
+ '.neuroglancer-coordinate-space-transform-input-name, input.neuroglancer-coordinate-space-transform-output-name': {
982
+ fontFamily: 'monospace',
983
+ color: '#ff6',
984
+ },
985
+ '.neuroglancer-coordinate-space-transform-scale': { textAlign: 'right' },
986
+ '.neuroglancer-coordinate-space-transform-input-bounds, .neuroglancer-coordinate-space-transform-output-bounds': {
987
+ whiteSpace: 'nowrap',
988
+ fontFamily: 'monospace',
989
+ fontSize: 'small',
990
+ textAlign: 'right',
991
+ paddingLeft: '2px',
992
+ paddingRight: '2px',
993
+ color: '#aff',
994
+ },
995
+ '.neuroglancer-coordinate-space-transform-input-bounds.neuroglancer-coordinate-space-transform-singleton:not(*[data-will-be-deleted="true"])': {
996
+ color: '#fa6',
997
+ },
998
+ '.neuroglancer-coordinate-space-transform-widget input[data-is-valid=false], .neuroglancer-coordinate-space-transform-widget input[data-is-valid=false]::placeholder': {
999
+ textDecoration: 'solid underline red',
1000
+ },
1001
+ '.neuroglancer-coordinate-space-transform-output-extend': {
1002
+ gridRow: 'outputDim -1',
1003
+ gridColumn: 'outputNames',
1004
+ display: 'flex',
1005
+ flexDirection: 'column',
1006
+ },
1007
+ '.neuroglancer-coordinate-space-transform-output-extend input': {
1008
+ alignSelf: 'stretch',
1009
+ },
1010
+ '.neuroglancer-coordinate-space-transform-output-extend[data-is-active=false] input': {
1011
+ display: 'none',
1012
+ },
1013
+ '.neuroglancer-coordinate-space-transform-output-extend[data-is-active=true] .neuroglancer-icon': {
1014
+ display: 'none',
1015
+ },
1016
+ '.neuroglancer-coordinate-space-transform-output-extend .neuroglancer-icon': {
1017
+ alignSelf: 'start',
1018
+ },
1019
+ '.neuroglancer-coordinate-space-transform-translation-coeff': {
1020
+ marginLeft: '3px',
1021
+ },
1022
+ '.neuroglancer-coordinate-space-transform-output-scale-container': {
1023
+ marginRight: '3px',
1024
+ },
1025
+ '.neuroglancer-coordinate-space-transform-input-scale-container, .neuroglancer-coordinate-space-transform-input-scale-label': {
1026
+ marginBottom: '3px',
1027
+ },
1028
+ '.neuroglancer-coordinate-space-transform-widget input, .neuroglancer-coordinate-space-transform-output-name-container, .neuroglancer-coordinate-space-transform-scale-container': {
1029
+ border: '1px solid #333',
1030
+ },
1031
+ '.neuroglancer-coordinate-space-transform-widget .neuroglancer-coordinate-space-transform-output-name, .neuroglancer-coordinate-space-transform-widget .neuroglancer-coordinate-space-transform-scale': {
1032
+ border: '0px',
1033
+ },
1034
+ '.neuroglancer-coordinate-space-transform-output-name-container': {
1035
+ display: 'flex',
1036
+ flexDirection: 'column',
1037
+ alignItems: 'stretch',
1038
+ marginRight: '3px',
1039
+ },
1040
+ '.neuroglancer-coordinate-space-transform-scale-container': {
1041
+ display: 'flex',
1042
+ flexDirection: 'column',
1043
+ alignItems: 'stretch',
1044
+ },
1045
+ '.neuroglancer-coordinate-space-transform-scale-suggestion': {
1046
+ fontFamily: 'monospace',
1047
+ cursor: 'pointer',
1048
+ borderRadius: '20%',
1049
+ border: '1px solid #333',
1050
+ alignSelf: 'flex-end',
1051
+ margin: '2px',
1052
+ color: '#aaa',
1053
+ },
1054
+ '.neuroglancer-coordinate-space-transform-scale-suggestion svg': {
1055
+ width: '16px',
1056
+ height: '16px',
1057
+ fill: 'transparent',
1058
+ stroke: '#aaa',
1059
+ strokeWidth: 2,
1060
+ strokeLinecap: 'round',
1061
+ strokeLinejoin: 'round',
1062
+ },
1063
+ '.neuroglancer-coordinate-space-transform-scale-suggestion:hover': {
1064
+ backgroundColor: '#db4437',
1065
+ border: '1px solid transparent',
1066
+ color: '#fff',
1067
+ },
1068
+ '.neuroglancer-coordinate-space-transform-scale-suggestion:hover svg': {
1069
+ stroke: '#fff',
1070
+ },
1071
+ '.neuroglancer-coordinate-space-transform-widget-reset-buttons': {
1072
+ gridRow: 'outputDim -1',
1073
+ gridColumn: 'headerEnd / -1',
1074
+ justifySelf: 'start',
1075
+ },
1076
+ '.neuroglancer-multiline-autocomplete': {
1077
+ marginTop: '2px',
1078
+ padding: '2px',
1079
+ position: 'relative',
1080
+ backgroundColor: '#222',
1081
+ },
1082
+ '.neuroglancer-multiline-autocomplete-hint, .neuroglancer-multiline-autocomplete-input': {
1083
+ fontFamily: 'monospace',
1084
+ color: '#fff',
1085
+ wordWrap: 'break-word',
1086
+ },
1087
+ '.neuroglancer-multiline-autocomplete-input:focus': { outline: '0px' },
1088
+ '.neuroglancer-multiline-autocomplete-input:not(:focus):empty:before': {
1089
+ content: 'attr(data-placeholder)',
1090
+ color: '#aaa',
1091
+ },
1092
+ '.neuroglancer-multiline-autocomplete-hint': { color: '#aaa' },
1093
+ '.neuroglancer-multiline-autocomplete-hint, .neuroglancer-multiline-autocomplete-input, .neuroglancer-multiline-autocomplete-completion': {
1094
+ fontFamily: 'monospace',
1095
+ fontSize: 'medium',
1096
+ },
1097
+ '.neuroglancer-multiline-autocomplete-dropdown': {
1098
+ color: '#fff',
1099
+ backgroundColor: '#181818',
1100
+ position: 'fixed',
1101
+ display: 'block',
1102
+ outline: '0',
1103
+ margin: '0',
1104
+ padding: '0',
1105
+ left: '0px',
1106
+ right: '0px',
1107
+ textAlign: 'left',
1108
+ cursor: 'default',
1109
+ borderStyle: 'solid',
1110
+ borderWidth: '1px',
1111
+ borderColor: '#aaa',
1112
+ overflowY: 'scroll',
1113
+ wordWrap: 'break-word',
1114
+ },
1115
+ '.neuroglancer-multiline-autocomplete-completion:nth-child(even):not(.neuroglancer-multiline-autocomplete-completion-active)': {
1116
+ backgroundColor: '#2b2b2b',
1117
+ },
1118
+ '.neuroglancer-multiline-autocomplete-completion:hover': {
1119
+ outline: '1px solid #ddd',
1120
+ },
1121
+ '.neuroglancer-multiline-autocomplete-completion-active': {
1122
+ backgroundColor: '#666',
1123
+ },
1124
+ '.neuroglancer-multiline-autocomplete-completion-description': {
1125
+ fontStyle: 'italic',
1126
+ color: '#f9f',
1127
+ },
1128
+ '.neuroglancer-tab-view': { display: 'flex', flexDirection: 'column' },
1129
+ '.neuroglancer-tab-view-bar': {
1130
+ display: 'block',
1131
+ backgroundColor: '#333',
1132
+ borderBottom: '1px solid white',
1133
+ },
1134
+ '.neuroglancer-tab-label': {
1135
+ display: 'inline-block',
1136
+ borderTop: '1px solid transparent',
1137
+ borderLeft: '1px solid transparent',
1138
+ borderRight: '1px solid transparent',
1139
+ borderBottom: 'none',
1140
+ marginRight: '4px',
1141
+ paddingTop: '1px',
1142
+ paddingLeft: '2px',
1143
+ paddingRight: '2px',
1144
+ font: '10pt sans-serif',
1145
+ fontWeight: 'bold',
1146
+ cursor: 'pointer',
1147
+ },
1148
+ '.neuroglancer-tab-label:hover': { color: '#daa520' },
1149
+ '.neuroglancer-tab-label.neuroglancer-selected-tab-label': {
1150
+ backgroundColor: '#000',
1151
+ borderTop: '1px solid white',
1152
+ borderLeft: '1px solid white',
1153
+ borderRight: '1px solid white',
1154
+ borderBottom: '1px solid black',
1155
+ paddingBottom: '1px',
1156
+ marginBottom: '-1px',
1157
+ },
1158
+ '.neuroglancer-stack-view': { display: 'contents' },
1159
+ '.neuroglancer-tab-view>.neuroglancer-stack-view>.neuroglancer-tab-content': {
1160
+ flex: 1,
1161
+ flexBasis: '0px',
1162
+ height: '0px',
1163
+ minHeight: '0px',
1164
+ padding: '2px',
1165
+ },
1166
+ '.neuroglancer-tool-key-binding': {
1167
+ display: 'inline-block',
1168
+ color: '#0ff',
1169
+ font: '9pt monospace',
1170
+ whiteSpace: 'pre',
1171
+ },
1172
+ '.neuroglancer-tool-key-binding:hover': { outline: '1px solid #fff' },
1173
+ '.neuroglancer-tool-key-binding:before': { content: '"["' },
1174
+ '.neuroglancer-tool-key-binding:after': { content: '"]"' },
1175
+ '.neuroglancer-tool-key-binding:before, .neuroglancer-tool-key-binding:after': {
1176
+ color: '#999',
1177
+ },
1178
+ '.neuroglancer-tool-button': { display: 'inline-flex', flexDirection: 'row' },
1179
+ '#statusContainer li.neuroglancer-tool-status': { maxHeight: '50vh' },
1180
+ '.neuroglancer-tool-status-bindings': { backgroundColor: '#333' },
1181
+ '.neuroglancer-tool-status-content': {
1182
+ display: 'flex',
1183
+ flexDirection: 'row',
1184
+ },
1185
+ '.neuroglancer-tool-status-header-container': {
1186
+ backgroundColor: '#555',
1187
+ width: 'min-content',
1188
+ padding: '3px',
1189
+ display: 'flex',
1190
+ flexDirection: 'row',
1191
+ alignItems: 'center',
1192
+ },
1193
+ '.neuroglancer-tool-status-header': { alignSelf: 'center' },
1194
+ '.neuroglancer-tool-status-body': { flex: 1, padding: '2px' },
1195
+ '.neuroglancer-viewer': { outline: '0px' },
1196
+ '.neuroglancer-viewer-top-row': {
1197
+ display: 'flex',
1198
+ flexDirection: 'row',
1199
+ alignItems: 'center',
1200
+ backgroundColor: '#222',
1201
+ marginBottom: '3px',
1202
+ paddingRight: '2px',
1203
+ },
1204
+ '.neuroglancer-viewer-side-panel': {
1205
+ display: 'flex',
1206
+ flexDirection: 'column',
1207
+ alignItems: 'stretch',
1208
+ maxWidth: '80%',
1209
+ color: '#fff',
1210
+ },
1211
+ '.neuroglancer-noselect': {
1212
+ WebkitTouchCallout: 'none',
1213
+ WebkitUserSelect: 'none',
1214
+ KhtmlUserSelect: 'none',
1215
+ MozUserSelect: 'none',
1216
+ msUserSelect: 'none',
1217
+ userSelect: 'none',
1218
+ },
1219
+ '.neuroglancer-select-text': {
1220
+ WebkitTouchCallout: 'default',
1221
+ WebkitUserSelect: 'text',
1222
+ KhtmlUserSelect: 'text',
1223
+ MozUserSelect: 'text',
1224
+ msUserSelect: 'text',
1225
+ userSelect: 'text',
1226
+ },
1227
+ '.neuroglancer-data-panel-layout-controls': {
1228
+ position: 'absolute',
1229
+ top: '2px',
1230
+ right: '2px',
1231
+ display: 'flex',
1232
+ alignItems: 'start',
1233
+ },
1234
+ '.neuroglancer-data-panel-layout-controls>button': {
1235
+ display: 'flex',
1236
+ margin: '2px',
1237
+ border: ['0px', '1px solid white'],
1238
+ backgroundColor: '#00000080',
1239
+ flexDirection: 'row',
1240
+ alignSelf: 'top',
1241
+ alignItems: 'center',
1242
+ justifyContent: 'center',
1243
+ fontSize: '15px',
1244
+ width: '18px',
1245
+ height: '18px',
1246
+ color: '#fff',
1247
+ },
1248
+ '.neuroglancer-data-panel-layout-controls>button>div': {
1249
+ display: 'inline-block',
1250
+ textAlign: 'center',
1251
+ lineHeight: '12px',
1252
+ width: '15px',
1253
+ height: '15px',
1254
+ },
1255
+ '.neuroglancer-data-panel-layout-controls>button:hover': { color: '#6ff' },
1256
+ 'label.perspective-panel-show-slice-views': {
1257
+ pointerEvents: 'none',
1258
+ position: 'absolute',
1259
+ right: '2px',
1260
+ bottom: '2px',
1261
+ fontFamily: 'sans-serif',
1262
+ fontSize: 'small',
1263
+ },
1264
+ 'input.perspective-panel-show-slice-views': { pointerEvents: 'all' },
1265
+ '.neuroglancer-rendered-data-panel': {
1266
+ cursor: 'crosshair',
1267
+ position: 'relative',
1268
+ outline: '0',
1269
+ touchAction: 'none',
1270
+ color: '#fff',
1271
+ textAlign: 'left',
1272
+ },
1273
+ '.neuroglancer-display-dimensions-widget': {
1274
+ position: 'absolute',
1275
+ cursor: 'default',
1276
+ top: '2px',
1277
+ left: '2px',
1278
+ backgroundColor: '#0000004d',
1279
+ },
1280
+ '.neuroglancer-display-dimensions-widget-dimension-grid': {
1281
+ display: 'grid',
1282
+ gridTemplateRows: '0fr 0fr 0fr 0fr',
1283
+ gridTemplateColumns: '0fr 0fr 0fr',
1284
+ },
1285
+ '.neuroglancer-display-dimensions-widget input': {
1286
+ outline: '0px',
1287
+ backgroundColor: 'transparent',
1288
+ borderColor: 'transparent',
1289
+ boxShadow: 'none',
1290
+ margin: '0',
1291
+ border: '0',
1292
+ padding: '2px',
1293
+ },
1294
+ '.neuroglancer-display-dimensions-widget input, .neuroglancer-display-dimensions-widget': {
1295
+ fontFamily: 'monospace',
1296
+ color: '#fff',
1297
+ },
1298
+ '.neuroglancer-display-dimensions-widget-dimension:hover': {
1299
+ outline: '1px solid black',
1300
+ },
1301
+ '.neuroglancer-display-dimensions-widget-name[data-is-valid=false]': {
1302
+ textDecoration: 'solid underline red',
1303
+ },
1304
+ '.neuroglancer-display-dimensions-widget-scale-factor': {
1305
+ textAlign: 'right',
1306
+ alignItems: 'end',
1307
+ display: 'inline-block',
1308
+ whiteSpace: 'nowrap',
1309
+ marginLeft: '2px',
1310
+ },
1311
+ '.neuroglancer-display-dimensions-widget-scale': {
1312
+ display: 'inline-block',
1313
+ whiteSpace: 'nowrap',
1314
+ paddingLeft: '10px',
1315
+ textAlign: 'right',
1316
+ marginLeft: '5px',
1317
+ },
1318
+ '.neuroglancer-display-dimensions-widget-scale:not(:empty):before': {
1319
+ content: '"("',
1320
+ },
1321
+ '.neuroglancer-display-dimensions-widget-scale:not(:empty):after': {
1322
+ content: '")"',
1323
+ },
1324
+ '.neuroglancer-display-dimensions-widget-scale-factor:after': {
1325
+ content: '"\\d7"',
1326
+ },
1327
+ '.neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-scale-factor, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-scale, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-display-dimensions-widget-default, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-depth-range-widget-grid, .neuroglancer-display-dimensions-widget:not(:hover):not([data-active="true"]) .neuroglancer-depth-range-relative-checkbox-label': {
1328
+ display: 'none',
1329
+ },
1330
+ '.neuroglancer-display-dimensions-widget-dimension[data-is-modified=true] .neuroglancer-display-dimensions-widget-scale-factor, .neuroglancer-display-dimensions-widget-dimension[data-is-modified=true] .neuroglancer-display-dimensions-widget-scale': {
1331
+ visibility: 'hidden',
1332
+ },
1333
+ '.neuroglancer-display-dimensions-widget *:focus': { outline: '0px' },
1334
+ '.neuroglancer-display-dimensions-widget-default': {
1335
+ gridRow: '4',
1336
+ gridColumnStart: '1',
1337
+ gridColumnEnd: '3',
1338
+ display: 'inline-block',
1339
+ whiteSpace: 'nowrap',
1340
+ },
1341
+ '.neuroglancer-display-dimensions-widget-default input': {
1342
+ marginRight: '3px',
1343
+ },
1344
+ '.neuroglancer-depth-range-widget-grid': {
1345
+ marginTop: '1em',
1346
+ display: 'grid',
1347
+ gridTemplateColumns: '0fr 0fr 0fr',
1348
+ gridAutoRows: '0fr',
1349
+ },
1350
+ '.neuroglancer-depth-range-widget-dimension-names:not(:empty):before': {
1351
+ content: '"("',
1352
+ },
1353
+ '.neuroglancer-depth-range-widget-dimension-names:not(:empty):after': {
1354
+ content: '")"',
1355
+ },
1356
+ '.neuroglancer-depth-range-widget-dimension-names': {
1357
+ marginLeft: '1ch',
1358
+ whiteSpace: 'nowrap',
1359
+ },
1360
+ '.neuroglancer-help-body': {
1361
+ flexBasis: '0px',
1362
+ flex: 1,
1363
+ height: '0px',
1364
+ minHeight: '0px',
1365
+ fontFamily: 'sans-serif',
1366
+ display: 'flex',
1367
+ flexDirection: 'column',
1368
+ },
1369
+ '.neuroglancer-help-scroll-container': {
1370
+ flex: 1,
1371
+ flexBasis: '0px',
1372
+ position: 'relative',
1373
+ overflow: 'auto',
1374
+ },
1375
+ '.neuroglancer-help-scroll-container div+h2': { marginTop: '1em' },
1376
+ '.neuroglancer-help-scroll-container h2': {
1377
+ fontSize: '10pt',
1378
+ padding: '4px',
1379
+ position: 'sticky',
1380
+ top: '0',
1381
+ backgroundColor: '#333',
1382
+ marginTop: '0',
1383
+ },
1384
+ '.neuroglancer-help-scroll-container .dt': {
1385
+ fontFamily: 'monospace',
1386
+ fontWeight: 'bold',
1387
+ color: '#ff0',
1388
+ },
1389
+ '.neuroglancer-help-scroll-container .dd': {
1390
+ fontSize: '10pt',
1391
+ marginLeft: '4ex',
1392
+ },
1393
+ '.neuroglancer-layout-split-drop-zone': {
1394
+ position: 'absolute',
1395
+ zIndex: 1000,
1396
+ },
1397
+ '.neuroglancer-drag-over': { backgroundColor: '#0000ff80' },
1398
+ '.neuroglancer-stack-layout-row>.neuroglancer-stack-layout-drop-placeholder': {
1399
+ paddingLeft: '4px',
1400
+ paddingRight: '4px',
1401
+ width: '1px',
1402
+ },
1403
+ '.neuroglancer-stack-layout-column>.neuroglancer-stack-layout-drop-placeholder': {
1404
+ paddingTop: '4px',
1405
+ paddingBottom: '4px',
1406
+ height: '1px',
1407
+ },
1408
+ '.neuroglancer-stack-layout-drop-placeholder': {
1409
+ backgroundClip: 'content-box',
1410
+ backgroundColor: '#666',
1411
+ zIndex: 1,
1412
+ },
1413
+ '.neuroglancer-stack-layout-drop-placeholder.neuroglancer-drag-over': {
1414
+ backgroundClip: 'border-box',
1415
+ backgroundColor: '#8080ff80',
1416
+ },
1417
+ '.neuroglancer-stack-layout-drop-placeholder:first-child, .neuroglancer-stack-layout-drop-placeholder:last-child': {
1418
+ display: 'none',
1419
+ },
1420
+ '.neuroglancer-panel': { flex: 1 },
1421
+ '.neuroglancer-show-panel-borders .neuroglancer-panel': {
1422
+ borderStyle: 'solid',
1423
+ borderColor: '#000',
1424
+ borderWidth: '2px',
1425
+ },
1426
+ '.neuroglancer-panel:focus-within': { borderColor: '#fff' },
1427
+ '.neuroglancer-layer-group-viewer': { outline: '0px' },
1428
+ '.neuroglancer-layer-group-viewer-context-menu': {
1429
+ flexDirection: 'column',
1430
+ alignItems: 'stretch',
1431
+ },
1432
+ '.neuroglancer-layer-group-viewer-context-menu label': {
1433
+ display: 'flex',
1434
+ flexDirection: 'row',
1435
+ justifyContent: 'space-between',
1436
+ },
1437
+ '.neuroglancer-layer-group-viewer-context-menu select:before': {
1438
+ flex: 1,
1439
+ content: '" "',
1440
+ },
1441
+ '.neuroglancer-layer-group-viewer-context-menu select': { marginLeft: '5px' },
1442
+ '.neuroglancer-context-menu': {
1443
+ position: 'absolute',
1444
+ zIndex: 100,
1445
+ border: '1px solid white',
1446
+ backgroundColor: '#000',
1447
+ boxShadow: '5px 5px 2px 1px #00000080',
1448
+ fontFamily: 'sans-serif',
1449
+ fontSize: '11pt',
1450
+ padding: '5px',
1451
+ color: '#fff',
1452
+ outline: '0px',
1453
+ },
1454
+ ':root': {
1455
+ '--layer-number-color': '#9a7518',
1456
+ '--neuroglancer-segment-list-width': 'auto',
1457
+ },
1458
+ '.neuroglancer-layer-panel': {
1459
+ width: '100%',
1460
+ display: 'flex',
1461
+ flexDirection: 'row',
1462
+ flexWrap: 'wrap',
1463
+ alignItems: 'stretch',
1464
+ marginLeft: '-5px',
1465
+ marginTop: '-1px',
1466
+ zIndex: -0.1,
1467
+ overflow: 'hidden',
1468
+ },
1469
+ '.neuroglancer-layer-item': {
1470
+ position: 'relative',
1471
+ display: 'flex',
1472
+ alignItems: 'center',
1473
+ color: '#fff',
1474
+ cursor: 'pointer',
1475
+ borderWidth: '1px',
1476
+ borderStyle: 'solid',
1477
+ borderColor: '#ccc',
1478
+ fontFamily: 'sans-serif',
1479
+ fontSize: '10pt',
1480
+ backgroundColor: '#000',
1481
+ padding: '1px',
1482
+ },
1483
+ '.neuroglancer-layer-item, .neuroglancer-layer-add-button': {
1484
+ margin: '1px 1px 1px 5px',
1485
+ },
1486
+ '.neuroglancer-layer-item[data-selected=true]': { borderColor: '#8c8' },
1487
+ '.neuroglancer-layer-item[data-selected=true]:hover': { borderColor: '#3c3' },
1488
+ '.neuroglancer-layer-item:hover': { borderColor: '#daa520' },
1489
+ '.neuroglancer-layer-item[data-pick=true] .neuroglancer-layer-item-label': {
1490
+ backgroundColor: '#939',
1491
+ },
1492
+ '.neuroglancer-layer-item-label': {
1493
+ display: 'inline-block',
1494
+ position: 'relative',
1495
+ backgroundColor: '#222',
1496
+ paddingRight: '3px',
1497
+ },
1498
+ '.neuroglancer-layer-item-number': {
1499
+ display: 'inline-block',
1500
+ backgroundColor: 'var(--layer-number-color)',
1501
+ fontWeight: 'bold',
1502
+ paddingLeft: '1px',
1503
+ paddingRight: '1px',
1504
+ },
1505
+ '.neuroglancer-layer-panel[data-show-hover-values=true] .neuroglancer-layer-item-value': {
1506
+ display: 'inline-block',
1507
+ fontFamily: 'monospace',
1508
+ fontSize: 'medium',
1509
+ maxWidth: '50ch',
1510
+ marginLeft: '1ch',
1511
+ whiteSpace: 'nowrap',
1512
+ overflow: 'hidden',
1513
+ textOverflow: 'ellipses',
1514
+ textAlign: 'center',
1515
+ },
1516
+ '.neuroglancer-layer-panel[data-show-hover-values=false] .neuroglancer-layer-item-value': {
1517
+ display: 'none',
1518
+ },
1519
+ '.neuroglancer-layer-item[data-visible=false] .neuroglancer-layer-item-label': {
1520
+ textDecoration: 'line-through',
1521
+ },
1522
+ '.neuroglancer-layer-item[data-visible=false]': { color: '#bbb' },
1523
+ '.neuroglancer-layer-panel-drop-zone': { display: 'inline-block', flex: 1 },
1524
+ '.neuroglancer-layer-item-visible-progress, .neuroglancer-layer-item-prefetch-progress': {
1525
+ position: 'absolute',
1526
+ left: '0px',
1527
+ height: '2px',
1528
+ backgroundColor: '#666',
1529
+ },
1530
+ '.neuroglancer-layer-item-visible-progress': { top: '0px' },
1531
+ '.neuroglancer-layer-item-prefetch-progress': { bottom: '0px' },
1532
+ '.neuroglancer-layer-item-value-container': {
1533
+ display: 'grid',
1534
+ gridTemplateColumns: 'min-content',
1535
+ alignItems: 'center',
1536
+ },
1537
+ '.neuroglancer-layer-item-value': {
1538
+ gridRow: '1',
1539
+ gridColumn: '1',
1540
+ visibility: 'visible',
1541
+ },
1542
+ '.neuroglancer-layer-item-button-container': {
1543
+ gridRow: '1',
1544
+ gridColumn: '1',
1545
+ whiteSpace: 'nowrap',
1546
+ display: 'flex',
1547
+ flexDirection: 'row',
1548
+ alignItems: 'center',
1549
+ visibility: 'hidden',
1550
+ justifySelf: 'right',
1551
+ },
1552
+ '.neuroglancer-layer-panel:hover .neuroglancer-layer-item-value': {
1553
+ visibility: 'hidden',
1554
+ },
1555
+ '.neuroglancer-layer-panel:hover .neuroglancer-layer-item-button-container': {
1556
+ visibility: 'visible',
1557
+ },
1558
+ '.neuroglancer-position-widget': {
1559
+ display: 'inline-flex',
1560
+ alignItems: 'center',
1561
+ },
1562
+ '.neuroglancer-position-widget input:disabled': { pointerEvents: 'none' },
1563
+ '.neuroglancer-position-widget .neuroglancer-copy-button:first-child': {
1564
+ display: 'none',
1565
+ },
1566
+ '.neuroglancer-position-dimension-coordinate, .neuroglancer-position-dimension-name, .neuroglancer-position-dimension-scale': {
1567
+ backgroundColor: 'transparent',
1568
+ borderColor: 'transparent',
1569
+ boxShadow: 'none',
1570
+ border: '0',
1571
+ margin: '0',
1572
+ fontFamily: 'monospace',
1573
+ fontSize: 'medium',
1574
+ },
1575
+ '.neuroglancer-position-dimension[data-coordinate-array=valid] .neuroglancer-position-dimension-scale': {
1576
+ display: 'none',
1577
+ },
1578
+ '.neuroglancer-position-dimension[data-coordinate-array=invalid] .neuroglancer-position-dimension-scale': {
1579
+ textDecorationLine: 'underline',
1580
+ textDecorationStyle: 'wavy',
1581
+ textDecorationColor: 'red',
1582
+ },
1583
+ '.neuroglancer-position-dimension-coordinate': { color: '#fff' },
1584
+ '.neuroglancer-position-widget input:invalid, .neuroglancer-position-widget input::placeholder, .neuroglancer-position-widget input[data-is-valid=false]': {
1585
+ textDecoration: 'solid underline red',
1586
+ },
1587
+ '.neuroglancer-position-widget *:focus': { outline: '0px' },
1588
+ '.neuroglancer-position-dimension[data-dropdown-visible=true]:after': {
1589
+ content: '""',
1590
+ display: 'block',
1591
+ left: '0px',
1592
+ right: '0px',
1593
+ bottom: '-1px',
1594
+ position: 'absolute',
1595
+ borderBottom: '1px solid black',
1596
+ zIndex: 100,
1597
+ height: '0px',
1598
+ },
1599
+ '.neuroglancer-position-dimension-dropdown, .neuroglancer-position-dimension-coordinate-dropdown': {
1600
+ position: 'absolute',
1601
+ minWidth: 'calc(100% + 2px)',
1602
+ border: '1px solid #aaa',
1603
+ boxSizing: 'border-box',
1604
+ padding: '2px',
1605
+ left: '-1px',
1606
+ zIndex: 100,
1607
+ backgroundColor: '#000',
1608
+ },
1609
+ '.neuroglancer-position-dimension-dropdown': {
1610
+ display: 'grid',
1611
+ gridTemplateAreas: '"labels . graph"',
1612
+ gridTemplateRows: '1fr',
1613
+ gridTemplateColumns: '0fr 3px 0fr',
1614
+ },
1615
+ '.neuroglancer-position-dimension-coordinate-dropdown': {
1616
+ display: 'flex',
1617
+ flexDirection: 'column',
1618
+ overflowY: 'auto',
1619
+ },
1620
+ '.neuroglancer-dimension-dropdown-coordinate-entry': {
1621
+ display: 'flex',
1622
+ flexDirection: 'row',
1623
+ justifyContent: 'space-between',
1624
+ },
1625
+ '.neuroglancer-dimension-dropdown-coordinate-entry:hover': {
1626
+ backgroundColor: '#333',
1627
+ },
1628
+ '.neuroglancer-dimension-dropdown-coordinate-label': {
1629
+ width: 'var(--neuroglancer-coordinate-label-width)',
1630
+ color: '#0ff',
1631
+ },
1632
+ '.neuroglancer-position-dimension-dropdown:focus, .neuroglancer-position-dimension-coordinate-dropdown:focus': {
1633
+ outline: '0px',
1634
+ },
1635
+ '.neuroglancer-position-dimension-dropdown-lowerbound, .neuroglancer-position-dimension-dropdown-upperbound, .neuroglancer-position-dimension-dropdown-hoverposition': {
1636
+ gridArea: 'labels',
1637
+ textAlign: 'right',
1638
+ },
1639
+ '.neuroglancer-position-dimension-dropdown canvas': {
1640
+ marginTop: '.5em',
1641
+ marginBottom: '.5em',
1642
+ gridArea: 'graph',
1643
+ },
1644
+ '.neuroglancer-position-dimension:focus-within, .neuroglancer-position-dimension[data-dropdown-visible=true]': {
1645
+ border: '1px solid #aaa',
1646
+ backgroundColor: '#000',
1647
+ },
1648
+ '.neuroglancer-position-dimension': {
1649
+ border: '1px solid transparent',
1650
+ position: 'relative',
1651
+ display: 'inline-block',
1652
+ fontFamily: 'monospace',
1653
+ fontSize: 'medium',
1654
+ whiteSpace: 'nowrap',
1655
+ },
1656
+ '.neuroglancer-position-dimension-name': {
1657
+ color: '#ff6',
1658
+ paddingLeft: '2px',
1659
+ },
1660
+ '.neuroglancer-position-dimension-scale-container[data-is-empty=false]:before': {
1661
+ content: '"("',
1662
+ color: '#aaa',
1663
+ },
1664
+ '.neuroglancer-position-dimension-scale-container[data-is-empty=false]:after': {
1665
+ content: '")"',
1666
+ color: '#aaa',
1667
+ },
1668
+ '.neuroglancer-position-dimension-scale-container[data-is-empty=false]': {
1669
+ marginRight: '5px',
1670
+ },
1671
+ '.neuroglancer-position-dimension-scale': { color: '#bbb' },
1672
+ '.neuroglancer-position-dimension-scale-container': {
1673
+ marginRight: '2px',
1674
+ marginLeft: '4px',
1675
+ },
1676
+ '.neuroglancer-mouse-position-widget': {
1677
+ marginLeft: '1ch',
1678
+ verticalAlign: 'center',
1679
+ fontFamily: 'monospace',
1680
+ fontSize: 'medium',
1681
+ color: 'orange',
1682
+ whiteSpace: 'pre',
1683
+ },
1684
+ '.neuroglancer-position-dimension-coordinate-label': {
1685
+ display: 'inline-block',
1686
+ color: '#0ff',
1687
+ },
1688
+ '.neuroglancer-position-dimension-coordinate-label:not(:empty):before': {
1689
+ content: '"["',
1690
+ color: '#aaa',
1691
+ },
1692
+ '.neuroglancer-position-dimension-coordinate-label:not(:empty):after': {
1693
+ content: '"]"',
1694
+ color: '#aaa',
1695
+ },
1696
+ '.neuroglancer-layer-list-panel-items': {
1697
+ display: 'flex',
1698
+ flexDirection: 'column',
1699
+ flex: 1,
1700
+ overflow: 'auto',
1701
+ height: '0px',
1702
+ minHeight: '0px',
1703
+ flexBasis: '0px',
1704
+ },
1705
+ '.neuroglancer-layer-list-panel-item': {
1706
+ display: 'flex',
1707
+ flexDirection: 'row',
1708
+ padding: '2px',
1709
+ border: '1px solid #aaa',
1710
+ margin: '2px',
1711
+ },
1712
+ '.neuroglancer-layer-list-panel-item[data-selected=true]': {
1713
+ borderColor: '#3c3',
1714
+ },
1715
+ '.neuroglancer-layer-list-panel-item[data-archived=true]': {
1716
+ borderColor: '#666',
1717
+ },
1718
+ '.neuroglancer-layer-list-panel-item[data-archived=true] .neuroglancer-layer-side-panel-name, .neuroglancer-layer-list-panel-item[data-archived=true] .neuroglancer-icon svg': {
1719
+ color: '#999',
1720
+ stroke: '#999',
1721
+ },
1722
+ '.neuroglancer-layer-list-panel-item:hover': { backgroundColor: '#333' },
1723
+ '.neuroglancer-layer-list-panel-item-number': {
1724
+ fontFamily: 'sans-serif',
1725
+ backgroundColor: 'var(--layer-number-color)',
1726
+ color: '#fff',
1727
+ fontWeight: 'bold',
1728
+ display: 'inline-block',
1729
+ },
1730
+ '.neuroglancer-layer-list-panel-item:not(:hover)>.neuroglancer-layer-list-panel-item-delete': {
1731
+ display: 'none',
1732
+ },
1733
+ '.neuroglancer-layer-list-panel-item:not(:hover)>.neuroglancer-layer-list-panel-item-controls': {
1734
+ display: 'none',
1735
+ },
1736
+ '[data-neuroglancer-layer-panel-pinned=false] .neuroglancer-side-panel-titlebar.neuroglancer-layer-side-panel-title': {
1737
+ backgroundColor: '#393',
1738
+ },
1739
+ '[data-neuroglancer-layer-visible=false] .neuroglancer-side-panel-titlebar.neuroglancer-layer-side-panel-title input': {
1740
+ textDecoration: 'line-through',
1741
+ },
1742
+ '.neuroglancer-layer-side-panel-name': {
1743
+ flex: 1,
1744
+ backgroundColor: 'transparent',
1745
+ border: '0px',
1746
+ color: '#fff',
1747
+ outline: '0px',
1748
+ width: '0px',
1749
+ minWidth: '0px',
1750
+ },
1751
+ '.neuroglancer-layer-side-panel-tab-view': {
1752
+ flex: 1,
1753
+ display: 'flex',
1754
+ flexDirection: 'column',
1755
+ font: '10pt sans-serif',
1756
+ },
1757
+ '.neuroglancer-layer-side-panel-type-measure': {
1758
+ position: 'absolute',
1759
+ visibility: 'hidden',
1760
+ top: '0px',
1761
+ height: 'auto',
1762
+ width: 'auto',
1763
+ whiteSpace: 'nowrap',
1764
+ },
1765
+ '.neuroglancer-layer-side-panel-type, .neuroglancer-layer-side-panel-type-measure': {
1766
+ paddingLeft: '3px',
1767
+ paddingRight: '3px',
1768
+ fontWeight: 'bold',
1769
+ fontFamily: 'sans-serif',
1770
+ fontSize: '10pt',
1771
+ boxSizing: 'border-box',
1772
+ },
1773
+ '.neuroglancer-layer-side-panel-type': {
1774
+ WebkitAppearance: 'none',
1775
+ color: '#fff',
1776
+ cursor: 'pointer',
1777
+ backgroundColor: '#00000080',
1778
+ marginRight: '5px',
1779
+ border: '0px',
1780
+ outline: '0px',
1781
+ },
1782
+ '.neuroglancer-layer-side-panel-type option': { backgroundColor: '#000' },
1783
+ '.neuroglancer-statistics-panel-body': {
1784
+ flex: 1,
1785
+ flexBasis: '0px',
1786
+ minWidth: '0px',
1787
+ display: 'flex',
1788
+ flexDirection: 'column',
1789
+ overflowY: 'auto',
1790
+ font: '10pt sans-serif',
1791
+ },
1792
+ '.neuroglancer-statistics-panel-body>table': {
1793
+ position: 'relative',
1794
+ flex: 1,
1795
+ width: '100%',
1796
+ },
1797
+ '.neuroglancer-statistics-panel-body>table>thead td': {
1798
+ position: 'sticky',
1799
+ top: '0px',
1800
+ zIndex: 2,
1801
+ backgroundColor: '#333',
1802
+ fontWeight: 'bold',
1803
+ },
1804
+ '.neuroglancer-statistics-panel-body>table>tbody tr:hover': {
1805
+ backgroundColor: '#336',
1806
+ },
1807
+ '.neuroglancer-settings-body': {
1808
+ flexBasis: '0px',
1809
+ flex: 1,
1810
+ height: '0px',
1811
+ minHeight: '0px',
1812
+ fontFamily: 'sans-serif',
1813
+ display: 'flex',
1814
+ flexDirection: 'column',
1815
+ fontSize: '10pt',
1816
+ },
1817
+ '.neuroglancer-settings-body input[type=text], .neuroglancer-settings-body input[type=number]': {
1818
+ backgroundColor: '#333',
1819
+ color: '#fff',
1820
+ border: '0px',
1821
+ },
1822
+ '.neuroglancer-settings-scroll-container': {
1823
+ flex: 1,
1824
+ flexBasis: '0px',
1825
+ position: 'relative',
1826
+ overflow: 'auto',
1827
+ display: 'flex',
1828
+ flexDirection: 'column',
1829
+ },
1830
+ '.neuroglancer-settings-scroll-container>*': { marginTop: '3px' },
1831
+ '.neuroglancer-settings-title': { alignSelf: 'stretch' },
1832
+ '.neuroglancer-settings-scroll-container>label': {
1833
+ display: 'flex',
1834
+ flexDirection: 'row',
1835
+ justifyContent: 'space-between',
1836
+ },
1837
+ '.neuroglancer-settings-scroll-container>label>input:before': {
1838
+ flex: 1,
1839
+ content: '" "',
1840
+ },
1841
+ '.neuroglancer-settings-scroll-container>label>input': {
1842
+ marginLeft: '5px',
1843
+ width: '11ch',
1844
+ },
1845
+ '.neuroglancer-settings-limit-widget>input': { width: '11ch' },
1846
+ '.neuroglancer-annotation-tool-status': {
1847
+ display: 'flex',
1848
+ flexDirection: 'row',
1849
+ alignItems: 'center',
1850
+ overflowX: 'scroll',
1851
+ scrollbarWidth: 'none',
1852
+ },
1853
+ '.neuroglancer-annotation-tool-status::-webkit-scrollbar': {
1854
+ display: 'none',
1855
+ },
1856
+ '.neuroglancer-annotation-tool-status-widget+.neuroglancer-annotation-tool-status-widget': {
1857
+ marginLeft: '3px',
1858
+ },
1859
+ '.neuroglancer-annotation-tool-status-widget:hover': {
1860
+ outline: '1px solid #fff',
1861
+ },
1862
+ '.neuroglancer-annotation-tool-status-widget': {
1863
+ display: 'flex',
1864
+ flexDirection: 'row',
1865
+ alignItems: 'center',
1866
+ },
1867
+ '.neuroglancer-annotation-tool-status-widget-layer-number': {
1868
+ display: 'inline-block',
1869
+ font: '10pt sans-serif',
1870
+ fontWeight: 'bold',
1871
+ backgroundColor: '#9a7518',
1872
+ },
1873
+ '.neuroglancer-annotation-tool-status-widget-key': {
1874
+ display: 'inline-block',
1875
+ font: '9pt monospace',
1876
+ color: '#0ff',
1877
+ },
1878
+ '.neuroglancer-annotation-tool-status-widget-key:before': { content: '"["' },
1879
+ '.neuroglancer-annotation-tool-status-widget-key:after': { content: '"]"' },
1880
+ '.neuroglancer-annotation-tool-status-widget-key:before, .neuroglancer-annotation-tool-status-widget-key:after': {
1881
+ color: '#999',
1882
+ },
1883
+ '.neuroglancer-annotation-tool-status-widget-description': {
1884
+ display: 'inline-block',
1885
+ color: '#3c3',
1886
+ font: '10pt sans-serif',
1887
+ whiteSpace: 'nowrap',
1888
+ },
1889
+ '.neuroglancer-annotation-tool-status-widget-delete': {
1890
+ visibility: 'hidden',
1891
+ },
1892
+ '.neuroglancer-annotation-tool-status-widget:hover>.neuroglancer-annotation-tool-status-widget-delete': {
1893
+ visibility: 'inherit',
1894
+ },
1895
+ '.neuroglancer-annotations-tab': {
1896
+ display: 'flex',
1897
+ alignItems: 'stretch',
1898
+ flex: 1,
1899
+ flexDirection: 'column',
1900
+ },
1901
+ '.neuroglancer-annotation-list': {
1902
+ position: 'relative',
1903
+ margin: '2px 0 0',
1904
+ padding: '0',
1905
+ overflowY: 'auto',
1906
+ height: '0px',
1907
+ flex: 1,
1908
+ flexBasis: '0px',
1909
+ minHeight: '0px',
1910
+ },
1911
+ '.neuroglancer-annotation-list-entry': {
1912
+ display: 'grid',
1913
+ gridAutoRows: 'min-content',
1914
+ cursor: 'pointer',
1915
+ justifyContent: 'start',
1916
+ },
1917
+ '.neuroglancer-annotation-position': { display: 'contents' },
1918
+ '.neuroglancer-annotation-layer-view': {
1919
+ display: 'flex',
1920
+ flexDirection: 'column',
1921
+ flex: 1,
1922
+ alignItems: 'stretch',
1923
+ },
1924
+ '.neuroglancer-annotation-list-header': {
1925
+ gridAutoRows: 'min-content',
1926
+ display: 'grid',
1927
+ paddingBottom: '2px',
1928
+ justifyContent: 'start',
1929
+ },
1930
+ '.neuroglancer-annotation-coordinate': {
1931
+ fontFamily: 'monospace',
1932
+ textAlign: 'right',
1933
+ },
1934
+ '.neuroglancer-annotation-icon': {
1935
+ gridColumn: 'symbol',
1936
+ paddingRight: '5px',
1937
+ },
1938
+ '.neuroglancer-annotation-description': {
1939
+ gridColumn: 'dim / -1',
1940
+ textOverflow: 'ellipsis',
1941
+ overflow: 'hidden',
1942
+ whiteSpace: 'nowrap',
1943
+ },
1944
+ '.neuroglancer-annotation-list-entry-delete': {
1945
+ gridColumn: 'delete',
1946
+ marginLeft: '1ch',
1947
+ alignSelf: 'start',
1948
+ visibility: 'hidden',
1949
+ },
1950
+ '.neuroglancer-annotation-list-entry:hover>.neuroglancer-annotation-list-entry-delete': {
1951
+ visibility: 'visible',
1952
+ },
1953
+ '.neuroglancer-annotation-hover': { backgroundColor: '#333' },
1954
+ '.neuroglancer-annotation-selected': { backgroundColor: '#939' },
1955
+ '.neuroglancer-annotation-hover.neuroglancer-annotation-selected': {
1956
+ backgroundColor: '#969',
1957
+ },
1958
+ '.neuroglancer-tab-content.neuroglancer-annotation-details': {
1959
+ flex: '0 0 auto',
1960
+ alignSelf: 'stretch',
1961
+ display: 'flex',
1962
+ flexDirection: 'column',
1963
+ WebkitTouchCallout: 'default',
1964
+ WebkitUserSelect: 'text',
1965
+ KhtmlUserSelect: 'text',
1966
+ MozUserSelect: 'text',
1967
+ msUserSelect: 'text',
1968
+ userSelect: 'text',
1969
+ },
1970
+ '.neuroglancer-annotation-details-title': {
1971
+ display: 'flex',
1972
+ flexDirection: 'row',
1973
+ backgroundColor: '#03c',
1974
+ alignSelf: 'stretch',
1975
+ padding: '2px',
1976
+ },
1977
+ '.neuroglancer-voxel-coordinates-link': { cursor: 'pointer' },
1978
+ '.neuroglancer-voxel-coordinates-link:hover': { backgroundColor: '#db4437' },
1979
+ '.neuroglancer-annotation-details-icon': {
1980
+ display: 'inline-block',
1981
+ marginRight: '5px',
1982
+ },
1983
+ '.neuroglancer-annotation-details-title-text': {
1984
+ display: 'inline-block',
1985
+ flex: 1,
1986
+ },
1987
+ 'textarea.neuroglancer-annotation-details-description': {
1988
+ alignSelf: 'stretch',
1989
+ backgroundColor: '#222',
1990
+ color: '#fff',
1991
+ font: '10pt sans-serif',
1992
+ border: '0px',
1993
+ outline: '0px',
1994
+ resize: 'none',
1995
+ overflowY: 'scroll',
1996
+ },
1997
+ 'div.neuroglancer-annotation-details-description': {
1998
+ alignSelf: 'stretch',
1999
+ color: '#fff',
2000
+ font: '10pt sans-serif',
2001
+ },
2002
+ '.neuroglancer-annotation-toolbox': {
2003
+ display: 'flex',
2004
+ alignItems: 'stretch',
2005
+ },
2006
+ '.neuroglancer-annotation-segment-item': {
2007
+ color: '#000',
2008
+ backgroundColor: '#fff',
2009
+ },
2010
+ '.neuroglancer-annotations-view-dimension': {
2011
+ fontFamily: 'monospace',
2012
+ textAlign: 'right',
2013
+ },
2014
+ '.neuroglancer-annotations-view-dimension-name': { color: '#ff6' },
2015
+ '.neuroglancer-annotations-view-dimension-scale': { color: '#bbb' },
2016
+ '.neuroglancer-annotations-view-dimension-scale:not(:empty):before': {
2017
+ content: '"("',
2018
+ marginLeft: '1ch',
2019
+ },
2020
+ '.neuroglancer-annotations-view-dimension-scale:not(:empty):after': {
2021
+ content: '")"',
2022
+ },
2023
+ '.neuroglancer-annotation-relationship-label, .neuroglancer-annotation-property-label': {
2024
+ marginRight: '5px',
2025
+ },
2026
+ '.neuroglancer-selected-annotation-details-position-grid': {
2027
+ display: 'grid',
2028
+ gridAutoRows: 'auto',
2029
+ fontFamily: 'monospace',
2030
+ fontSize: 'medium',
2031
+ gridAutoFlow: 'dense',
2032
+ },
2033
+ '.neuroglancer-selected-annotation-details-icon': {
2034
+ gridRows: '1 / -1',
2035
+ gridColumn: 'icon',
2036
+ alignSelf: 'start',
2037
+ },
2038
+ '.neuroglancer-selected-annotation-details-delete': {
2039
+ gridRows: '1 / -1',
2040
+ gridColumn: 'delete',
2041
+ alignSelf: 'start',
2042
+ },
2043
+ '.neuroglancer-selected-annotation-details-position-dim': {
2044
+ color: '#ff6',
2045
+ marginLeft: '1ch',
2046
+ },
2047
+ '.neuroglancer-selected-annotation-details-position-coord': {
2048
+ textAlign: 'right',
2049
+ marginLeft: '.5ch',
2050
+ },
2051
+ '.neuroglancer-related-segment-list-title': {
2052
+ fontFamily: 'sans-serif',
2053
+ fontSize: 'small',
2054
+ backgroundColor: '#333',
2055
+ },
2056
+ '.neuroglancer-related-segment-list-header': {
2057
+ display: 'flex',
2058
+ flexDirection: 'row',
2059
+ },
2060
+ '.neuroglancer-annotation-property': {
2061
+ display: 'flex',
2062
+ flexDirection: 'row',
2063
+ fontFamily: 'sans-serif',
2064
+ fontSize: 'small',
2065
+ },
2066
+ '.neuroglancer-annotation-property-label': { color: '#999' },
2067
+ '.neuroglancer-annotation-property-value': {
2068
+ textAlign: 'right',
2069
+ fontFamily: 'monospace',
2070
+ fontSize: 'medium',
2071
+ flex: 1,
2072
+ },
2073
+ 'input.neuroglancer-segment-list-entry-id': {
2074
+ outline: '0px',
2075
+ border: '0px',
2076
+ textAlign: 'left',
2077
+ },
2078
+ '.neuroglancer-segment-list-entry-new>.neuroglancer-segment-list-entry-copy': {
2079
+ visibility: 'hidden',
2080
+ },
2081
+ '.neuroglancer-segment-list-entry-new>input[type=checkbox]': {
2082
+ visibility: 'hidden',
2083
+ },
2084
+ '.neuroglancer-segment-list-entry-delete': { order: 0 },
2085
+ '.neuroglancer-selection-annotation-status': {
2086
+ fontFamily: 'sans-serif',
2087
+ fontSize: 'small',
2088
+ },
2089
+ '.neuroglancer-channel-dimensions-widget-dim': { display: 'contents' },
2090
+ '.neuroglancer-channel-dimensions-widget': {
2091
+ display: 'grid',
2092
+ gridTemplateColumns: '[name] min-content [lower] min-content [upper] min-content',
2093
+ },
2094
+ '.neuroglancer-channel-dimensions-widget-name-container': {
2095
+ gridColumn: 'name',
2096
+ },
2097
+ '.neuroglancer-channel-dimensions-widget-name[data-is-valid=false], .neuroglancer-channel-dimensions-widget-name::placeholder': {
2098
+ textDecoration: 'solid underline red',
2099
+ },
2100
+ '.neuroglancer-channel-dimensions-widget-name': {
2101
+ backgroundColor: 'transparent',
2102
+ borderColor: 'transparent',
2103
+ boxShadow: 'none',
2104
+ border: '0',
2105
+ margin: '0',
2106
+ fontFamily: 'monospace',
2107
+ fontSize: 'medium',
2108
+ color: '#ff6',
2109
+ },
2110
+ '.neuroglancer-channel-dimensions-widget-name, .neuroglancer-channel-dimensions-widget-lower, .neuroglancer-channel-dimensions-widget-upper': {
2111
+ fontFamily: 'monospace',
2112
+ },
2113
+ '.neuroglancer-channel-dimensions-widget-lower': {
2114
+ gridColumn: 'lower',
2115
+ textAlign: 'right',
2116
+ },
2117
+ '.neuroglancer-channel-dimensions-widget-upper': {
2118
+ gridColumn: 'upper',
2119
+ textAlign: 'right',
2120
+ },
2121
+ '.neuroglancer-channel-dimensions-widget-lower, .neuroglancer-channel-dimensions-widget-upper': {
2122
+ textAlign: 'right',
2123
+ marginLeft: '1ch',
2124
+ userSelect: 'text',
2125
+ },
2126
+ '.neuroglancer-channel-dimensions-widget-upper:after': { content: '")"' },
2127
+ '.neuroglancer-channel-dimensions-widget-lower:after': { content: '","' },
2128
+ '.neuroglancer-channel-dimensions-widget-lower:before': { content: '"["' },
2129
+ '.neuroglancer-channel-dimensions-widget-upper:after, .neuroglancer-channel-dimensions-widget-lower:before, .neuroglancer-channel-dimensions-widget-lower:after': {
2130
+ color: '#999',
2131
+ },
2132
+ '.neuroglancer-layer-options-control-container .neuroglancer-layer-control-label-container': {
2133
+ marginRight: 'auto',
2134
+ },
2135
+ '.neuroglancer-layer-control-label-container': { whiteSpace: 'nowrap' },
2136
+ '.neuroglancer-layer-control-label': {
2137
+ display: 'flex',
2138
+ flexDirection: 'row',
2139
+ alignItems: 'center',
2140
+ },
2141
+ '.neuroglancer-layer-control-label-text-container': {
2142
+ display: 'flex',
2143
+ flexDirection: 'row',
2144
+ alignItems: 'start',
2145
+ },
2146
+ '.neuroglancer-layer-control-container': {
2147
+ marginTop: '1.5px',
2148
+ marginBottom: '1.5px',
2149
+ display: 'flex',
2150
+ flexDirection: 'row',
2151
+ alignItems: 'center',
2152
+ },
2153
+ '.neuroglancer-layer-control-control': {
2154
+ flex: 1,
2155
+ marginLeft: '5px',
2156
+ maxWidth: '500px',
2157
+ },
2158
+ 'select.neuroglancer-layer-control-control, input[type=checkbox].neuroglancer-layer-control-control, input[type=color].neuroglancer-layer-control-control': {
2159
+ flex: 'initial',
2160
+ },
2161
+ '.range-slider': {
2162
+ display: 'flex',
2163
+ flexDirection: 'row',
2164
+ whiteSpace: 'nowrap',
2165
+ justifyContent: 'flex-end',
2166
+ },
2167
+ '.range-slider input[type=range]': {
2168
+ background: 'transparent',
2169
+ flexBasis: '0px',
2170
+ },
2171
+ '.range-slider input[type=number]': {
2172
+ backgroundColor: '#ffffff4d',
2173
+ color: '#fff',
2174
+ border: '0px',
2175
+ },
2176
+ '.range-slider input[type=range]::-moz-range-track': {
2177
+ backgroundColor: '#fff',
2178
+ },
2179
+ '.neuroglancer-render-scale-widget': {
2180
+ marginTop: '2px',
2181
+ marginBottom: '2px',
2182
+ display: 'flex',
2183
+ flexDirection: 'row',
2184
+ alignItems: 'center',
2185
+ },
2186
+ '.neuroglancer-render-scale-widget-prompt': { whiteSpace: 'nowrap' },
2187
+ '.neuroglancer-render-scale-widget>canvas': {
2188
+ height: '36px',
2189
+ flex: 1,
2190
+ flexBasis: '0px',
2191
+ width: '0px',
2192
+ },
2193
+ '.neuroglancer-render-scale-widget-legend': {
2194
+ width: '10ch',
2195
+ fontSize: '11px',
2196
+ textAlign: 'right',
2197
+ },
2198
+ '.neuroglancer-render-scale-widget-legend>div': { height: '12px' },
2199
+ '.neuroglancer-shader-code-widget.invalid-input': { border: '1px solid red' },
2200
+ '.neuroglancer-shader-code-widget.valid-input': { border: '1px solid green' },
2201
+ '.neuroglancer-shader-code-widget': { border: '1px solid transparent' },
2202
+ '.neuroglancer-invlerp-cdfpanel': { height: '50px', cursor: 'ew-resize' },
2203
+ '.neuroglancer-invlerp-cdfpanel, .neuroglancer-invlerp-legend-panel': {
2204
+ border: '1px solid #666',
2205
+ },
2206
+ '.neuroglancer-invlerp-legend-panel': { height: '15px' },
2207
+ '.neuroglancer-invlerp-widget-bound': {
2208
+ backgroundColor: 'transparent',
2209
+ borderColor: 'transparent',
2210
+ boxShadow: 'none',
2211
+ border: '0',
2212
+ margin: '0',
2213
+ fontFamily: 'monospace',
2214
+ fontSize: 'medium',
2215
+ },
2216
+ '.neuroglancer-invlerp-widget-window-bound': { color: '#0ff' },
2217
+ '.neuroglancer-invlerp-widget-range-bound': { color: '#fff' },
2218
+ '.neuroglancer-invlerp-widget-bounds': { display: 'flex' },
2219
+ '.neuroglancer-invlerp-widget-range-spacer': { flex: 1, textAlign: 'center' },
2220
+ '.neuroglancer-invlerp-widget-window-bounds': {
2221
+ justifyContent: 'space-between',
2222
+ },
2223
+ '.neuroglancer-segmentation-rendering-tab': {
2224
+ display: 'flex',
2225
+ flexDirection: 'column',
2226
+ overflowY: 'auto',
2227
+ },
2228
+ '.neuroglancer-segmentation-rendering-tab .neuroglancer-shader-code-widget': {
2229
+ height: '6em',
2230
+ },
2231
+ '.neuroglancer-segmentation-dropdown-skeleton-shader-header': {
2232
+ display: 'flex',
2233
+ flexDirection: 'row',
2234
+ alignItems: 'center',
2235
+ },
2236
+ '.neuroglancer-segmentation-layer-skeleton-shader-overlay .neuroglancer-shader-code-widget': {
2237
+ width: '80vw',
2238
+ height: '80vh',
2239
+ },
2240
+ '.neuroglancer-segment-list-entry': {
2241
+ display: 'flex',
2242
+ flexDirection: 'row',
2243
+ width: 'min-content',
2244
+ minWidth: '100%',
2245
+ backgroundColor: '#000',
2246
+ alignItems: 'start',
2247
+ },
2248
+ '.neuroglancer-segment-list-entry.neuroglancer-segment-list-entry-double-line': {
2249
+ display: 'inline-flex',
2250
+ minWidth: 'initial',
2251
+ backgroundColor: 'initial',
2252
+ },
2253
+ '.neuroglancer-segment-list-entry[data-selected=true], .neuroglancer-selection-details-segment[data-selected=true]': {
2254
+ backgroundColor: '#222',
2255
+ },
2256
+ '.neuroglancer-segment-list-entry-copy-container': {
2257
+ display: 'flex',
2258
+ flexDirection: 'column',
2259
+ },
2260
+ '.neuroglancer-segment-list-entry-id-container': {
2261
+ order: 1,
2262
+ alignSelf: 'center',
2263
+ },
2264
+ '.neuroglancer-segment-list-entry-id, .neuroglancer-selection-details-segment-id': {
2265
+ display: 'block',
2266
+ fontFamily: 'monospace',
2267
+ fontSize: 'medium',
2268
+ flexShrink: 0,
2269
+ textAlign: 'right',
2270
+ color: '#000',
2271
+ backgroundColor: '#fff',
2272
+ userSelect: 'text',
2273
+ width: 'var(--neuroglancer-segment-list-width)',
2274
+ },
2275
+ '.neuroglancer-segment-list .neuroglancer-segment-list-entry-sticky': {
2276
+ position: 'sticky',
2277
+ left: '0',
2278
+ },
2279
+ '.neuroglancer-segment-list-entry-sticky': {
2280
+ whiteSpace: 'nowrap',
2281
+ flexDirection: 'row',
2282
+ alignItems: 'start',
2283
+ backgroundColor: 'inherit',
2284
+ display: 'flex',
2285
+ },
2286
+ '.neuroglancer-segment-list-entry-extra-property': {
2287
+ paddingLeft: '8px',
2288
+ flexShrink: 0,
2289
+ textAlign: 'right',
2290
+ userSelect: 'text',
2291
+ },
2292
+ '.neuroglancer-selection-details-segment-description, .neuroglancer-selection-details-segment-property': {
2293
+ fontFamily: 'sans-serif',
2294
+ fontSize: 'small',
2295
+ },
2296
+ '.neuroglancer-selection-details-segment-property': {
2297
+ display: 'flex',
2298
+ flexDirection: 'row',
2299
+ },
2300
+ '.neuroglancer-selection-details-segment-property-name': {
2301
+ userSelect: 'text',
2302
+ fontStyle: 'italic',
2303
+ },
2304
+ '.neuroglancer-selection-details-segment-property-value': {
2305
+ textAlign: 'right',
2306
+ flex: 1,
2307
+ },
2308
+ '.neuroglancer-segmentation-toolbox': { display: 'inline-block' },
2309
+ '.neuroglancer-segmentation-toolbox .neuroglancer-tool-button+.neuroglancer-tool-button': {
2310
+ marginLeft: '1em',
2311
+ },
2312
+ '.neuroglancer-segment-list': {
2313
+ position: 'relative',
2314
+ overflowY: 'auto',
2315
+ overflowX: 'scroll',
2316
+ flex: 1,
2317
+ },
2318
+ '.neuroglancer-segment-display-tab': {
2319
+ display: 'flex',
2320
+ flexDirection: 'column',
2321
+ },
2322
+ '.neuroglancer-segment-query-errors': {
2323
+ margin: '0',
2324
+ listStyleType: 'none',
2325
+ padding: '0 0 0 3px',
2326
+ backgroundColor: '#333',
2327
+ },
2328
+ '.neuroglancer-segment-query-errors>li': { display: 'block', color: 'red' },
2329
+ '.neuroglancer-segment-list-entry:not(.neuroglancer-segment-list-entry-double-line) .neuroglancer-segment-list-entry-unmapped-id:empty+.neuroglancer-segment-list-entry-copy': {
2330
+ display: 'none',
2331
+ },
2332
+ '.neuroglancer-segment-list-entry.neuroglancer-segment-list-entry-double-line .neuroglancer-segment-list-entry-unmapped-id:empty+.neuroglancer-segment-list-entry-copy': {
2333
+ visibility: 'hidden',
2334
+ },
2335
+ '.neuroglancer-segment-list-entry-name:empty+.neuroglancer-segment-list-entry-filter': {
2336
+ display: 'none',
2337
+ },
2338
+ '.neuroglancer-segment-list-entry-name': {
2339
+ order: 1000,
2340
+ display: 'inline-block',
2341
+ fontFamily: 'monospace',
2342
+ fontSize: 'medium',
2343
+ userSelect: 'text',
2344
+ whiteSpace: 'nowrap',
2345
+ },
2346
+ '.neuroglancer-segment-list-query': {
2347
+ backgroundColor: '#151515',
2348
+ color: '#fff',
2349
+ fontFamily: 'monospace',
2350
+ fontSize: 'medium',
2351
+ border: '2px solid #333',
2352
+ padding: '2px',
2353
+ outline: '0px',
2354
+ },
2355
+ '.neuroglancer-segment-list-query::placeholder': { color: '#aaa' },
2356
+ '.neuroglancer-segment-list-status': {
2357
+ display: 'flex',
2358
+ flexDirection: 'row',
2359
+ alignItems: 'center',
2360
+ backgroundColor: '#333',
2361
+ },
2362
+ '.neuroglancer-segment-list-entry-copy': { order: -2, visibility: 'hidden' },
2363
+ '.neuroglancer-segment-list-entry:hover .neuroglancer-segment-list-entry-copy': {
2364
+ visibility: 'visible',
2365
+ },
2366
+ '.neuroglancer-segment-list-entry-visible-checkbox': { order: -1 },
2367
+ '.neuroglancer-segment-list-entry[data-visible-list] .neuroglancer-segment-list-entry-sticky:before': {
2368
+ order: -1000,
2369
+ content: '" "',
2370
+ display: 'inline-block',
2371
+ width: '2px',
2372
+ flexShrink: 0,
2373
+ marginRight: '-2px',
2374
+ alignSelf: 'stretch',
2375
+ marginBottom: '2px',
2376
+ backgroundColor: '#999',
2377
+ },
2378
+ '.neuroglancer-segment-list-entry-filter': {
2379
+ visibility: 'hidden',
2380
+ gridColumn: 'filter',
2381
+ order: 999,
2382
+ },
2383
+ '.neuroglancer-segment-list-entry:hover .neuroglancer-segment-list-entry-filter': {
2384
+ visibility: 'visible',
2385
+ },
2386
+ '.neuroglancer-segment-query-result-tag-list': {
2387
+ display: 'grid',
2388
+ gridAutoRows: 'auto',
2389
+ gridTemplateColumns: '[include] min-content [exclude] min-content [tag] 1fr [count] min-content',
2390
+ },
2391
+ '.neuroglancer-segment-query-result-tag': { display: 'contents' },
2392
+ '.neuroglancer-segment-query-result-tag:hover *': { backgroundColor: '#222' },
2393
+ '.neuroglancer-segment-query-result-tag-name': {
2394
+ gridColumn: 'tag',
2395
+ whiteSpace: 'nowrap',
2396
+ cursor: 'pointer',
2397
+ fontWeight: 'bold',
2398
+ },
2399
+ '.neuroglancer-segment-query-result-tag-name:before': {
2400
+ content: '"#"',
2401
+ color: '#aaa',
2402
+ fontWeight: 'normal',
2403
+ },
2404
+ '.neuroglancer-segment-query-result-tag-toggle': {
2405
+ display: 'inline-block',
2406
+ whiteSpace: 'nowrap',
2407
+ },
2408
+ '.neuroglancer-segment-query-result-tag-include': { gridColumn: 'include' },
2409
+ '.neuroglancer-segment-query-result-tag-exclude': { gridColumn: 'exclude' },
2410
+ '.neuroglancer-segment-query-result-statistics': {
2411
+ backgroundColor: '#333',
2412
+ maxHeight: '40%',
2413
+ flexShrink: 0,
2414
+ overflow: 'auto',
2415
+ },
2416
+ '.neuroglancer-segment-query-result-statistics:not(:empty)': {
2417
+ paddingTop: '3px',
2418
+ },
2419
+ '.neuroglancer-segment-query-result-statistics:not(:empty)+.neuroglancer-segment-list-status': {
2420
+ borderTop: '1px solid white',
2421
+ },
2422
+ '.neuroglancer-segment-query-result-statistics-separator': {
2423
+ height: '3px',
2424
+ backgroundColor: '#333',
2425
+ borderBottom: '1px solid white',
2426
+ },
2427
+ '.neuroglancer-segment-query-result-tag-count': {
2428
+ gridColumn: 'count',
2429
+ textAlign: 'right',
2430
+ },
2431
+ '.neuroglancer-segment-query-result-tag-count:not(:empty):before': {
2432
+ content: '"("',
2433
+ color: '#aaa',
2434
+ },
2435
+ '.neuroglancer-segment-query-result-tag-count:not(:empty):after': {
2436
+ content: '")"',
2437
+ color: '#aaa',
2438
+ },
2439
+ '.neuroglancer-segment-query-result-numerical-list': {
2440
+ display: 'flex',
2441
+ flexDirection: 'column',
2442
+ },
2443
+ '.neuroglancer-segment-query-result-numerical-plot-container': {
2444
+ justifySelf: 'stretch',
2445
+ display: 'flex',
2446
+ flexDirection: 'column',
2447
+ padding: '2px',
2448
+ },
2449
+ '.neuroglancer-segment-query-result-numerical-plot': {
2450
+ display: 'block',
2451
+ height: '30px',
2452
+ cursor: 'ew-resize',
2453
+ justifySelf: 'stretch',
2454
+ border: '1px solid #666',
2455
+ },
2456
+ '.neuroglancer-segment-query-result-numerical-plot-bound': {
2457
+ backgroundColor: 'transparent',
2458
+ borderColor: 'transparent',
2459
+ boxShadow: 'none',
2460
+ border: '0',
2461
+ margin: '0',
2462
+ font: '10pt sans-serif',
2463
+ pointerEvents: 'auto',
2464
+ },
2465
+ '.neuroglancer-segment-query-result-numerical-plot-window-bound': {
2466
+ color: '#0ff',
2467
+ },
2468
+ '.neuroglancer-segment-query-result-numerical-plot-range-bound': {
2469
+ color: '#fff',
2470
+ },
2471
+ '.neuroglancer-segment-query-result-numerical-plot-bounds': {
2472
+ display: 'flex',
2473
+ flexDirection: 'row',
2474
+ color: '#aaa',
2475
+ },
2476
+ '.neuroglancer-segment-query-result-numerical-plot-bound-constraint-symbol': {
2477
+ alignSelf: 'center',
2478
+ },
2479
+ '.neuroglancer-segment-query-result-numerical-plot-bound-constraint-spacer': {
2480
+ flex: 1,
2481
+ color: '#fff',
2482
+ fontWeight: 'bold',
2483
+ display: 'flex',
2484
+ flexDirection: 'row',
2485
+ justifyContent: 'center',
2486
+ alignItems: 'center',
2487
+ },
2488
+ '.neuroglancer-segment-query-result-numerical-plot-label': {
2489
+ cursor: 'pointer',
2490
+ },
2491
+ '.neuroglancer-segment-query-result-numerical-plot-sort, .neuroglancer-segment-list-header-label-sort': {
2492
+ visibility: 'hidden',
2493
+ },
2494
+ '.neuroglancer-segment-query-result-numerical-plot-label:hover .neuroglancer-segment-query-result-numerical-plot-sort, .neuroglancer-segment-list-header-label:hover .neuroglancer-segment-list-header-label-sort': {
2495
+ visibility: 'visible',
2496
+ },
2497
+ '.neuroglancer-segment-query-result-numerical-plot-container:hover .neuroglancer-segment-query-result-numerical-plot-bounds-window': {
2498
+ visibility: 'visible',
2499
+ },
2500
+ '.neuroglancer-segment-query-result-numerical-plot-bounds-window': {
2501
+ justifyContent: 'space-between',
2502
+ marginTop: '-16px',
2503
+ visibility: 'hidden',
2504
+ pointerEvents: 'none',
2505
+ },
2506
+ '.neuroglancer-segment-list-entry.neuroglancer-segment-list-header': {
2507
+ backgroundColor: '#666',
2508
+ },
2509
+ '.neuroglancer-segment-list-header .neuroglancer-segment-list-entry-id': {
2510
+ backgroundColor: 'inherit',
2511
+ color: '#fff',
2512
+ textAlign: 'center',
2513
+ },
2514
+ '.neuroglancer-segment-list-header-label': {
2515
+ cursor: 'pointer',
2516
+ font: '10pt sans-serif',
2517
+ },
2518
+ '.neuroglancer-segment-list-header .neuroglancer-segment-list-entry-extra-property': {
2519
+ textAlign: 'center',
2520
+ },
2521
+ '.neuroglancer-merge-segments-status': {
2522
+ display: 'flex',
2523
+ flexDirection: 'row',
2524
+ },
2525
+ '.neuroglancer-merge-segments-status .neuroglancer-segment-list-entry': {
2526
+ marginLeft: '1em',
2527
+ marginRight: '1em',
2528
+ },
2529
+ '.neuroglancer-linked-layer-widget-layer': {
2530
+ display: 'flex',
2531
+ flexDirection: 'row',
2532
+ },
2533
+ '.neuroglancer-linked-layer-widget-layer:hover': { backgroundColor: '#333' },
2534
+ '.neuroglancer-segmentation-color-seed-control': {
2535
+ display: 'flex',
2536
+ flexDirection: 'row',
2537
+ alignItems: 'center',
2538
+ justifyContent: 'flex-end',
2539
+ },
2540
+ '.neuroglancer-segmentation-color-seed-control input': {
2541
+ backgroundColor: '#ffffff4d',
2542
+ color: '#fff',
2543
+ border: '0px',
2544
+ },
2545
+ '.neuroglancer-single-mesh-dropdown .neuroglancer-single-mesh-attribute-widget': {
2546
+ maxHeight: '6em',
2547
+ marginBottom: '8px',
2548
+ },
2549
+ '.neuroglancer-single-mesh-dropdown .neuroglancer-shader-code-widget': {
2550
+ height: '6em',
2551
+ width: '60ch',
2552
+ border: '1px solid transparent',
2553
+ },
2554
+ '.neuroglancer-single-mesh-dropdown-top-row': {
2555
+ display: 'flex',
2556
+ flexDirection: 'row',
2557
+ alignItems: 'center',
2558
+ },
2559
+ '.neuroglancer-single-mesh-shader-overlay .neuroglancer-shader-code-widget': {
2560
+ width: '80vw',
2561
+ height: '80vh',
2562
+ },
2563
+ '.neuroglancer-single-mesh-attribute-widget': {
2564
+ wordWrap: 'break-word',
2565
+ overflowY: 'auto',
2566
+ display: 'grid',
2567
+ gridTemplateColumns: '[type] auto [name] auto [range] auto',
2568
+ },
2569
+ '.neuroglancer-single-mesh-layer-shader-overlay .neuroglancer-single-mesh-attribute-widget': {
2570
+ maxHeight: '20vh',
2571
+ },
2572
+ '.neuroglancer-single-mesh-attribute': {
2573
+ fontFamily: 'monospace',
2574
+ display: 'contents',
2575
+ },
2576
+ '.neuroglancer-single-mesh-attribute-type': {
2577
+ color: '#c6c',
2578
+ gridColumn: 'type',
2579
+ },
2580
+ '.neuroglancer-single-mesh-attribute-name': {
2581
+ marginLeft: '1ch',
2582
+ color: '#fff',
2583
+ gridColumn: 'name',
2584
+ userSelect: 'text',
2585
+ },
2586
+ '.neuroglancer-single-mesh-attribute-range': {
2587
+ marginLeft: '1ch',
2588
+ whiteSpace: 'nowrap',
2589
+ color: '#999',
2590
+ gridColumn: 'range',
2591
+ },
2592
+ '.neuroglancer-annotation-rendering-tab': {
2593
+ display: 'flex',
2594
+ flexDirection: 'column',
2595
+ overflowY: 'auto',
2596
+ },
2597
+ '.neuroglancer-annotation-rendering-tab .neuroglancer-shader-code-widget': {
2598
+ flexShrink: 0,
2599
+ },
2600
+ '.neuroglancer-annotation-shader-property-list': {
2601
+ maxHeight: '8em',
2602
+ overflow: 'auto',
2603
+ flexShrink: 0,
2604
+ },
2605
+ '.neuroglancer-annotation-shader-property': {
2606
+ whiteSpace: 'pre',
2607
+ fontFamily: 'monospace',
2608
+ fontSize: 'medium',
2609
+ },
2610
+ '.neuroglancer-annotation-shader-property-type': {
2611
+ color: '#c6c',
2612
+ marginRight: '1ch',
2613
+ },
2614
+ '.neuroglancer-annotation-shader-property-identifier': { userSelect: 'text' },
2615
+ '.neuroglancer-annotation-shader-property-identifier:after': {
2616
+ content: '"()"',
2617
+ color: '#999',
2618
+ },
2619
+ };
2620
+ export function NeuroglancerGlobalStyles(props) {
2621
+ const { classes, } = props;
2622
+ return (_jsxs(_Fragment, { children: [_jsx(GlobalStyles, { styles: globalNeuroglancerCss }), _jsx(ScopedGlobalStyles, { styles: globalNeuroglancerStyles, parentClassName: classes.neuroglancerWrapper })] }));
2623
+ }