-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Standardize keyframes naming convention
- Loading branch information
Showing
12 changed files
with
171 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 24 additions & 38 deletions
62
src/components/ChatBotBody/ChatMessagePrompt/ChatMessagePrompt.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,34 @@ | ||
.rcb-message-prompt-container.visible { | ||
position: sticky; | ||
bottom: 0px; | ||
margin: auto; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
opacity: 1; | ||
animation: popIn 0.3s ease-in-out; | ||
pointer-events: auto; | ||
position: sticky; | ||
bottom: 0px; | ||
margin: auto; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
opacity: 1; | ||
animation: rcb-animation-pop-in 0.3s ease-in-out; | ||
pointer-events: auto; | ||
} | ||
|
||
.rcb-message-prompt-container.hidden { | ||
opacity: 0; | ||
height: 0px; /* work around for hiding element while still having animation */ | ||
visibility: hidden; | ||
pointer-events: none; | ||
opacity: 0; | ||
height: 0px; /* work around for hiding element while still having animation */ | ||
visibility: hidden; | ||
pointer-events: none; | ||
} | ||
|
||
.rcb-message-prompt-text { | ||
padding: 6px 12px; | ||
border-radius: 20px; | ||
color: #adadad; | ||
font-size: 12px; | ||
background-color: #fff; | ||
border: 0.5px solid #adadad; | ||
cursor: pointer; | ||
transition: color 0.3s ease, border-color 0.3s ease; | ||
z-index: 9999; | ||
padding: 6px 12px; | ||
border-radius: 20px; | ||
color: #adadad; | ||
font-size: 12px; | ||
background-color: #fff; | ||
border: 0.5px solid #adadad; | ||
cursor: pointer; | ||
transition: color 0.3s ease, border-color 0.3s ease; | ||
z-index: 9999; | ||
} | ||
|
||
.rcb-message-prompt-container.hidden .rcb-message-prompt-text { | ||
padding: 0px; | ||
} | ||
|
||
@keyframes popIn { | ||
0% { | ||
transform: scale(0.8); | ||
opacity: 0; | ||
} | ||
70% { | ||
transform: scale(1.1); | ||
opacity: 1; | ||
} | ||
100% { | ||
transform: scale(1); | ||
} | ||
} | ||
padding: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,15 @@ | ||
.rcb-toast-prompt-text { | ||
padding: 6px 12px; | ||
border-radius: 5px; | ||
color: #7a7a7a; | ||
font-size: 12px; | ||
text-align: center; | ||
background-color: #fff; | ||
border: 0.5px solid #7a7a7a; | ||
cursor: pointer; | ||
transition: color 0.3s ease, border-color 0.3s ease; | ||
z-index: 9999; | ||
width: 100%; | ||
margin-top: 6px; | ||
} | ||
|
||
@keyframes popIn { | ||
0% { | ||
transform: scale(0.8); | ||
opacity: 0; | ||
} | ||
70% { | ||
transform: scale(1.1); | ||
opacity: 1; | ||
} | ||
100% { | ||
transform: scale(1); | ||
} | ||
} | ||
.rcb-toast-prompt { | ||
padding: 6px 12px; | ||
border-radius: 5px; | ||
color: #7a7a7a; | ||
font-size: 12px; | ||
text-align: center; | ||
background-color: #fff; | ||
border: 0.5px solid #7a7a7a; | ||
cursor: pointer; | ||
transition: color 0.3s ease, border-color 0.3s ease; | ||
z-index: 9999; | ||
width: 100%; | ||
margin-top: 6px; | ||
animation: rcb-animation-pop-in 0.3s ease-in-out; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.