blob: eda38d92578e57b496124f8bf36bebacd27182a6 [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001/*
Sean Condon5ca00262018-09-06 17:55:25 +01002 * Copyright 2018-present Open Networking Foundation
Sean Condon83fc39f2018-04-19 18:56:13 +01003 *
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 Condon83fc39f2018-04-19 18:56:13 +010016
Sean Condon2bd11b72018-06-15 08:00:48 +010017/*
18 ONOS GUI -- Tooltip Service (layout) -- CSS file
Sean Condon83fc39f2018-04-19 18:56:13 +010019 */
Sean Condon83fc39f2018-04-19 18:56:13 +010020
Sean Condon2bd11b72018-06-15 08:00:48 +010021#tooltip {
22 text-align: center;
23 font-size: 80%;
24 border: 1px solid;
25 padding: 5px;
26 position: absolute;
27 z-index: 5000;
Bhavesh72ead492018-07-19 16:29:18 +053028 display: inline-block;
Sean Condon2bd11b72018-06-15 08:00:48 +010029 pointer-events: none;
Bhavesh72ead492018-07-19 16:29:18 +053030 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 Condon83fc39f2018-04-19 18:56:13 +010061}