This repository has been archived on 2022-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
hydrogen-web/src/ui/web/css/login.css
Bruno Windels c9bb18b87e make loading screen a bit prettier
by wrapping it in a view with common pre-session chrome

this renames the existing SessionLoadView to SessionLoadStatusView
so we can call the wrapper the former.
2020-10-09 09:58:00 +02:00

71 lines
1.4 KiB
CSS

/*
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.
*/
/** contains styles for everything before the session view, like the session picker, login, load view, ... */
.SessionPickerView {
padding: 0.4em;
}
.SessionPickerView ul {
list-style: none;
padding: 0;
}
.SessionPickerView li {
margin: 0.4em 0;
}
.SessionPickerView .session-info {
cursor: pointer;
display: flex;
align-items: center;
}
.SessionPickerView .session-info > :not(:first-child) {
margin-left: 8px;
}
.SessionPickerView li .user-id {
flex: 1;
}
.SessionPickerView li .error {
margin: 0 20px;
}
.LoginView {
padding: 0.4em;
}
.SessionLoadStatusView {
display: flex;
}
.SessionLoadStatusView > :not(:first-child) {
margin-left: 12px;
}
.SessionLoadStatusView p {
flex: 1;
margin: 0;
}
.SessionLoadStatusView .spinner {
--size: 20px;
}