Added -moz/-webkit CSS prefixes, made sizer CSS consistent
This commit is contained in:
parent
67e26103d5
commit
8844b7bb80
1 changed files with 10 additions and 6 deletions
|
|
@ -97,6 +97,8 @@ div {margin:0px;}
|
||||||
position: absolute;
|
position: absolute;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
@ -123,6 +125,8 @@ div {margin:0px;}
|
||||||
/* Input field */
|
/* Input field */
|
||||||
#inputfield, #inputsend, #inputsizer {
|
#inputfield, #inputsend, #inputsizer {
|
||||||
display: block;
|
display: block;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
background: #000;
|
background: #000;
|
||||||
|
|
@ -132,22 +136,22 @@ div {margin:0px;}
|
||||||
font-family: 'DejaVu Sans Mono', Consolas, Inconsolata, 'Lucida Console', monospace;
|
font-family: 'DejaVu Sans Mono', Consolas, Inconsolata, 'Lucida Console', monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputsizer {
|
#inputfield, #inputsizer {
|
||||||
margin-left: -9999px;
|
|
||||||
line-height: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
#inputfield {
|
|
||||||
float: left;
|
float: left;
|
||||||
width: 95%;
|
width: 95%;
|
||||||
border: 0;
|
border: 0;
|
||||||
resize: none;
|
resize: none;
|
||||||
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#inputfield:focus {
|
#inputfield:focus {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#inputsizer {
|
||||||
|
margin-left: -9999px;
|
||||||
|
}
|
||||||
|
|
||||||
/* Input 'send' button */
|
/* Input 'send' button */
|
||||||
#inputsend {
|
#inputsend {
|
||||||
float: right;
|
float: right;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue