2020-08-12 20:11:03 +05:30
|
|
|
/*
|
|
|
|
Copyright 2020 Bruno Windels <bruno@windels.cloud>
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
2022-04-11 16:45:55 +05:30
|
|
|
@import url('../../main.css');
|
2020-08-12 20:11:03 +05:30
|
|
|
@import url('inter.css');
|
2021-05-28 15:32:55 +05:30
|
|
|
@import url('timeline.css');
|
2020-08-12 20:11:03 +05:30
|
|
|
|
2020-08-19 12:02:25 +05:30
|
|
|
:root {
|
|
|
|
font-size: 10px;
|
2022-04-11 16:45:55 +05:30
|
|
|
/* Theme aliases */
|
|
|
|
--icon-color: var(--background-color-secondary--darker-40);
|
|
|
|
--light-border: var(--background-color-secondary--darker-5);
|
|
|
|
--light-text-color: var(--background-color-secondary--darker-55);
|
|
|
|
--timeline-time-text-color: var(--background-color-secondary--darker-35);
|
|
|
|
--icon-background: var(--background-color-secondary--darker-7);
|
|
|
|
--right-panel-text-color: var(--background-color-secondary--darker-35);
|
2020-08-19 12:02:25 +05:30
|
|
|
}
|
|
|
|
|
2020-08-12 20:11:03 +05:30
|
|
|
.hydrogen {
|
|
|
|
font-family: 'Inter', sans-serif, 'emoji';
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--background-color-primary);
|
|
|
|
color: var(--text-color);
|
2020-08-19 12:02:25 +05:30
|
|
|
font-size: 1.4rem;
|
2020-08-13 16:11:00 +05:30
|
|
|
--usercolor1: #368BD6;
|
|
|
|
--usercolor2: #AC3BA8;
|
|
|
|
--usercolor3: #03B381;
|
|
|
|
--usercolor4: #E64F7A;
|
|
|
|
--usercolor5: #FF812D;
|
|
|
|
--usercolor6: #2DC2C5;
|
|
|
|
--usercolor7: #5C56F5;
|
|
|
|
--usercolor8: #74D12C;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-05-28 19:00:03 +05:30
|
|
|
.hydrogen button {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
|
|
|
|
2020-08-12 20:11:03 +05:30
|
|
|
.avatar {
|
|
|
|
border-radius: 100%;
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--fixed-white);
|
|
|
|
color: var(--fixed-white);
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.hydrogen .avatar.usercolor1 { background-color: var(--usercolor1); }
|
|
|
|
.hydrogen .avatar.usercolor2 { background-color: var(--usercolor2); }
|
|
|
|
.hydrogen .avatar.usercolor3 { background-color: var(--usercolor3); }
|
|
|
|
.hydrogen .avatar.usercolor4 { background-color: var(--usercolor4); }
|
|
|
|
.hydrogen .avatar.usercolor5 { background-color: var(--usercolor5); }
|
|
|
|
.hydrogen .avatar.usercolor6 { background-color: var(--usercolor6); }
|
|
|
|
.hydrogen .avatar.usercolor7 { background-color: var(--usercolor7); }
|
|
|
|
.hydrogen .avatar.usercolor8 { background-color: var(--usercolor8); }
|
2020-08-13 16:11:00 +05:30
|
|
|
|
2020-08-14 18:04:39 +05:30
|
|
|
.logo {
|
|
|
|
height: 48px;
|
|
|
|
min-width: 48px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('element-logo.svg?primary=accent-color');
|
2020-08-14 18:04:39 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** buttons */
|
|
|
|
.button-row {
|
|
|
|
display: flex;
|
|
|
|
}
|
2021-06-03 21:03:02 +05:30
|
|
|
.button-row > * {
|
2020-08-14 18:04:39 +05:30
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2021-06-03 21:03:02 +05:30
|
|
|
.button-row > *:last-child {
|
2020-08-14 18:04:39 +05:30
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-row .button-action {
|
2020-08-14 18:04:39 +05:30
|
|
|
margin: 10px 0;
|
|
|
|
flex: 1 0 auto;
|
|
|
|
}
|
|
|
|
|
2022-02-10 14:10:19 +05:30
|
|
|
.form-row.text textarea {
|
2022-02-09 23:31:35 +05:30
|
|
|
font-family: "Inter", sans-serif;
|
2022-04-12 16:12:43 +05:30
|
|
|
background-color: var(--background-color-secondary);
|
|
|
|
color: inherit;
|
2022-02-09 23:31:35 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
margin: 24px 0;
|
|
|
|
}
|
|
|
|
|
2020-08-14 18:19:22 +05:30
|
|
|
.form-row {
|
|
|
|
margin: 12px 0;
|
|
|
|
}
|
|
|
|
|
2022-02-09 23:31:35 +05:30
|
|
|
.form-row.text > input, .form-row.text > textarea {
|
2020-08-14 18:19:22 +05:30
|
|
|
padding: 12px;
|
2022-04-11 16:45:55 +05:30
|
|
|
border: 1px solid var(--light-border);
|
2020-08-14 18:19:22 +05:30
|
|
|
border-radius: 8px;
|
|
|
|
margin-top: 5px;
|
|
|
|
font-size: 1em;
|
2022-02-10 14:10:30 +05:30
|
|
|
resize: vertical;
|
2022-04-12 16:12:43 +05:30
|
|
|
background-color: var(--background-color-secondary);
|
|
|
|
color: inherit;
|
2020-08-14 18:19:22 +05:30
|
|
|
}
|
|
|
|
|
2022-02-09 23:31:35 +05:30
|
|
|
.form-row.check {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
gap: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-row.text > label, .form-row.text > input {
|
2020-08-14 18:19:22 +05:30
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2022-02-10 18:39:18 +05:30
|
|
|
.form-row .form-row-description {
|
|
|
|
font-size: 1rem;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--light-text-color);
|
2022-02-10 18:39:18 +05:30
|
|
|
margin: 8px 0 0 0;
|
|
|
|
}
|
|
|
|
|
2021-04-27 18:40:12 +05:30
|
|
|
.button-action {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
a.button-action {
|
|
|
|
text-decoration: none;
|
|
|
|
text-align: center;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-06-07 16:09:13 +05:30
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-action.secondary {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--accent-color);
|
2020-08-14 18:04:39 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-action.primary {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--accent-color);
|
2020-08-14 18:04:39 +05:30
|
|
|
border-radius: 8px;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--fixed-white);
|
2021-04-27 14:02:06 +05:30
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-action.primary:disabled {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--fixed-white--darker-10);
|
2020-08-14 18:04:39 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-action.primary.destructive {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--error-color);
|
2020-08-14 18:04:39 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-action.secondary.destructive {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--error-color);
|
2020-08-14 18:04:39 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-action {
|
2020-08-14 18:04:39 +05:30
|
|
|
border: none;
|
|
|
|
padding: 10px;
|
|
|
|
background: none;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-10-14 14:03:48 +05:30
|
|
|
.button-utility {
|
|
|
|
cursor: pointer;
|
2020-10-07 21:29:28 +05:30
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
background-position: center;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--icon-background);
|
2020-10-07 21:29:28 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
border: none;
|
|
|
|
border-radius: 100%;
|
2020-10-16 21:36:20 +05:30
|
|
|
display: block;
|
2020-10-07 21:29:28 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:04:11 +05:30
|
|
|
.button-utility.grid {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/enable-grid.svg?primary=icon-color');
|
2020-10-07 21:29:28 +05:30
|
|
|
}
|
|
|
|
|
2020-10-16 21:36:20 +05:30
|
|
|
.button-utility.settings {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/settings.svg?primary=icon-color');
|
2020-10-16 21:36:20 +05:30
|
|
|
}
|
|
|
|
|
2022-02-09 23:32:51 +05:30
|
|
|
.button-utility.create {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/plus.svg?primary=icon-color');
|
2022-02-09 23:32:51 +05:30
|
|
|
}
|
|
|
|
|
2020-10-14 14:04:11 +05:30
|
|
|
.button-utility.grid.on {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/disable-grid.svg?primary=icon-color');
|
2020-10-07 21:29:28 +05:30
|
|
|
}
|
|
|
|
|
2020-10-07 21:29:14 +05:30
|
|
|
.FilterField {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/search.svg?primary=icon-color');
|
2020-10-08 13:43:05 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 8px center;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--icon-background);
|
2020-10-08 13:43:05 +05:30
|
|
|
/* to prevent jumps when adding a border on focus */
|
|
|
|
border: 1px solid transparent;
|
2020-10-07 21:29:14 +05:30
|
|
|
border-radius: 16px;
|
|
|
|
height: 32px;
|
|
|
|
align-items: center;
|
2021-06-03 21:03:02 +05:30
|
|
|
padding-left: 30px; /* 8 + 14 (icon) + 8*/
|
2020-10-07 21:29:14 +05:30
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.FilterField:focus-within {
|
2022-04-11 16:45:55 +05:30
|
|
|
border: 1px var(--icon-background) solid;
|
|
|
|
background-color: var(--background-color-primary);
|
2020-10-07 21:29:14 +05:30
|
|
|
}
|
2022-04-11 16:45:55 +05:30
|
|
|
|
2020-10-08 13:43:05 +05:30
|
|
|
.FilterField:focus-within button {
|
2022-04-11 16:45:55 +05:30
|
|
|
border-color: var(--background-color-primary);
|
2020-10-08 13:43:05 +05:30
|
|
|
}
|
2020-10-07 21:29:14 +05:30
|
|
|
|
|
|
|
/*.FilterField:not(:focus-within) button {
|
|
|
|
display: none;
|
|
|
|
}*/
|
|
|
|
|
|
|
|
.FilterField input {
|
|
|
|
font-family: "Inter";
|
|
|
|
font-size: 1.3rem;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: 1.573rem;
|
|
|
|
outline: none;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
height: 100%;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--text-color);
|
2020-10-07 21:29:14 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.FilterField button {
|
2021-06-03 21:03:02 +05:30
|
|
|
width: 30px; /* 32 - 1 (top) - 1 (bottom) */
|
|
|
|
height: 30px; /* 32 - 1 (top) - 1 (bottom) */
|
2020-10-07 21:29:14 +05:30
|
|
|
background-position: center;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--icon-background);
|
2020-10-07 21:29:14 +05:30
|
|
|
background-repeat: no-repeat;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/clear.svg?primary=icon-color');
|
2021-06-03 21:03:02 +05:30
|
|
|
border: 7px solid transparent; /* 8 - 1 */
|
2020-10-07 21:29:14 +05:30
|
|
|
border-radius: 100%;
|
2020-10-08 13:43:05 +05:30
|
|
|
box-sizing: border-box;
|
2020-10-07 21:29:14 +05:30
|
|
|
}
|
|
|
|
|
2020-08-14 18:04:39 +05:30
|
|
|
.PreSessionScreen {
|
|
|
|
padding: 30px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.PreSessionScreen h1 {
|
|
|
|
font-size: 16px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-05-18 18:57:31 +05:30
|
|
|
.SessionLoadView {
|
|
|
|
padding-top: 16px;
|
|
|
|
}
|
|
|
|
|
2021-08-17 17:01:03 +05:30
|
|
|
.StartSSOLoginView_button {
|
2022-04-11 16:45:55 +05:30
|
|
|
border: 1px solid var(--accent-color);
|
2021-08-15 17:37:53 +05:30
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
|
2021-08-19 21:37:26 +05:30
|
|
|
.LoginView_back {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url("./icons/chevron-left.svg?primary=icon-color");
|
2021-08-19 21:37:26 +05:30
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2021-08-18 13:05:05 +05:30
|
|
|
.LoginView_separator {
|
2021-08-15 17:37:53 +05:30
|
|
|
font-weight: 500;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
2021-08-23 22:58:59 +05:30
|
|
|
.LoginView_forwardInfo {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-left: 1em;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--light-text-color);
|
2021-08-23 22:58:59 +05:30
|
|
|
}
|
|
|
|
|
2021-08-15 18:08:01 +05:30
|
|
|
.CompleteSSOView_title {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2020-08-14 18:04:39 +05:30
|
|
|
@media screen and (min-width: 600px) {
|
|
|
|
.PreSessionScreen {
|
2022-04-12 15:12:31 +05:30
|
|
|
/* needs transparency support */
|
2020-08-14 18:04:39 +05:30
|
|
|
box-shadow: 0px 6px 32px rgba(0, 0, 0, 0.1);
|
|
|
|
border-radius: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.PreSessionScreen .logo {
|
|
|
|
height: 48px;
|
|
|
|
min-width: 48px;
|
|
|
|
}
|
|
|
|
|
2020-08-12 20:11:03 +05:30
|
|
|
.LeftPanel {
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--background-color-secondary);
|
2020-08-19 12:02:25 +05:30
|
|
|
font-size: 1.5rem;
|
2020-10-08 13:59:30 +05:30
|
|
|
padding: 12px 8px 0 8px;
|
2020-10-07 21:29:28 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.LeftPanel > :not(:first-child) {
|
2020-10-08 13:59:30 +05:30
|
|
|
margin-top: 12px;
|
2020-10-07 21:29:28 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.LeftPanel .utilities > :not(:first-child) {
|
2020-10-07 21:29:28 +05:30
|
|
|
margin-left: 8px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-10-06 17:01:34 +05:30
|
|
|
.LeftPanel .filter {
|
2022-04-11 16:45:55 +05:30
|
|
|
border-bottom: 1px solid var(--background-color-secondary);
|
2020-10-06 17:01:34 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel .filter input {
|
|
|
|
padding: 0.8em;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.LeftPanel .RoomList {
|
2020-08-12 20:11:03 +05:30
|
|
|
padding: 0;
|
2020-10-08 20:07:24 +05:30
|
|
|
/* make scrollbar hit right edge of parent */
|
|
|
|
padding-right: 8px;
|
|
|
|
margin-right: -8px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomList > li {
|
2020-10-08 13:59:30 +05:30
|
|
|
margin: 0;
|
2020-10-14 13:50:20 +05:30
|
|
|
padding: 4px 8px 4px 0;
|
|
|
|
/* vertical align */
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomList > li > a {
|
2020-10-14 13:50:20 +05:30
|
|
|
text-decoration: none;
|
2020-08-12 20:11:03 +05:30
|
|
|
/* vertical align */
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.RoomList li:not(:first-child) {
|
2020-10-14 13:50:20 +05:30
|
|
|
/* space between items is 12px but we take 4px padding
|
|
|
|
on each side for the background of the active state*/
|
|
|
|
margin-top: 4px;
|
2020-10-08 13:59:30 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomList li.active {
|
2022-04-12 15:12:31 +05:30
|
|
|
background: var(--background-color-secondary--darker-7);
|
2020-08-12 21:53:24 +05:30
|
|
|
border-radius: 5px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomList li > a > * {
|
2020-10-08 13:59:30 +05:30
|
|
|
margin-right: 8px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.RoomList .description {
|
2021-04-21 21:20:22 +05:30
|
|
|
align-items: center;
|
2020-08-21 19:20:47 +05:30
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.RoomList .name.unread {
|
2020-08-21 19:20:47 +05:30
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.RoomList .badge {
|
2020-08-21 19:20:47 +05:30
|
|
|
min-width: 1.6rem;
|
|
|
|
height: 1.6rem;
|
|
|
|
border-radius: 1.6rem;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0.1rem 0.3rem;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--room-badge);
|
2022-04-12 21:05:14 +05:30
|
|
|
color: var(--fixed-white);
|
2020-08-21 19:20:47 +05:30
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.4rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-10-08 13:59:30 +05:30
|
|
|
.RoomList .badge.highlighted {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--error-color);
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2020-08-14 18:04:39 +05:30
|
|
|
color: inherit;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.SessionStatusView {
|
2020-10-20 18:12:17 +05:30
|
|
|
padding: 4px;
|
|
|
|
min-height: 22px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--accent-color);
|
2022-04-12 16:12:43 +05:30
|
|
|
color: var(--fixed-white);
|
2020-10-20 18:12:17 +05:30
|
|
|
align-items: center;
|
2020-08-12 21:53:24 +05:30
|
|
|
}
|
|
|
|
|
2020-10-20 18:12:17 +05:30
|
|
|
.SessionStatusView button.link {
|
|
|
|
color: currentcolor;
|
2020-11-13 23:34:46 +05:30
|
|
|
text-align: left;
|
2020-10-20 18:12:17 +05:30
|
|
|
}
|
|
|
|
|
2022-04-11 16:45:55 +05:30
|
|
|
.SessionStatusView>.end {
|
2020-10-20 18:12:17 +05:30
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
align-self: stretch;
|
|
|
|
align-items: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionStatusView .dismiss {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/dismiss.svg?primary=background-color-primary');
|
2020-10-20 18:12:17 +05:30
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 32px;
|
|
|
|
cursor: pointer;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-10-08 19:44:59 +05:30
|
|
|
.room-placeholder {
|
2020-08-12 20:11:03 +05:30
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-10-07 21:29:28 +05:30
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.SessionPickerView li {
|
2021-06-03 21:03:02 +05:30
|
|
|
font-size: 1.2em;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-08-14 18:04:39 +05:30
|
|
|
.SessionPickerView .session-info {
|
2020-10-14 14:04:25 +05:30
|
|
|
text-decoration: none;
|
2020-08-14 18:04:39 +05:30
|
|
|
padding: 12px;
|
2022-04-11 16:45:55 +05:30
|
|
|
border: 1px solid var(--light-border);
|
2020-08-14 18:04:39 +05:30
|
|
|
border-radius: 8px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('./icons/chevron-right.svg?primary=icon-color');
|
2020-08-14 18:04:39 +05:30
|
|
|
background-position: center right 30px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionPickerView .session-actions {
|
|
|
|
margin: 10px 0 20px 0;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.SessionPickerView .session-actions > * {
|
2020-08-14 18:04:39 +05:30
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2021-06-03 21:03:02 +05:30
|
|
|
.SessionPickerView .session-actions > *:last-child {
|
2020-08-14 18:04:39 +05:30
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionPickerView .session-actions button {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionPickerView button.destructive {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--error-color);
|
2020-08-14 18:04:39 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomGridView > div.container {
|
2022-04-11 16:45:55 +05:30
|
|
|
border-right: 1px solid var(--background-color-secondary);
|
|
|
|
border-bottom: 1px solid var(--background-color-secondary);
|
2020-10-07 17:52:00 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomGridView > .focused > .room-placeholder .unfocused {
|
2020-10-08 19:44:59 +05:30
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomGridView > :not(.focused) > .room-placeholder .focused {
|
2020-10-08 19:44:59 +05:30
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.room-placeholder .unfocused {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--right-panel-text-color);
|
2020-10-08 19:44:59 +05:30
|
|
|
}
|
|
|
|
|
2021-06-07 16:09:13 +05:30
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.RoomGridView > div.focus-ring {
|
2022-04-12 15:12:31 +05:30
|
|
|
border: 2px solid var(--accent-color--darker-5);
|
2020-10-07 21:29:28 +05:30
|
|
|
border-radius: 12px;
|
2020-10-07 17:52:00 +05:30
|
|
|
}
|
|
|
|
|
2020-10-19 18:22:18 +05:30
|
|
|
.middle-header {
|
2020-10-08 18:30:20 +05:30
|
|
|
box-sizing: border-box;
|
2021-06-03 21:03:02 +05:30
|
|
|
flex: 0 0 56px; /* 12 + 32 + 12 to align with filter field + margin */
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--background-color-primary);
|
2020-10-08 18:30:20 +05:30
|
|
|
padding: 0 16px;
|
2022-04-11 16:45:55 +05:30
|
|
|
border-bottom: 1px solid var(--background-color-secondary);
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-10-19 18:22:18 +05:30
|
|
|
.middle-header h2 {
|
2020-08-19 12:02:25 +05:30
|
|
|
font-size: 1.8rem;
|
2020-08-19 14:32:27 +05:30
|
|
|
font-weight: 600;
|
2020-08-19 12:02:25 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.middle-header > :not(:last-child) {
|
2020-10-08 18:51:16 +05:30
|
|
|
/* use margin-right because the first item,
|
2020-10-19 18:22:18 +05:30
|
|
|
.close-middle might be hidden and then we don't
|
2020-10-08 18:51:16 +05:30
|
|
|
want a margin-left on the second item*/
|
|
|
|
margin-right: 8px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2020-10-19 18:22:18 +05:30
|
|
|
.close-middle, .close-session {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/chevron-left.svg?primary=icon-color');
|
2020-10-08 18:30:20 +05:30
|
|
|
background-position-x: 10px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomHeader .topic {
|
2020-08-19 14:32:27 +05:30
|
|
|
font-size: 14rem;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-05-12 20:59:12 +05:30
|
|
|
.RoomHeader .room-options {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url("./icons/vertical-ellipsis.svg?primary=icon-color");
|
2021-05-26 16:41:10 +05:30
|
|
|
}
|
|
|
|
|
2020-08-12 20:11:03 +05:30
|
|
|
.RoomView_error {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--error-color);
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:37:13 +05:30
|
|
|
.MessageComposer_replyPreview .Timeline_message {
|
|
|
|
margin: 0;
|
|
|
|
margin-top: 5px;
|
2021-07-28 03:38:34 +05:30
|
|
|
max-height: 30vh;
|
|
|
|
overflow: auto;
|
2021-07-23 02:37:13 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 03:14:57 +05:30
|
|
|
.MessageComposer_replyPreview {
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--background-color-secondary);
|
2021-07-28 03:38:34 +05:30
|
|
|
margin: 0px 10px 10px 10px;
|
2022-04-11 16:45:55 +05:30
|
|
|
box-shadow: 0px 0px 5px var(--background-color-secondary--darker-15);
|
2021-07-28 03:38:34 +05:30
|
|
|
border-radius: 5px;
|
2021-07-23 03:14:57 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:37:13 +05:30
|
|
|
.MessageComposer_input, .MessageComposer_replyPreview {
|
2021-11-05 23:35:52 +05:30
|
|
|
padding: 8px;
|
2020-10-08 18:40:32 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:37:13 +05:30
|
|
|
.MessageComposer_replyPreview > .replying {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2021-07-28 03:38:34 +05:30
|
|
|
font-weight: bold;
|
2021-07-23 02:37:13 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.MessageComposer_replyPreview > button.cancel {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
display: block;
|
|
|
|
border: none;
|
|
|
|
text-indent: 200%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: transparent;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/clear.svg?primary=icon-color');
|
2021-07-23 02:37:13 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 18px;
|
2021-08-06 23:16:38 +05:30
|
|
|
cursor: pointer;
|
2021-07-23 02:37:13 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 03:14:57 +05:30
|
|
|
.MessageComposer_input:first-child {
|
2022-04-11 16:45:55 +05:30
|
|
|
border-top: 1px solid var(--background-color-secondary);
|
2021-07-23 03:14:57 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:09:40 +05:30
|
|
|
.MessageComposer_input > :not(:first-child) {
|
2020-10-08 18:40:32 +05:30
|
|
|
margin-left: 12px;
|
2020-08-13 21:30:19 +05:30
|
|
|
}
|
|
|
|
|
2021-10-29 15:11:34 +05:30
|
|
|
.MessageComposer_input > textarea {
|
2020-08-12 20:11:03 +05:30
|
|
|
border: none;
|
2020-10-08 18:40:32 +05:30
|
|
|
border-radius: 24px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--background-color-secondary);
|
|
|
|
color: inherit;
|
2020-10-08 18:40:32 +05:30
|
|
|
font-size: 14px;
|
|
|
|
font-family: "Inter", sans-serif;
|
2021-10-29 15:11:34 +05:30
|
|
|
resize: none;
|
|
|
|
flex: 1;
|
|
|
|
padding: 14px;
|
|
|
|
box-sizing: border-box;
|
2021-10-29 17:00:02 +05:30
|
|
|
overflow: hidden;
|
2021-11-05 23:35:09 +05:30
|
|
|
max-height: 113px; /* 5 lines */
|
2021-11-08 15:49:24 +05:30
|
|
|
overflow-y: auto;
|
|
|
|
overflow-y: overlay;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:09:40 +05:30
|
|
|
.MessageComposer_input > button.send {
|
2020-08-13 21:30:19 +05:30
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
display: block;
|
|
|
|
border-radius: 100%;
|
|
|
|
border: none;
|
|
|
|
text-indent: 200%;
|
|
|
|
overflow: hidden;
|
2021-06-07 16:09:13 +05:30
|
|
|
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--accent-color);
|
|
|
|
background-image: url('icons/send.svg?primary=background-color-primary');
|
2020-08-13 21:30:19 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
2021-11-05 23:35:52 +05:30
|
|
|
align-self: end;
|
|
|
|
margin-bottom: 8px;
|
2020-08-13 21:30:19 +05:30
|
|
|
}
|
|
|
|
|
2021-07-23 02:09:40 +05:30
|
|
|
.MessageComposer_input > button.sendFile {
|
2020-11-11 17:27:43 +05:30
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
display: block;
|
|
|
|
border: none;
|
|
|
|
text-indent: 200%;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: transparent;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url('icons/paperclip.svg?primary=icon-color');
|
2020-11-11 17:27:43 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
}
|
|
|
|
|
2021-11-05 23:35:35 +05:30
|
|
|
.MessageComposer.MessageComposer_canSend button.sendFile {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MessageComposer:not(.MessageComposer_canSend) button.send {
|
|
|
|
display: none;
|
2020-08-13 21:30:19 +05:30
|
|
|
}
|
|
|
|
|
2020-10-19 18:23:05 +05:30
|
|
|
.SettingsBody {
|
2020-10-19 21:59:13 +05:30
|
|
|
padding: 0px 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Settings h3 {
|
|
|
|
margin: 16px 0 8px 0;
|
2020-10-16 21:36:20 +05:30
|
|
|
}
|
|
|
|
|
2020-10-20 15:40:56 +05:30
|
|
|
.Settings p {
|
2021-06-03 21:03:02 +05:30
|
|
|
max-width: 700px;
|
2020-10-20 15:40:56 +05:30
|
|
|
}
|
|
|
|
|
2020-10-16 21:36:20 +05:30
|
|
|
.Settings .row .label {
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:23:05 +05:30
|
|
|
.Settings .row .label, .Settings .row .content {
|
|
|
|
margin-top: 4px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row .content {
|
|
|
|
margin-left: 4px;
|
2020-11-20 20:21:16 +05:30
|
|
|
flex: 1;
|
2020-10-19 18:23:05 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row.code .content {
|
2020-10-16 21:36:20 +05:30
|
|
|
font-family: monospace;
|
|
|
|
}
|
|
|
|
|
2020-10-19 18:23:05 +05:30
|
|
|
.Settings .row .content button {
|
2021-06-03 21:03:02 +05:30
|
|
|
display: inline-block;
|
|
|
|
margin: 0 8px;
|
2020-10-19 18:23:05 +05:30
|
|
|
}
|
|
|
|
|
2020-11-20 20:21:16 +05:30
|
|
|
.Settings .row .content input[type=range] {
|
2021-06-03 21:03:02 +05:30
|
|
|
width: 100%;
|
|
|
|
max-width: 300px;
|
|
|
|
min-width: 160px;
|
2020-11-20 20:21:16 +05:30
|
|
|
}
|
|
|
|
|
2020-10-16 21:36:20 +05:30
|
|
|
.Settings .row {
|
2020-10-19 18:23:05 +05:30
|
|
|
margin: 4px 0px;
|
2020-10-16 21:36:20 +05:30
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
2020-10-19 18:23:05 +05:30
|
|
|
align-items: center;
|
2020-10-16 21:36:20 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row .label {
|
|
|
|
flex: 0 0 200px;
|
2021-10-29 19:18:28 +05:30
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row .content p {
|
|
|
|
margin: 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row .content p:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Settings .row .content p:last-child {
|
|
|
|
margin-bottom: 0;
|
2020-10-16 21:36:20 +05:30
|
|
|
}
|
2020-10-19 21:59:13 +05:30
|
|
|
|
2020-10-29 14:59:08 +05:30
|
|
|
.error {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--error-color);
|
2020-10-19 21:59:13 +05:30
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.link {
|
|
|
|
font-size: 1em;
|
|
|
|
border: none;
|
|
|
|
text-decoration: underline;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
margin: -12px;
|
|
|
|
padding: 12px;
|
2022-04-12 16:12:43 +05:30
|
|
|
color: inherit;
|
2020-10-19 21:59:13 +05:30
|
|
|
}
|
2020-10-20 18:12:17 +05:30
|
|
|
|
|
|
|
.Settings a, .Settings .link {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--accent-color);
|
2020-10-20 18:12:17 +05:30
|
|
|
font-weight: 600;
|
|
|
|
}
|
2020-10-30 19:50:11 +05:30
|
|
|
|
|
|
|
.lightbox {
|
2022-04-12 15:12:31 +05:30
|
|
|
/* needs transparency support */
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: rgba(0, 0, 0, 0.75);
|
2020-10-30 19:50:11 +05:30
|
|
|
display: grid;
|
2021-06-03 21:03:02 +05:30
|
|
|
grid-template:
|
|
|
|
"content close" auto
|
|
|
|
"content details" 1fr /
|
2021-06-07 16:09:13 +05:30
|
|
|
1fr auto;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--background-color-primary);
|
2020-10-31 04:55:51 +05:30
|
|
|
padding: 4px;
|
2020-10-30 19:50:11 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-aspect-ratio: 1/1) {
|
|
|
|
.lightbox {
|
2021-06-03 21:03:02 +05:30
|
|
|
grid-template:
|
|
|
|
"close" auto
|
|
|
|
"content" 1fr
|
|
|
|
"details" auto /
|
|
|
|
1fr;
|
2020-10-30 19:50:11 +05:30
|
|
|
}
|
2021-06-07 16:09:13 +05:30
|
|
|
|
2020-10-30 19:50:11 +05:30
|
|
|
.lightbox .details {
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox .picture {
|
|
|
|
grid-area: content;
|
|
|
|
background-size: contain;
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2020-10-31 03:22:08 +05:30
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
2020-10-30 19:50:11 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox .loading {
|
|
|
|
grid-area: content;
|
2020-10-31 03:22:08 +05:30
|
|
|
align-self: center;
|
|
|
|
justify-self: center;
|
|
|
|
display: flex;
|
2020-10-30 19:50:11 +05:30
|
|
|
}
|
|
|
|
|
2021-06-03 21:03:02 +05:30
|
|
|
.lightbox .loading > :not(:first-child) {
|
2020-11-02 15:59:09 +05:30
|
|
|
margin-left: 8px;
|
|
|
|
}
|
|
|
|
|
2020-10-30 19:50:11 +05:30
|
|
|
.lightbox .close {
|
2020-10-31 03:22:08 +05:30
|
|
|
display: block;
|
2020-10-30 19:50:11 +05:30
|
|
|
grid-area: close;
|
2020-10-31 03:22:08 +05:30
|
|
|
justify-self: end;
|
2022-04-12 16:12:43 +05:30
|
|
|
background-image: url('icons/dismiss.svg?primary=fixed-white');
|
2020-10-30 19:50:11 +05:30
|
|
|
background-position: center;
|
|
|
|
background-size: 16px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
padding: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.lightbox .details {
|
|
|
|
grid-area: details;
|
|
|
|
padding: 12px;
|
|
|
|
font-size: 1.5rem;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2020-11-13 20:27:14 +05:30
|
|
|
.menu {
|
|
|
|
border-radius: 8px;
|
2022-04-12 15:12:31 +05:30
|
|
|
/* needs transparency support */
|
2021-06-03 21:03:02 +05:30
|
|
|
box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
|
2020-11-13 20:27:14 +05:30
|
|
|
padding: 4px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--background-color-primary);
|
2020-11-13 20:27:14 +05:30
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-10-30 19:50:11 +05:30
|
|
|
|
2021-06-01 16:55:10 +05:30
|
|
|
.menu li{
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2022-04-11 16:45:55 +05:30
|
|
|
.menu .menu-item {
|
|
|
|
color: var(--text-color);
|
|
|
|
}
|
|
|
|
|
2020-11-13 20:27:14 +05:30
|
|
|
.menu button {
|
|
|
|
border-radius: 4px;
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
|
|
|
text-align: left;
|
|
|
|
padding: 8px 32px 8px 8px;
|
2021-06-15 14:52:07 +05:30
|
|
|
font-size: 1.5rem;
|
2021-06-03 22:34:13 +05:30
|
|
|
height: 24px;
|
|
|
|
cursor: pointer;
|
2020-11-13 20:27:14 +05:30
|
|
|
}
|
|
|
|
|
2021-05-28 19:55:23 +05:30
|
|
|
.menu .destructive button {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--error-color);
|
2020-11-13 20:27:14 +05:30
|
|
|
}
|
2021-04-27 18:40:12 +05:30
|
|
|
|
2021-06-24 20:36:37 +05:30
|
|
|
.menu .quick-reactions {
|
|
|
|
display: flex;
|
|
|
|
padding: 8px 32px 8px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu .quick-reactions button {
|
|
|
|
padding: 2px 4px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2021-04-27 18:40:12 +05:30
|
|
|
.InviteView_body {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center;
|
|
|
|
flex: 1;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_invite {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 0 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_roomProfile {
|
|
|
|
display: grid;
|
|
|
|
gap: 4px;
|
2021-06-03 21:03:02 +05:30
|
|
|
grid-template:
|
|
|
|
"avatar name" auto
|
|
|
|
"avatar description" 1fr /
|
|
|
|
72px 1fr;
|
2021-04-27 18:40:12 +05:30
|
|
|
align-self: center;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_roomProfile h3 {
|
|
|
|
grid-area: name;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_roomDescription {
|
|
|
|
grid-area: description;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin: 0;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--light-text-color);
|
2021-04-27 18:40:12 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_roomAvatar {
|
|
|
|
grid-area: avatar;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_dmAvatar {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_inviter {
|
|
|
|
text-align: center;
|
|
|
|
margin: 24px 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_inviter .avatar {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_buttonRow {
|
|
|
|
margin: 10px auto;
|
|
|
|
max-width: 200px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.InviteView_buttonRow button {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2021-05-11 16:41:11 +05:30
|
|
|
|
|
|
|
.RoomArchivedView {
|
|
|
|
padding: 12px;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--background-color-secondary);
|
2021-05-11 16:41:11 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomArchivedView h3 {
|
|
|
|
margin: 0;
|
2021-05-18 15:16:55 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.UnknownRoomView {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
padding: 16px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.UnknownRoomView h2 {
|
|
|
|
word-break: break-all;
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.UnknownRoomView button {
|
|
|
|
max-width: 200px;
|
|
|
|
width: 100%;
|
2021-05-28 15:47:50 +05:30
|
|
|
}
|
2021-05-26 15:43:01 +05:30
|
|
|
|
2021-07-15 16:25:59 +05:30
|
|
|
.LoadingView {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LoadingView .spinner {
|
2021-07-15 17:31:16 +05:30
|
|
|
margin-right: 5px;
|
2021-07-15 16:25:59 +05:30
|
|
|
}
|
|
|
|
|
2021-05-26 15:43:01 +05:30
|
|
|
/* Right Panel */
|
|
|
|
|
2021-07-14 20:54:33 +05:30
|
|
|
.RightPanelView {
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--background-color-secondary);
|
2021-07-14 20:54:33 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomDetailsView {
|
2021-06-07 00:24:29 +05:30
|
|
|
padding: 16px;
|
2021-07-15 18:51:15 +05:30
|
|
|
padding-top: 0;
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
2021-07-20 16:45:02 +05:30
|
|
|
.RoomDetailsView_id, .MemberDetailsView_id {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--right-panel-text-color);
|
2021-05-26 15:43:01 +05:30
|
|
|
font-size: 12px;
|
2021-06-01 21:06:22 +05:30
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.RoomDetailsView_rows{
|
2021-06-01 21:06:22 +05:30
|
|
|
margin-top: 36px;
|
|
|
|
width: 100%;
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
2021-07-20 16:45:02 +05:30
|
|
|
.RoomDetailsView_name h2, .MemberDetailsView_name h2 {
|
2021-05-26 15:43:01 +05:30
|
|
|
margin-bottom: 4px;
|
2021-06-01 20:46:59 +05:30
|
|
|
font-size: 1.8rem;
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.RoomDetailsView_row {
|
2021-05-26 15:43:01 +05:30
|
|
|
margin-bottom: 20px;
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 15px;
|
2021-07-14 20:54:33 +05:30
|
|
|
width: 100%;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.RoomDetailsView_row {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.RoomDetailsView_row::after {
|
2022-04-11 16:45:55 +05:30
|
|
|
content: url("./icons/chevron-small.svg?primary=icon-color");
|
2021-07-14 20:54:33 +05:30
|
|
|
margin-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RoomDetailsView_row:not(button)::after{
|
|
|
|
content: " ";
|
|
|
|
width: 19px;
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.RoomDetailsView_label::before {
|
2021-05-26 15:43:01 +05:30
|
|
|
padding-right: 16px;
|
2021-06-07 13:45:33 +05:30
|
|
|
height: 24px;
|
2021-05-26 15:43:01 +05:30
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
2021-07-14 20:54:33 +05:30
|
|
|
.RoomDetailsView_label {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.RoomDetailsView_value {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--right-panel-text-color);
|
2021-07-16 16:25:33 +05:30
|
|
|
flex: 1;
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.MemberCount::before {
|
2022-04-11 16:45:55 +05:30
|
|
|
content: url("./icons/room-members.svg?primary=icon-color");
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.EncryptionStatus::before {
|
2022-04-11 16:45:55 +05:30
|
|
|
content: url("./icons/encryption-status.svg?primary=icon-color");
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
/* Encryption icon next to avatar */
|
2021-05-26 15:59:28 +05:30
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.EncryptionIconView {
|
2021-05-26 15:59:28 +05:30
|
|
|
width: 52px;
|
2021-05-26 15:43:01 +05:30
|
|
|
height: 52px;
|
|
|
|
border-radius: 100%;
|
2022-04-11 16:45:55 +05:30
|
|
|
background: var(--right-panel-text-color);
|
|
|
|
border: 3px solid var(--background-color-secondary);
|
2021-05-26 15:43:01 +05:30
|
|
|
margin-left: -16px;
|
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.EncryptionIconView_encrypted, .EncryptionIconView_unencrypted {
|
2021-05-26 15:43:01 +05:30
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.EncryptionIconView_encrypted {
|
2022-04-11 16:45:55 +05:30
|
|
|
content: url("./icons/e2ee-normal.svg?primary=fixed-white");
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
|
|
|
|
2021-06-06 23:52:24 +05:30
|
|
|
.EncryptionIconView_unencrypted {
|
2022-04-11 16:45:55 +05:30
|
|
|
content: url("./icons/e2ee-disabled.svg?primary=fixed-white");
|
2021-05-26 15:43:01 +05:30
|
|
|
}
|
2021-05-26 15:59:28 +05:30
|
|
|
|
2021-07-15 13:08:05 +05:30
|
|
|
.RightPanelView_buttons .button-utility {
|
2021-05-26 15:59:28 +05:30
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
2021-07-15 13:08:05 +05:30
|
|
|
.RightPanelView_buttons .close {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url("./icons/clear.svg?primary=icon-color");
|
2021-05-26 15:59:28 +05:30
|
|
|
}
|
2021-06-26 14:51:01 +05:30
|
|
|
|
2021-07-15 13:08:05 +05:30
|
|
|
.RightPanelView_buttons .back {
|
2022-04-11 16:45:55 +05:30
|
|
|
background-image: url("./icons/chevron-thin-left.svg?primary=icon-color");
|
2021-07-15 13:08:05 +05:30
|
|
|
}
|
|
|
|
|
2021-06-26 14:51:01 +05:30
|
|
|
/* Memberlist Panel */
|
|
|
|
|
2021-07-14 19:14:02 +05:30
|
|
|
.MemberListView {
|
|
|
|
padding-left: 16px;
|
2021-07-15 18:40:04 +05:30
|
|
|
padding-right: 16px;
|
2021-07-15 18:43:01 +05:30
|
|
|
margin: 0;
|
2021-07-14 19:14:02 +05:30
|
|
|
}
|
|
|
|
|
2021-06-26 14:51:01 +05:30
|
|
|
.MemberTileView {
|
2021-07-15 18:47:02 +05:30
|
|
|
margin-bottom: 8px;
|
2021-07-22 19:58:55 +05:30
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MemberTileView a {
|
|
|
|
text-decoration: none;
|
2021-06-26 14:51:01 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.MemberTileView .avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MemberTileView_name {
|
|
|
|
text-overflow: ellipsis;
|
2021-07-15 18:40:04 +05:30
|
|
|
overflow: hidden;
|
2021-06-26 14:51:01 +05:30
|
|
|
white-space: nowrap;
|
2021-07-15 18:40:04 +05:30
|
|
|
flex: 1;
|
2021-06-26 14:51:01 +05:30
|
|
|
}
|
2021-07-15 13:08:05 +05:30
|
|
|
|
2021-07-20 16:45:02 +05:30
|
|
|
/* Member details panel */
|
|
|
|
.MemberDetailsView_section {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 16px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MemberDetailsView_label {
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--right-panel-text-color);
|
2021-08-03 15:16:47 +05:30
|
|
|
text-transform: uppercase;
|
2021-07-20 16:45:02 +05:30
|
|
|
}
|
|
|
|
|
2021-07-20 21:36:58 +05:30
|
|
|
.MemberDetailsView_value, .MemberDetailsView_options {
|
2021-07-20 16:45:02 +05:30
|
|
|
margin-left: 8px;
|
2021-07-20 21:36:58 +05:30
|
|
|
margin-top: 5px;
|
2021-07-20 16:45:02 +05:30
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
|
2021-07-20 21:36:58 +05:30
|
|
|
.MemberDetailsView_options {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2022-02-10 19:08:12 +05:30
|
|
|
.MemberDetailsView_options a, .MemberDetailsView_options button {
|
2022-04-11 16:45:55 +05:30
|
|
|
color: var(--accent-color);
|
2021-07-20 21:36:58 +05:30
|
|
|
text-decoration: none;
|
2022-02-10 19:08:12 +05:30
|
|
|
margin: 0 0 3px 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
2021-07-20 21:36:58 +05:30
|
|
|
}
|
|
|
|
|
2021-07-15 13:08:05 +05:30
|
|
|
.LazyListParent {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2022-01-17 21:01:02 +05:30
|
|
|
|
|
|
|
.LogoutScreen {
|
|
|
|
height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LogoutScreen .content {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LogoutScreen .status {
|
|
|
|
display: flex;
|
|
|
|
gap: 12px;
|
|
|
|
}
|
2022-02-09 23:32:51 +05:30
|
|
|
|
2022-02-10 15:37:29 +05:30
|
|
|
.CreateRoomView, .RoomBeingCreated_error {
|
2022-02-09 23:32:51 +05:30
|
|
|
max-width: 400px;
|
2022-02-10 15:37:29 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomBeingCreated_error {
|
|
|
|
margin-top: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.centered-column {
|
|
|
|
padding: 0 12px;
|
|
|
|
align-self: center;
|
2022-02-09 23:32:51 +05:30
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CreateRoomView_selectAvatar {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CreateRoomView_selectAvatarPlaceholder {
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
border-radius: 100%;
|
2022-04-11 16:45:55 +05:30
|
|
|
background-color: var(--icon-background);
|
|
|
|
background-image: url('icons/plus.svg?primary=icon-color');
|
2022-02-09 23:32:51 +05:30
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
background-size: 36px;
|
|
|
|
}
|