/* Copyright 2020 Bruno Windels 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'; font-size: 15px; background-color: white; color: #2e2f32; --usercolor1: #368BD6; --usercolor2: #AC3BA8; --usercolor3: #03B381; --usercolor4: #E64F7A; --usercolor5: #FF812D; --usercolor6: #2DC2C5; --usercolor7: #5C56F5; --usercolor8: #74D12C; } .avatar { border-radius: 100%; background: #3D88FA; color: white; } .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); } .LeftPanel { background: rgba(245, 245, 245, 0.90); } .LeftPanel ul { padding: 0; margin: 0; } .LeftPanel li { margin: 5px 10px; padding: 5px; /* vertical align */ align-items: center; } .LeftPanel li.active { background: rgba(141, 151, 165, 0.1); border-radius: 5px; } .LeftPanel li > * { margin-right: 10px; } .LeftPanel .description .last-message { font-size: 0.8em; } a { color: white; } .SessionStatusView { padding: 5px; position: absolute; top: 20px; right: 20px; background-color: #3D88FA; color: white; border-radius: 10px; } .room-shown .SessionStatusView { top: 72px; } .RoomPlaceholderView { align-items: center; justify-content: center; } .SessionPickerView li { font-size: 1.2em; background-color: grey; } .RoomHeader { background: rgba(245, 245, 245, 0.90); 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: 2px 10px; margin: 5px 10px 0 10px; } .TextMessageView.continuation .message-container { margin-top: 0; margin-bottom: 0; } .message-container .sender { margin: 5px 0; font-size: 0.9em; font-weight: bold; } .hydrogen .sender.usercolor1 { color: var(--usercolor1); } .hydrogen .sender.usercolor2 { color: var(--usercolor2); } .hydrogen .sender.usercolor3 { color: var(--usercolor3); } .hydrogen .sender.usercolor4 { color: var(--usercolor4); } .hydrogen .sender.usercolor5 { color: var(--usercolor5); } .hydrogen .sender.usercolor6 { color: var(--usercolor6); } .hydrogen .sender.usercolor7 { color: var(--usercolor7); } .hydrogen .sender.usercolor8 { color: var(--usercolor8); } .message-container time { padding: 2px 0 0px 10px; font-size: 0.8em; color: #aaa; } .TextMessageView.pending .message-container { color: #ccc; } .message-container p { margin: 5px 0; } .AnnouncementView { margin: 5px 0; padding: 5px 10%; } .AnnouncementView > div { margin: 0 auto; padding: 10px 20px; background-color: rgba(245, 245, 245, 0.90); font-size: 0.9em; text-align: center; border-radius: 10px; }