CSS for mxIdDialog redesign

This commit is contained in:
Luke Barnard 2017-05-11 09:33:52 +01:00
parent 1b78737f12
commit 2e49014ffe
2 changed files with 22 additions and 0 deletions

View File

@ -248,6 +248,7 @@ textarea {
.mx_Dialog_title { .mx_Dialog_title {
min-height: 16px; min-height: 16px;
padding-top: 40px; padding-top: 40px;
padding-right: 40px;
font-weight: bold; font-weight: bold;
font-size: 22px; font-size: 22px;
line-height: 1.4; line-height: 1.4;

View File

@ -15,6 +15,10 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
.mx_SetMxIdDialog_input_group {
display: flex;
}
.mx_SetMxIdDialog_input { .mx_SetMxIdDialog_input {
border-radius: 3px; border-radius: 3px;
border: 1px solid $input-border-color; border: 1px solid $input-border-color;
@ -22,4 +26,21 @@ limitations under the License.
color: $primary-fg-color; color: $primary-fg-color;
background-color: $primary-bg-color; background-color: $primary-bg-color;
font-size: 15px; font-size: 15px;
width: 100%;
max-width: 280px;
} }
.mx_SetMxIdDialog_input.error,
.mx_SetMxIdDialog_input.error:focus {
border: 1px solid $warning-color;
}
.mx_SetMxIdDialog_input_group .mx_Spinner {
height: 37px;
padding-left: 10px;
justify-content: flex-start;
}
.mx_SetMxIdDialog .success {
color: $accent-color;
}