Update src/templates/index.html
Browse files- src/templates/index.html +36 -1
src/templates/index.html
CHANGED
|
@@ -5,6 +5,40 @@
|
|
| 5 |
<title>Епикриза</title>
|
| 6 |
<link rel="stylesheet" href="/static/css/style.css"/>
|
| 7 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
.chatbot-iframe {
|
| 9 |
position: fixed;
|
| 10 |
bottom: 0px;
|
|
@@ -12,10 +46,11 @@
|
|
| 12 |
width: 70px;
|
| 13 |
height: 70px;
|
| 14 |
border: none;
|
| 15 |
-
|
| 16 |
}
|
| 17 |
|
| 18 |
.chatbot-iframe.open {
|
|
|
|
| 19 |
width: 410px;
|
| 20 |
height: 610px;
|
| 21 |
}
|
|
|
|
| 5 |
<title>Епикриза</title>
|
| 6 |
<link rel="stylesheet" href="/static/css/style.css"/>
|
| 7 |
<style>
|
| 8 |
+
@keyframes fadeIn {
|
| 9 |
+
0% {
|
| 10 |
+
opacity: 0;
|
| 11 |
+
visibility: hidden;
|
| 12 |
+
}
|
| 13 |
+
1% {
|
| 14 |
+
opacity: 0;
|
| 15 |
+
visibility: visible;
|
| 16 |
+
}
|
| 17 |
+
100% {
|
| 18 |
+
opacity: 1;
|
| 19 |
+
visibility: visible;
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
@keyframes fadeOut {
|
| 24 |
+
0% {
|
| 25 |
+
opacity: 1;
|
| 26 |
+
visibility: visible;
|
| 27 |
+
}
|
| 28 |
+
50% {
|
| 29 |
+
opacity: 50%;
|
| 30 |
+
visibility: visible;
|
| 31 |
+
}
|
| 32 |
+
99% {
|
| 33 |
+
opacity: 0;
|
| 34 |
+
visibility: visible;
|
| 35 |
+
}
|
| 36 |
+
100% {
|
| 37 |
+
opacity: 0;
|
| 38 |
+
visibility: hidden;
|
| 39 |
+
}
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
.chatbot-iframe {
|
| 43 |
position: fixed;
|
| 44 |
bottom: 0px;
|
|
|
|
| 46 |
width: 70px;
|
| 47 |
height: 70px;
|
| 48 |
border: none;
|
| 49 |
+
animation: fadeOut 0.5s linear forwards;
|
| 50 |
}
|
| 51 |
|
| 52 |
.chatbot-iframe.open {
|
| 53 |
+
animation: fadeIn 0.5s linear forwards;
|
| 54 |
width: 410px;
|
| 55 |
height: 610px;
|
| 56 |
}
|