remove non-overridden stuff, and add dot svg

This commit is contained in:
Matthew Hodgson 2017-10-25 02:26:53 +01:00
parent eedcda1d0e
commit 9d86716b0f

View File

@ -90,6 +90,7 @@ limitations under the License.
padding-right: 10px; padding-right: 10px;
border-radius: 8px; border-radius: 8px;
background-color: $form-bg-color; background-color: $form-bg-color;
background-image: url(../../themes/status/img/dot.svg);
box-shadow: 0px 5px 16px 0px rgba(25,12,46,0.16); box-shadow: 0px 5px 16px 0px rgba(25,12,46,0.16);
position: relative; position: relative;
text-align: center; text-align: center;
@ -120,13 +121,6 @@ limitations under the License.
margin-bottom: 24px; margin-bottom: 24px;
} }
.mx_Login_support {
text-align: center;
font-size: 13px;
margin-top: 0px;
opacity: 0.7;
}
.mx_Login_field { .mx_Login_field {
width: 260px; width: 260px;
height: 27px; height: 27px;
@ -157,14 +151,6 @@ limitations under the License.
opacity: 0.3; opacity: 0.3;
} }
.mx_Login_fieldLabel {
margin-top: -10px;
margin-left: 8px;
margin-bottom: 14px;
font-size: 13px;
opacity: 0.8;
}
.mx_Login_submit { .mx_Login_submit {
@mixin mx_DialogButton; @mixin mx_DialogButton;
width: 200px; width: 200px;
@ -176,16 +162,6 @@ limitations under the License.
opacity: 0.3; opacity: 0.3;
} }
.mx_Login_label {
font-size: 13px;
opacity: 0.8;
}
.mx_Login_checkbox,
.mx_Login_radio {
margin-right: 10px;
}
.mx_Login_create { .mx_Login_create {
display: block; display: block;
text-align: center; text-align: center;
@ -212,12 +188,6 @@ limitations under the License.
color: $primary-fg-color; color: $primary-fg-color;
} }
.mx_Login_prompt {
padding-top: 15px;
padding-bottom: 15px;
font-size: 13px;
}
.mx_Login_forgot { .mx_Login_forgot {
display: block; display: block;
font-size: 13px; font-size: 13px;
@ -228,22 +198,6 @@ limitations under the License.
color: $form-fg-color; color: $form-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 { .mx_Login_error {
color: $warning-color; color: $warning-color;
font-size: 18px; font-size: 18px;
@ -258,116 +212,4 @@ limitations under the License.
margin-bottom: 16px; margin-bottom: 16px;
} }
.mx_Login_type_container {
display: flex;
margin-bottom: 14px;
}
.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_group {
display: flex;
}
.mx_Login_field_prefix {
height: 34px;
padding: 0px 5px;
line-height: 33px;
background-color: #eee;
border: 1px solid #c7c7c7;
border-right: 0px;
border-radius: 3px 0px 0px 3px;
text-align: center;
}
.mx_Login_field_suffix {
height: 34px;
padding: 0px 5px;
line-height: 33px;
background-color: #eee;
border: 1px solid #c7c7c7;
border-left: 0px;
border-radius: 0px 3px 3px 0px;
text-align: center;
flex-grow: 1;
}
.mx_Login_username {
flex-shrink: 1;
min-width: 0px;
}
.mx_Login_phoneNumberField {
height: 16px;
}
.mx_Login_field_has_prefix {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.mx_Login_field_has_suffix {
border-top-right-radius: 0px;
border-bottom-right-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
33px + 2px border from mx_Dropdown_option = 35px
*/
height: 33px;
line-height: 33px;
}
.mx_Login_phoneCountry .mx_Dropdown_option img {
margin: 3px;
vertical-align: top;
}
.mx_Login_language {
margin-left: auto;
margin-right: auto;
min-width: 60%;
}
.mx_Login_language_div {
display: flex;
margin-top: 12px;
margin-bottom: 12px;
}
} }