Merge pull request #2368 from matrix-org/bwindels/fixloginfield
Redesign: Fix login field looking inlinepull/21833/head
commit
6653236543
|
@ -192,32 +192,37 @@ $progressbar-color: #000;
|
||||||
// it has the appearance of a text box so the controls
|
// it has the appearance of a text box so the controls
|
||||||
// appear to be part of the input
|
// appear to be part of the input
|
||||||
|
|
||||||
:not(.mx_textinput) > input[type=text],
|
.mx_MatrixChat {
|
||||||
:not(.mx_textinput) > input[type=search],
|
|
||||||
.mx_textinput {
|
|
||||||
display: block;
|
|
||||||
margin: 9px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
background-color: transparent;
|
|
||||||
color: $input-darker-fg-color;
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_textinput {
|
:not(.mx_textinput) > input[type=text],
|
||||||
display: flex;
|
:not(.mx_textinput) > input[type=search],
|
||||||
align-items: center;
|
.mx_textinput {
|
||||||
}
|
display: block;
|
||||||
|
margin: 9px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
background-color: transparent;
|
||||||
|
color: $input-darker-fg-color;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
flex: 0 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_textinput > input[type=text],
|
.mx_textinput {
|
||||||
.mx_textinput > input[type=search] {
|
display: flex;
|
||||||
border: none;
|
align-items: center;
|
||||||
flex: 1;
|
|
||||||
color: inherit; //from .mx_textinput
|
> input[type=text],
|
||||||
|
> input[type=search] {
|
||||||
|
border: none;
|
||||||
|
flex: 1;
|
||||||
|
color: inherit; //from .mx_textinput
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text],
|
input[type=text],
|
||||||
input[type=search] {
|
input[type=search],
|
||||||
|
input[type=password] {
|
||||||
padding: 9px;
|
padding: 9px;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
Loading…
Reference in New Issue