Commit 5fda215d1ed0edcd1003c6a16ccdb9e32265ef50
against merge request: #269
Showing
3 changed files
with
21 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -394,6 +394,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | @@ -394,6 +394,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | ||
394 | 394 | ||
395 | } | 395 | } |
396 | 396 | ||
397 | + $('.btnCursor').removeClass('activebtncolor'); | ||
398 | + $(".btn-annotation").removeClass("activebtncolor"); | ||
399 | + $(".btn-annotation-brush").addClass("activebtncolor"); | ||
397 | 400 | ||
398 | } | 401 | } |
399 | 402 | ||
@@ -468,6 +471,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | @@ -468,6 +471,9 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", | ||
468 | $rootScope.switchCanvas(); | 471 | $rootScope.switchCanvas(); |
469 | $rootScope.isEraseToolSelected = true; | 472 | $rootScope.isEraseToolSelected = true; |
470 | //$rootScope.switchCanvasToPaintCanvas(); | 473 | //$rootScope.switchCanvasToPaintCanvas(); |
474 | + $('.btnCursor').removeClass('activebtncolor'); | ||
475 | + $(".btn-annotation").removeClass("activebtncolor"); | ||
476 | + $(".btn-annotation-erase").addClass("activebtncolor"); | ||
471 | } | 477 | } |
472 | 478 | ||
473 | 479 |
400-SOURCECODE/AIAHTML5.Web/index.html
@@ -534,8 +534,8 @@ | @@ -534,8 +534,8 @@ | ||
534 | <div class="well well-popup"> | 534 | <div class="well well-popup"> |
535 | <div class="" role="group" aria-label="..."> | 535 | <div class="" role="group" aria-label="..."> |
536 | <div> | 536 | <div> |
537 | - <a href="#canvasPaint" data-size="1" data-color="#fff" id="annotationpaintbrushsize" ng-mouseover="mouseMoveToolTip(270, 50, 120, 'Paint')" ng-mouseleave="mouseOutToolTip()" class="btn btn-primary btn-xs pull-left btn-annotation" role="button" data-placement="top" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></a> | ||
538 | - <button type="button" class="btn btn-primary btn-xs pull-left btn-annotation" data-placement="top" ng-click="EraseDrawing()" ng-mouseover="mouseMoveToolTip(270, 70, 120, 'Erase')" ng-mouseleave="mouseOutToolTip()"><i class="fa fa-eraser"></i></button> | 537 | + <a href="#canvasPaint" data-size="1" data-color="#fff" id="annotationpaintbrushsize" ng-mouseover="mouseMoveToolTip(270, 50, 120, 'Paint')" ng-mouseleave="mouseOutToolTip()" class="btn btn-black-annotation btn-xs pull-left btn-annotation btn-annotation-brush" role="button" data-placement="top" style="margin-right:1%;" ng-click="paintBrush()"><i class="fa fa-paint-brush"></i></a> |
538 | + <button type="button" class="btn btn-black-annotation btn-xs pull-left btn-annotation btn-annotation-erase" data-placement="top" ng-click="EraseDrawing()" ng-mouseover="mouseMoveToolTip(270, 70, 120, 'Erase')" ng-mouseleave="mouseOutToolTip()"><i class="fa fa-eraser"></i></button> | ||
539 | <div style="width: 80px; margin: 0px 0px 0px 4px; display: inline-block;float:left;"> | 539 | <div style="width: 80px; margin: 0px 0px 0px 4px; display: inline-block;float:left;"> |
540 | <div style="width: 58px; float: left;" ng-mouseover="mouseMoveToolTip(270, 100, 120, 'Brush Size')" ng-mouseleave="mouseOutToolTip()"> | 540 | <div style="width: 58px; float: left;" ng-mouseover="mouseMoveToolTip(270, 100, 120, 'Brush Size')" ng-mouseleave="mouseOutToolTip()"> |
541 | <input type="text" id="btnBrushSize" class="form-control" value="1" style="height:32px;border-radius:0;" oninput="Brushsize(this)"> | 541 | <input type="text" id="btnBrushSize" class="form-control" value="1" style="height:32px;border-radius:0;" oninput="Brushsize(this)"> |
400-SOURCECODE/AIAHTML5.Web/themes/default/css/bootstrap/3.3.6/main.css
@@ -945,3 +945,16 @@ background-size:cover; | @@ -945,3 +945,16 @@ background-size:cover; | ||
945 | background:#4b4b4b !important; | 945 | background:#4b4b4b !important; |
946 | border-color:#3f3f3f !important; | 946 | border-color:#3f3f3f !important; |
947 | } | 947 | } |
948 | +.btn-annotation-erase:hover | ||
949 | + { | ||
950 | + color: #fff; | ||
951 | + } | ||
952 | + .btn-annotation-brush:hover | ||
953 | + { | ||
954 | + color: #fff; | ||
955 | + } | ||
956 | + .fa-eraser,.fa-paint-brush | ||
957 | + { | ||
958 | + color: #fff; | ||
959 | + } | ||
960 | + | ||
948 | \ No newline at end of file | 961 | \ No newline at end of file |