File tree Expand file tree Collapse file tree 3 files changed +436
-0
lines changed Expand file tree Collapse file tree 3 files changed +436
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const demos = new Map([
3232 'Volume/ImageSeriesRendering' ,
3333 lazy ( ( ) => import ( './Volume/ImageSeriesRendering' ) ) ,
3434 ] ,
35+ [ 'Volume/PET_CT_Overlay' , lazy ( ( ) => import ( './Volume/PET_CT_Overlay' ) ) ] ,
3536 [ 'Tests/PropertyUpdate' , lazy ( ( ) => import ( './Tests/PropertyUpdate' ) ) ] ,
3637 [ 'Tests/CameraTest' , lazy ( ( ) => import ( './Tests/CameraTest' ) ) ] ,
3738 [ 'Tests/ShareGeometry' , lazy ( ( ) => import ( './Tests/ShareGeometry' ) ) ] ,
Original file line number Diff line number Diff line change 1+ label {
2+ color : lightGray;
3+ }
4+
5+ input [type = range ] {
6+ -webkit-appearance : none;
7+ }
8+
9+ input [type = range ]::-webkit-slider-runnable-track {
10+ width : 300px ;
11+ height : 3px ;
12+ background : # ddd ;
13+ border : none;
14+ border-radius : 5px ;
15+ }
16+
17+
18+ input [type = range ]::-webkit-slider-thumb {
19+ -webkit-appearance : none;
20+ border : none;
21+ height : 25px ;
22+ width : 8px ;
23+ border-radius : 50% ;
24+ background : goldenrod;
25+ margin-top : -10px ;
26+ }
27+
28+
29+ input [type = range ]: focus {
30+ outline : none;
31+ }
32+
33+ input [type = range ]: focus ::-webkit-slider-runnable-track {
34+ background : # ccc ;
35+ }
36+
37+
38+ input [type = range ][orient = 'vertical' ] {
39+ position : absolute;
40+ zIndex : 1000 ;
41+ margin : 0 ;
42+ padding : 5 ;
43+ width : 2500% ;
44+ height : 0.5em ;
45+ transform : translate (-50% , -50% ) rotate (-90deg );
46+ background : transparent;
47+ font : 1 em/1 arial, sans-serif;
48+ }
49+
50+ .loader {
51+ border : 16px solid # f3f3f3 ;
52+ border-radius : 50% ;
53+ border-top : 16px solid blue;
54+ border-right : 16px solid green;
55+ border-bottom : 16px solid red;
56+ width : 120px ;
57+ height : 120px ;
58+ position : absolute;
59+ top : 50% ;
60+ left : 50% ;
61+ transform : translate (-50% , -50% );
62+ -webkit-animation : spin 2s linear infinite;
63+ animation : spin 2s linear infinite;
64+ }
65+ @-webkit-keyframes spin {
66+ 0% { -webkit-transform : rotate (0deg ); }
67+ 100% { -webkit-transform : rotate (360deg ); }
68+ }
69+
70+ @keyframes spin {
71+ 0% { transform : rotate (0deg ); }
72+ 100% { transform : rotate (360deg ); }
73+ }
You can’t perform that action at this time.
0 commit comments