From 3e7c37266defff4564f0315b843478dd2dfa31b1 Mon Sep 17 00:00:00 2001 From: Mukul Date: Thu, 12 Jan 2017 12:35:17 +0530 Subject: [PATCH] this is for erase button and brush icon must be black --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 ++++++ 400-SOURCECODE/AIAHTML5.Web/index.html | 4 ++-- 400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css | 13 +++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 8501916..a62243c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -386,6 +386,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", } + $('.btnCursor').removeClass('activebtncolor'); + $(".btn-annotation").removeClass("activebtncolor"); + $(".btn-annotation-brush").addClass("activebtncolor"); } @@ -459,6 +462,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", $rootScope.switchCanvas(); $rootScope.isEraseToolSelected = true; //$rootScope.switchCanvasToPaintCanvas(); + $('.btnCursor').removeClass('activebtncolor'); + $(".btn-annotation").removeClass("activebtncolor"); + $(".btn-annotation-erase").addClass("activebtncolor"); } diff --git a/400-SOURCECODE/AIAHTML5.Web/index.html b/400-SOURCECODE/AIAHTML5.Web/index.html index 43673bc..badac20 100644 --- a/400-SOURCECODE/AIAHTML5.Web/index.html +++ b/400-SOURCECODE/AIAHTML5.Web/index.html @@ -534,8 +534,8 @@
- -   + +  
diff --git a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css index 7a50516..d858880 100644 --- a/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css +++ b/400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css @@ -944,3 +944,16 @@ background-size:cover; background:#4b4b4b !important; border-color:#3f3f3f !important; } +.btn-annotation-erase:hover + { + color: #fff; + } + .btn-annotation-brush:hover + { + color: #fff; + } + .fa-eraser,.fa-paint-brush + { + color: #fff; + } + \ No newline at end of file -- libgit2 0.21.4