From 5167e373498ffd34824662d663c389df7db98b74 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Sat, 14 Jan 2017 10:39:54 +0100 Subject: [PATCH] Estilo --- @salix/core/src/mdl-override.css | 6 +++++- @salix/crud/src/client/routes.js | 30 ++++++++++-------------------- db.json | 4 ++-- 3 files changed, 17 insertions(+), 23 deletions(-) diff --git a/@salix/core/src/mdl-override.css b/@salix/core/src/mdl-override.css index 99bf3d5563..99a592d97e 100644 --- a/@salix/core/src/mdl-override.css +++ b/@salix/core/src/mdl-override.css @@ -7,10 +7,14 @@ } .mdl-button--raised { - background-color: #ff9400; font-weight: bolder; color: white; } +.mdl-button--raised, +.mdl-button--raised:focus, +.mdl-button--raised:active { + background-color: #ff9400 !important; +} .mdl-button--icon { background-color: #ff9400; diff --git a/@salix/crud/src/client/routes.js b/@salix/crud/src/client/routes.js index 46781d34e9..c3ae069f6b 100644 --- a/@salix/crud/src/client/routes.js +++ b/@salix/crud/src/client/routes.js @@ -5,13 +5,11 @@ url: "/clients", state: "clients", component: "vn-client-index" - }, - { + }, { url: "/clients/:id", state: "clientCard", component: "vn-client-card" - }, - { + }, { url: "/basic-data", state: "clientCard.basicData", component: "vn-client-basic-data", @@ -20,8 +18,7 @@ }, description: "Datos básicos", icon: "person" - } - ,{ + }, { url: "/fiscal-data", state: "clientCard.fiscalData", component: "vn-client-fiscal-data", @@ -30,15 +27,13 @@ }, description: "Datos facturación", icon: "assignment" - }, - { + }, { url: "/addresses", state: "clientCard.addresses", component: "vn-client-addresses", description: "Consignatarios", icon: "local_shipping" - }, - { + }, { url: "/web-access", state: "clientCard.webAccess", component: "vn-client-web-access", @@ -47,29 +42,24 @@ }, description: "Acceso web", icon: "language" - }, - { + }, { url: "/notes", state: "clientCard.notes", component: "vn-client-notes", description: "Notas", icon: "insert_drive_file" - }, - { + }, { url: "/create", state: "create", component: "vn-client-create", - }, - { + }, { url: "/address/create", state: "clientCard.addressDataCreate", component: "vn-client-addresses-data-create" - }, - { + }, { url: "/address/:addressId", state: "clientCard.addressDataEdit", component: "vn-client-addresses-data-edit" - }, - + } ] } \ No newline at end of file diff --git a/db.json b/db.json index e66b30bd2e..267cc6a330 100644 --- a/db.json +++ b/db.json @@ -32,9 +32,9 @@ "3": "{\"name\":\"Carlos Zambrano\",\"id\":3}" }, "Address": { - "57": "{\"street\":\"Avda Espioca\",\"consignee\":\"Vicente\",\"city\":\"Silla\",\"postcode\":\"46900\",\"phone\":\"963242100\",\"province\":\"1\",\"agency\":\"3\",\"id\":57,\"enabled\":false,\"default\":false}", + "57": "{\"street\":\"Avda Espioca\",\"consignee\":\"Vicente\",\"city\":\"Silla\",\"postcode\":\"46900\",\"phone\":\"963242100\",\"province\":\"1\",\"agency\":\"3\",\"id\":57,\"enabled\":false,\"default\":true}", "63": "{\"street\":\"Avd. Espioca nº 100\",\"consignee\":\"Verndatura Silla\",\"city\":\"Silla\",\"postcode\":\"46460\",\"phone\":\"66666666\",\"mobile\":\"989898888\",\"id\":63,\"province\":\"2\",\"agency\":\"3\",\"default\":false,\"enabled\":true}", - "64": "{\"street\":\"Aaa\",\"consignee\":\"aaa\",\"city\":\"121212\",\"postcode\":\"11111\",\"phone\":\"963242100\",\"mobile\":\"11231241423\",\"id\":64,\"default\":true,\"province\":\"1\",\"agency\":\"2\",\"enabled\":false}" + "64": "{\"street\":\"Aaa\",\"consignee\":\"aaa\",\"city\":\"121212\",\"postcode\":\"11111\",\"phone\":\"963242100\",\"mobile\":\"11231241423\",\"id\":64,\"default\":false,\"province\":\"1\",\"agency\":\"2\",\"enabled\":false}" }, "Country": { "1": "{\"id\":1,\"name\":\"Spain\"}",