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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import url('inter.css');
|
|
|
|
|
|
|
|
.hydrogen {
|
|
|
|
font-family: 'Inter', sans-serif, 'emoji';
|
|
|
|
background-color: white;
|
2020-08-12 21:53:24 +05:30
|
|
|
color: #2e2f32;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
border-radius: 100%;
|
2020-08-12 21:53:24 +05:30
|
|
|
background: #3D88FA;
|
|
|
|
|
2020-08-12 20:11:03 +05:30
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel {
|
2020-08-12 21:53:24 +05:30
|
|
|
background: rgba(245, 245, 245, 0.90);
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel li {
|
|
|
|
margin: 5px;
|
|
|
|
padding: 10px;
|
|
|
|
/* vertical align */
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2020-08-12 21:11:46 +05:30
|
|
|
.LeftPanel li.active {
|
2020-08-12 21:53:24 +05:30
|
|
|
background: rgba(141, 151, 165, 0.1);
|
|
|
|
border-radius: 5px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel li > * {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.LeftPanel .description .last-message {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionStatusView {
|
|
|
|
padding: 5px;
|
2020-08-12 21:53:24 +05:30
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 20px;
|
|
|
|
background-color: #3D88FA;
|
|
|
|
color: white;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.room-shown .SessionStatusView {
|
|
|
|
top: 72px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.RoomPlaceholderView {
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.SessionPickerView li {
|
|
|
|
font-size: 1.2em;
|
|
|
|
background-color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RoomHeader {
|
2020-08-12 21:53:24 +05:30
|
|
|
background: rgba(245, 245, 245, 0.90);
|
2020-08-12 20:11:03 +05:30
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RoomHeader button {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 0;
|
|
|
|
background: white;
|
|
|
|
border: none;
|
|
|
|
font-weight: bolder;
|
|
|
|
line-height: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.back::before {
|
|
|
|
content: "☰";
|
|
|
|
}
|
|
|
|
|
|
|
|
.more::before {
|
|
|
|
content: "⋮";
|
|
|
|
}
|
|
|
|
|
|
|
|
.RoomHeader .topic {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.RoomView_error {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.MessageComposer > input {
|
|
|
|
padding: 0.8em;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-container {
|
|
|
|
padding: 5px 10px;
|
|
|
|
margin: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-container .sender {
|
|
|
|
margin: 5px 0;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.TextMessageView .message-container time {
|
|
|
|
padding: 2px 0 0px 20px;
|
|
|
|
font-size: 0.9em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message-container time {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: lightblue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.TextMessageView.pending .message-container {
|
2020-08-12 21:53:24 +05:30
|
|
|
color: #ccc;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.message-container p {
|
|
|
|
margin: 5px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.AnnouncementView {
|
|
|
|
margin: 5px 0;
|
|
|
|
padding: 5px 10%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.AnnouncementView > div {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 10px 20px;
|
2020-08-12 21:53:24 +05:30
|
|
|
background-color: rgba(245, 245, 245, 0.90);
|
2020-08-12 20:11:03 +05:30
|
|
|
font-size: 0.9em;
|
|
|
|
text-align: center;
|
2020-08-12 21:53:24 +05:30
|
|
|
border-radius: 10px;
|
2020-08-12 20:11:03 +05:30
|
|
|
}
|