Skip to content

Commit 7f9d4f0

Browse files
committed
improve: Chat List hover effects
Sleeeeeek
1 parent bde29fa commit 7f9d4f0

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

src/styles.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ body {
704704
margin-top: auto;
705705
margin-bottom: -4px;
706706
text-align: left;
707+
color: rgba(255, 255, 255, 0.75);
708+
transition: color 0.2s ease;
707709
}
708710

709711
.chatlist-contact-preview p {
@@ -713,6 +715,19 @@ body {
713715
font-family: 'Rubik';
714716
font-weight: 100;
715717
color: rgb(161, 161, 161);
718+
transition: color 0.2s ease;
719+
}
720+
721+
.chatlist-contact:hover {
722+
background-color: rgba(255, 255, 255, 0.05);
723+
}
724+
725+
.chatlist-contact:hover .chatlist-contact-preview h4 {
726+
color: rgba(255, 255, 255, 1);
727+
}
728+
729+
.chatlist-contact:hover .chatlist-contact-preview p {
730+
color: rgba(255, 255, 255, 0.85);
716731
}
717732

718733
.chats {

src/themes/chatstr/dark.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
border-color: transparent;
3131
}
3232

33-
.chatlist-contact:hover {
34-
border-color: rgba(193, 147, 219, 0.25);
35-
}
36-
3733
.chat {
3834
background-color: inherit;
3935
}

src/themes/vector/dark.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@
3030
border-color: transparent;
3131
}
3232

33-
.chatlist-contact:hover {
34-
border-color: rgba(152, 255, 214, 0.25);
35-
}
36-
3733
.chat {
3834
background-color: #161616;
3935
}

0 commit comments

Comments
 (0)