Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 1 | /* |
Sean Condon | 5ca0026 | 2018-09-06 17:55:25 +0100 | [diff] [blame] | 2 | * Copyright 2018-present Open Networking Foundation |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 16 | |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 17 | /* |
| 18 | ONOS GUI -- Tooltip Service (layout) -- CSS file |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 19 | */ |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 20 | |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 21 | #tooltip { |
| 22 | text-align: center; |
| 23 | font-size: 80%; |
| 24 | border: 1px solid; |
| 25 | padding: 5px; |
| 26 | position: absolute; |
| 27 | z-index: 5000; |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame] | 28 | display: inline-block; |
Sean Condon | 2bd11b7 | 2018-06-15 08:00:48 +0100 | [diff] [blame] | 29 | pointer-events: none; |
Bhavesh | 72ead49 | 2018-07-19 16:29:18 +0530 | [diff] [blame] | 30 | top: 40px; |
| 31 | right: auto; |
| 32 | /* width: 240px; */ |
| 33 | } |
| 34 | |
| 35 | .tooltip { |
| 36 | position: relative; |
| 37 | display: inline-block; |
| 38 | } |
| 39 | |
| 40 | .tooltip .tooltiptext { |
| 41 | display: inline-block; |
| 42 | visibility: hidden; |
| 43 | background-color: #dbeffc; |
| 44 | color: #3c3a3a; |
| 45 | border-color: #c7c7c0; |
| 46 | text-align: center; |
| 47 | border-radius: 6px; |
| 48 | font-size: 80%; |
| 49 | padding: 5px; |
| 50 | |
| 51 | /* Position the tooltip */ |
| 52 | position: absolute; |
| 53 | z-index: 5000; |
| 54 | top: 42px; |
| 55 | right: 10%; |
| 56 | white-space: nowrap; |
| 57 | } |
| 58 | |
| 59 | .tooltip:hover .tooltiptext { |
| 60 | visibility: visible; |
Sean Condon | 83fc39f | 2018-04-19 18:56:13 +0100 | [diff] [blame] | 61 | } |