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