Commit def0bb998c0139e7a93bff2fa115471408b4a338
1 parent
081933f9
Atlas Anatomy : Tool-tip identities are missing for the left panel tools.
Showing
1 changed file
with
66 additions
and
15 deletions
400-SOURCECODE/AIAHTML5.Web/app/views/aa/atlas-anatomy-detail.html
@@ -16,11 +16,48 @@ | @@ -16,11 +16,48 @@ | ||
16 | left: 0; | 16 | left: 0; |
17 | right: 0; | 17 | right: 0; |
18 | } | 18 | } |
19 | - .active | ||
20 | - { | ||
21 | - margin-left:15px!important; | 19 | + |
20 | + .active { | ||
21 | + margin-left: 15px !important; | ||
22 | + } | ||
23 | + | ||
24 | + .tools1 { | ||
25 | + left: -96px; | ||
26 | + } | ||
27 | + | ||
28 | + .tooltip-custom + .tooltip > .tooltip-inner { | ||
29 | + background-color: #fff; | ||
30 | + border: 1px solid #000; | ||
31 | + color: #000; | ||
32 | + border-radius: 0; | ||
33 | + } | ||
34 | + | ||
35 | + .tooltip-custom + .tooltip > .tooltip-arrow { | ||
36 | + display: none; | ||
37 | + } | ||
38 | + | ||
39 | + | ||
40 | + .custom-tooltip { | ||
41 | + background-color: #333; | ||
42 | + border: 0 none; | ||
43 | + color: #fff !important; | ||
44 | + left: -52px; | ||
45 | + /*opacity: 0.9;*/ | ||
46 | + padding: 7px; | ||
47 | + position: absolute; | ||
48 | + text-align: center; | ||
49 | + top: 45px; | ||
50 | + width: 120px; | ||
51 | + display: none; | ||
52 | + z-index: 120000; | ||
53 | + border: 1px solid #000; | ||
54 | + color: #000; | ||
55 | + border-radius: 0; | ||
56 | + } | ||
57 | + | ||
58 | + .pad0 { | ||
59 | + padding: 0; | ||
22 | } | 60 | } |
23 | - .tools1{left:-96px;} | ||
24 | </style> | 61 | </style> |
25 | <div id="aaDetailPageDiv" class="bodyWrap row" ng-controller="TileViewListController"> | 62 | <div id="aaDetailPageDiv" class="bodyWrap row" ng-controller="TileViewListController"> |
26 | 63 | ||
@@ -34,12 +71,12 @@ | @@ -34,12 +71,12 @@ | ||
34 | <div class="tools pull-left" style="top:44px;"> | 71 | <div class="tools pull-left" style="top:44px;"> |
35 | <div class="toggle-icon toggleBar toggleHeadingButton" id="sideBarToggle" data-toggle="tooltip" data-placement="top" title="Show/Hide Sidebar"></div> | 72 | <div class="toggle-icon toggleBar toggleHeadingButton" id="sideBarToggle" data-toggle="tooltip" data-placement="top" title="Show/Hide Sidebar"></div> |
36 | <div class=""> | 73 | <div class=""> |
37 | - <div class="col-sm-6" title="Hide Pins"><button onclick="hidePins(event)" class="btn btn-black btn-sm"> <img src="../../../content/images/aa/LeftMenu/hide-pin.png" alt="" title=""></button> </div> | ||
38 | - <div class="col-sm-6" title="Show Selected Pins"><button class="btn btn-black btn-sm pull-right" onclick="showSelectedPins(event)"><img src="../../../content/images/aa/LeftMenu/draw-pin.png" alt="" title=""></button></div> | ||
39 | - <div class="col-sm-6" title="Show All Pins in System(s)"><button class="btn btn-primary btn-sm marginTop5" onclick="showAllPins(event)"><img src="../../../content/images/aa/LeftMenu/all-pin.png" alt="" title=""></button></div> | ||
40 | - <div class="col-sm-6" title="Select System"> | ||
41 | - <button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu221" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><img src="../../../content/images/aa/LeftMenu/icon-highlight.png" alt="" title=""></button> | ||
42 | - | 74 | + <div class="col-sm-6"><button onclick="hidePins(event)" class="btn btn-black btn-sm tooltip-custom" data-toggle="tooltip" data-placement="bottom" title="Hide Pins"> <img src="../../../content/images/aa/LeftMenu/hide-pin.png" alt=""></button> </div> |
75 | + <div class="col-sm-6"><button class="btn btn-black btn-sm pull-right tooltip-custom" onclick="showSelectedPins(event)" data-toggle="tooltip" data-placement="bottom" title="Show Selected Pins"><img src="../../../content/images/aa/LeftMenu/draw-pin.png" alt=""></button></div> | ||
76 | + <div class="col-sm-6"><button class="btn btn-primary btn-sm marginTop5 tooltip-custom" onclick="showAllPins(event)" data-toggle="tooltip" data-placement="bottom" title="Show All Pins in System(s)"><img src="../../../content/images/aa/LeftMenu/all-pin.png" alt=""></button></div> | ||
77 | + <div class="col-sm-6"> | ||
78 | + <div class="custom-tooltip">Select System</div> | ||
79 | + <button class="btn btn-black btn-sm pull-right marginTop5 dropdown-toggle" type="button" id="dropdownMenu221" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"><img src="../../../content/images/aa/LeftMenu/icon-highlight.png" alt="" ></button> | ||
43 | <ul class="dropdown-menu" aria-labelledby="dropdownMenu221" id="bodySystemList"> | 80 | <ul class="dropdown-menu" aria-labelledby="dropdownMenu221" id="bodySystemList"> |
44 | <li><a id="0" href="#" title="Current Structure" onclick="showSelectedSystemPins(event)">All</a></li> | 81 | <li><a id="0" href="#" title="Current Structure" onclick="showSelectedSystemPins(event)">All</a></li> |
45 | <li role="separator" class="divider"></li> | 82 | <li role="separator" class="divider"></li> |
@@ -58,7 +95,7 @@ | @@ -58,7 +95,7 @@ | ||
58 | </ul> | 95 | </ul> |
59 | 96 | ||
60 | </div> | 97 | </div> |
61 | - <div class="col-sm-12" data-toggle="tooltip" data-placement="top" title="Show/Hide Structure Name Boxes"><button onclick="showHideAnnotation(event)" class="btn btn-black btn-sm marginTop5 btn-block"> <img src="../../../content/images/aa/LeftMenu/comment-box.png" alt="" title=""></button> </div> | 98 | + <div class="col-sm-12" data-toggle="tooltip" data-placement="top" title="Show/Hide Structure Name Boxes"><button onclick="showHideAnnotation(event)" class="btn btn-black btn-sm marginTop5 btn-block"> <img src="../../../content/images/aa/LeftMenu/comment-box.png" alt=""></button> </div> |
62 | </div> | 99 | </div> |
63 | <div class="pips-slider" style="margin-top:125px"> | 100 | <div class="pips-slider" style="margin-top:125px"> |
64 | <h3>Zoom <i class="fa fa-search-plus"></i></h3> | 101 | <h3>Zoom <i class="fa fa-search-plus"></i></h3> |
@@ -156,12 +193,27 @@ | @@ -156,12 +193,27 @@ | ||
156 | 193 | ||
157 | </div> | 194 | </div> |
158 | </div> | 195 | </div> |
159 | - | ||
160 | <script> | 196 | <script> |
161 | $(window).load(function () { | 197 | $(window).load(function () { |
162 | $(".stickey-area").sticky(); | 198 | $(".stickey-area").sticky(); |
163 | }); | 199 | }); |
164 | </script> | 200 | </script> |
201 | +<script> | ||
202 | + $(".tooltip-custom").tooltip({ | ||
203 | + tooltipClass: 'customTooltip' | ||
204 | + }); | ||
205 | +</script> | ||
206 | +<script> | ||
207 | + $(function () { | ||
208 | + | ||
209 | + $("#dropdownMenu221").mouseover(function () { | ||
210 | + $(".custom-tooltip").css("display", "block"); | ||
211 | + }); | ||
212 | + $("#dropdownMenu221").mouseout(function () { | ||
213 | + $(".custom-tooltip").css("display", "none"); | ||
214 | + }); | ||
215 | + }); | ||
216 | +</script> | ||
165 | 217 | ||
166 | <script> | 218 | <script> |
167 | var isSideBarBtnClicked = true; | 219 | var isSideBarBtnClicked = true; |
@@ -174,13 +226,12 @@ | @@ -174,13 +226,12 @@ | ||
174 | isSideBarBtnClicked = false; | 226 | isSideBarBtnClicked = false; |
175 | 227 | ||
176 | } | 228 | } |
177 | - else | ||
178 | - { | 229 | + else { |
179 | $(".main2").removeClass("active"); | 230 | $(".main2").removeClass("active"); |
180 | $(".tools").removeClass("tools1"); | 231 | $(".tools").removeClass("tools1"); |
181 | isSideBarBtnClicked = true; | 232 | isSideBarBtnClicked = true; |
182 | } | 233 | } |
183 | - | 234 | + |
184 | }); | 235 | }); |
185 | }); | 236 | }); |
186 | </script> | 237 | </script> |