mirror of https://github.com/vector-im/riot-web
99 lines
1.9 KiB
SCSS
99 lines
1.9 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
Copyright 2019 New Vector 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_Login_submit {
|
|
@mixin mx_DialogButton;
|
|
width: 100%;
|
|
margin-top: 24px;
|
|
margin-bottom: 24px;
|
|
box-sizing: border-box;
|
|
text-align: center;
|
|
}
|
|
|
|
.mx_Login_submit:hover {
|
|
@mixin mx_DialogButton_hover;
|
|
}
|
|
|
|
.mx_Login_submit:disabled {
|
|
opacity: 0.3;
|
|
cursor: default;
|
|
}
|
|
|
|
.mx_Login_loader {
|
|
display: inline;
|
|
position: relative;
|
|
top: 2px;
|
|
left: 8px;
|
|
}
|
|
|
|
.mx_Login_loader .mx_Spinner {
|
|
display: inline;
|
|
}
|
|
|
|
.mx_Login_loader .mx_Spinner img {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.mx_Login_error {
|
|
color: $warning-color;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
margin-top: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.mx_Login_error.mx_Login_serverError {
|
|
text-align: left;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.mx_Login_error.mx_Login_serverError.mx_Login_serverErrorNonFatal {
|
|
color: $orange-warning-color;
|
|
}
|
|
|
|
.mx_Login_type_container {
|
|
display: flex;
|
|
align-items: center;
|
|
color: $authpage-primary-color;
|
|
|
|
.mx_Field {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.mx_Login_type_label {
|
|
flex: 1;
|
|
}
|
|
|
|
.mx_Login_underlinedServerName {
|
|
width: max-content;
|
|
border-bottom: 1px dashed $accent-color;
|
|
}
|
|
|
|
div.mx_AccessibleButton_kind_link.mx_Login_forgot {
|
|
display: block;
|
|
margin: 0 auto;
|
|
// style it as a link
|
|
font-size: inherit;
|
|
padding: 0;
|
|
|
|
&.mx_AccessibleButton_disabled {
|
|
cursor: not-allowed;
|
|
}
|
|
}
|