File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change @@ -598,8 +598,57 @@ button#toggle-languages:hover {
598
598
animation : fadeIn 1s ease-in-out;
599
599
}
600
600
601
+ .floating {
602
+ animation : floating 3s ease-in-out infinite;
603
+ }
604
+
605
+ @keyframes floating {
606
+ 0% {
607
+ transform : translateY (0 );
608
+ }
609
+ 50% {
610
+ transform : translateY (-7px );
611
+ }
612
+ 100% {
613
+ transform : translateY (0 );
614
+ }
615
+ }
616
+
617
+ .tooltip {
618
+ visibility : hidden;
619
+ background-color : # 0D6EFD ;
620
+ color : white;
621
+ text-align : center;
622
+ border-radius : 10px ;
623
+ padding : 9px ;
624
+ font-size : 15px ;
625
+ position : absolute;
626
+ bottom : 70px ;
627
+ right : -130px ;
628
+ transform : translateX (-50% );
629
+ width : 270px ;
630
+ box-shadow : 0px 0px 10px rgba (0 , 0 , 0 , 0.1 );
631
+ z-index : 1 ;
632
+ opacity : 0 ;
633
+ transition : opacity 0.3s ;
634
+ }
635
+
636
+ .chatbot-button : hover .tooltip {
637
+ visibility : visible;
638
+ opacity : 1 ;
639
+ }
640
+
641
+ /* Hided tooltip on touch devices */
642
+ @media (hover : none) and (pointer : coarse), (max-width : 767px ) {
643
+ .tooltip {
644
+ display : none;
645
+ }
646
+ }
647
+
601
648
.chatbot .active {
602
649
display : flex;
650
+ margin-right : -18px ;
651
+ margin-bottom : 60px ;
603
652
}
604
653
605
654
.chatbot-header {
You can’t perform that action at this time.
0 commit comments