File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ <h3>Recommendation Models</h3>
192
192
<!-- Chatbot Button -->
193
193
< div class ="chatbot-button " id ="chatbot-button ">
194
194
< img src ="assets/chatbot.png " height ="50px " width ="50px " id ="chatbot-img " class ="floating ">
195
- <!-- <svg fill="#444" width="163px" height="163px" viewBox="-0.96 -0.96 25.92 25.92" xmlns="http://www.w3.org/2000/svg" stroke="#444" stroke-width="0.00024000000000000003"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#fff" stroke-width="0.096"></g><g id="SVGRepo_iconCarrier"><path d="M21.928 11.607c-.202-.488-.635-.605-.928-.633V8c0-1.103-.897-2-2-2h-6V4.61c.305-.274.5-.668.5-1.11a1.5 1.5 0 0 0-3 0c0 .442.195.836.5 1.11V6H5c-1.103 0-2 .897-2 2v2.997l-.082.006A1 1 0 0 0 1.99 12v2a1 1 0 0 0 1 1H3v5c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2v-5a1 1 0 0 0 1-1v-1.938a1.006 1.006 0 0 0-.072-.455zM5 20V8h14l.001 3.996L19 12v2l.001.005.001 5.995H5z"></path><ellipse cx="8.5" cy="12" rx="1.5" ry="2"></ellipse><ellipse cx="15.5" cy="12" rx="1.5" ry="2"></ellipse><path d="M8 16h8v2H8z"></path></g></svg> -- >
195
+ < div class =" tooltip " > Welcome to RecodeHive - Machine Learning Repos, How can we help you? </ div >
196
196
</ div >
197
197
198
198
<!-- Chatbox -->
Original file line number Diff line number Diff line change @@ -597,8 +597,57 @@ button#toggle-languages:hover {
597
597
animation : fadeIn 1s ease-in-out;
598
598
}
599
599
600
+ .floating {
601
+ animation : floating 3s ease-in-out infinite;
602
+ }
603
+
604
+ @keyframes floating {
605
+ 0% {
606
+ transform : translateY (0 );
607
+ }
608
+ 50% {
609
+ transform : translateY (-7px );
610
+ }
611
+ 100% {
612
+ transform : translateY (0 );
613
+ }
614
+ }
615
+
616
+ .tooltip {
617
+ visibility : hidden;
618
+ background-color : # 0D6EFD ;
619
+ color : white;
620
+ text-align : center;
621
+ border-radius : 10px ;
622
+ padding : 9px ;
623
+ font-size : 15px ;
624
+ position : absolute;
625
+ bottom : 70px ;
626
+ right : -130px ;
627
+ transform : translateX (-50% );
628
+ width : 270px ;
629
+ box-shadow : 0px 0px 10px rgba (0 , 0 , 0 , 0.1 );
630
+ z-index : 1 ;
631
+ opacity : 0 ;
632
+ transition : opacity 0.3s ;
633
+ }
634
+
635
+ .chatbot-button : hover .tooltip {
636
+ visibility : visible;
637
+ opacity : 1 ;
638
+ }
639
+
640
+ /* Hided tooltip on touch devices */
641
+ @media (hover : none) and (pointer : coarse), (max-width : 767px ) {
642
+ .tooltip {
643
+ display : none;
644
+ }
645
+ }
646
+
600
647
.chatbot .active {
601
648
display : flex;
649
+ margin-right : -18px ;
650
+ margin-bottom : 50px ;
602
651
}
603
652
604
653
.chatbot-header {
You can’t perform that action at this time.
0 commit comments