fix animation highlited message to match android

pull/1317/head
Audric Ackermann 5 years ago
parent 055234ef53
commit 89acda2d2f
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -85,7 +85,6 @@
color: black; color: black;
} }
.module-conversation-list-item--mentioned-us { .module-conversation-list-item--mentioned-us {
border-left: 4px solid $session-color-green !important; border-left: 4px solid $session-color-green !important;
} }

@ -30,8 +30,7 @@
} }
@keyframes highlightedMessageAnimation { @keyframes highlightedMessageAnimation {
25% { background-color: #00f782; } 1% {
50% { background-color: #00000000; } background-color: #00f782;
75% { background-color: #00f782; } }
} }

@ -410,27 +410,30 @@ $session-compose-margin: 20px;
padding: 8px 20px; padding: 8px 20px;
margin: 0px $session-compose-margin; margin: 0px $session-compose-margin;
@at-root .light-theme #{&} { // FIXME themify once this component is enabled back
background: $session-shade-15; // @at-root .light-theme #{&} {
color: $session-color-black; // background: $session-shade-15;
} // color: $session-color-black;
@at-root .dark-theme #{&} { // }
background: $session-shade-4; // @at-root .dark-theme #{&} {
color: $session-color-light-grey; // background: $session-shade-4;
} // color: $session-color-light-grey;
// }
&-selected, &-selected,
&:hover { &:hover {
font-weight: bold; font-weight: bold;
@at-root .light-theme #{&} { // FIXME themify once this component is enabled back
color: $session-color-black;
background: $session-color-white; // @at-root .light-theme #{&} {
} // color: $session-color-black;
@at-root .dark-theme #{&} { // background: $session-color-white;
color: $session-color-white; // }
background: $session-shade-8; // @at-root .dark-theme #{&} {
} // color: $session-color-white;
// background: $session-shade-8;
// }
} }
} }
} }

@ -87,7 +87,7 @@
.message { .message {
&-highlighted { &-highlighted {
animation: highlightedMessageAnimation 3s ease-in-out; animation: highlightedMessageAnimation 1s ease-in-out;
} }
&-selected { &-selected {

@ -6,9 +6,6 @@ $destructive: #ff453a;
$accentLightTheme: #00e97b; $accentLightTheme: #00e97b;
$accentDarkTheme: #00f782; $accentDarkTheme: #00f782;
$themes: ( $themes: (
light: ( light: (
accent: $accentLightTheme, accent: $accentLightTheme,
@ -48,7 +45,7 @@ $themes: (
scrollBarTrack: #fcfcfc, scrollBarTrack: #fcfcfc,
scrollBarThumb: #474646, scrollBarThumb: #474646,
// pill divider: // pill divider:
pillDividerColor: rgba($black, 0.10), pillDividerColor: rgba($black, 0.1),
pillDividerTextColor: #555555, pillDividerTextColor: #555555,
// context menu // context menu
contextMenuBackground: #f5f5f5, contextMenuBackground: #f5f5f5,

Loading…
Cancel
Save