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