Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions application/frontend/src/pages/chatbot/chatbot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
flex-direction: column;
position: relative;
}

.chat-container.chat-active {
height: calc(100vh - 179px);
overflow: hidden;
}

@media (max-width: 768px) {
.chat-container {
padding: 0 1rem;
Expand Down Expand Up @@ -80,7 +82,8 @@ h1.ui.header.chatbot-title {
/* Very small phones */
@media (max-width: 360px) {
h1.ui.header.chatbot-title {
margin-top: 3rem; /* extra breathing room */
margin-top: 3rem;
/* extra breathing room */
}
}

Expand Down Expand Up @@ -375,6 +378,7 @@ h1.ui.header.chatbot-title {
opacity: 1;
transform: translateX(-50%) translateY(-2px);
}

.scroll-icon {
margin: 0 !important;
display: flex !important;
Expand All @@ -387,6 +391,7 @@ h1.ui.header.chatbot-title {
bottom: 160px;
}
}

.chat-surface {
display: flex;
flex-direction: column;
Expand All @@ -402,6 +407,7 @@ h1.ui.header.chatbot-title {

padding: 1.25rem;
}

.chat-landing-state {
text-align: center;
margin: auto;
Expand All @@ -420,17 +426,20 @@ h1.ui.header.chatbot-title {
margin: 0 auto;
}
}

/* =========================
Animations
========================= */

@keyframes typingBounce {

0%,
80%,
100% {
transform: scale(0);
opacity: 0.3;
}

40% {
transform: scale(1);
opacity: 1;
Expand All @@ -442,18 +451,21 @@ h1.ui.header.chatbot-title {
opacity: 0;
transform: translateY(6px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateX(-50%) translateY(6px);
}

to {
opacity: 0.85;
transform: translateX(-50%) translateY(0);
}
}
}