Skip to content

Commit

Permalink
Update better-ms-teams.user.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Taoufik El Aoumari authored Jul 13, 2020
1 parent a1e5837 commit 5cb1900
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions better-ms-teams.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,37 @@
@author taoufix
==/UserStyle== */
@-moz-document domain("teams.microsoft.com") {


/* Highlight self messages in channel mode, the same way as in conversation mode */
.thread-body.self .message-body,
.thread-body.self .message-body .message-actions-container,
.conversation-common:not(.conversation-start) .thread-body.self .media-left {
background: #3a3b55 !important;
}

/* More visibility for unread channel */
.ts-unread-channel {
color: yellow !important;
}


/* Make layout of messages in conversation mode the same as channel mode */
.conversation-bubble-previous .conversation-start .self::before {
display: block;
width: 32px;
height: 32px;
background-size: 32px;
line-height: 32px;

border-radius: 100%;
position: absolute;
background-size: 32px;

content: "🧔";
font-size: 24px;
line-height: 32px;
content: "🧔🏻";
font-size: 23px;
text-align: center;
background: pink;
/*
content: "";
background-image: url('blob:https://teams.microsoft.com/UUID');
*/
background: #3a3b55;
}

message-list.chat-style .self .media-left ~ .ts-message-thread-body {
padding-left: 42px;
}
Expand Down

0 comments on commit 5cb1900

Please sign in to comment.