From 73a059dfabaaf0b8431fee261195491ff1ff10fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Bascop=C3=A9?= Date: Thu, 31 Oct 2024 16:25:22 -0400 Subject: [PATCH 1/2] fix the edit modal styles --- resources/js/admin/devlink/components/BundleModal.vue | 2 +- resources/js/admin/devlink/components/DeleteModal.vue | 3 +++ resources/sass/components/modal.scss | 8 +++++++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/resources/js/admin/devlink/components/BundleModal.vue b/resources/js/admin/devlink/components/BundleModal.vue index 53dab34878..abc1c3ae41 100644 --- a/resources/js/admin/devlink/components/BundleModal.vue +++ b/resources/js/admin/devlink/components/BundleModal.vue @@ -36,7 +36,7 @@ }); const canEdit = (bundle) => { - return bundle.dev_link === null; + return bundle.dev_link_id === null; }; const onOk = () => { diff --git a/resources/js/admin/devlink/components/DeleteModal.vue b/resources/js/admin/devlink/components/DeleteModal.vue index 748331ef89..2513bca087 100644 --- a/resources/js/admin/devlink/components/DeleteModal.vue +++ b/resources/js/admin/devlink/components/DeleteModal.vue @@ -89,6 +89,9 @@ export default { background-color: #EC5962; color: #FFFFFF; } +::v-deep .modal-footer .btn-primary:hover { + background-color: #c74a51; /* Color más oscuro para el hover */ +} ::v-deep .modal-footer .btn-secondary { border: 1px solid #D7DDE5; background-color: #FFFFFF; diff --git a/resources/sass/components/modal.scss b/resources/sass/components/modal.scss index ab2d73f0bd..91b412377a 100644 --- a/resources/sass/components/modal.scss +++ b/resources/sass/components/modal.scss @@ -28,7 +28,13 @@ color: #20242A; text-transform: none; } +::v-deep .modal-footer .btn-secondary:hover { + background-color: #E9ECF1; +} ::v-deep .modal-footer .btn-primary { background-color: #2773F3; text-transform: none; -} \ No newline at end of file +} +::v-deep .modal-footer .btn-primary:hover { + background-color: #1E5AC7; +} From a7dbc99d7161ab58045333a025ab2f4b419dff49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Bascop=C3=A9?= Date: Mon, 4 Nov 2024 15:35:46 -0400 Subject: [PATCH 2/2] remove comment --- resources/js/admin/devlink/components/DeleteModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/admin/devlink/components/DeleteModal.vue b/resources/js/admin/devlink/components/DeleteModal.vue index 2513bca087..7afb24bb6d 100644 --- a/resources/js/admin/devlink/components/DeleteModal.vue +++ b/resources/js/admin/devlink/components/DeleteModal.vue @@ -90,7 +90,7 @@ export default { color: #FFFFFF; } ::v-deep .modal-footer .btn-primary:hover { - background-color: #c74a51; /* Color más oscuro para el hover */ + background-color: #c74a51; } ::v-deep .modal-footer .btn-secondary { border: 1px solid #D7DDE5;