149149 background : # fff ;
150150 }
151151
152+ input [type = 'radio' ] {
153+ margin : 0 ;
154+ }
155+
152156 button ,
153157 a .button-like {
154158 display : inline-block;
225229 flex-direction : column;
226230 }
227231
232+ .gap-h {
233+ gap : 0 0.25rem ;
234+ }
235+
228236 .no-select {
229237 -webkit-user-select : none;
230238 -moz-user-select : none;
231239 -ms-user-select : none;
232240 user-select : none;
233241 }
234242
235- # topbar {
236- position : absolute;
237- z-index : 1 ;
238- top : 0.5rem ;
239- left : 0.5rem ;
240- width : 16rem ;
241- padding : 0.5rem ;
242- font-size : 0.9rem ;
243- background : rgba (32 , 32 , 32 , 0.9 );
244- border-radius : 0.2rem ;
245- transition : background 0.15s cubic-bezier (0.25 , 0.1 , 0.25 , 1 );
246- }
247-
248- # topbar : focus ,
249- # topbar : focus-within {
250- pointer-events : none;
251- outline : none;
252- background : rgba (32 , 32 , 32 , 1 );
243+ .tp-link {
244+ padding-left : 4px ;
245+ line-height : 1.5em ;
253246 }
254247
255- # topbar hr {
256- border-color : rgba (255 , 255 , 255 , 0.1 );
248+ .tp-link a .active {
249+ color : # 34bbff ;
250+ font-weight : bold;
251+ text-decoration : none;
257252 }
258253
259- # title {
254+ h1 {
255+ position : absolute;
256+ z-index : 1 ;
257+ top : 1rem ;
258+ left : 1rem ;
260259 padding : 0 ;
261260 margin : 0 ;
262- font-size : 1rem ;
261+ font-family : 'Roboto Mono' , 'Source Code Pro' , Menlo, Courier, monospace;
262+ font-size : 0.8rem ;
263263 color : white;
264264 -webkit-touch-callout : none;
265265 -webkit-user-select : none;
269269 user-select : none;
270270 }
271271
272- # topbar : focus # title-wrapper ,
273- # topbar : focus-within # title-wrapper {
274- color : # fff ;
275- padding-bottom : 0.5rem ;
276- border-bottom : 1px solid rgba (255 , 255 , 255 , 0.1 );
277- }
278-
279- # title-wrapper span {
280- color : # 666 ;
281- font-size : 0.7rem ;
282- line-height : 1rem ;
283- text-transform : uppercase;
284- }
285-
286- # topbar : focus # title-wrapper span ,
287- # topbar : focus-within # title-wrapper span {
288- color : # fff ;
289- }
290-
291272 # controls {
292- display : none;
293- }
294-
295- # topbar : focus # controls ,
296- # topbar : focus-within # controls {
297- display : block;
298- pointer-events : auto;
299- }
300-
301- # controls label {
302- margin : 0.5rem 0 ;
303- }
304-
305- # controls label : last-child {
306- margin-bottom : 0 ;
307- }
308-
309- # controls .label : after {
310- content : ':' ;
311- margin-right : 0.25rem ;
312- }
313-
314- # controls .value : after {
315- text-align : center;
316- }
317-
318- # controls .value em {
319- color : # 666 ;
320- font-size : 0.7rem ;
321- line-height : 0.9rem ;
273+ position : absolute;
274+ z-index : 1 ;
275+ top : 1rem ;
276+ right : 1rem ;
277+ width : 18rem ;
322278 }
323279
324280 # footer .hidden {
395351 pointer-events : auto;
396352 }
397353
398- # examples {
399- margin : 0 ;
400- padding : 0 0 0 1.25em ;
401- }
402-
403- # examples li {
404- margin : 0.125em 0 ;
405- }
406-
407- # examples li : last-child {
408- margin-bottom : 0 ;
409- }
410-
411- # examples li a {
412- color : rgba (255 , 255 , 255 , 0.66 );
413- transition : color 0.15s cubic-bezier (0.25 , 0.1 , 0.25 , 1 );
414- }
415-
416- # examples li a : hover {
417- color : rgba (255 , 255 , 255 , 1 );
418- }
419-
420- # examples li a .active {
421- color : # 34bbff ;
422- font-weight : bold;
423- text-decoration : none;
424- }
425-
426- # num-points-value {
427- min-width : 5rem ;
428- }
429-
430- # point-size-value {
431- min-width : 2rem ;
432- }
433-
434- # opacity-value {
435- min-width : 2rem ;
436- }
437-
438354 # parent-wrapper {
439355 position : absolute;
440356 top : 0 ;
499415 opacity 0.15s cubic-bezier (0.25 , 0.1 , 0.25 , 1 );
500416 }
501417 </ style >
502- < script type ="module " crossorigin src ="./assets/annotations-1a0940fa .js "> </ script >
503- < link rel ="modulepreload " crossorigin href ="./assets/vendor-fecc589d .js ">
504- < link rel ="modulepreload " crossorigin href ="./assets/utils-7421e6bb .js ">
418+ < script type ="module " crossorigin src ="./assets/annotations-QnGy9C0J .js "> </ script >
419+ < link rel ="modulepreload " crossorigin href ="./assets/vendor-CWN1LCVq .js ">
420+ < link rel ="modulepreload " crossorigin href ="./assets/menu-D496VOBB .js ">
505421 </ head >
506422
507423 < body >
511427 < button id ="modal-close "> Okay</ button >
512428 </ div >
513429 </ div >
514- < header id ="topbar " tabindex ="0 ">
515- < div id ="title-wrapper " class ="flex flex-jc-sb ">
516- < h1 id ="title "> Regl Scatterplot</ h1 >
517- < span class ="no-select "> Menu</ span >
518- </ div >
519- < aside id ="controls " class ="flex flex-v ">
520- < label class ="flex flex-v ">
521- < div class ="flex-a-c no-select ">
522- < span class ="label "
523- > < abbr title ="Number of points "> Num. PTS</ abbr > </ span
524- >
525- < span id ="num-points-value " class ="value "> 1000</ span >
526- </ div >
527- < input
528- id ="num-points "
529- type ="range "
530- min ="1000 "
531- max ="2000000 "
532- step ="1000 "
533- value ="10000 "
534- />
535- </ label >
536- < label class ="flex flex-v ">
537- < div class ="flex-a-c no-select ">
538- < span class ="label "> < abbr title ="Point size "> PT Size</ abbr > </ span >
539- < span id ="point-size-value " class ="value "> 5</ span >
540- </ div >
541- < input
542- id ="point-size "
543- type ="range "
544- min ="1 "
545- max ="100 "
546- step ="1 "
547- value ="5 "
548- />
549- </ label >
550- < label class ="flex flex-v ">
551- < div class ="flex-a-c no-select ">
552- < span class ="label "> Opacity</ span >
553- < span id ="opacity-value " class ="value "> 1.0</ span >
554- </ div >
555- < input
556- id ="opacity "
557- type ="range "
558- min ="0.01 "
559- max ="1 "
560- step ="0.01 "
561- value ="1 "
562- />
563- </ label >
564- < label class ="flex flex-a-c ">
565- < input id ="click-lasso-initiator " type ="checkbox " />
566- < span class ="no-select "> Click to Lasso Initiator</ span >
567- </ label >
568- < button id ="reset "> Reset</ button >
569- < hr />
570- < label > Examples:</ label >
571- < ul id ="examples ">
572- < li >
573- < a id ="example-basic " href ="index.html "> Color Encoding</ a >
574- </ li >
575- < li >
576- < a id ="example-size-encoding " href ="size-encoding.html "
577- > Size & Opacity Encoding</ a
578- >
579- </ li >
580- < li >
581- < a id ="example-dynamic-opacity " href ="dynamic-opacity.html "
582- > Dynamic Opacity</ a
583- >
584- </ li >
585- < li >
586- < a id ="example-background " href ="texture-background.html "
587- > Background Image</ a
588- >
589- </ li >
590- < li >
591- < a id ="example-axes " href ="axes.html "> Axes</ a >
592- </ li >
593- < li >
594- < a id ="example-text-overlay " href ="text-labels.html "
595- > Dynamic Text Labels</ a
596- >
597- </ li >
598- < li >
599- < a id ="example-transition " href ="transition.html "> Transition</ a >
600- </ li >
601- < li >
602- < a id ="example-connected-points " href ="connected-points.html "
603- > Point Connections</ a
604- >
605- </ li >
606- < li >
607- < a
608- id ="example-connected-points-by-segment "
609- href ="connected-points-by-segments.html "
610- > Point Connections< br /> < span class ="smaller "
611- > (encoded by line segment)</ span
612- > </ a
613- >
614- </ li >
615- < li >
616- < a id ="example-performance-mode " href ="performance-mode.html "
617- > Performance Mode (< abbr title ="20 million "> 20M</ abbr > points)</ a
618- >
619- </ li >
620- < li >
621- < a id ="example-multiple-instances " href ="multiple-instances.html "
622- > Multiple Instances< br /> < span class ="smaller "
623- > (with linked point selection and animated zoom)</ span
624- > </ a
625- >
626- </ li >
627- < li >
628- < a id ="example-annotations " href ="annotations.html "> Annotations</ a >
629- </ li >
630- </ ul >
631- < hr />
632- < div class ="two-button-group ">
633- < button id ="export "> Export as PNG</ button >
634- < a
635- class ="button-like "
636- href ="https://github.com/flekschas/regl-scatterplot "
637- target ="_blank "
638- > Source code</ a
639- >
640- </ div >
641- </ aside >
642- </ header >
430+ < h1 > Regl Scatterplot</ h1 >
431+ < aside id ="controls " tabindex ="0 "> </ aside >
643432 < div id ="parent-wrapper ">
644433 < div id ="canvas-wrapper ">
645434 < canvas id ="canvas "> </ canvas >
@@ -651,6 +440,5 @@ <h1 id="title">Regl Scatterplot</h1>
651440 < div id ="info-title "> </ div >
652441 </ div >
653442 </ footer >
654-
655443</ body >
656444</ html >
0 commit comments