blob: 6c981501262d659aca0d799d8b874b8cc6b14c02 [file] [log] [blame]
Simon Huntd5b96732016-07-08 13:22:27 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
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 */
16
17
18/*
19 ONOS GUI -- Topology View (layout) -- CSS file
20 */
21
22/* --- Base SVG Layer --- */
23
24#ov-topo2 svg {
25 /* prevents the little cut/copy/paste square that would appear on iPad */
26 -webkit-user-select: none;
27}
Simon Hunt98189192016-07-29 19:02:27 -070028
29/* -- TEMPORARY CSS (to be deleted) -- */
30#topo2tmp div {
31 padding: 8px 24px;
32 margin: 8px;
33 background-color: #ddddff;
34}
35#topo2tmp div div {
36 padding: 4px 10px;
37}
38
39#topo2tmp h4 {
40 margin: 0
41}
42#topo2tmp p {
43 margin: 0
44}
45#topo2tmp .nav-me:hover {
46 background-color: #bbbbdd;
47}
48#topo2tmp .nav-me {
49 font-weight: bold;
50 text-decoration: underline;
51 cursor: pointer;
52}
Steven Burrowsaf3159d2016-08-25 14:54:30 +010053
54#breadcrumbs {
Steven Burrowsd8e6c332016-09-27 10:40:53 -070055 font-size: 13px;
56 background: #f5f5f5;
57 border-bottom: 1px solid #c7c7c0;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010058 position: absolute;
Steven Burrowsd8e6c332016-09-27 10:40:53 -070059 padding: 10px 20px;
60 left: 0;
61 top: 48px;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010062 width: 100%;
63}
64
65#breadcrumbs .breadcrumb {
66 display: inline-block;
Steven Burrowsd8e6c332016-09-27 10:40:53 -070067 margin-right: 5px;
68}
69
70#breadcrumbs .breadcrumb a {
71 cursor: pointer;
72}
73
74#breadcrumbs .breadcrumb:after {
75 content: 'ยป';
76 pointer-events: none;
77 color: #353535;
78 line-height: 20px;
79 margin-left: 5px;
80}
81
82#breadcrumbs .breadcrumb:last-child:after {
83 display: none;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010084}
85
Steven Burrows7a9d04e2016-09-26 17:05:37 -070086#topo2-p-instance.floatpanel {
Steven Burrowsaf3159d2016-08-25 14:54:30 +010087 top: 104px;
88}
Steven Burrowsdfa52b02016-09-02 13:50:43 +010089
90
91/* -- Base Device Styles -- */
92#ov-topo2 svg .node {
93 cursor: pointer;
94 fill-rule: evenodd;
Steven Burrows7a9d04e2016-09-26 17:05:37 -070095}