2018-04-12 02:23:35 +03:00
|
|
|
// XXX: bleurgh, what is this? These classes totally break the component
|
|
|
|
// naming scheme; it's completely unclear where or how they're being used
|
|
|
|
// --Matthew
|
|
|
|
|
|
|
|
.mx_UserPill,
|
|
|
|
.mx_RoomPill,
|
2018-06-19 13:53:17 +03:00
|
|
|
.mx_GroupPill,
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_AtRoomPill {
|
|
|
|
border-radius: 16px;
|
|
|
|
display: inline-block;
|
|
|
|
height: 20px;
|
2020-03-31 17:26:23 +03:00
|
|
|
line-height: $font-20px;
|
2018-04-12 02:23:35 +03:00
|
|
|
padding-left: 5px;
|
|
|
|
}
|
|
|
|
|
2020-02-29 04:56:02 +03:00
|
|
|
a.mx_Pill {
|
|
|
|
word-break: break-all;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
2019-01-07 18:13:01 +03:00
|
|
|
/* More specific to override `.markdown-body a` text-decoration */
|
|
|
|
.mx_EventTile_content .markdown-body a.mx_Pill {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
|
|
.mx_EventTile_content .markdown-body a.mx_UserPill,
|
|
|
|
.mx_UserPill {
|
|
|
|
color: $primary-fg-color;
|
|
|
|
background-color: $other-user-pill-bg-color;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-05-14 05:02:12 +03:00
|
|
|
.mx_UserPill_selected {
|
2019-07-09 20:15:10 +03:00
|
|
|
background-color: $accent-color !important;
|
2018-05-14 05:02:12 +03:00
|
|
|
}
|
|
|
|
|
2019-01-07 18:18:24 +03:00
|
|
|
/* More specific to override `.markdown-body a` color */
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me,
|
2019-01-07 18:18:24 +03:00
|
|
|
.mx_EventTile_content .markdown-body a.mx_AtRoomPill,
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_EventTile_content .mx_AtRoomPill,
|
|
|
|
.mx_MessageComposer_input .mx_AtRoomPill {
|
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $mention-user-pill-bg-color;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
|
|
.mx_EventTile_content .markdown-body a.mx_RoomPill,
|
2018-06-22 16:36:29 +03:00
|
|
|
.mx_EventTile_content .markdown-body a.mx_GroupPill,
|
|
|
|
.mx_RoomPill,
|
|
|
|
.mx_GroupPill {
|
2018-04-12 02:23:35 +03:00
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $rte-room-pill-color;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2018-06-22 16:36:29 +03:00
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
|
|
.mx_EventTile_content .markdown-body a.mx_GroupPill,
|
|
|
|
.mx_GroupPill {
|
|
|
|
color: $accent-fg-color;
|
|
|
|
background-color: $rte-group-pill-color;
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
|
2019-07-10 18:55:03 +03:00
|
|
|
.mx_EventTile_body .mx_UserPill,
|
|
|
|
.mx_EventTile_body .mx_RoomPill,
|
|
|
|
.mx_EventTile_body .mx_GroupPill {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_UserPill .mx_BaseAvatar,
|
|
|
|
.mx_RoomPill .mx_BaseAvatar,
|
2018-06-19 13:53:17 +03:00
|
|
|
.mx_GroupPill .mx_BaseAvatar,
|
2018-04-12 02:23:35 +03:00
|
|
|
.mx_AtRoomPill .mx_BaseAvatar {
|
|
|
|
position: relative;
|
|
|
|
left: -3px;
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_BOLD {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_ITALIC {
|
|
|
|
font-style: italic;
|
2019-07-09 20:15:10 +03:00
|
|
|
/*
|
2019-01-31 13:51:26 +03:00
|
|
|
// interestingly, *not* using the explicit italic font
|
|
|
|
// variant seems yield better results.
|
2019-01-16 15:53:46 +03:00
|
|
|
|
|
|
|
// compensate for Nunito italics being terrible
|
|
|
|
// https://github.com/google/fonts/issues/1726
|
|
|
|
transform: skewX(-14deg);
|
|
|
|
display: inline-block;
|
2019-07-09 20:15:10 +03:00
|
|
|
*/
|
2018-04-12 02:23:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_CODE {
|
|
|
|
padding: .2em 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 85%;
|
|
|
|
background-color: $rte-code-bg-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_HR {
|
|
|
|
display: block;
|
|
|
|
background: $rte-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_STRIKETHROUGH {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|