mirror of https://github.com/vector-im/riot-web
144 lines
2.8 KiB
SCSS
144 lines
2.8 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_field {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
border-radius: 3px;
|
|
border: 1px solid $strong-input-border-color;
|
|
font-weight: 300;
|
|
font-size: 13px;
|
|
padding: 9px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.mx_Login_submit {
|
|
@mixin mx_DialogButton;
|
|
width: 100%;
|
|
margin-top: 35px;
|
|
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;
|
|
}
|
|
|
|
.mx_AuthBody a.mx_Login_sso_link:link,
|
|
.mx_AuthBody a.mx_Login_sso_link:hover,
|
|
.mx_AuthBody a.mx_Login_sso_link:visited {
|
|
color: $button-primary-fg-color;
|
|
}
|
|
|
|
.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;
|
|
/*
|
|
height: 24px;
|
|
*/
|
|
margin-top: 12px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.mx_Login_type_container {
|
|
display: flex;
|
|
margin-bottom: 14px;
|
|
color: $primary-fg-color;
|
|
}
|
|
|
|
.mx_Login_type_label {
|
|
flex-grow: 1;
|
|
line-height: 35px;
|
|
}
|
|
|
|
.mx_Login_type_dropdown {
|
|
display: inline-block;
|
|
min-width: 170px;
|
|
align-self: flex-end;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.mx_Login_field_prefix {
|
|
height: 38px;
|
|
padding: 0px 5px;
|
|
line-height: 38px;
|
|
|
|
background-color: #eee;
|
|
border: 1px solid #c7c7c7;
|
|
border-right: 0px;
|
|
border-radius: 3px 0px 0px 3px;
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
.mx_Login_field_has_prefix {
|
|
border-top-left-radius: 0px;
|
|
border-bottom-left-radius: 0px;
|
|
}
|
|
|
|
.mx_Login_phoneSection {
|
|
display:flex;
|
|
}
|
|
|
|
.mx_Login_phoneCountry {
|
|
margin-bottom: 14px;
|
|
width: 150px;
|
|
|
|
/* To override mx_Login_field_prefix */
|
|
text-align: left;
|
|
padding: 0px;
|
|
background-color: $primary-bg-color;
|
|
}
|
|
|
|
.mx_Login_field_prefix .mx_Dropdown_input {
|
|
/* To use prefix border instead of dropdown border */
|
|
border: 0;
|
|
}
|
|
|
|
.mx_Login_phoneCountry .mx_Dropdown_option {
|
|
/* To match height of mx_Login_field */
|
|
height: 38px;
|
|
line-height: 38px;
|
|
}
|
|
|
|
.mx_Login_phoneCountry .mx_Dropdown_option img {
|
|
margin: 3px;
|
|
vertical-align: top;
|
|
}
|