2019-01-23 04:28:23 +03:00
|
|
|
/*
|
|
|
|
Copyright 2019 New Vector Ltd
|
2020-01-28 01:27:11 +03:00
|
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
2019-01-23 04:28:23 +03:00
|
|
|
|
|
|
|
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_AuthBody {
|
2020-01-28 01:27:11 +03:00
|
|
|
width: 500px;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-12px;
|
2020-01-28 01:27:11 +03:00
|
|
|
color: $authpage-secondary-color;
|
2019-01-23 04:28:23 +03:00
|
|
|
background-color: $authpage-body-bg-color;
|
|
|
|
border-radius: 0 4px 4px 0;
|
|
|
|
padding: 25px 60px;
|
|
|
|
box-sizing: border-box;
|
2019-01-23 22:11:01 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
h2 {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-24px;
|
2019-03-06 19:33:15 +03:00
|
|
|
font-weight: 600;
|
|
|
|
margin-top: 8px;
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
}
|
2019-01-26 00:08:28 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
h3 {
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-14px;
|
2019-03-06 19:33:15 +03:00
|
|
|
font-weight: 600;
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
}
|
2019-02-13 17:24:03 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
a:link,
|
|
|
|
a:hover,
|
|
|
|
a:visited {
|
2019-08-29 17:20:14 +03:00
|
|
|
@mixin mx_Dialog_link;
|
2019-03-06 19:33:15 +03:00
|
|
|
}
|
2019-02-13 17:24:03 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
input[type=text],
|
|
|
|
input[type=password] {
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
}
|
2019-02-13 17:24:03 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
.mx_Field input,
|
|
|
|
.mx_Field select {
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
background-color: $authpage-body-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Field label {
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
}
|
2019-02-13 17:24:03 +03:00
|
|
|
|
2019-07-10 18:55:03 +03:00
|
|
|
.mx_Field_labelAlwaysTopLeft label,
|
2019-07-11 15:14:20 +03:00
|
|
|
.mx_Field select + label /* Always show a select's label on top to not collide with the value */,
|
2019-03-06 19:28:09 +03:00
|
|
|
.mx_Field input:focus + label,
|
|
|
|
.mx_Field input:not(:placeholder-shown) + label,
|
|
|
|
.mx_Field textarea:focus + label,
|
2019-07-10 18:55:03 +03:00
|
|
|
.mx_Field textarea:not(:placeholder-shown) + label {
|
2019-03-06 19:28:09 +03:00
|
|
|
background-color: $authpage-body-bg-color;
|
|
|
|
}
|
2019-01-26 00:08:28 +03:00
|
|
|
|
2019-03-06 19:33:15 +03:00
|
|
|
input.error {
|
|
|
|
color: $warning-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Field input {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2019-03-06 19:43:04 +03:00
|
|
|
|
2019-03-07 17:57:58 +03:00
|
|
|
.mx_Field_select::before {
|
|
|
|
background-color: $authpage-primary-color;
|
|
|
|
}
|
|
|
|
|
2019-03-06 20:53:44 +03:00
|
|
|
.mx_Dropdown {
|
|
|
|
color: $authpage-primary-color;
|
|
|
|
}
|
|
|
|
|
2019-03-06 19:43:04 +03:00
|
|
|
.mx_Dropdown_arrow {
|
|
|
|
background: $authpage-primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Dropdown_menu {
|
|
|
|
background-color: $authpage-body-bg-color;
|
|
|
|
|
|
|
|
.mx_Dropdown_option_highlight {
|
|
|
|
background-color: $authpage-focus-bg-color;
|
|
|
|
}
|
|
|
|
}
|
2019-02-21 17:41:42 +03:00
|
|
|
}
|
|
|
|
|
2019-01-30 21:46:40 +03:00
|
|
|
.mx_AuthBody_editServerDetails {
|
2019-01-29 01:13:19 +03:00
|
|
|
padding-left: 1em;
|
2020-03-31 17:26:23 +03:00
|
|
|
font-size: $font-12px;
|
2019-01-29 01:13:19 +03:00
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
2019-01-30 21:46:40 +03:00
|
|
|
.mx_AuthBody_fieldRow {
|
2019-01-30 00:52:12 +03:00
|
|
|
display: flex;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-03-01 17:39:09 +03:00
|
|
|
.mx_AuthBody_fieldRow > .mx_Field {
|
2019-01-30 00:52:12 +03:00
|
|
|
margin: 0 5px;
|
|
|
|
}
|
|
|
|
|
2019-03-06 14:11:24 +03:00
|
|
|
.mx_AuthBody_fieldRow > .mx_Field:first-child {
|
2019-01-30 00:52:12 +03:00
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2019-03-06 14:11:24 +03:00
|
|
|
.mx_AuthBody_fieldRow > .mx_Field:last-child {
|
2019-01-30 00:52:12 +03:00
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2020-04-15 14:21:49 +03:00
|
|
|
.mx_AuthBody_paddedFooter {
|
|
|
|
height: 80px; // height of the submit button + register link
|
|
|
|
padding-top: 28px;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.mx_AuthBody_paddedFooter_title {
|
|
|
|
margin-top: 16px;
|
|
|
|
font-size: $font-15px;
|
|
|
|
line-height: $font-24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_AuthBody_paddedFooter_subtitle {
|
|
|
|
margin-top: 8px;
|
|
|
|
font-size: $font-10px;
|
|
|
|
line-height: $font-14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-30 21:46:40 +03:00
|
|
|
.mx_AuthBody_changeFlow {
|
2019-01-23 23:30:09 +03:00
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2019-02-27 14:21:35 +03:00
|
|
|
|
|
|
|
.mx_AuthBody_spinner {
|
|
|
|
margin: 1em 0;
|
|
|
|
}
|