From 4474a212e7c04d7136c99c516421c09269c3e4e4 Mon Sep 17 00:00:00 2001 From: baldo Date: Mon, 16 May 2016 22:30:35 +0200 Subject: [PATCH] Delete buttons restyled. --- app/scripts/directives/tokenForm.js | 3 ++- app/styles/_variables.scss | 3 +-- app/styles/views/_main.scss | 2 +- app/styles/views/dialogs/_confirmDeletionDialog.scss | 2 +- app/styles/views/directives/_tokenForm.scss | 2 +- app/views/deleteNodeForm.html | 2 +- app/views/dialogs/confirmDeletionDialog.html | 2 +- app/views/directives/tokenForm.html | 2 +- app/views/updateNodeForm.html | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/scripts/directives/tokenForm.js b/app/scripts/directives/tokenForm.js index 2c19f4f..8bbfd17 100644 --- a/app/scripts/directives/tokenForm.js +++ b/app/scripts/directives/tokenForm.js @@ -35,7 +35,8 @@ angular.module('ffffng') 'onSubmit': '=fSubmit', 'onCancel': '=fCancel', 'submitIcon': '@fSubmitIcon', - 'submitLabel': '@fSubmitLabel' + 'submitLabel': '@fSubmitLabel', + 'submitBtn': '@fSubmitBtn' } }; }); diff --git a/app/styles/_variables.scss b/app/styles/_variables.scss index 86bbdd1..7e653e5 100644 --- a/app/styles/_variables.scss +++ b/app/styles/_variables.scss @@ -15,7 +15,6 @@ $brand-warning: #FDBC41; $brand-danger: #C9302C; $brand-info: #009EE0; - // Scaffolding $body-bg: $gray-lighter; $text-color: $gray-dark; @@ -62,7 +61,7 @@ $btn-primary-border: darken($btn-primary-bg, 10%); $btn-success-color: #FFFFFF; $btn-success-bg: $brand-success; $btn-success-border: darken($btn-success-bg, 10%); -$btn-warning-color: #FFFFFF; +$btn-warning-color: $gray-dark; $btn-warning-bg: $brand-warning; $btn-warning-border: darken($btn-warning-bg, 10%); $btn-danger-color: #FFFFFF; diff --git a/app/styles/views/_main.scss b/app/styles/views/_main.scss index c213b19..a0fe764 100644 --- a/app/styles/views/_main.scss +++ b/app/styles/views/_main.scss @@ -39,7 +39,7 @@ .delete-node { button { - //@extend .btn-link; + @extend .btn-warning; } } } diff --git a/app/styles/views/dialogs/_confirmDeletionDialog.scss b/app/styles/views/dialogs/_confirmDeletionDialog.scss index efee618..dd9d27a 100644 --- a/app/styles/views/dialogs/_confirmDeletionDialog.scss +++ b/app/styles/views/dialogs/_confirmDeletionDialog.scss @@ -26,7 +26,7 @@ margin-left: 5px; &.proceed { - @extend .btn-primary; + @extend .btn-warning; } } } diff --git a/app/styles/views/directives/_tokenForm.scss b/app/styles/views/directives/_tokenForm.scss index 977fd86..fb9747e 100644 --- a/app/styles/views/directives/_tokenForm.scss +++ b/app/styles/views/directives/_tokenForm.scss @@ -17,7 +17,7 @@ f-token-form { } .submit { - @extend .btn, .btn-primary; + @extend .btn; margin-left: 5px; } diff --git a/app/views/deleteNodeForm.html b/app/views/deleteNodeForm.html index 2e93085..198453e 100644 --- a/app/views/deleteNodeForm.html +++ b/app/views/deleteNodeForm.html @@ -13,7 +13,7 @@ {{ config.community.contactEmail }}.

- +

diff --git a/app/views/dialogs/confirmDeletionDialog.html b/app/views/dialogs/confirmDeletionDialog.html index 33e56af..d97a0d8 100644 --- a/app/views/dialogs/confirmDeletionDialog.html +++ b/app/views/dialogs/confirmDeletionDialog.html @@ -5,7 +5,7 @@

diff --git a/app/views/directives/tokenForm.html b/app/views/directives/tokenForm.html index edf205f..63c1219 100644 --- a/app/views/directives/tokenForm.html +++ b/app/views/directives/tokenForm.html @@ -9,7 +9,7 @@
-