mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 02:51:30 +03:00
975392cbbb
If you happen to get logged out, it might not be very clear what has happened visually. This adds a visible warning to the top of the home page to suggest logging in. Fixes vector-im/riot-web#7629. Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
48 lines
1.1 KiB
SCSS
48 lines
1.1 KiB
SCSS
/*
|
|
Copyright 2016 OpenMarket Ltd
|
|
Copyright 2017 Vector Creations Ltd
|
|
|
|
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_HomePage {
|
|
max-width: 960px;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.mx_HomePage iframe {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
border: 0px;
|
|
}
|
|
|
|
.mx_HomePage_body {
|
|
// margin-left: 63px;
|
|
}
|
|
|
|
.mx_HomePage_guest_warning {
|
|
display: flex;
|
|
background-color: $secondary-accent-color;
|
|
border: 1px solid $accent-color;
|
|
margin: 20px;
|
|
padding: 20px 40px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.mx_HomePage_guest_warning img {
|
|
padding-right: 10px;
|
|
}
|