Show invite reasons
Displays the reason for invitation in the invitation dialog, requiring a click to reveal the message. Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
parent
667c94b387
commit
f0333b5b1c
9 changed files with 144 additions and 31 deletions
|
@ -40,6 +40,35 @@ limitations under the License.
|
|||
word-break: break-word;
|
||||
}
|
||||
|
||||
.mx_RoomPreviewBar_reason {
|
||||
text-align: left;
|
||||
background-color: $primary-bg-color;
|
||||
border: 1px solid $invite-reason-border-color;
|
||||
border-radius: 10px;
|
||||
padding: 0 16px 12px 16px;
|
||||
margin: 5px 0 20px 0;
|
||||
|
||||
div {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.mx_EventTile_msgOption {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.mx_MatrixChat_useCompactLayout & {
|
||||
padding-top: 9px;
|
||||
}
|
||||
|
||||
&.mx_EventTilePreview_faded {
|
||||
cursor: pointer;
|
||||
|
||||
.mx_SenderProfile, .mx_EventTile_avatar {
|
||||
opacity: 0.3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_Spinner {
|
||||
width: auto;
|
||||
height: auto;
|
||||
|
|
|
@ -205,6 +205,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
|||
// Appearance tab colors
|
||||
$appearance-tab-border-color: $room-highlight-color;
|
||||
|
||||
$invite-reason-border-color: $room-highlight-color;
|
||||
|
||||
// blur amounts for left left panel (only for element theme, used in _mods.scss)
|
||||
$roomlist-background-blur-amount: 60px;
|
||||
$groupFilterPanel-background-blur-amount: 30px;
|
||||
|
|
|
@ -200,6 +200,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
|||
// Appearance tab colors
|
||||
$appearance-tab-border-color: $room-highlight-color;
|
||||
|
||||
$invite-reason-border-color: $room-highlight-color;
|
||||
|
||||
$composer-shadow-color: tranparent;
|
||||
|
||||
// ***** Mixins! *****
|
||||
|
|
|
@ -324,6 +324,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
|||
// FontSlider colors
|
||||
$appearance-tab-border-color: $input-darker-bg-color;
|
||||
|
||||
$invite-reason-border-color: $input-darker-bg-color;
|
||||
|
||||
$composer-shadow-color: tranparent;
|
||||
|
||||
// ***** Mixins! *****
|
||||
|
|
|
@ -325,6 +325,8 @@ $user-tile-hover-bg-color: $header-panel-bg-color;
|
|||
// FontSlider colors
|
||||
$appearance-tab-border-color: $input-darker-bg-color;
|
||||
|
||||
$invite-reason-border-color: $input-darker-bg-color;
|
||||
|
||||
// blur amounts for left left panel (only for element theme, used in _mods.scss)
|
||||
$roomlist-background-blur-amount: 40px;
|
||||
$groupFilterPanel-background-blur-amount: 20px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue