Merge branch 'develop' into foldleft/better-errors

This commit is contained in:
Zoe 2020-04-06 11:36:46 +01:00
commit 5ef06357f6
307 changed files with 2986 additions and 1615 deletions

View file

@ -1,3 +1,170 @@
Changes in [2.3.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v2.3.1) (2020-04-01)
===================================================================================================
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v2.3.0...v2.3.1)
* Fix jitsi popout URL
[\#4327](https://github.com/matrix-org/matrix-react-sdk/pull/4327)
* Remove underscore from Jitsi conference names
[\#4324](https://github.com/matrix-org/matrix-react-sdk/pull/4324)
* Fix popout support for jitsi widgets
[\#4322](https://github.com/matrix-org/matrix-react-sdk/pull/4322)
Changes in [2.3.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v2.3.0) (2020-03-30)
===================================================================================================
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v2.3.0-rc.1...v2.3.0)
* Upgrade JS SDK to 5.2.0
Changes in [2.3.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v2.3.0-rc.1) (2020-03-26)
=============================================================================================================
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v2.2.3...v2.3.0-rc.1)
* Upgrade JS SDK to 5.2.0-rc.1
* Add a flag to control whether cross-signing signatures are trusted
[\#4277](https://github.com/matrix-org/matrix-react-sdk/pull/4277)
* Update from Weblate
[\#4282](https://github.com/matrix-org/matrix-react-sdk/pull/4282)
* Update copy on SSSS symmetric upgrade toast
[\#4281](https://github.com/matrix-org/matrix-react-sdk/pull/4281)
* Wait for SSSS upgrade to complete
[\#4270](https://github.com/matrix-org/matrix-react-sdk/pull/4270)
* Update cross-signing verification copy and fix i18n
[\#4278](https://github.com/matrix-org/matrix-react-sdk/pull/4278)
* Fix soft-crash on bad permalinks
[\#4280](https://github.com/matrix-org/matrix-react-sdk/pull/4280)
* Fix: make self-verification wait for incoming request
[\#4267](https://github.com/matrix-org/matrix-react-sdk/pull/4267)
* Fall back to non-standard persisted api for Safari
[\#4272](https://github.com/matrix-org/matrix-react-sdk/pull/4272)
* Respond to backup key sharing requests
[\#4275](https://github.com/matrix-org/matrix-react-sdk/pull/4275)
* Log and display secret sharing cache state
[\#4268](https://github.com/matrix-org/matrix-react-sdk/pull/4268)
* Support sending config and ready events to capable widgets (Jitsi)
[\#4266](https://github.com/matrix-org/matrix-react-sdk/pull/4266)
* If cached keys are present in the key backup dialog, use them
[\#4273](https://github.com/matrix-org/matrix-react-sdk/pull/4273)
* Fix formatbar not hidden on highlighted message sent
[\#4265](https://github.com/matrix-org/matrix-react-sdk/pull/4265)
* Support Jitsi conferences sent/received on Riot Mobile and older Riot Webs
[\#4252](https://github.com/matrix-org/matrix-react-sdk/pull/4252)
* Use unified function to check cross-signing is ready
[\#4263](https://github.com/matrix-org/matrix-react-sdk/pull/4263)
* Migrate SSSS to symmetric
[\#4224](https://github.com/matrix-org/matrix-react-sdk/pull/4224)
* Migration to symmetric SSSS
[\#4242](https://github.com/matrix-org/matrix-react-sdk/pull/4242)
* Always display verification request toasts on top
[\#4262](https://github.com/matrix-org/matrix-react-sdk/pull/4262)
* Fix: assume SAS is supported when starting request with .start
[\#4249](https://github.com/matrix-org/matrix-react-sdk/pull/4249)
* Fix logout when Olm failed to load.
[\#4261](https://github.com/matrix-org/matrix-react-sdk/pull/4261)
* Improve naming of Jitsi conferences
[\#4251](https://github.com/matrix-org/matrix-react-sdk/pull/4251)
* Handle matrix.to user permalink in-room rather than solo
[\#4245](https://github.com/matrix-org/matrix-react-sdk/pull/4245)
* Fix: filter room list (again) by canonical and alternative aliases
[\#4260](https://github.com/matrix-org/matrix-react-sdk/pull/4260)
* EventIndex: Add some logging to the file panel populating.
[\#4250](https://github.com/matrix-org/matrix-react-sdk/pull/4250)
* Update from Weblate
[\#4259](https://github.com/matrix-org/matrix-react-sdk/pull/4259)
* Migrate RoomView to React Contexts in the hope for better temporal stability
[\#4258](https://github.com/matrix-org/matrix-react-sdk/pull/4258)
* Update WidgetUtils.js fix Jitsi path
[\#4256](https://github.com/matrix-org/matrix-react-sdk/pull/4256)
* Fix local jitsi build url fail and missing argument
[\#4255](https://github.com/matrix-org/matrix-react-sdk/pull/4255)
* Add shortcut CmdOrCtrl+. to toggle right panel
[\#4244](https://github.com/matrix-org/matrix-react-sdk/pull/4244)
* Improve Keyboard Shortcuts. Add alt-arrows & alt-shift-arrows
[\#4241](https://github.com/matrix-org/matrix-react-sdk/pull/4241)
* Bring back legacy verification by comparing public device keys
[\#4240](https://github.com/matrix-org/matrix-react-sdk/pull/4240)
* Searching: Return an empty result if the search term is an empty string.
[\#4248](https://github.com/matrix-org/matrix-react-sdk/pull/4248)
* Break continuation on showHiddenEvents-rendered events
[\#4247](https://github.com/matrix-org/matrix-react-sdk/pull/4247)
* Watch for show-RR settings changes, use room-specific and fix margins
[\#4246](https://github.com/matrix-org/matrix-react-sdk/pull/4246)
* Register Mac electron specific Cmd+, shortcut to User Settings
[\#4243](https://github.com/matrix-org/matrix-react-sdk/pull/4243)
* Use a local wrapper for Jitsi calls
[\#4234](https://github.com/matrix-org/matrix-react-sdk/pull/4234)
* Invite Dialog fixes
[\#4233](https://github.com/matrix-org/matrix-react-sdk/pull/4233)
* RoomPreviewBar word-break the sender name too
[\#4239](https://github.com/matrix-org/matrix-react-sdk/pull/4239)
* Report to the user when a key signature upload fails
[\#4229](https://github.com/matrix-org/matrix-react-sdk/pull/4229)
* pre-send megolm keys when possible when a user starts typing
[\#4235](https://github.com/matrix-org/matrix-react-sdk/pull/4235)
* we don't do mx_fadable anymore so get rid of broken RightPanel disabling
[\#4238](https://github.com/matrix-org/matrix-react-sdk/pull/4238)
* Fix left left panel overflowing vertically
[\#4237](https://github.com/matrix-org/matrix-react-sdk/pull/4237)
* Fix custom tags causing left panel to over-expand
[\#4236](https://github.com/matrix-org/matrix-react-sdk/pull/4236)
* Add Keyboard shortcuts dialog
[\#4231](https://github.com/matrix-org/matrix-react-sdk/pull/4231)
* Don't use buildkite agent to upload logs
[\#4232](https://github.com/matrix-org/matrix-react-sdk/pull/4232)
* Remove Gemini Scrollbars
[\#4217](https://github.com/matrix-org/matrix-react-sdk/pull/4217)
* Room Directory Explore Servers redesign
[\#4209](https://github.com/matrix-org/matrix-react-sdk/pull/4209)
* Fix redo keyboard shortcut on macOS
[\#4110](https://github.com/matrix-org/matrix-react-sdk/pull/4110)
* Fix: ensure local state for aliases doesn't get garbled up
[\#4230](https://github.com/matrix-org/matrix-react-sdk/pull/4230)
* Rename 'jump to bottom' to avoid ublock block
[\#4208](https://github.com/matrix-org/matrix-react-sdk/pull/4208)
* Restore key backup in background after complete security
[\#4225](https://github.com/matrix-org/matrix-react-sdk/pull/4225)
* Fix key backup trust text for cross-signing
[\#4223](https://github.com/matrix-org/matrix-react-sdk/pull/4223)
* Add default on config setting to control call button in composer
[\#4227](https://github.com/matrix-org/matrix-react-sdk/pull/4227)
* Fix: make alternative addresses UX less confusing
[\#4221](https://github.com/matrix-org/matrix-react-sdk/pull/4221)
* Wait for verification request on login
[\#4222](https://github.com/matrix-org/matrix-react-sdk/pull/4222)
* EventIndex: Add support to delete events from the index.
[\#4204](https://github.com/matrix-org/matrix-react-sdk/pull/4204)
* EventIndex: Remove a checkpoint if the HTTP request returns a 403.
[\#4214](https://github.com/matrix-org/matrix-react-sdk/pull/4214)
* Move to composer when typing letters with Shift held
[\#4216](https://github.com/matrix-org/matrix-react-sdk/pull/4216)
* Wrap large room names when previewing them
[\#4213](https://github.com/matrix-org/matrix-react-sdk/pull/4213)
* Rename Review Devices to Review Sessions
[\#4219](https://github.com/matrix-org/matrix-react-sdk/pull/4219)
* Fix typo in tabIndex to make React happy
[\#4215](https://github.com/matrix-org/matrix-react-sdk/pull/4215)
* Proof of concept for custom theme adding
[\#4148](https://github.com/matrix-org/matrix-react-sdk/pull/4148)
* Remove stuff that yarn install doesn't think we need
[\#4205](https://github.com/matrix-org/matrix-react-sdk/pull/4205)
* Declare jsx in tsconfig for IDEs
[\#4207](https://github.com/matrix-org/matrix-react-sdk/pull/4207)
* Fix: best-effort to join room without canonical alias over federation from
room directory
[\#4210](https://github.com/matrix-org/matrix-react-sdk/pull/4210)
* Test for cross-signing homeserver support during login, toasts
[\#4206](https://github.com/matrix-org/matrix-react-sdk/pull/4206)
* Send verification request to a single device in a way compatible with non-
cross-signing
[\#4202](https://github.com/matrix-org/matrix-react-sdk/pull/4202)
* Fixes for removing local alias
[\#4199](https://github.com/matrix-org/matrix-react-sdk/pull/4199)
* yarn upgrade
[\#4201](https://github.com/matrix-org/matrix-react-sdk/pull/4201)
* Support TypeScript for React components
[\#4203](https://github.com/matrix-org/matrix-react-sdk/pull/4203)
* When room name is changed, show both the old and new name
[\#4183](https://github.com/matrix-org/matrix-react-sdk/pull/4183)
Changes in [2.2.3](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v2.2.3) (2020-03-17) Changes in [2.2.3](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v2.2.3) (2020-03-17)
=================================================================================================== ===================================================================================================
[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v2.2.3-rc.1...v2.2.3) [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v2.2.3-rc.1...v2.2.3)

View file

@ -45,7 +45,7 @@ Code should be committed as follows:
* In practice, `matrix-react-sdk` is still evolving so fast that the maintenance * In practice, `matrix-react-sdk` is still evolving so fast that the maintenance
burden of customising and overriding these components for Riot can seriously burden of customising and overriding these components for Riot can seriously
impede development. So right now, there should be very few (if any) customisations for Riot. impede development. So right now, there should be very few (if any) customisations for Riot.
* CSS: https://github.com/vector-im/riot-web/tree/master/src/skins/vector/css/matrix-react-sdk * CSS: https://github.com/matrix-org/matrix-react-sdk/tree/master/res/css
* Theme specific CSS & resources: https://github.com/matrix-org/matrix-react-sdk/tree/master/res/themes * Theme specific CSS & resources: https://github.com/matrix-org/matrix-react-sdk/tree/master/res/themes
React components in matrix-react-sdk are come in two different flavours: React components in matrix-react-sdk are come in two different flavours:

View file

@ -51,6 +51,17 @@ Settings are the different options a user may set or experience in the applicati
} }
``` ```
Settings that support the config level can be set in the config file under the `settingDefaults` key (note that some settings, like the "theme" setting, are special cased in the config file):
```json
{
...
"settingDefaults": {
"settingName": true
},
...
}
```
### Getting values for a setting ### Getting values for a setting
After importing `SettingsStore`, simply make a call to `SettingsStore.getValue`. The `roomId` parameter should always After importing `SettingsStore`, simply make a call to `SettingsStore.getValue`. The `roomId` parameter should always

View file

@ -1,6 +1,6 @@
{ {
"name": "matrix-react-sdk", "name": "matrix-react-sdk",
"version": "2.2.3", "version": "2.3.1",
"description": "SDK for matrix.org using React", "description": "SDK for matrix.org using React",
"author": "matrix.org", "author": "matrix.org",
"repository": { "repository": {

View file

@ -16,6 +16,12 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
@import "./_font-sizes.scss";
:root {
font-size: 15px;
}
html { html {
/* hack to stop overscroll bounce on OSX and iOS. /* hack to stop overscroll bounce on OSX and iOS.
N.B. Breaks things when we have legitimate horizontal overscroll */ N.B. Breaks things when we have legitimate horizontal overscroll */
@ -25,7 +31,7 @@ html {
body { body {
font-family: $font-family; font-family: $font-family;
font-size: 15px; font-size: $font-15px;
background-color: $primary-bg-color; background-color: $primary-bg-color;
color: $primary-fg-color; color: $primary-fg-color;
border: 0px; border: 0px;
@ -60,7 +66,7 @@ b {
h2 { h2 {
color: $primary-fg-color; color: $primary-fg-color;
font-weight: 400; font-weight: 400;
font-size: 18px; font-size: $font-18px;
margin-top: 16px; margin-top: 16px;
margin-bottom: 16px; margin-bottom: 16px;
} }
@ -76,7 +82,7 @@ input[type=search],
input[type=password] { input[type=password] {
padding: 9px; padding: 9px;
font-family: $font-family; font-family: $font-family;
font-size: 14px; font-size: $font-14px;
font-weight: 600; font-weight: 600;
min-width: 0; min-width: 0;
} }
@ -253,7 +259,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
color: $light-fg-color; color: $light-fg-color;
z-index: 4012; z-index: 4012;
font-weight: 300; font-weight: 300;
font-size: 15px; font-size: $font-15px;
position: relative; position: relative;
padding: 25px 30px 30px 30px; padding: 25px 30px 30px 30px;
max-height: 80%; max-height: 80%;
@ -321,8 +327,8 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
} }
.mx_Dialog_title { .mx_Dialog_title {
font-size: 22px; font-size: $font-22px;
line-height: 36px; line-height: $font-36px;
color: $dialog-title-fg-color; color: $dialog-title-fg-color;
} }
@ -350,7 +356,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
.mx_Dialog_content { .mx_Dialog_content {
margin: 24px 0 68px; margin: 24px 0 68px;
font-size: 14px; font-size: $font-14px;
color: $primary-fg-color; color: $primary-fg-color;
word-wrap: break-word; word-wrap: break-word;
} }
@ -446,7 +452,7 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus {
} }
.mx_TextInputDialog_input { .mx_TextInputDialog_input {
font-size: 15px; font-size: $font-15px;
border-radius: 3px; border-radius: 3px;
border: 1px solid $input-border-color; border: 1px solid $input-border-color;
padding: 9px; padding: 9px;

View file

@ -1,5 +1,6 @@
// autogenerated by rethemendex.sh // autogenerated by rethemendex.sh
@import "./_common.scss"; @import "./_common.scss";
@import "./_font-sizes.scss";
@import "./structures/_AutoHideScrollbar.scss"; @import "./structures/_AutoHideScrollbar.scss";
@import "./structures/_CompatibilityPage.scss"; @import "./structures/_CompatibilityPage.scss";
@import "./structures/_ContextualMenu.scss"; @import "./structures/_ContextualMenu.scss";
@ -186,6 +187,7 @@
@import "./views/settings/_AvatarSetting.scss"; @import "./views/settings/_AvatarSetting.scss";
@import "./views/settings/_CrossSigningPanel.scss"; @import "./views/settings/_CrossSigningPanel.scss";
@import "./views/settings/_DevicesPanel.scss"; @import "./views/settings/_DevicesPanel.scss";
@import "./views/settings/_E2eAdvancedPanel.scss";
@import "./views/settings/_EmailAddresses.scss"; @import "./views/settings/_EmailAddresses.scss";
@import "./views/settings/_IntegrationManager.scss"; @import "./views/settings/_IntegrationManager.scss";
@import "./views/settings/_KeyBackupPanel.scss"; @import "./views/settings/_KeyBackupPanel.scss";

63
res/css/_font-sizes.scss Normal file
View file

@ -0,0 +1,63 @@
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
$font-8px: 0.533rem;
$font-9px: 0.600rem;
$font-10px: 0.667rem;
$font-10-4px: 0.693rem;
$font-11px: 0.733rem;
$font-12px: 0.800rem;
$font-13px: 0.867rem;
$font-14px: 0.933rem;
$font-15px: 1.000rem;
$font-16px: 1.067rem;
$font-17px: 1.133rem;
$font-18px: 1.200rem;
$font-19px: 1.267rem;
$font-20px: 1.333rem;
$font-21px: 1.400rem;
$font-22px: 1.467rem;
$font-23px: 1.533rem;
$font-24px: 1.600rem;
$font-25px: 1.667rem;
$font-26px: 1.733rem;
$font-27px: 1.800rem;
$font-28px: 1.867rem;
$font-29px: 1.933rem;
$font-30px: 2.000rem;
$font-31px: 2.067rem;
$font-32px: 2.133rem;
$font-33px: 2.200rem;
$font-34px: 2.267rem;
$font-35px: 2.333rem;
$font-36px: 2.400rem;
$font-37px: 2.467rem;
$font-38px: 2.533rem;
$font-39px: 2.600rem;
$font-40px: 2.667rem;
$font-41px: 2.733rem;
$font-42px: 2.800rem;
$font-43px: 2.867rem;
$font-44px: 2.933rem;
$font-45px: 3.000rem;
$font-46px: 3.067rem;
$font-47px: 3.133rem;
$font-48px: 3.200rem;
$font-49px: 3.267rem;
$font-50px: 3.333rem;
$font-51px: 3.400rem;
$font-52px: 3.467rem;
$font-400px: 26.667rem;

View file

@ -14,69 +14,16 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
/* This file has CSS for both native and non-native scrollbars in an order // make any scrollbar grey and thin
* that's fairly logical to read but duplicates a selector to separate the html {
* hiding/showing from the sizing.
*/
/* stylelint-disable no-duplicate-selectors */
/*
1. for browsers that support native overlay auto-hiding scrollbars
*/
.mx_AutoHideScrollbar {
overflow-x: hidden;
overflow-y: auto;
-ms-overflow-style: -ms-autohiding-scrollbar;
}
/*
2. webkit also supports overflow:overlay where the scrollbars don't take any space
in the layout but they don't autohide, so do that only on hover
*/
body.mx_scrollbar_overlay_noautohide .mx_AutoHideScrollbar {
overflow-y: hidden;
}
body.mx_scrollbar_overlay_noautohide .mx_AutoHideScrollbar:hover {
overflow-y: overlay;
}
/*
3. as a last fallback, compensate for the scrollbar taking up space in the layout
by having giving the child element (.mx_AutoHideScrollbar_offset) a
negative right margin of the width of the scrollbar when the container
is overflowing. This is what Firefox ends up using. Overflow is detected
in javascript, and adds the mx_AutoHideScrollbar_overflow class to the container.
This only works in Firefox, which should be fine as this fallback is only needed there.
*/
body.mx_scrollbar_nooverlay {
.mx_AutoHideScrollbar {
overflow-y: hidden;
}
.mx_AutoHideScrollbar:hover {
overflow-y: auto;
}
/*
offset scrollbar width with negative margin-right
include before and after psuedo-elements here so they can
be used to do something interesting like scroll-indicating
gradients (see IndicatorScrollBar)
*/
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow > .mx_AutoHideScrollbar_offset,
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::before,
.mx_AutoHideScrollbar:hover.mx_AutoHideScrollbar_overflow::after {
margin-right: calc(-1 * var(--scrollbar-width));
}
}
// style the native scrollbars ...
// ... standard css scrollbars (firefox at time of writing)
.mx_AutoHideScrollbar {
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color; scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
}
// scrollbar-width is not inherited (but -color is, why?!),
// so declare it on every element
* {
scrollbar-width: thin; scrollbar-width: thin;
} }
// or fallback for webkit browsers
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px; height: 6px;
@ -84,6 +31,37 @@ body.mx_scrollbar_nooverlay {
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: $scrollbar-thumb-color;
border-radius: 3px; border-radius: 3px;
background-color: $scrollbar-thumb-color;
}
// make auto-hide scrollbars not transparent again on hover
.mx_AutoHideScrollbar:hover {
scrollbar-color: $scrollbar-thumb-color $scrollbar-track-color;
&::-webkit-scrollbar {
background-color: $scrollbar-track-color;
}
&::-webkit-scrollbar-thumb {
background-color: $scrollbar-thumb-color;
}
}
// make scrollbars transparent for autohide scrollbars
.mx_AutoHideScrollbar {
overflow-x: hidden;
overflow-y: auto;
overflow-y: overlay; // where supported
-ms-overflow-style: -ms-autohiding-scrollbar;
&::-webkit-scrollbar {
background-color: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: transparent;
}
scrollbar-color: transparent transparent;
} }

View file

@ -36,7 +36,7 @@ limitations under the License.
background-color: $menu-bg-color; background-color: $menu-bg-color;
color: $primary-fg-color; color: $primary-fg-color;
position: absolute; position: absolute;
font-size: 14px; font-size: $font-14px;
z-index: 5001; z-index: 5001;
} }

View file

@ -26,7 +26,7 @@ limitations under the License.
border-radius: 3px; border-radius: 3px;
border: 1px solid $strong-input-border-color; border: 1px solid $strong-input-border-color;
font-weight: 300; font-weight: 300;
font-size: 13px; font-size: $font-13px;
padding: 9px; padding: 9px;
margin-top: 6px; margin-top: 6px;
} }

View file

@ -49,7 +49,7 @@ limitations under the License.
.mx_FilePanel .mx_EventTile .mx_MFileBody_download { .mx_FilePanel .mx_EventTile .mx_MFileBody_download {
display: flex; display: flex;
font-size: 14px; font-size: $font-14px;
color: $event-timestamp-color; color: $event-timestamp-color;
} }
@ -60,7 +60,7 @@ limitations under the License.
.mx_FilePanel .mx_EventTile .mx_MImageBody_size { .mx_FilePanel .mx_EventTile .mx_MImageBody_size {
flex: 1 0 0; flex: 1 0 0;
font-size: 11px; font-size: $font-11px;
text-align: right; text-align: right;
white-space: nowrap; white-space: nowrap;
} }
@ -80,7 +80,7 @@ limitations under the License.
flex: 1 1 auto; flex: 1 1 auto;
line-height: initial; line-height: initial;
padding: 0px; padding: 0px;
font-size: 11px; font-size: $font-11px;
opacity: 1.0; opacity: 1.0;
color: $event-timestamp-color; color: $event-timestamp-color;
} }
@ -90,7 +90,7 @@ limitations under the License.
text-align: right; text-align: right;
visibility: visible; visibility: visible;
position: initial; position: initial;
font-size: 11px; font-size: $font-11px;
opacity: 1.0; opacity: 1.0;
color: $event-timestamp-color; color: $event-timestamp-color;
} }

View file

@ -134,7 +134,7 @@ limitations under the License.
overflow: hidden; overflow: hidden;
color: $primary-fg-color; color: $primary-fg-color;
font-weight: bold; font-weight: bold;
font-size: 22px; font-size: $font-22px;
padding-left: 19px; padding-left: 19px;
padding-right: 16px; padding-right: 16px;
/* why isn't text-overflow working? */ /* why isn't text-overflow working? */
@ -148,7 +148,7 @@ limitations under the License.
max-height: 42px; max-height: 42px;
color: $settings-grey-fg-color; color: $settings-grey-fg-color;
font-weight: 300; font-weight: 300;
font-size: 13px; font-size: $font-13px;
padding-left: 19px; padding-left: 19px;
margin-right: 16px; margin-right: 16px;
overflow: hidden; overflow: hidden;
@ -196,7 +196,7 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
color: $h3-color; color: $h3-color;
font-weight: 600; font-weight: 600;
font-size: 13px; font-size: $font-13px;
margin-bottom: 10px; margin-bottom: 10px;
} }
@ -226,7 +226,7 @@ limitations under the License.
.mx_GroupView_rooms_header_addRow_label { .mx_GroupView_rooms_header_addRow_label {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
line-height: 24px; line-height: $font-24px;
padding-left: 28px; padding-left: 28px;
color: $accent-color; color: $accent-color;
} }
@ -258,7 +258,7 @@ limitations under the License.
.mx_GroupView_membershipSection_description { .mx_GroupView_membershipSection_description {
/* To match textButton */ /* To match textButton */
line-height: 34px; line-height: $font-34px;
} }
.mx_GroupView_membershipSection_description .mx_BaseAvatar { .mx_GroupView_membershipSection_description .mx_BaseAvatar {
@ -337,7 +337,7 @@ limitations under the License.
display: none; display: none;
} }
.mx_GroupView_body .mx_AutoHideScrollbar_offset > * { .mx_GroupView_body .mx_AutoHideScrollbar > * {
margin: 11px 50px 50px 68px; margin: 11px 50px 50px 68px;
} }
@ -366,7 +366,7 @@ limitations under the License.
padding: 40px 20px; padding: 40px 20px;
} }
.mx_GroupView .mx_MemberInfo .mx_AutoHideScrollbar_offset > :not(.mx_MemberInfo_avatar) { .mx_GroupView .mx_MemberInfo .mx_AutoHideScrollbar > :not(.mx_MemberInfo_avatar) {
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
} }

View file

@ -147,7 +147,7 @@ limitations under the License.
} }
.mx_AccessibleButton { .mx_AccessibleButton {
font-size: 14px; font-size: $font-14px;
margin: 4px 0 1px 9px; margin: 4px 0 1px 9px;
padding: 9px; padding: 9px;
padding-left: 42px; padding-left: 42px;

View file

@ -105,7 +105,7 @@ limitations under the License.
.mx_MyGroups_placeholder { .mx_MyGroups_placeholder {
background-color: $info-plinth-bg-color; background-color: $info-plinth-bg-color;
color: $info-plinth-fg-color; color: $info-plinth-fg-color;
line-height: 400px; line-height: $font-400px;
border-radius: 10px; border-radius: 10px;
text-align: center; text-align: center;
} }
@ -149,11 +149,11 @@ limitations under the License.
.mx_GroupTile_profile .mx_GroupTile_name { .mx_GroupTile_profile .mx_GroupTile_name {
margin: 0px; margin: 0px;
font-size: 15px; font-size: $font-15px;
} }
.mx_GroupTile_profile .mx_GroupTile_groupId { .mx_GroupTile_profile .mx_GroupTile_groupId {
font-size: 13px; font-size: $font-13px;
opacity: 0.7; opacity: 0.7;
} }
@ -161,7 +161,7 @@ limitations under the License.
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
font-size: 13px; font-size: $font-13px;
max-height: 36px; max-height: 36px;
overflow: hidden; overflow: hidden;
} }

View file

@ -39,7 +39,7 @@ limitations under the License.
.mx_NotificationPanel .mx_EventTile_roomName { .mx_NotificationPanel .mx_EventTile_roomName {
font-weight: bold; font-weight: bold;
font-size: 14px; font-size: $font-14px;
} }
.mx_NotificationPanel .mx_EventTile_roomName a { .mx_NotificationPanel .mx_EventTile_roomName a {
@ -54,7 +54,7 @@ limitations under the License.
.mx_NotificationPanel .mx_EventTile .mx_SenderProfile, .mx_NotificationPanel .mx_EventTile .mx_SenderProfile,
.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp { .mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp {
color: $primary-fg-color; color: $primary-fg-color;
font-size: 12px; font-size: $font-12px;
display: inline; display: inline;
padding-left: 0px; padding-left: 0px;
} }

View file

@ -96,7 +96,7 @@ limitations under the License.
} }
.mx_RightPanel_headerButton_badge { .mx_RightPanel_headerButton_badge {
font-size: 8px; font-size: $font-8px;
border-radius: 8px; border-radius: 8px;
color: $accent-fg-color; color: $accent-fg-color;
background-color: $accent-color; background-color: $accent-color;

View file

@ -64,7 +64,7 @@ limitations under the License.
} }
.mx_RoomDirectory_table { .mx_RoomDirectory_table {
font-size: 12px; font-size: $font-12px;
color: $primary-fg-color; color: $primary-fg-color;
width: 100%; width: 100%;
text-align: left; text-align: left;
@ -112,7 +112,7 @@ limitations under the License.
.mx_RoomDirectory_name { .mx_RoomDirectory_name {
display: inline-block; display: inline-block;
font-size: 18px; font-size: $font-18px;
font-weight: 600; font-weight: 600;
} }
@ -124,7 +124,7 @@ limitations under the License.
border-radius: 10px; border-radius: 10px;
display: inline-block; display: inline-block;
height: 20px; height: 20px;
line-height: 20px; line-height: $font-20px;
padding: 0 5px; padding: 0 5px;
color: $accent-fg-color; color: $accent-fg-color;
background-color: $rte-room-pill-color; background-color: $rte-room-pill-color;
@ -136,7 +136,7 @@ limitations under the License.
} }
.mx_RoomDirectory_alias { .mx_RoomDirectory_alias {
font-size: 12px; font-size: $font-12px;
color: $settings-grey-fg-color; color: $settings-grey-fg-color;
} }
@ -150,7 +150,7 @@ limitations under the License.
} }
.mx_RoomDirectory > span { .mx_RoomDirectory > span {
font-size: 15px; font-size: $font-15px;
margin-top: 0; margin-top: 0;
.mx_AccessibleButton { .mx_AccessibleButton {

View file

@ -32,7 +32,7 @@ limitations under the License.
.mx_RoomStatusBar_callBar { .mx_RoomStatusBar_callBar {
height: 50px; height: 50px;
line-height: 50px; line-height: $font-50px;
} }
.mx_RoomStatusBar_placeholderIndicator span { .mx_RoomStatusBar_placeholderIndicator span {
@ -94,7 +94,7 @@ limitations under the License.
border-radius: 40px; border-radius: 40px;
width: 24px; width: 24px;
height: 24px; height: 24px;
line-height: 24px; line-height: $font-24px;
font-size: 0.8em; font-size: 0.8em;
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
@ -132,7 +132,7 @@ limitations under the License.
.mx_RoomStatusBar_connectionLostBar_desc { .mx_RoomStatusBar_connectionLostBar_desc {
color: $primary-fg-color; color: $primary-fg-color;
font-size: 13px; font-size: $font-13px;
opacity: 0.5; opacity: 0.5;
padding-bottom: 20px; padding-bottom: 20px;
} }
@ -145,7 +145,7 @@ limitations under the License.
.mx_RoomStatusBar_typingBar { .mx_RoomStatusBar_typingBar {
height: 50px; height: 50px;
line-height: 50px; line-height: $font-50px;
color: $primary-fg-color; color: $primary-fg-color;
opacity: 0.5; opacity: 0.5;
@ -155,7 +155,7 @@ limitations under the License.
.mx_RoomStatusBar_isAlone { .mx_RoomStatusBar_isAlone {
height: 50px; height: 50px;
line-height: 50px; line-height: $font-50px;
color: $primary-fg-color; color: $primary-fg-color;
opacity: 0.5; opacity: 0.5;
@ -174,11 +174,11 @@ limitations under the License.
.mx_RoomStatusBar_callBar { .mx_RoomStatusBar_callBar {
height: 40px; height: 40px;
line-height: 40px; line-height: $font-40px;
} }
.mx_RoomStatusBar_typingBar { .mx_RoomStatusBar_typingBar {
height: 40px; height: 40px;
line-height: 40px; line-height: $font-40px;
} }
} }

View file

@ -68,7 +68,7 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
color: $roomsublist-label-fg-color; color: $roomsublist-label-fg-color;
font-weight: 700; font-weight: 700;
font-size: 12px; font-size: $font-12px;
margin-left: 8px; margin-left: 8px;
} }
@ -76,7 +76,7 @@ limitations under the License.
flex: 0 0 auto; flex: 0 0 auto;
border-radius: 8px; border-radius: 8px;
font-weight: 600; font-weight: 600;
font-size: 12px; font-size: $font-12px;
padding: 0 5px; padding: 0 5px;
color: $roomtile-badge-fg-color; color: $roomtile-badge-fg-color;
background-color: $roomtile-name-color; background-color: $roomtile-name-color;
@ -166,41 +166,22 @@ limitations under the License.
// overflow indicators // overflow indicators
.mx_RoomSubList:not(.resized-all) > .mx_RoomSubList_scroll { .mx_RoomSubList:not(.resized-all) > .mx_RoomSubList_scroll {
&.mx_IndicatorScrollbar_topOverflow::before, &.mx_IndicatorScrollbar_topOverflow::before {
&.mx_IndicatorScrollbar_bottomOverflow::after {
position: sticky; position: sticky;
content: "";
top: 0;
left: 0; left: 0;
right: 0; right: 0;
height: 8px; height: 8px;
content: "";
display: block;
z-index: 100; z-index: 100;
display: block;
pointer-events: none; pointer-events: none;
}
&.mx_IndicatorScrollbar_topOverflow > .mx_AutoHideScrollbar_offset {
margin-top: -8px;
}
&.mx_IndicatorScrollbar_bottomOverflow > .mx_AutoHideScrollbar_offset {
margin-bottom: -8px;
}
&.mx_IndicatorScrollbar_topOverflow::before {
top: 0;
transition: background-image 0.1s ease-in; transition: background-image 0.1s ease-in;
background: linear-gradient(to top, $panel-gradient); background: linear-gradient(to top, $panel-gradient);
} }
/*
// for now, we remove the bottomOverflow entirely as we don't want to &.mx_IndicatorScrollbar_topOverflow {
// lose the screen real-estate due to a bg-colored gradient, but we also margin-top: -8px;
// don't want to use drop shadows and risk a confusing hierarchy of cards.
// so, instead, we hard-clip at the bottom but soft-clip at the top.
&.mx_IndicatorScrollbar_bottomOverflow::after {
bottom: 0;
transition: background-image 0.1s ease-in;
margin: 0px -8px;
background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.0));
} }
*/
} }

View file

@ -23,7 +23,7 @@ limitations under the License.
.mx_RoomView_fileDropTarget { .mx_RoomView_fileDropTarget {
min-width: 0px; min-width: 0px;
width: 100%; width: 100%;
font-size: 18px; font-size: $font-18px;
text-align: center; text-align: center;
pointer-events: none; pointer-events: none;
@ -186,7 +186,7 @@ limitations under the License.
.mx_RoomView_empty { .mx_RoomView_empty {
flex: 1 1 auto; flex: 1 1 auto;
font-size: 13px; font-size: $font-13px;
padding-left: 3em; padding-left: 3em;
padding-right: 3em; padding-right: 3em;
margin-right: 20px; margin-right: 20px;

View file

@ -39,7 +39,7 @@ limitations under the License.
cursor: pointer; cursor: pointer;
display: block; display: block;
border-radius: 3px; border-radius: 3px;
font-size: 14px; font-size: $font-14px;
min-height: 24px; // use min-height instead of height to allow the label to overflow a bit min-height: 24px; // use min-height instead of height to allow the label to overflow a bit
margin-bottom: 6px; margin-bottom: 6px;
position: relative; position: relative;

View file

@ -137,9 +137,9 @@ limitations under the License.
top: -8px; top: -8px;
border-radius: 8px; border-radius: 8px;
background-color: $neutral-badge-color; background-color: $neutral-badge-color;
color: #ffffff; color: #000;
font-weight: 600; font-weight: 600;
font-size: 10px; font-size: $font-10px;
text-align: center; text-align: center;
padding-top: 1px; padding-top: 1px;
padding-left: 4px; padding-left: 4px;
@ -157,7 +157,7 @@ limitations under the License.
border-radius: 8px; border-radius: 8px;
color: $accent-fg-color; color: $accent-fg-color;
font-weight: 600; font-weight: 600;
font-size: 14px; font-size: $font-14px;
padding: 0 5px; padding: 0 5px;
background-color: $roomtile-name-color; background-color: $roomtile-name-color;
} }

View file

@ -77,7 +77,7 @@ limitations under the License.
grid-column: 1 / 3; grid-column: 1 / 3;
grid-row: 1; grid-row: 1;
margin: 0; margin: 0;
font-size: 15px; font-size: $font-15px;
font-weight: 600; font-weight: 600;
} }
@ -96,11 +96,11 @@ limitations under the License.
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
margin: 4px 0 11px 0; margin: 4px 0 11px 0;
font-size: 12px; font-size: $font-12px;
} }
.mx_Toast_deviceID { .mx_Toast_deviceID {
font-size: 10px; font-size: $font-10px;
} }
} }
} }

View file

@ -32,7 +32,7 @@ limitations under the License.
.mx_TopLeftMenuButton_name { .mx_TopLeftMenuButton_name {
margin: 0 7px; margin: 0 7px;
font-size: 18px; font-size: $font-18px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;

View file

@ -29,7 +29,7 @@ limitations under the License.
.mx_ViewSource pre { .mx_ViewSource pre {
text-align: left; text-align: left;
font-size: 12px; font-size: $font-12px;
padding: 0.5em 1em 0.5em 1em; padding: 0.5em 1em 0.5em 1em;
word-wrap: break-word; word-wrap: break-word;
white-space: pre-wrap; white-space: pre-wrap;

View file

@ -34,7 +34,7 @@ limitations under the License.
} }
.mx_CompleteSecurity_body { .mx_CompleteSecurity_body {
font-size: 15px; font-size: $font-15px;
} }
.mx_CompleteSecurity_waiting { .mx_CompleteSecurity_waiting {

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_AuthBody { .mx_AuthBody {
width: 500px; width: 500px;
font-size: 12px; font-size: $font-12px;
color: $authpage-secondary-color; color: $authpage-secondary-color;
background-color: $authpage-body-bg-color; background-color: $authpage-body-bg-color;
border-radius: 0 4px 4px 0; border-radius: 0 4px 4px 0;
@ -25,14 +25,14 @@ limitations under the License.
box-sizing: border-box; box-sizing: border-box;
h2 { h2 {
font-size: 24px; font-size: $font-24px;
font-weight: 600; font-weight: 600;
margin-top: 8px; margin-top: 8px;
color: $authpage-primary-color; color: $authpage-primary-color;
} }
h3 { h3 {
font-size: 14px; font-size: $font-14px;
font-weight: 600; font-weight: 600;
color: $authpage-primary-color; color: $authpage-primary-color;
} }
@ -98,7 +98,7 @@ limitations under the License.
.mx_AuthBody_editServerDetails { .mx_AuthBody_editServerDetails {
padding-left: 1em; padding-left: 1em;
font-size: 12px; font-size: $font-12px;
font-weight: normal; font-weight: normal;
} }

View file

@ -43,7 +43,7 @@ limitations under the License.
cursor: pointer; cursor: pointer;
font-size: 15px; font-size: $font-15px;
padding: 0 11px; padding: 0 11px;
word-break: break-word; word-break: break-word;
} }

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_AuthFooter { .mx_AuthFooter {
text-align: center; text-align: center;
width: 100%; width: 100%;
font-size: 14px; font-size: $font-14px;
opacity: 0.72; opacity: 0.72;
padding: 20px 0; padding: 20px 0;
background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)); background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));

View file

@ -24,13 +24,13 @@ limitations under the License.
box-sizing: border-box; box-sizing: border-box;
h2 { h2 {
font-size: 24px; font-size: $font-24px;
font-weight: 600; font-weight: 600;
margin-top: 0; margin-top: 0;
} }
h3 { h3 {
font-size: 14px; font-size: $font-14px;
font-weight: 600; font-weight: 600;
} }

View file

@ -60,3 +60,14 @@ limitations under the License.
.mx_InteractiveAuthEntryComponents_passwordSection { .mx_InteractiveAuthEntryComponents_passwordSection {
width: 300px; width: 300px;
} }
.mx_InteractiveAuthEntryComponents_sso_buttons {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-top: 20px;
.mx_AccessibleButton {
margin-left: 5px;
}
}

View file

@ -20,7 +20,7 @@ limitations under the License.
.mx_AuthBody_language .mx_Dropdown_input { .mx_AuthBody_language .mx_Dropdown_input {
border: none; border: none;
font-size: 14px; font-size: $font-14px;
font-weight: 600; font-weight: 600;
color: $authpage-lang-color; color: $authpage-lang-color;
} }

View file

@ -65,5 +65,5 @@ limitations under the License.
} }
.mx_ServerTypeSelector_description { .mx_ServerTypeSelector_description {
font-size: 10px; font-size: $font-10px;
} }

View file

@ -38,7 +38,7 @@ limitations under the License.
white-space: nowrap; white-space: nowrap;
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 16px; line-height: $font-16px;
} }
.mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet { .mx_RoomTileContextMenu_tag_field.mx_RoomTileContextMenu_tag_fieldSet {

View file

@ -44,7 +44,7 @@ input.mx_StatusMessageContextMenu_message {
.mx_StatusMessageContextMenu_clear { .mx_StatusMessageContextMenu_clear {
@mixin mx_DialogButton; @mixin mx_DialogButton;
align-self: start; align-self: start;
font-size: 12px; font-size: $font-12px;
padding: 6px 1em; padding: 6px 1em;
border: 1px solid transparent; border: 1px solid transparent;
margin-right: 10px; margin-right: 10px;

View file

@ -22,7 +22,7 @@ limitations under the License.
white-space: nowrap; white-space: nowrap;
display: flex; display: flex;
align-items: center; align-items: center;
line-height: 16px; line-height: $font-16px;
} }
.mx_TagTileContextMenu_item object { .mx_TagTileContextMenu_item object {

View file

@ -19,12 +19,12 @@ limitations under the License.
border-radius: 4px; border-radius: 4px;
.mx_TopLeftMenu_greyedText { .mx_TopLeftMenu_greyedText {
font-size: 12px; font-size: $font-12px;
opacity: 0.5; opacity: 0.5;
} }
.mx_TopLeftMenu_upgradeLink { .mx_TopLeftMenu_upgradeLink {
font-size: 12px; font-size: $font-12px;
img { img {
margin-left: 5px; margin-left: 5px;

View file

@ -28,7 +28,7 @@ limitations under the License.
.mx_AddressPickerDialog_input, .mx_AddressPickerDialog_input,
.mx_AddressPickerDialog_input:focus { .mx_AddressPickerDialog_input:focus {
height: 26px; height: 26px;
font-size: 14px; font-size: $font-14px;
font-family: $font-family; font-family: $font-family;
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
@ -50,7 +50,7 @@ limitations under the License.
.mx_AddressPickerDialog_inputContainer { .mx_AddressPickerDialog_inputContainer {
border-radius: 3px; border-radius: 3px;
border: solid 1px $input-border-color; border: solid 1px $input-border-color;
line-height: 36px; line-height: $font-36px;
padding-left: 4px; padding-left: 4px;
padding-right: 4px; padding-right: 4px;
padding-top: 1px; padding-top: 1px;

View file

@ -26,22 +26,22 @@ limitations under the License.
} }
.mx_ConfirmUserActionDialog_name { .mx_ConfirmUserActionDialog_name {
font-size: 18px; font-size: $font-18px;
} }
.mx_ConfirmUserActionDialog_userId { .mx_ConfirmUserActionDialog_userId {
font-size: 13px; font-size: $font-13px;
} }
.mx_ConfirmUserActionDialog_reasonField { .mx_ConfirmUserActionDialog_reasonField {
font-family: $font-family; font-family: $font-family;
font-size: 14px; font-size: $font-14px;
color: $primary-fg-color; color: $primary-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
border-radius: 3px; border-radius: 3px;
border: solid 1px $input-border-color; border: solid 1px $input-border-color;
line-height: 36px; line-height: $font-36px;
padding-left: 16px; padding-left: 16px;
padding-right: 16px; padding-right: 16px;
padding-top: 1px; padding-top: 1px;

View file

@ -25,7 +25,7 @@ limitations under the License.
} }
.mx_CreateGroupDialog_input { .mx_CreateGroupDialog_input {
font-size: 15px; font-size: $font-15px;
border-radius: 3px; border-radius: 3px;
border: 1px solid $input-border-color; border: 1px solid $input-border-color;
padding: 9px; padding: 9px;
@ -44,7 +44,7 @@ limitations under the License.
.mx_CreateGroupDialog_prefix, .mx_CreateGroupDialog_prefix,
.mx_CreateGroupDialog_suffix { .mx_CreateGroupDialog_suffix {
padding: 0px 5px; padding: 0px 5px;
line-height: 37px; line-height: $font-37px;
background-color: $input-darker-bg-color; background-color: $input-darker-bg-color;
border: 1px solid $input-border-color; border: 1px solid $input-border-color;
text-align: center; text-align: center;

View file

@ -49,7 +49,7 @@ limitations under the License.
} }
.mx_CreateRoomDialog_input { .mx_CreateRoomDialog_input {
font-size: 15px; font-size: $font-15px;
border-radius: 3px; border-radius: 3px;
border: 1px solid $input-border-color; border: 1px solid $input-border-color;
padding: 9px; padding: 9px;

View file

@ -68,11 +68,11 @@ limitations under the License.
width: 240px; width: 240px;
color: $input-fg-color; color: $input-fg-color;
font-family: $font-family; font-family: $font-family;
font-size: 16px; font-size: $font-16px;
} }
.mx_DevTools_textarea { .mx_DevTools_textarea {
font-size: 12px; font-size: $font-12px;
max-width: 684px; max-width: 684px;
min-height: 250px; min-height: 250px;
padding: 10px; padding: 10px;

View file

@ -40,8 +40,8 @@ limitations under the License.
textarea, textarea,
textarea:focus { textarea:focus {
height: 34px; height: 34px;
line-height: 34px; line-height: $font-34px;
font-size: 14px; font-size: $font-14px;
padding-left: 12px; padding-left: 12px;
margin: 0 !important; margin: 0 !important;
border: 0 !important; border: 0 !important;
@ -65,7 +65,7 @@ limitations under the License.
min-width: 48px; min-width: 48px;
margin-left: 10px; margin-left: 10px;
height: 25px; height: 25px;
line-height: 25px; line-height: $font-25px;
} }
.mx_InviteDialog_buttonAndSpinner { .mx_InviteDialog_buttonAndSpinner {
@ -84,7 +84,7 @@ limitations under the License.
padding-bottom: 10px; padding-bottom: 10px;
h3 { h3 {
font-size: 12px; font-size: $font-12px;
color: $muted-fg-color; color: $muted-fg-color;
font-weight: bold; font-weight: bold;
text-transform: uppercase; text-transform: uppercase;
@ -143,23 +143,23 @@ limitations under the License.
.mx_InviteDialog_roomTile_name { .mx_InviteDialog_roomTile_name {
font-weight: 600; font-weight: 600;
font-size: 14px; font-size: $font-14px;
color: $primary-fg-color; color: $primary-fg-color;
margin-left: 7px; margin-left: 7px;
} }
.mx_InviteDialog_roomTile_userId { .mx_InviteDialog_roomTile_userId {
font-size: 12px; font-size: $font-12px;
color: $muted-fg-color; color: $muted-fg-color;
margin-left: 7px; margin-left: 7px;
} }
.mx_InviteDialog_roomTile_time { .mx_InviteDialog_roomTile_time {
text-align: right; text-align: right;
font-size: 12px; font-size: $font-12px;
color: $muted-fg-color; color: $muted-fg-color;
float: right; float: right;
line-height: 36px; // Height of the avatar to keep the time vertically aligned line-height: $font-36px; // Height of the avatar to keep the time vertically aligned
} }
.mx_InviteDialog_roomTile_highlight { .mx_InviteDialog_roomTile_highlight {
@ -176,7 +176,7 @@ limitations under the License.
border-radius: 12px; border-radius: 12px;
display: inline-block; display: inline-block;
height: 24px; height: 24px;
line-height: 24px; line-height: $font-24px;
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
color: #ffffff; // this is fine without a var because it's for both themes color: #ffffff; // this is fine without a var because it's for both themes

View file

@ -35,7 +35,7 @@ limitations under the License.
.mx_MessageEditHistoryDialog_edits { .mx_MessageEditHistoryDialog_edits {
list-style-type: none; list-style-type: none;
font-size: 14px; font-size: $font-14px;
padding: 0; padding: 0;
color: $primary-fg-color; color: $primary-fg-color;
@ -60,7 +60,7 @@ limitations under the License.
} }
.mx_MessageActionBar .mx_AccessibleButton { .mx_MessageActionBar .mx_AccessibleButton {
font-size: 10px; font-size: $font-10px;
padding: 0 8px; padding: 0 8px;
} }
} }

View file

@ -32,6 +32,6 @@ limitations under the License.
} }
.mx_NewSessionReviewDialog_deviceID { .mx_NewSessionReviewDialog_deviceID {
font-size: 12px; font-size: $font-12px;
color: $notice-secondary-color; color: $notice-secondary-color;
} }

View file

@ -29,6 +29,10 @@ limitations under the License.
mask-image: url('$(res)/img/feather-customised/users-sm.svg'); mask-image: url('$(res)/img/feather-customised/users-sm.svg');
} }
.mx_RoomSettingsDialog_notificationsIcon::before {
mask-image: url('$(res)/img/feather-customised/notifications.svg');
}
.mx_RoomSettingsDialog_bridgesIcon::before { .mx_RoomSettingsDialog_bridgesIcon::before {
// This icon is pants, please improve :) // This icon is pants, please improve :)
mask-image: url('$(res)/img/feather-customised/bridge.svg'); mask-image: url('$(res)/img/feather-customised/bridge.svg');

View file

@ -20,7 +20,7 @@ limitations under the License.
padding: 9px; padding: 9px;
color: $input-fg-color; color: $input-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 15px; font-size: $font-15px;
width: 100%; width: 100%;
max-width: 280px; max-width: 280px;
margin-bottom: 10px; margin-bottom: 10px;

View file

@ -29,7 +29,7 @@ limitations under the License.
padding: 9px; padding: 9px;
color: $primary-fg-color; color: $primary-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 15px; font-size: $font-15px;
width: 100%; width: 100%;
max-width: 280px; max-width: 280px;
} }

View file

@ -20,7 +20,7 @@ limitations under the License.
padding: 9px; padding: 9px;
color: $primary-fg-color; color: $primary-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 15px; font-size: $font-15px;
max-width: 280px; max-width: 280px;
margin-bottom: 10px; margin-bottom: 10px;
} }

View file

@ -31,7 +31,7 @@ limitations under the License.
} }
.mx_TermsDialog_termsTable { .mx_TermsDialog_termsTable {
font-size: 12px; font-size: $font-12px;
width: 100%; width: 100%;
} }

View file

@ -27,7 +27,7 @@ limitations under the License.
// userid // userid
.mx_UnknownDeviceDialog p { .mx_UnknownDeviceDialog p {
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: $font-16px;
} }
.mx_UnknownDeviceDialog .mx_DeviceVerifyButtons { .mx_UnknownDeviceDialog .mx_DeviceVerifyButtons {

View file

@ -47,9 +47,9 @@ limitations under the License.
.mx_NetworkDropdown_server_title { .mx_NetworkDropdown_server_title {
padding: 0 10px; padding: 0 10px;
font-size: 15px; font-size: $font-15px;
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: $font-20px;
margin-bottom: 4px; margin-bottom: 4px;
// remove server button // remove server button
@ -77,16 +77,16 @@ limitations under the License.
.mx_NetworkDropdown_server_subtitle { .mx_NetworkDropdown_server_subtitle {
padding: 0 10px; padding: 0 10px;
font-size: 10px; font-size: $font-10px;
line-height: 14px; line-height: $font-14px;
margin-top: -4px; margin-top: -4px;
margin-bottom: 4px; margin-bottom: 4px;
color: $muted-fg-color; color: $muted-fg-color;
} }
.mx_NetworkDropdown_server_network { .mx_NetworkDropdown_server_network {
font-size: 12px; font-size: $font-12px;
line-height: 16px; line-height: $font-16px;
padding: 4px 10px; padding: 4px 10px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
@ -154,7 +154,7 @@ limitations under the License.
.mx_NetworkDropdown_handle_server { .mx_NetworkDropdown_handle_server {
color: $muted-fg-color; color: $muted-fg-color;
font-size: 12px; font-size: $font-12px;
} }
} }

View file

@ -27,7 +27,7 @@ limitations under the License.
text-align: center; text-align: center;
border-radius: 4px; border-radius: 4px;
display: inline-block; display: inline-block;
font-size: 14px; font-size: $font-14px;
} }
.mx_AccessibleButton_kind_primary { .mx_AccessibleButton_kind_primary {
@ -36,12 +36,20 @@ limitations under the License.
font-weight: 600; font-weight: 600;
} }
.mx_AccessibleButton_kind_primary_outline {
color: $button-primary-bg-color;
background-color: $button-secondary-bg-color;
border: 1px solid $button-primary-bg-color;
font-weight: 600;
}
.mx_AccessibleButton_kind_secondary { .mx_AccessibleButton_kind_secondary {
color: $accent-color; color: $accent-color;
font-weight: 600; font-weight: 600;
} }
.mx_AccessibleButton_kind_primary.mx_AccessibleButton_disabled { .mx_AccessibleButton_kind_primary.mx_AccessibleButton_disabled,
.mx_AccessibleButton_kind_primary_outline.mx_AccessibleButton_disabled {
opacity: 0.4; opacity: 0.4;
} }
@ -60,7 +68,14 @@ limitations under the License.
background-color: $button-danger-bg-color; background-color: $button-danger-bg-color;
} }
.mx_AccessibleButton_kind_danger.mx_AccessibleButton_disabled { .mx_AccessibleButton_kind_danger_outline {
color: $button-danger-bg-color;
background-color: $button-secondary-bg-color;
border: 1px solid $button-danger-bg-color;
}
.mx_AccessibleButton_kind_danger.mx_AccessibleButton_disabled,
.mx_AccessibleButton_kind_danger_outline.mx_AccessibleButton_disabled {
color: $button-danger-disabled-fg-color; color: $button-danger-disabled-fg-color;
background-color: $button-danger-disabled-bg-color; background-color: $button-danger-disabled-bg-color;
} }

View file

@ -19,9 +19,9 @@ limitations under the License.
border-radius: 3px; border-radius: 3px;
background-color: rgba(74, 73, 74, 0.1); background-color: rgba(74, 73, 74, 0.1);
border: solid 1px $input-border-color; border: solid 1px $input-border-color;
line-height: 26px; line-height: $font-26px;
color: $primary-fg-color; color: $primary-fg-color;
font-size: 14px; font-size: $font-14px;
font-weight: normal; font-weight: normal;
margin-right: 4px; margin-right: 4px;
} }

View file

@ -32,7 +32,7 @@ limitations under the License.
background-repeat: no-repeat; background-repeat: no-repeat;
text-indent: 18px; text-indent: 18px;
font-weight: 600; font-weight: 600;
font-size: 12px; font-size: $font-12px;
user-select: none; user-select: none;
cursor: pointer; cursor: pointer;
} }

View file

@ -29,7 +29,7 @@ limitations under the License.
position: relative; position: relative;
border-radius: 3px; border-radius: 3px;
border: 1px solid $strong-input-border-color; border: 1px solid $strong-input-border-color;
font-size: 12px; font-size: $font-12px;
user-select: none; user-select: none;
} }
@ -53,7 +53,7 @@ limitations under the License.
.mx_Dropdown_option { .mx_Dropdown_option {
height: 35px; height: 35px;
line-height: 35px; line-height: $font-35px;
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }

View file

@ -19,7 +19,7 @@ limitations under the License.
} }
.mx_TextualEvent.mx_EventListSummary_summary { .mx_TextualEvent.mx_EventListSummary_summary {
font-size: 14px; font-size: $font-14px;
display: inline-flex; display: inline-flex;
} }
@ -27,7 +27,7 @@ limitations under the License.
display: inline-block; display: inline-block;
margin-right: 8px; margin-right: 8px;
padding-top: 8px; padding-top: 8px;
line-height: 12px; line-height: $font-12px;
} }
.mx_EventListSummary_avatars .mx_BaseAvatar { .mx_EventListSummary_avatars .mx_BaseAvatar {
@ -46,19 +46,19 @@ limitations under the License.
.mx_EventListSummary_line { .mx_EventListSummary_line {
border-bottom: 1px solid $primary-hairline-color; border-bottom: 1px solid $primary-hairline-color;
margin-left: 63px; margin-left: 63px;
line-height: 30px; line-height: $font-30px;
} }
.mx_MatrixChat_useCompactLayout { .mx_MatrixChat_useCompactLayout {
.mx_EventListSummary { .mx_EventListSummary {
font-size: 13px; font-size: $font-13px;
.mx_EventTile_line { .mx_EventTile_line {
line-height: 20px; line-height: $font-20px;
} }
} }
.mx_EventListSummary_line { .mx_EventListSummary_line {
line-height: 22px; line-height: $font-22px;
} }
.mx_EventListSummary_toggle { .mx_EventListSummary_toggle {
@ -66,6 +66,6 @@ limitations under the License.
} }
.mx_TextualEvent.mx_EventListSummary_summary { .mx_TextualEvent.mx_EventListSummary_summary {
font-size: 13px; font-size: $font-13px;
} }
} }

View file

@ -40,7 +40,7 @@ limitations under the License.
.mx_Field textarea { .mx_Field textarea {
font-weight: normal; font-weight: normal;
font-family: $font-family; font-family: $font-family;
font-size: 14px; font-size: $font-14px;
border: none; border: none;
// Even without a border here, we still need this avoid overlapping the rounded // Even without a border here, we still need this avoid overlapping the rounded
// corners on the field above. // corners on the field above.
@ -102,7 +102,7 @@ limitations under the License.
background-color 0.25s ease-out 0.1s; background-color 0.25s ease-out 0.1s;
color: $primary-fg-color; color: $primary-fg-color;
background-color: transparent; background-color: transparent;
font-size: 14px; font-size: $font-14px;
position: absolute; position: absolute;
left: 0px; left: 0px;
top: 0px; top: 0px;
@ -126,7 +126,7 @@ limitations under the License.
color 0.25s ease-out 0s, color 0.25s ease-out 0s,
top 0.25s ease-out 0s, top 0.25s ease-out 0s,
background-color 0.25s ease-out 0s; background-color 0.25s ease-out 0s;
font-size: 10px; font-size: $font-10px;
top: -13px; top: -13px;
padding: 0 2px; padding: 0 2px;
background-color: $field-focused-label-bg-color; background-color: $field-focused-label-bg-color;

View file

@ -15,9 +15,9 @@ limitations under the License.
*/ */
.mx_FormButton { .mx_FormButton {
line-height: 16px; line-height: $font-16px;
padding: 5px 15px; padding: 5px 15px;
font-size: 12px; font-size: $font-12px;
height: min-content; height: min-content;
&:not(:last-child) { &:not(:last-child) {

View file

@ -102,13 +102,13 @@ limitations under the License.
} }
.mx_ImageView_name { .mx_ImageView_name {
font-size: 18px; font-size: $font-18px;
margin-bottom: 6px; margin-bottom: 6px;
word-wrap: break-word; word-wrap: break-word;
} }
.mx_ImageView_metadata { .mx_ImageView_metadata {
font-size: 15px; font-size: $font-15px;
opacity: 0.5; opacity: 0.5;
} }
@ -118,13 +118,13 @@ limitations under the License.
margin-bottom: 6px; margin-bottom: 6px;
border-radius: 5px; border-radius: 5px;
background-color: $lightbox-bg-color; background-color: $lightbox-bg-color;
font-size: 14px; font-size: $font-14px;
padding: 9px; padding: 9px;
border: 1px solid $lightbox-border-color; border: 1px solid $lightbox-border-color;
} }
.mx_ImageView_size { .mx_ImageView_size {
font-size: 11px; font-size: $font-11px;
} }
.mx_ImageView_link { .mx_ImageView_link {
@ -133,7 +133,7 @@ limitations under the License.
} }
.mx_ImageView_button { .mx_ImageView_button {
font-size: 15px; font-size: $font-15px;
opacity: 0.5; opacity: 0.5;
margin-top: 18px; margin-top: 18px;
cursor: pointer; cursor: pointer;

View file

@ -24,7 +24,7 @@ limitations under the License.
background-color: $interactive-tooltip-bg-color; background-color: $interactive-tooltip-bg-color;
color: $interactive-tooltip-fg-color; color: $interactive-tooltip-fg-color;
position: absolute; position: absolute;
font-size: 10px; font-size: $font-10px;
font-weight: 600; font-weight: 600;
padding: 6px; padding: 6px;
z-index: 5001; z-index: 5001;

View file

@ -9,7 +9,7 @@
border-radius: 16px; border-radius: 16px;
display: inline-block; display: inline-block;
height: 20px; height: 20px;
line-height: 20px; line-height: $font-20px;
padding-left: 5px; padding-left: 5px;
} }

View file

@ -58,8 +58,8 @@ limitations under the License.
z-index: 4000; // Higher than dialogs so tooltips can be used in dialogs z-index: 4000; // Higher than dialogs so tooltips can be used in dialogs
padding: 10px; padding: 10px;
pointer-events: none; pointer-events: none;
line-height: 14px; line-height: $font-14px;
font-size: 12px; font-size: $font-12px;
font-weight: 600; font-weight: 600;
color: $primary-fg-color; color: $primary-fg-color;
max-width: 200px; max-width: 200px;
@ -82,7 +82,7 @@ limitations under the License.
text-align: center; text-align: center;
border: none; border: none;
border-radius: 3px; border-radius: 3px;
font-size: 14px; font-size: $font-14px;
line-height: 1.2; line-height: 1.2;
padding: 6px 8px; padding: 6px 8px;

View file

@ -28,7 +28,7 @@ limitations under the License.
transition: opacity 0.2s ease-in; transition: opacity 0.2s ease-in;
opacity: 0.6; opacity: 0.6;
line-height: 11px; line-height: $font-11px;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;

View file

@ -163,7 +163,7 @@ limitations under the License.
.mx_EmojiPicker_item { .mx_EmojiPicker_item {
display: inline-block; display: inline-block;
font-size: 20px; font-size: $font-20px;
padding: 5px; padding: 5px;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -183,7 +183,7 @@ limitations under the License.
} }
.mx_EmojiPicker_category_label, .mx_EmojiPicker_preview_name { .mx_EmojiPicker_category_label, .mx_EmojiPicker_preview_name {
font-size: 16px; font-size: $font-16px;
font-weight: 600; font-weight: 600;
margin: 0; margin: 0;
} }
@ -197,7 +197,7 @@ limitations under the License.
} }
.mx_EmojiPicker_preview_emoji { .mx_EmojiPicker_preview_emoji {
font-size: 32px; font-size: $font-32px;
padding: 8px 16px; padding: 8px 16px;
} }
@ -212,7 +212,7 @@ limitations under the License.
.mx_EmojiPicker_shortcode { .mx_EmojiPicker_shortcode {
color: $light-fg-color; color: $light-fg-color;
font-size: 14px; font-size: $font-14px;
&::before, &::after { &::before, &::after {
content: ":"; content: ":";

View file

@ -19,7 +19,7 @@ limitations under the License.
margin: 4px 0; margin: 4px 0;
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 14px; font-size: $font-14px;
color: $roomtopic-color; color: $roomtopic-color;
} }

View file

@ -21,7 +21,7 @@ limitations under the License.
cursor: pointer; cursor: pointer;
display: flex; display: flex;
height: 24px; height: 24px;
line-height: 24px; line-height: $font-24px;
border-radius: 4px; border-radius: 4px;
background: $message-action-bar-bg-color; background: $message-action-bar-bg-color;
top: -18px; top: -18px;

View file

@ -16,5 +16,5 @@ limitations under the License.
.mx_MessageTimestamp { .mx_MessageTimestamp {
color: $event-timestamp-color; color: $event-timestamp-color;
font-size: 10px; font-size: $font-10px;
} }

View file

@ -21,7 +21,7 @@ limitations under the License.
.mx_ReactionsRow_showAll { .mx_ReactionsRow_showAll {
text-decoration: none; text-decoration: none;
font-size: 10px; font-size: $font-10px;
font-weight: 600; font-weight: 600;
margin-left: 6px; margin-left: 6px;
vertical-align: top; vertical-align: top;

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_ReactionsRowButton { .mx_ReactionsRowButton {
display: inline-flex; display: inline-flex;
height: 20px; height: 20px;
line-height: 21px; line-height: $font-21px;
margin-right: 6px; margin-right: 6px;
padding: 0 6px; padding: 0 6px;
border: 1px solid $reaction-row-button-border-color; border: 1px solid $reaction-row-button-border-color;

View file

@ -17,7 +17,7 @@ limitations under the License.
.mx_EventTile_content.mx_ViewSourceEvent { .mx_EventTile_content.mx_ViewSourceEvent {
display: flex; display: flex;
opacity: 0.6; opacity: 0.6;
font-size: 12px; font-size: $font-12px;
pre, code { pre, code {
flex: 1; flex: 1;

View file

@ -45,7 +45,7 @@ limitations under the License.
.mx_cryptoEvent_title { .mx_cryptoEvent_title {
font-weight: 600; font-weight: 600;
font-size: 15px; font-size: $font-15px;
grid-column: 2; grid-column: 2;
grid-row: 1; grid-row: 1;
} }
@ -56,7 +56,7 @@ limitations under the License.
} }
.mx_cryptoEvent_state, .mx_cryptoEvent_subtitle { .mx_cryptoEvent_state, .mx_cryptoEvent_subtitle {
font-size: 12px; font-size: $font-12px;
} }
.mx_cryptoEvent_state, .mx_cryptoEvent_buttons { .mx_cryptoEvent_state, .mx_cryptoEvent_buttons {

View file

@ -20,7 +20,7 @@ limitations under the License.
flex-direction: column; flex-direction: column;
flex: 1; flex: 1;
overflow-y: auto; overflow-y: auto;
font-size: 12px; font-size: $font-12px;
.mx_UserInfo_cancel { .mx_UserInfo_cancel {
cursor: pointer; cursor: pointer;
@ -43,7 +43,7 @@ limitations under the License.
} }
h2 { h2 {
font-size: 18px; font-size: $font-18px;
font-weight: 600; font-weight: 600;
margin: 18px 0 0 0; margin: 18px 0 0 0;
} }
@ -122,7 +122,7 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
color: $notice-secondary-color; color: $notice-secondary-color;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: $font-12px;
margin: 4px 0; margin: 4px 0;
} }
@ -134,12 +134,13 @@ limitations under the License.
text-align: center; text-align: center;
h2 { h2 {
font-size: 18px; display: flex;
line-height: 25px; font-size: $font-18px;
line-height: $font-25px;
flex: 1; flex: 1;
justify-content: center; justify-content: center;
align-items: center;
span {
// limit to 2 lines, show an ellipsis if it overflows // limit to 2 lines, show an ellipsis if it overflows
// this looks webkit specific but is supported by Firefox 68+ // this looks webkit specific but is supported by Firefox 68+
display: -webkit-box; display: -webkit-box;
@ -149,9 +150,12 @@ limitations under the License.
overflow: hidden; overflow: hidden;
word-break: break-all; word-break: break-all;
text-overflow: ellipsis; text-overflow: ellipsis;
}
.mx_E2EIcon { .mx_E2EIcon {
margin: 5px; margin-top: 3px; // visual vertical centering to the top line of text
margin-right: 4px; // margin from displyname
min-width: 18px; // convince flexbox to not collapse it
} }
} }
@ -197,7 +201,7 @@ limitations under the License.
.mx_UserInfo_field { .mx_UserInfo_field {
cursor: pointer; cursor: pointer;
color: $accent-color; color: $accent-color;
line-height: 16px; line-height: $font-16px;
margin: 8px 0; margin: 8px 0;
&.mx_UserInfo_destructive { &.mx_UserInfo_destructive {
@ -206,7 +210,7 @@ limitations under the License.
} }
.mx_UserInfo_statusMessage { .mx_UserInfo_statusMessage {
font-size: 11px; font-size: $font-11px;
opacity: 0.5; opacity: 0.5;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -266,12 +270,31 @@ limitations under the License.
} }
} }
.mx_AccessibleButton.mx_AccessibleButton_hasKind {
padding: 8px 18px;
&.mx_AccessibleButton_kind_primary {
color: $accent-color;
background-color: $accent-bg-color;
}
&.mx_AccessibleButton_kind_danger {
color: $notice-primary-color;
background-color: $notice-primary-bg-color;
}
}
.mx_VerificationShowSas .mx_AccessibleButton,
.mx_UserInfo_wideButton { .mx_UserInfo_wideButton {
display: block; display: block;
margin: 16px 0; margin: 16px 0 8px;
}
.mx_VerificationShowSas {
.mx_AccessibleButton + .mx_AccessibleButton {
margin: 8px 0; // space between buttons
} }
button.mx_UserInfo_wideButton {
width: 100%; // FIXME get rid of this once we get rid of DialogButtons here
} }
} }

View file

@ -14,10 +14,30 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_UserInfo { .mx_VerificationPanel_verified_section,
.mx_VerificationPanel_verified_section .mx_E2EIcon { .mx_VerificationPanel_reciprocate_section {
// center the big shield icon
.mx_E2EIcon {
// Override general user info margin // Override general user info margin
margin: 0 auto !important; margin: 20px auto !important;
}
}
.mx_UserInfo {
.mx_EncryptionPanel_cancel {
mask: url('$(res)/img/feather-customised/cancel.svg');
mask-repeat: no-repeat;
mask-position: center;
mask-size: cover;
width: 14px;
height: 14px;
background-color: $settings-subsection-fg-color;
cursor: pointer;
position: absolute;
z-index: 100;
top: 14px;
right: 14px;
} }
.mx_VerificationPanel_qrCode { .mx_VerificationPanel_qrCode {
@ -36,6 +56,16 @@ limitations under the License.
max-width: 240px; max-width: 240px;
} }
} }
.mx_VerificationPanel_reciprocate_section {
.mx_FormButton {
width: 100%;
box-sizing: border-box;
padding: 10px;
display: block;
margin: 10px 0;
}
}
} }
// Special case styling for EncryptionPanel in a Modal dialog // Special case styling for EncryptionPanel in a Modal dialog
@ -45,6 +75,7 @@ limitations under the License.
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
align-items: stretch; align-items: stretch;
justify-content: center;
> .mx_VerificationPanel_QRPhase_betweenText { > .mx_VerificationPanel_QRPhase_betweenText {
width: 50px; width: 50px;
@ -60,10 +91,12 @@ limitations under the License.
border-radius: 10px; border-radius: 10px;
flex: 1; flex: 1;
display: flex; display: flex;
padding: 10px; padding: 20px;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
max-width: 310px;
justify-content: space-between;
canvas, .mx_VerificationPanel_QRPhase_noQR { canvas, .mx_VerificationPanel_QRPhase_noQR {
width: 220px !important; width: 220px !important;
@ -76,31 +109,36 @@ limitations under the License.
} }
> p { > p {
margin-top: 0;
font-weight: 700; font-weight: 700;
} }
.mx_VerificationPanel_QRPhase_helpText { .mx_VerificationPanel_QRPhase_helpText {
font-size: 14px; font-size: $font-14px;
margin-top: 71px; margin: 30px 0;
text-align: center; text-align: center;
} }
.mx_AccessibleButton {
position: absolute;
bottom: 30px;
}
} }
} }
// EncryptionPanel when verification is done // EncryptionPanel when verification is done
.mx_VerificationPanel_verified_section { .mx_VerificationPanel_verified_section {
// center the big shield icon
.mx_E2EIcon {
margin: 0 auto;
}
// right align the "Got it" button // right align the "Got it" button
.mx_AccessibleButton { .mx_AccessibleButton {
float: right; float: right;
} }
} }
.mx_VerificationPanel_reciprocate_section {
.mx_AccessibleButton {
margin-left: 10px;
padding: 7px 40px;
}
.mx_VerificationPanel_reciprocateButtons {
display: flex;
flex-direction: row;
justify-content: flex-end;
}
}
} }

View file

@ -46,7 +46,7 @@ $AppsDrawerBodyHeight: 273px;
padding: 0; padding: 0;
margin: 5px auto 5px auto; margin: 5px auto 5px auto;
color: $accent-color; color: $accent-color;
font-size: 12px; font-size: $font-12px;
} }
.mx_AddWidget_button_full_width { .mx_AddWidget_button_full_width {
@ -59,7 +59,7 @@ $AppsDrawerBodyHeight: 273px;
padding: 9px; padding: 9px;
color: $primary-hairline-color; color: $primary-hairline-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 15px; font-size: $font-15px;
} }
.mx_AppTile { .mx_AppTile {
@ -102,7 +102,7 @@ $AppsDrawerBodyHeight: 273px;
.mx_AppTileMenuBar { .mx_AppTileMenuBar {
margin: 0; margin: 0;
font-size: 12px; font-size: $font-12px;
background-color: $widget-menu-bar-bg-color; background-color: $widget-menu-bar-bg-color;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -272,7 +272,7 @@ form.mx_Custom_Widget_Form div {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-size: 16px; font-size: $font-16px;
} }
.mx_AppPermissionWarning_row { .mx_AppPermissionWarning_row {
@ -280,7 +280,7 @@ form.mx_Custom_Widget_Form div {
} }
.mx_AppPermissionWarning_smallText { .mx_AppPermissionWarning_smallText {
font-size: 12px; font-size: $font-12px;
} }
.mx_AppPermissionWarning_bolder { .mx_AppPermissionWarning_bolder {

View file

@ -63,8 +63,8 @@ limitations under the License.
border-radius: 8px; border-radius: 8px;
text-align: center; text-align: center;
font-weight: normal; font-weight: normal;
line-height: 16px; line-height: $font-16px;
font-size: 10.4px; font-size: $font-10-4px;
} }
} }
} }

View file

@ -78,7 +78,7 @@ limitations under the License.
.mx_GroupRoomTile_name { .mx_GroupRoomTile_name {
flex: 1 1 0; flex: 1 1 0;
overflow: hidden; overflow: hidden;
font-size: 14px; font-size: $font-14px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
} }
@ -116,7 +116,7 @@ limitations under the License.
} }
.mx_EntityTile_subtext { .mx_EntityTile_subtext {
font-size: 11px; font-size: $font-11px;
opacity: 0.5; opacity: 0.5;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
@ -125,7 +125,7 @@ limitations under the License.
.mx_EntityTile_power { .mx_EntityTile_power {
padding-inline-start: 6px; padding-inline-start: 6px;
font-size: 10px; font-size: $font-10px;
color: $notice-secondary-color; color: $notice-secondary-color;
max-width: 6em; max-width: 6em;
overflow: hidden; overflow: hidden;

View file

@ -19,7 +19,7 @@ limitations under the License.
max-width: 100%; max-width: 100%;
clear: both; clear: both;
padding-top: 18px; padding-top: 18px;
font-size: 14px; font-size: $font-14px;
position: relative; position: relative;
} }
@ -64,7 +64,7 @@ limitations under the License.
.mx_EventTile .mx_SenderProfile { .mx_EventTile .mx_SenderProfile {
color: $primary-fg-color; color: $primary-fg-color;
font-size: 14px; font-size: $font-14px;
display: inline-block; /* anti-zalgo, with overflow hidden */ display: inline-block; /* anti-zalgo, with overflow hidden */
overflow: hidden; overflow: hidden;
cursor: pointer; cursor: pointer;
@ -72,7 +72,7 @@ limitations under the License.
padding-bottom: 0px; padding-bottom: 0px;
padding-top: 0px; padding-top: 0px;
margin: 0px; margin: 0px;
line-height: 17px; line-height: $font-17px;
/* the next three lines, along with overflow hidden, truncate long display names */ /* the next three lines, along with overflow hidden, truncate long display names */
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -117,10 +117,12 @@ limitations under the License.
padding-bottom: 2px; padding-bottom: 2px;
border-radius: 4px; border-radius: 4px;
min-height: 24px; min-height: 24px;
line-height: 22px; line-height: $font-22px;
} }
.mx_RoomView_timeline_rr_enabled { .mx_RoomView_timeline_rr_enabled,
// on ELS we need the margin to allow interaction with the expand/collapse button which is normally in the RR gutter
.mx_EventListSummary {
.mx_EventTile_line, .mx_EventTile_reply { .mx_EventTile_line, .mx_EventTile_reply {
/* ideally should be 100px, but 95px gives us a max thumbnail size of 800x600, which is nice */ /* ideally should be 100px, but 95px gives us a max thumbnail size of 800x600, which is nice */
margin-right: 110px; margin-right: 110px;
@ -312,7 +314,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
.mx_EventTile_readAvatarRemainder { .mx_EventTile_readAvatarRemainder {
color: $event-timestamp-color; color: $event-timestamp-color;
font-size: 11px; font-size: $font-11px;
position: absolute; position: absolute;
} }
@ -341,7 +343,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
.mx_EventTile_spoiler_reason { .mx_EventTile_spoiler_reason {
color: $event-timestamp-color; color: $event-timestamp-color;
font-size: 11px; font-size: $font-11px;
} }
.mx_EventTile_spoiler_content { .mx_EventTile_spoiler_content {
@ -393,7 +395,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
} }
.mx_EventTile_keyRequestInfo { .mx_EventTile_keyRequestInfo {
font-size: 12px; font-size: $font-12px;
} }
.mx_EventTile_keyRequestInfo_text { .mx_EventTile_keyRequestInfo_text {
@ -471,7 +473,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
.mx_EventTile_content .mx_EventTile_edited { .mx_EventTile_content .mx_EventTile_edited {
user-select: none; user-select: none;
font-size: 12px; font-size: $font-12px;
color: $roomtopic-color; color: $roomtopic-color;
display: inline-block; display: inline-block;
margin-left: 9px; margin-left: 9px;
@ -489,7 +491,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
white-space: normal !important; white-space: normal !important;
line-height: inherit !important; line-height: inherit !important;
color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks) color: inherit; // inherit the colour from the dark or light theme by default (but not for code blocks)
font-size: 14px; font-size: $font-14px;
pre, code { pre, code {
font-family: $monospace-font-family !important; font-family: $monospace-font-family !important;
@ -589,9 +591,9 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
.mx_EventTile.mx_EventTile_info { .mx_EventTile.mx_EventTile_info {
// same as the padding for non-compact .mx_EventTile.mx_EventTile_info // same as the padding for non-compact .mx_EventTile.mx_EventTile_info
padding-top: 0px; padding-top: 0px;
font-size: 13px; font-size: $font-13px;
.mx_EventTile_line, .mx_EventTile_reply { .mx_EventTile_line, .mx_EventTile_reply {
line-height: 20px; line-height: $font-20px;
} }
.mx_EventTile_avatar { .mx_EventTile_avatar {
top: 4px; top: 4px;
@ -599,7 +601,7 @@ div.mx_EventTile_notSent.mx_EventTile_redacted .mx_UnknownBody {
} }
.mx_EventTile .mx_SenderProfile { .mx_EventTile .mx_SenderProfile {
font-size: 13px; font-size: $font-13px;
} }
.mx_EventTile.mx_EventTile_emote { .mx_EventTile.mx_EventTile_emote {

View file

@ -34,8 +34,8 @@ limitations under the License.
top: -12px; top: -12px;
border-radius: 16px; border-radius: 16px;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: $font-12px;
line-height: 14px; line-height: $font-14px;
text-align: center; text-align: center;
// to be able to get it centered // to be able to get it centered
// with text-align in parent // with text-align in parent

View file

@ -59,7 +59,7 @@ limitations under the License.
.mx_MemberDeviceInfo_deviceId { .mx_MemberDeviceInfo_deviceId {
word-break: break-word; word-break: break-word;
font-size: 13px; font-size: $font-13px;
} }
.mx_MemberDeviceInfo_deviceInfo { .mx_MemberDeviceInfo_deviceInfo {

View file

@ -48,7 +48,7 @@ limitations under the License.
} }
.mx_MemberInfo h2 { .mx_MemberInfo h2 {
font-size: 18px; font-size: $font-18px;
font-weight: 600; font-weight: 600;
margin: 16px 0 16px 15px; margin: 16px 0 16px 15px;
} }
@ -94,12 +94,12 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
color: $input-darker-fg-color; color: $input-darker-fg-color;
font-weight: bold; font-weight: bold;
font-size: 12px; font-size: $font-12px;
margin: 4px 0; margin: 4px 0;
} }
.mx_MemberInfo_profileField { .mx_MemberInfo_profileField {
font-size: 15px; font-size: $font-15px;
position: relative; position: relative;
} }
@ -109,10 +109,10 @@ limitations under the License.
.mx_MemberInfo_field { .mx_MemberInfo_field {
cursor: pointer; cursor: pointer;
font-size: 15px; font-size: $font-15px;
color: $primary-fg-color; color: $primary-fg-color;
margin-left: 8px; margin-left: 8px;
line-height: 23px; line-height: $font-23px;
} }
.mx_MemberInfo_createRoom { .mx_MemberInfo_createRoom {
@ -128,7 +128,7 @@ limitations under the License.
} }
.mx_MemberInfo label { .mx_MemberInfo label {
font-size: 13px; font-size: $font-13px;
} }
.mx_MemberInfo label .mx_MemberInfo_label_text { .mx_MemberInfo label .mx_MemberInfo_label_text {
@ -144,7 +144,7 @@ limitations under the License.
} }
.mx_MemberInfo_statusMessage { .mx_MemberInfo_statusMessage {
font-size: 11px; font-size: $font-11px;
opacity: 0.5; opacity: 0.5;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;

View file

@ -30,7 +30,7 @@ limitations under the License.
text-transform: uppercase; text-transform: uppercase;
color: $h3-color; color: $h3-color;
font-weight: 600; font-weight: 600;
font-size: 13px; font-size: $font-13px;
padding-left: 3px; padding-left: 3px;
padding-right: 12px; padding-right: 12px;
margin-top: 8px; margin-top: 8px;

View file

@ -105,7 +105,7 @@ limitations under the License.
min-height: 60px; min-height: 60px;
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start; align-items: flex-start;
font-size: 14px; font-size: $font-14px;
margin-right: 6px; margin-right: 6px;
} }
@ -161,7 +161,7 @@ limitations under the License.
box-shadow: none; box-shadow: none;
color: $primary-fg-color; color: $primary-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 14px; font-size: $font-14px;
max-height: 120px; max-height: 120px;
overflow: auto; overflow: auto;
/* needed for FF */ /* needed for FF */
@ -242,7 +242,7 @@ limitations under the License.
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
font-size: 10px; font-size: $font-10px;
color: $greyed-fg-color; color: $greyed-fg-color;
} }

View file

@ -97,13 +97,13 @@ limitations under the License.
.mx_MessageComposerFormatBar_buttonTooltip { .mx_MessageComposerFormatBar_buttonTooltip {
white-space: nowrap; white-space: nowrap;
font-size: 13px; font-size: $font-13px;
font-weight: 600; font-weight: 600;
min-width: 54px; min-width: 54px;
text-align: center; text-align: center;
.mx_MessageComposerFormatBar_tooltipShortcut { .mx_MessageComposerFormatBar_tooltipShortcut {
font-size: 9px; font-size: $font-9px;
opacity: 0.7; opacity: 0.7;
} }
} }

View file

@ -15,6 +15,6 @@ limitations under the License.
*/ */
.mx_PresenceLabel { .mx_PresenceLabel {
font-size: 11px; font-size: $font-11px;
opacity: 0.5; opacity: 0.5;
} }

View file

@ -41,7 +41,7 @@ limitations under the License.
overflow-x: visible; overflow-x: visible;
} }
.mx_AutoHideScrollbar_offset { .mx_AutoHideScrollbar {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
height: 100%; height: 100%;

View file

@ -28,7 +28,7 @@ limitations under the License.
} }
.mx_RoomDropTarget { .mx_RoomDropTarget {
font-size: 13px; font-size: $font-13px;
padding-top: 5px; padding-top: 5px;
padding-bottom: 5px; padding-bottom: 5px;
border: 1px dashed $accent-color; border: 1px dashed $accent-color;
@ -41,7 +41,7 @@ limitations under the License.
.mx_RoomDropTarget_label { .mx_RoomDropTarget_label {
position: relative; position: relative;
margin-top: 3px; margin-top: 3px;
line-height: 21px; line-height: $font-21px;
z-index: 1; z-index: 1;
text-align: center; text-align: center;
} }

View file

@ -77,9 +77,9 @@ limitations under the License.
} }
.mx_RoomHeader_simpleHeader { .mx_RoomHeader_simpleHeader {
line-height: 52px; line-height: $font-52px;
color: $roomheader-color; color: $roomheader-color;
font-size: 18px; font-size: $font-18px;
font-weight: 600; font-weight: 600;
overflow: hidden; overflow: hidden;
margin-left: 63px; margin-left: 63px;
@ -102,7 +102,7 @@ limitations under the License.
overflow: hidden; overflow: hidden;
color: $roomheader-color; color: $roomheader-color;
font-weight: 600; font-weight: 600;
font-size: 18px; font-size: $font-18px;
margin: 0 7px; margin: 0 7px;
border-bottom: 1px solid transparent; border-bottom: 1px solid transparent;
display: flex; display: flex;
@ -161,7 +161,7 @@ limitations under the License.
flex: 1; flex: 1;
color: $roomtopic-color; color: $roomtopic-color;
font-weight: 400; font-weight: 400;
font-size: 13px; font-size: $font-13px;
margin: 0 7px; margin: 0 7px;
margin-top: 4px; // to align baseline of topic with room name margin-top: 4px; // to align baseline of topic with room name
overflow: hidden; overflow: hidden;

View file

@ -47,13 +47,13 @@ limitations under the License.
} }
.mx_RoomList_emptySubListTip { .mx_RoomList_emptySubListTip {
font-size: 13px; font-size: $font-13px;
padding: 5px; padding: 5px;
border: 1px dashed $accent-color; border: 1px dashed $accent-color;
color: $primary-fg-color; color: $primary-fg-color;
background-color: $droptarget-bg-color; background-color: $droptarget-bg-color;
border-radius: 4px; border-radius: 4px;
line-height: 16px; line-height: $font-16px;
} }
.mx_RoomList_emptySubListTip .mx_RoleButton { .mx_RoomList_emptySubListTip .mx_RoleButton {

View file

@ -23,7 +23,7 @@ limitations under the License.
-webkit-align-items: center; -webkit-align-items: center;
h3 { h3 {
font-size: 18px; font-size: $font-18px;
font-weight: 600; font-weight: 600;
&.mx_RoomPreviewBar_spinnerTitle { &.mx_RoomPreviewBar_spinnerTitle {
@ -48,8 +48,8 @@ limitations under the License.
} }
.mx_RoomPreviewBar_footer { .mx_RoomPreviewBar_footer {
font-size: 12px; font-size: $font-12px;
line-height: 20px; line-height: $font-20px;
.mx_Spinner { .mx_Spinner {
vertical-align: middle; vertical-align: middle;

View file

@ -64,7 +64,7 @@ limitations under the License.
.mx_RoomTile_subtext { .mx_RoomTile_subtext {
display: inline-block; display: inline-block;
font-size: 11px; font-size: $font-11px;
padding: 0 0 0 7px; padding: 0 0 0 7px;
margin: 0; margin: 0;
overflow: hidden; overflow: hidden;
@ -112,7 +112,7 @@ limitations under the License.
} }
.mx_RoomTile_name { .mx_RoomTile_name {
font-size: 14px; font-size: $font-14px;
padding: 0 4px; padding: 0 4px;
color: $roomtile-name-color; color: $roomtile-name-color;
white-space: nowrap; white-space: nowrap;
@ -126,7 +126,7 @@ limitations under the License.
padding: 0 0.4em; padding: 0 0.4em;
color: $roomtile-badge-fg-color; color: $roomtile-badge-fg-color;
font-weight: 600; font-weight: 600;
font-size: 12px; font-size: $font-12px;
} }
.collapsed { .collapsed {

View file

@ -22,7 +22,7 @@ limitations under the License.
.mx_SearchBar_input { .mx_SearchBar_input {
// border: 1px solid $input-border-color; // border: 1px solid $input-border-color;
// font-size: 15px; // font-size: $font-15px;
flex: 1 1 0; flex: 1 1 0;
margin-left: 22px; margin-left: 22px;
} }
@ -45,7 +45,7 @@ limitations under the License.
border: 0; border: 0;
margin: 0 0 0 22px; margin: 0 0 0 22px;
padding: 5px; padding: 5px;
font-size: 15px; font-size: $font-15px;
cursor: pointer; cursor: pointer;
color: $primary-fg-color; color: $primary-fg-color;
border-bottom: 2px solid $accent-color; border-bottom: 2px solid $accent-color;

View file

@ -18,7 +18,7 @@ limitations under the License.
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
font-size: 14px; font-size: $font-14px;
justify-content: center; justify-content: center;
margin-right: 6px; margin-right: 6px;
// don't grow wider than available space // don't grow wider than available space

View file

@ -49,7 +49,7 @@ limitations under the License.
border-radius: 40px; border-radius: 40px;
width: 24px; width: 24px;
height: 24px; height: 24px;
line-height: 24px; line-height: $font-24px;
font-size: 0.8em; font-size: 0.8em;
vertical-align: top; vertical-align: top;
text-align: center; text-align: center;
@ -57,7 +57,7 @@ limitations under the License.
.mx_WhoIsTypingTile_label { .mx_WhoIsTypingTile_label {
flex: 1; flex: 1;
font-size: 14px; font-size: $font-14px;
font-weight: 600; font-weight: 600;
color: $eventtile-meta-color; color: $eventtile-meta-color;
} }

View file

@ -0,0 +1,20 @@
/*
Copyright 2020 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_E2eAdvancedPanel_settingLongDescription {
margin-right: 150px;
}

View file

@ -19,7 +19,7 @@ limitations under the License.
} }
.mx_SettingsTab_heading { .mx_SettingsTab_heading {
font-size: 20px; font-size: $font-20px;
font-weight: 600; font-weight: 600;
color: $primary-fg-color; color: $primary-fg-color;
} }
@ -29,7 +29,7 @@ limitations under the License.
} }
.mx_SettingsTab_subheading { .mx_SettingsTab_subheading {
font-size: 16px; font-size: $font-16px;
display: block; display: block;
font-family: $font-family; font-family: $font-family;
font-weight: 600; font-weight: 600;
@ -40,7 +40,7 @@ limitations under the License.
.mx_SettingsTab_subsectionText { .mx_SettingsTab_subsectionText {
color: $settings-subsection-fg-color; color: $settings-subsection-fg-color;
font-size: 14px; font-size: $font-14px;
display: block; display: block;
margin: 10px 100px 10px 0; // Align with the rest of the view margin: 10px 100px 10px 0; // Align with the rest of the view
} }
@ -61,7 +61,7 @@ limitations under the License.
.mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label { .mx_SettingsTab_section .mx_SettingsFlag .mx_SettingsFlag_label {
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;
font-size: 14px; font-size: $font-14px;
color: $primary-fg-color; color: $primary-fg-color;
max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch max-width: calc(100% - 48px); // Force word wrap instead of colliding with the switch
box-sizing: border-box; box-sizing: border-box;

View file

@ -16,7 +16,7 @@ limitations under the License.
.mx_InlineTermsAgreement_cbContainer { .mx_InlineTermsAgreement_cbContainer {
margin-bottom: 10px; margin-bottom: 10px;
font-size: 14px; font-size: $font-14px;
a { a {
color: $accent-color; color: $accent-color;

View file

@ -48,14 +48,14 @@ limitations under the License.
} }
.mx_VerificationShowSas_emojiSas_emoji { .mx_VerificationShowSas_emojiSas_emoji {
font-size: 32px; font-size: $font-32px;
} }
.mx_VerificationShowSas_emojiSas_label { .mx_VerificationShowSas_emojiSas_label {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 12px; font-size: $font-12px;
} }
.mx_VerificationShowSas_emojiSas_break { .mx_VerificationShowSas_emojiSas_break {

View file

@ -21,5 +21,5 @@ limitations under the License.
text-align: center; text-align: center;
padding: 6px; padding: 6px;
font-weight: bold; font-weight: bold;
font-size: 13px; font-size: $font-13px;
} }

View file

@ -54,7 +54,7 @@ limitations under the License.
vertical-align: middle; vertical-align: middle;
width: 80px; width: 80px;
height: 36px; height: 36px;
line-height: 36px; line-height: $font-36px;
border-radius: 36px; border-radius: 36px;
color: $accent-fg-color; color: $accent-fg-color;
margin: auto; margin: auto;

Some files were not shown because too many files have changed in this diff Show more