From 8afd49b8c9f03b578d35c7306dc1f0c7952d0e21 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 28 Nov 2018 22:01:55 +0100 Subject: [PATCH] UI Dialogs improves --- bl-kernel/admin/themes/booty/css/bludit.css | 17 ++++++++++++++++- bl-kernel/admin/themes/booty/init.php | 2 +- bl-kernel/admin/views/content.php | 2 +- bl-kernel/admin/views/edit-category.php | 2 +- bl-kernel/admin/views/edit-content.php | 8 +++----- 5 files changed, 22 insertions(+), 9 deletions(-) diff --git a/bl-kernel/admin/themes/booty/css/bludit.css b/bl-kernel/admin/themes/booty/css/bludit.css index d4074eca..9e8c5cba 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.css +++ b/bl-kernel/admin/themes/booty/css/bludit.css @@ -81,6 +81,18 @@ code { cursor: pointer; } +.modal-body { + padding: 2rem; +} + +.modal-footer { + background-color: rgb(247, 247, 247); +} + +.modal-dialog .btn-link { + color: #000; +} + /* LOGIN */ @@ -166,11 +178,13 @@ body.login { .alert-success { background-color: #4586d4; + border-left: 6px solid #abd1ff; color: #ffffff; } .alert-danger { background-color: #d44545; + border-left: 6px solid #ff9c9c; color: #ffffff; } @@ -324,4 +338,5 @@ img.profilePicture { width: 30px; border-radius: 30px; border: 1px solid #ccc; -} \ No newline at end of file +} + diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index 684c3770..9ef973f1 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -24,8 +24,8 @@ return <<$modalText

diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index ace2bd68..0fcb6612 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -241,7 +241,7 @@ function table($type) { 'buttonPrimary'=>$L->g('Delete'), 'buttonPrimaryClass'=>'btn-danger deletePageModalAcceptButton', 'buttonSecondary'=>$L->g('Cancel'), - 'buttonSecondaryClass'=>'btn-secondary', + 'buttonSecondaryClass'=>'btn-link', 'modalTitle'=>$L->g('Delete content'), 'modalText'=>$L->g('Are you sure you want to delete this page'), 'modalId'=>'jsdeletePageModal' diff --git a/bl-kernel/admin/views/edit-category.php b/bl-kernel/admin/views/edit-category.php index 9840aa81..e1f2019d 100644 --- a/bl-kernel/admin/views/edit-category.php +++ b/bl-kernel/admin/views/edit-category.php @@ -75,7 +75,7 @@ echo Bootstrap::formClose(); 'buttonPrimary'=>$L->g('Delete'), 'buttonPrimaryClass'=>'btn-danger jsbuttonDeleteAccept', 'buttonSecondary'=>$L->g('Cancel'), - 'buttonSecondaryClass'=>'btn-secondary', + 'buttonSecondaryClass'=>'btn-link', 'modalTitle'=>$L->g('Delete category'), 'modalText'=>$L->g('Are you sure you want to delete this category?'), 'modalId'=>'jsdeleteModal' diff --git a/bl-kernel/admin/views/edit-content.php b/bl-kernel/admin/views/edit-content.php index fcf3ecfe..3565791b 100644 --- a/bl-kernel/admin/views/edit-content.php +++ b/bl-kernel/admin/views/edit-content.php @@ -350,15 +350,13 @@ echo Bootstrap::formOpen(array(