From 73ec8a56ee5003a846b005ce2983895d36edb625 Mon Sep 17 00:00:00 2001 From: Burak Can Date: Sat, 7 Feb 2015 01:38:43 +0200 Subject: [PATCH] Change default modal button css classes --- src/components/forms/formviewwithfields.coffee | 6 +++--- src/components/modals/modalview.coffee | 4 ++-- src/components/modals/modalviewwithforms.coffee | 6 +++--- src/components/tabs/tabviewwithforms.coffee | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/forms/formviewwithfields.coffee b/src/components/forms/formviewwithfields.coffee index 3988f85d..7c8bea53 100755 --- a/src/components/forms/formviewwithfields.coffee +++ b/src/components/forms/formviewwithfields.coffee @@ -79,15 +79,15 @@ module.exports = class KDFormViewWithFields extends KDFormView # buttons : # Add : # title : "Add" -# style : "modal-clean-gray" +# style : "solid light-gray medium" # type : "submit" # Delete : # title : "Delete" -# style : "modal-clean-red" +# style : "solid red medium" # callback : -> log "delete" # Reset : # title : "Reset" -# style : "modal-clean-red" +# style : "solid red medium" # type : "reset" # callback : (formOutput)-> # log formOutput," ::::::" diff --git a/src/components/modals/modalview.coffee b/src/components/modals/modalview.coffee index 2086b906..1de84c8b 100755 --- a/src/components/modals/modalview.coffee +++ b/src/components/modals/modalview.coffee @@ -271,11 +271,11 @@ module.exports = class KDModalView extends KDView buttons : OK : title : ok.title - style : ok.style or "modal-clean-red" + style : ok.style or "solid red medium" callback : ok.callback or noop cancel : title : cancel.title - style : cancel.style or "modal-cancel" + style : cancel.style or "solid light-gray medium" callback : cancel.callback or noop modal.addSubView options.subView if options.subView modal diff --git a/src/components/modals/modalviewwithforms.coffee b/src/components/modals/modalviewwithforms.coffee index e2953bd7..26ffff45 100755 --- a/src/components/modals/modalviewwithforms.coffee +++ b/src/components/modals/modalviewwithforms.coffee @@ -41,7 +41,7 @@ module.exports = class KDModalViewWithForms extends KDModalView # buttons : # Next : # title : "Next" -# style : "modal-clean-gray" +# style : "solid light-gray medium" # type : "submit" # # callback : (formOutput)-> log formOutput,"Form 1 ::::::" # fields : @@ -69,11 +69,11 @@ module.exports = class KDModalViewWithForms extends KDModalView # buttons : # Submit : # title : "Submit" -# style : "modal-clean-gray" +# style : "solid light-gray medium" # type : "submit" # Reset : # title : "Reset" -# style : "modal-clean-red" +# style : "solid red medium" # type : "reset" # # callback : (formOutput)-> log formOutput,"Form 2 ::::::" # fields : diff --git a/src/components/tabs/tabviewwithforms.coffee b/src/components/tabs/tabviewwithforms.coffee index c3f30d0f..fbc2b719 100755 --- a/src/components/tabs/tabviewwithforms.coffee +++ b/src/components/tabs/tabviewwithforms.coffee @@ -70,7 +70,7 @@ module.exports = class KDTabViewWithForms extends KDTabView # buttons : # Next : # title : "Next" -# style : "modal-clean-gray" +# style : "solid light-gray medium" # type : "submit" # # callback : (formOutput)-> log formOutput,"Form 1 ::::::" # fields : @@ -98,11 +98,11 @@ module.exports = class KDTabViewWithForms extends KDTabView # buttons : # Submit : # title : "Submit" -# style : "modal-clean-gray" +# style : "solid light-gray medium" # type : "submit" # Reset : # title : "Reset" -# style : "modal-clean-red" +# style : "solid red medium" # type : "reset" # # callback : (formOutput)-> log formOutput,"Form 2 ::::::" # fields :