mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
fce36ec826
* Remove deprecated feature_communities_v2_prototypes * Update _components * i18n * delint * Cut out a bit more dead code * Carve into legacy components * Carve into mostly the room list code * Carve into instances of "groupId" * Carve out more of what comes up with "groups" * Carve out some settings * ignore related groups state * Remove instances of spacesEnabled * Fix some obvious issues * Remove now-unused css * Fix variable naming for legacy components * Update i18n * Misc cleanup from manual review * Update snapshot for changed flag * Appease linters * rethemedex * Remove now-unused AddressPickerDialog * Make ConfirmUserActionDialog's member a required prop * Remove useless override from RightPanelStore * Remove extraneous CSS * Update i18n * Demo: "Communities are now Spaces" landing page * Restore linkify for group IDs * Demo: Dialog on click for communities->spaces notice * i18n for demos * i18n post-merge * Update copy * Appease the linter * Post-merge cleanup * Re-add spaces_learn_more_url to the new SdkConfig place * Round 1 of post-merge fixes * i18n Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
115 lines
2.6 KiB
SCSS
115 lines
2.6 KiB
SCSS
// 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,
|
|
.mx_AtRoomPill {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
vertical-align: middle;
|
|
border-radius: $font-16px;
|
|
line-height: $font-15px;
|
|
padding-left: 0;
|
|
}
|
|
|
|
a.mx_Pill {
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.mx_Pill {
|
|
padding: $font-1px;
|
|
padding-right: 0.4em;
|
|
vertical-align: text-top;
|
|
line-height: $font-17px;
|
|
}
|
|
|
|
/* More specific to override `.markdown-body a` text-decoration */
|
|
.mx_EventTile_content .markdown-body a.mx_Pill {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
.mx_EventTile_content .markdown-body a.mx_UserPill,
|
|
.mx_UserPill {
|
|
color: $primary-content;
|
|
background-color: $other-user-pill-bg-color;
|
|
}
|
|
|
|
.mx_UserPill_selected {
|
|
background-color: $accent !important;
|
|
}
|
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
.mx_EventTile_highlight .mx_EventTile_content .markdown-body a.mx_UserPill_me,
|
|
.mx_EventTile_content .markdown-body a.mx_AtRoomPill,
|
|
.mx_EventTile_content .mx_AtRoomPill,
|
|
.mx_MessageComposer_input .mx_AtRoomPill {
|
|
color: $accent-fg-color;
|
|
background-color: $alert;
|
|
}
|
|
|
|
/* More specific to override `.markdown-body a` color */
|
|
.mx_EventTile_content .markdown-body a.mx_RoomPill,
|
|
.mx_RoomPill {
|
|
color: $accent-fg-color;
|
|
background-color: $rte-room-pill-color;
|
|
}
|
|
|
|
.mx_EventTile_body .mx_UserPill,
|
|
.mx_EventTile_body .mx_RoomPill {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mx_UserPill .mx_BaseAvatar,
|
|
.mx_RoomPill .mx_BaseAvatar,
|
|
.mx_AtRoomPill .mx_BaseAvatar {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 10rem;
|
|
margin-right: 0.24rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.mx_Emoji {
|
|
font-size: 1.8rem;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.mx_Markdown_BOLD {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_Markdown_ITALIC {
|
|
font-style: italic;
|
|
/*
|
|
// interestingly, *not* using the explicit italic font
|
|
// variant seems yield better results.
|
|
|
|
// compensate for Nunito italics being terrible
|
|
// https://github.com/google/fonts/issues/1726
|
|
transform: skewX(-14deg);
|
|
display: inline-block;
|
|
*/
|
|
}
|
|
|
|
.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;
|
|
}
|