1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-12-25 00:48:51 -05:00

[ux] fixing input height and focus issues

This commit is contained in:
karolinaszczur 2013-09-18 19:28:42 +02:00
parent cc1a7b7112
commit 002c75448d
3 changed files with 12 additions and 8 deletions

View File

@ -54,7 +54,7 @@ module.exports = {
window.onbeforeunload = function () {
if (client.sessionStarted) {
client.disconnect();
return "End active session?";
//return "End active session?";
}
};

View File

@ -1,7 +1,7 @@
input[type=text], input[type=email], input[type=search], textarea
input[type=text], input[type=email], input[type=search], input[type=password], textarea
-webkit-appearance: none
roundall(3px)
padding: 10px
padding: 0 10px
background: white
border: 1px solid $grayOutline
font-size: 0.8em
@ -11,8 +11,8 @@ input[type=text], input[type=email], input[type=search], textarea
-webkit-transition: border .2s ease-in 0
-moz-transition: border .2s ease-in 0
input[type=text], input[type=email], input[type=search]
height: 8px
input[type=text], input[type=email], input[type=search], input[type=password]
height: 35px
textarea
resize: none
@ -20,6 +20,7 @@ textarea
input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
input[type=password]:focus,
textarea:focus
outline: none
border: 1px solid lighten($activeBlue, 50%)

View File

@ -737,6 +737,7 @@ body #menu {
input[type=text],
input[type=email],
input[type=search],
input[type=password],
textarea {
-webkit-appearance: none;
-moz-border-radius: 3px;
@ -745,7 +746,7 @@ textarea {
-o-border-radius: 3px;
-border-radius: 3px;
border-radius: 3px;
padding: 10px;
padding: 0 10px;
background: #fff;
border: 1px solid #e4e4e4;
font-size: 0.8em;
@ -761,8 +762,9 @@ textarea {
}
input[type=text],
input[type=email],
input[type=search] {
height: 8px;
input[type=search],
input[type=password] {
height: 35px;
}
textarea {
resize: none;
@ -770,6 +772,7 @@ textarea {
input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
input[type=password]:focus,
textarea:focus {
outline: none;
border: 1px solid #78daff;