Better selecting

This commit is contained in:
Tobias Reich 2014-02-08 22:11:01 +01:00
parent b24f120955
commit 69741b7d33
4 changed files with 10 additions and 5 deletions

View File

@ -32,4 +32,9 @@ body.view {
-webkit-transition: color .3s, opacity .3s ease-out, -webkit-transform .3s ease-out, box-shadow .3s;
-moz-transition: opacity .3s ease-out, -moz-transform .3s ease-out, box-shadow .3s;
transition: color .3s, opacity .3s ease-out, transform .3s ease-out, box-shadow .3s;
}
input {
-webkit-user-select: text !important;
-moz-user-select: text !important;
user-select: text !important;
}

View File

@ -6,8 +6,8 @@
#multiselect {
position: absolute;
background-color: RGBA(0, 94, 204, .3);
border: 1px solid RGBA(0, 94, 204, 1);
background-color: rgba(0, 94, 204, .3);
border: 1px solid rgba(0, 94, 204, 1);
border-radius: 3px;
z-index: 3;
}

View File

@ -272,7 +272,7 @@ contextMenu = {
];
contextMenu.show(items, mouse_x, mouse_y, "left");
$(".contextmenu input").focus();
$(".contextmenu input").focus().select();
},
@ -307,7 +307,7 @@ contextMenu = {
if (album.json.password==true) items[3] = ["<a class='icon-unlock'></a> Remove Password", 5];
contextMenu.show(items, mouse_x, mouse_y, "left");
$(".contextmenu input").focus();
$(".contextmenu input").focus().select();
},

View File

@ -20,7 +20,7 @@ modal = {
modal.fns = [buttons[0][1], buttons[1][1]];
$("body").append(build.modal(title, text, buttons, marginTop, closeButton));
$(".message input:first-child").focus();
$(".message input:first-child").focus().select();
},