Errores solucionados

This commit is contained in:
Juan Ferrer Toribio 2016-10-20 12:44:32 +02:00
parent 9327e5d22f
commit b1917bef6b
3 changed files with 20 additions and 17 deletions

View File

@ -28,14 +28,14 @@
right: 0; right: 0;
width: 17em; width: 17em;
background-color: white; background-color: white;
box-shadow: 0 0 .2em rgba(1, 1, 1, 0.4); box-shadow: 0 0 .2em rgba(1, 1, 1, .2);
overflow: auto; overflow: auto;
} }
.right-panel .basket-info .right-panel .basket-info
{ {
background-color: #00ACC1; background-color: #00ACC1;
color: white; color: white;
box-shadow: 0 .1em .1em rgba(1, 1, 1, 0.3); box-shadow: 0 .1em .1em rgba(1, 1, 1, .3);
padding: 1.2em 2em; padding: 1.2em 2em;
} }
.right-panel .basket-info > button .right-panel .basket-info > button
@ -67,7 +67,7 @@
.right-panel .realm-msg .right-panel .realm-msg
{ {
margin-top: 1em; margin-top: 1em;
/* box-shadow: 0 0 .3em rgba(1, 1, 1, 0.5); /* box-shadow: 0 0 .3em rgba(1, 1, 1, .5);
border-radius: 50%; border-radius: 50%;
overflow: hidden;*/ overflow: hidden;*/
} }
@ -100,7 +100,7 @@
} }
.right-panel .realms a:hover .right-panel .realms a:hover
{ {
background-color: rgba(1, 1, 1, 0.05); background-color: rgba(1, 1, 1, .05);
border-radius: .1em; border-radius: .1em;
} }
.right-panel .realms a > img .right-panel .realms a > img

View File

@ -24,7 +24,7 @@
right: 0; right: 0;
z-index: 1; z-index: 1;
overflow: hidden; overflow: hidden;
box-shadow: 0 .1em .1em rgba(1, 1, 1, 0.3); box-shadow: 0 0 .2em rgba(1, 1, 1, .3);
height: 3.9em; height: 3.9em;
color: white; color: white;
@ -96,7 +96,7 @@
} }
.vn-gui .action-bar button:hover .vn-gui .action-bar button:hover
{ {
background-color: rgba(1, 1, 1, 0.2); background-color: rgba(1, 1, 1, .2);
} }
.vn-gui .action-bar button > img .vn-gui .action-bar button > img
{ {
@ -115,7 +115,7 @@
right: 0; right: 0;
bottom: 0; bottom: 0;
visibility: hidden; visibility: hidden;
background-color: rgba(1, 1, 1, 0.7); background-color: rgba(1, 1, 1, .7);
opacity: 0; opacity: 0;
} }
.vn-gui > .background.show .vn-gui > .background.show
@ -136,7 +136,7 @@
top: 0; top: 0;
background-color: white; background-color: white;
z-index: 20; z-index: 20;
box-shadow: 0 .2em .2em rgba(1, 1, 1, 0.4); box-shadow: 0 .2em .2em rgba(1, 1, 1, .4);
width: 15em; width: 15em;
} }
.vn-gui .menu-overflow .vn-gui .menu-overflow
@ -202,7 +202,7 @@
color: white; color: white;
padding: 0 1em; padding: 0 1em;
line-height: 2em; line-height: 2em;
border-radius: 0.1em; border-radius: .1em;
text-align: center; text-align: center;
} }
.vn-gui .test-link:hover .vn-gui .test-link:hover
@ -236,7 +236,7 @@
.vn-gui .main-menu a:hover, .vn-gui .main-menu a:hover,
.vn-gui .main-menu a.selected .vn-gui .main-menu a.selected
{ {
background-color: rgba(1, 1, 1, 0.1); background-color: rgba(1, 1, 1, .1);
} }
.vn-gui ul.submenu .vn-gui ul.submenu
{ {
@ -249,7 +249,7 @@
border: none; border: none;
border-radius: 1px; border-radius: 1px;
background-color: white; background-color: white;
box-shadow: 0 .2em .2em #CCC; box-shadow: 0 0 .3em rgba(1, 1, 1, .3);
z-index: 50; z-index: 50;
width: 13em; width: 13em;
max-height: 30em; max-height: 30em;
@ -262,7 +262,7 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;
padding: 0.8em; padding: .8em;
} }
/* Body */ /* Body */
@ -333,7 +333,7 @@
{ {
top: 0; top: 0;
left: -15em; left: -15em;
box-shadow: 0 .2em .2em #333; box-shadow: 0 0 .2em rgba(1, 1, 1, .3);
transition: transform 200ms ease-out; transition: transform 200ms ease-out;
-webkit-transition: transform 200ms ease-out; -webkit-transition: transform 200ms ease-out;
@ -351,8 +351,8 @@
{ {
display: block; display: block;
background-color: #888; background-color: #888;
color:white; color: white;
box-shadow: inset 0 0 .2em rgba(1, 1, 1, 0.2); box-shadow: inset 0 0 .2em rgba(1, 1, 1, .2);
overflow: hidden; overflow: hidden;
max-height: 0; max-height: 0;

View File

@ -144,9 +144,12 @@ abstract class Service
$db->query ('CALL account.userLogin (#, #)', $db->query ('CALL account.userLogin (#, #)',
[$user, $_POST['password']]); [$user, $_POST['password']]);
} }
catch (\Exception $e) catch (\Vn\Db\Exception $e)
{ {
if ($e->getMessage () == 'INVALID_CREDENTIALS')
throw new BadLoginException (); throw new BadLoginException ();
else
throw $e;
} }
} }
else else