diff --git a/public/index.css b/public/index.css index 917e829..57729b7 100644 --- a/public/index.css +++ b/public/index.css @@ -154,6 +154,11 @@ label { #send-message { position: relative; } + +#send-message>div { + text-align: center; +} + #send-message input { border: none; height: 40px; @@ -173,15 +178,14 @@ label { outline: 0; } -#send-message button { - margin: 20px 0 20px -55px; - left: 50%; - width: 110px; +#send-message button{ + line-height: 22px; + margin: 20px 0; position: relative; + width: 110px; } -button { - margin: 0; +button, div.filebutton { -webkit-user-select: none; -moz-user-select: none; user-select: none; @@ -199,13 +203,34 @@ button { text-align: center; text-shadow: 0 1px 1px #006679; cursor: pointer; + padding: 2px 0 2px 0; + line-height: 1; } -button:hover, -button.hover, +button:hover, div.filebutton:hover, +button.hover, div.filebutton.hover, button:active, -button:focus { +button:focus, { background: #009cb8; box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 0 10px #007287; } +div.filebutton { + line-height: 24px; + margin: -7px 0; + overflow: hidden; + padding: 2px 0; + position: relative; + width: 150px !important; +} + +.filebutton input#imagefile { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + opacity: 0; + margin: 0; +} + diff --git a/public/index.html b/public/index.html index f5261e3..225479e 100644 --- a/public/index.html +++ b/public/index.html @@ -25,7 +25,10 @@