@@ -413,6 +413,14 @@ tr:nth-child(even) {
413413 display : flex;
414414 align-items : center;
415415 gap : 10px ;
416+ margin-left : auto;
417+ }
418+
419+ .shortcuts span {
420+ display : flex;
421+ align-items : center;
422+ margin-left : 8px ;
423+ color : var (--text-muted );
416424}
417425
418426.shortcut-key {
@@ -421,6 +429,8 @@ tr:nth-child(even) {
421429 border-radius : 3px ;
422430 font-family : 'JetBrains Mono' , monospace;
423431 font-size : 0.85em ;
432+ margin-left : 4px ;
433+ color : var (--text-secondary );
424434}
425435
426436footer {
@@ -443,21 +453,37 @@ footer a:hover {
443453
444454.query-history {
445455 position : absolute;
446- top : 100 % ;
456+ top : 0 ;
447457 left : 0 ;
448458 right : 0 ;
449459 background : rgba (30 , 40 , 50 , 0.95 );
450- border-top : 1px solid var (--border-subtle );
460+ border : 1px solid var (--border-subtle );
451461 max-height : 0 ;
462+ height : 0 ;
463+ opacity : 0 ;
464+ visibility : hidden;
452465 overflow : hidden;
453- transition : max-height 0.3s ease;
466+ transition : all 0.3s ease;
454467 z-index : 100 ;
455- box-shadow : var (--shadow-strong );
468+ box-shadow : none;
469+ border-radius : var (--radius-md );
470+ margin : 10px ;
456471}
457472
458473.query-history .show {
459474 max-height : 300px ;
475+ height : auto;
476+ opacity : 1 ;
477+ visibility : visible;
460478 overflow-y : auto;
479+ box-shadow : 0 0 20px rgba (79 , 190 , 255 , 0.2 ), var (--shadow-strong );
480+ }
481+
482+ .query-history-empty {
483+ padding : 20px ;
484+ text-align : center;
485+ color : var (--text-muted );
486+ font-style : italic;
461487}
462488
463489.history-item {
@@ -514,6 +540,7 @@ footer a:hover {
514540
515541 .panel-resizable {
516542 max-width : 100% ;
543+ width : 100% !important ;
517544 height : 50% ;
518545 min-height : 200px ;
519546 max-height : calc (100% - 200px );
@@ -532,4 +559,121 @@ footer a:hover {
532559 bottom : -3px ;
533560 top : auto;
534561 }
562+
563+ .shortcuts {
564+ display : none;
565+ }
566+ }
567+
568+ body .resizing {
569+ cursor : col-resize;
570+ user-select : none;
571+ }
572+
573+ @media (max-width : 768px ) {
574+ body .resizing {
575+ cursor : row-resize;
576+ }
577+ }
578+
579+ .error-result {
580+ color : # ff6b6b ;
581+ border-left : 3px solid # ff6b6b ;
582+ background : rgba (255 , 0 , 0 , 0.05 );
583+ }
584+
585+ .github-corner : hover .octo-arm {
586+ animation : octocat-wave 560ms ease-in-out;
587+ }
588+
589+ @keyframes octocat-wave {
590+ 0% , 100% { transform : rotate (0 ); }
591+ 20% , 60% { transform : rotate (-25deg ); }
592+ 40% , 80% { transform : rotate (10deg ); }
593+ }
594+
595+ @media (max-width : 500px ) {
596+ .github-corner : hover .octo-arm {
597+ animation : none;
598+ }
599+ .github-corner .octo-arm {
600+ animation : octocat-wave 560ms ease-in-out;
601+ }
602+ }
603+
604+ .actions {
605+ display : flex;
606+ flex-wrap : wrap;
607+ margin : 15px 0 ;
608+ }
609+
610+ .results-header , .editor-header {
611+ display : flex;
612+ justify-content : space-between;
613+ align-items : center;
614+ margin-bottom : 8px ;
615+ color : rgba (255 , 255 , 255 , 0.7 );
616+ font-weight : 500 ;
617+ }
618+
619+ /* SQL Snippets Menu */
620+ .snippets-menu {
621+ position : absolute;
622+ background : rgba (30 , 40 , 50 , 0.95 );
623+ border : 1px solid var (--border-subtle );
624+ max-height : 0 ;
625+ width : 220px ;
626+ opacity : 0 ;
627+ visibility : hidden;
628+ overflow : hidden;
629+ transition : all 0.3s ease;
630+ z-index : 100 ;
631+ box-shadow : none;
632+ border-radius : var (--radius-md );
633+ right : 15px ;
634+ top : 45px ;
635+ }
636+
637+ .snippets-menu .show {
638+ max-height : 400px ;
639+ opacity : 1 ;
640+ visibility : visible;
641+ overflow-y : auto;
642+ box-shadow : var (--shadow-strong );
643+ }
644+
645+ .snippet-item {
646+ padding : 10px 14px ;
647+ border-bottom : 1px solid var (--border-subtle );
648+ cursor : pointer;
649+ transition : var (--transition-normal );
650+ font-size : 0.9em ;
651+ }
652+
653+ .snippet-item : hover {
654+ background : rgba (79 , 190 , 255 , 0.1 );
655+ color : var (--accent-blue );
656+ }
657+
658+ .snippet-item : last-child {
659+ border-bottom : none;
660+ }
661+
662+ .button-icon {
663+ display : flex;
664+ align-items : center;
665+ justify-content : center;
666+ width : 32px ;
667+ height : 32px ;
668+ padding : 0 ;
669+ border-radius : 4px ;
670+ }
671+
672+ .button-icon svg {
673+ width : 16px ;
674+ height : 16px ;
675+ }
676+
677+ .button-icon .active {
678+ background : rgba (79 , 190 , 255 , 0.2 );
535679}
0 commit comments