-
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from dmitrizzle/remember-session
This is an RC for the memory function. Will keep it @next for a while so that it could be throughrally tested in production for Archie.AI (web and Chrome app) and only those who wish to try and break stuff.
- Loading branch information
Showing
4 changed files
with
153 additions
and
51 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
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,45 +1,57 @@ | ||
|
||
/* style bubbles */ | ||
.bubble, .bubble-typing { | ||
color: #212121; | ||
background: rgba(255, 255, 255, 0.84); | ||
padding: 8px 16px; | ||
border-radius: 5px 15px 15px 15px; | ||
font-weight: 400; | ||
text-transform: none; | ||
text-align: left; | ||
font-size: 16px; | ||
letter-spacing: .5px; | ||
margin: 0 0 2px 0; | ||
max-width: 65%; | ||
float: none; | ||
clear: both; | ||
line-height: 1.5em; | ||
word-break: break-word; | ||
transform-origin: left top; | ||
transition: all 200ms; | ||
.bubble, | ||
.bubble-typing { | ||
color: #212121; | ||
background: rgba(255, 255, 255, 0.84); | ||
padding: 8px 16px; | ||
border-radius: 5px 15px 15px 15px; | ||
font-weight: 400; | ||
text-transform: none; | ||
text-align: left; | ||
font-size: 16px; | ||
letter-spacing: .5px; | ||
margin: 0 0 2px 0; | ||
max-width: 65%; | ||
float: none; | ||
clear: both; | ||
line-height: 1.5em; | ||
word-break: break-word; | ||
transform-origin: left top; | ||
transition: all 200ms; | ||
} | ||
.bubble .bubble-content { | ||
transition: opacity 150ms; | ||
transition: opacity 150ms; | ||
} | ||
.bubble:not(.say) .bubble-content { | ||
opacity: 0; | ||
opacity: 0; | ||
} | ||
.bubble-typing.imagine, .bubble.imagine { | ||
transform: scale(0); | ||
transition: all 200ms, height 200ms 1s, padding 200ms 1s; | ||
.bubble-typing.imagine, | ||
.bubble.imagine { | ||
transform: scale(0); | ||
transition: all 200ms, height 200ms 1s, padding 200ms 1s; | ||
} | ||
.bubble.imagine { | ||
margin: 0; | ||
height: 0; | ||
padding: 0; | ||
margin: 0; | ||
height: 0; | ||
padding: 0; | ||
} | ||
|
||
/* style media that's inside bubbles */ | ||
.bubble .bubble-content img { | ||
width: calc(100% + 32px); | ||
margin: -8px -16px; | ||
overflow: hidden; | ||
display: block; | ||
border-radius: 5px 15px 15px 15px; | ||
} | ||
width: calc(100% + 32px); | ||
margin: -8px -16px; | ||
overflow: hidden; | ||
display: block; | ||
border-radius: 5px 15px 15px 15px; | ||
} | ||
|
||
/* interaction recall styles */ | ||
.bubble.history, | ||
.bubble.history .bubble-content, | ||
.bubble.history .bubble-content .bubble-button, | ||
.bubble.history .bubble-content .bubble-button:hover { | ||
transition: all 0ms !important; | ||
} | ||
.bubble.history { | ||
opacity: .25; | ||
} |
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