blob: 5e05ff38de17d8abc06c77dcf62a2bf77a32a47a [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
Steven Burrows8ea5dea2016-12-27 13:28:41 +000022#mast {
23 position: relative;
24 z-index: 1000;
25}
26
Simon Huntd5b96732016-07-08 13:22:27 -070027/* --- Base SVG Layer --- */
28
29#ov-topo2 svg {
30 /* prevents the little cut/copy/paste square that would appear on iPad */
31 -webkit-user-select: none;
32}
Simon Hunt98189192016-07-29 19:02:27 -070033
34/* -- TEMPORARY CSS (to be deleted) -- */
35#topo2tmp div {
36 padding: 8px 24px;
37 margin: 8px;
38 background-color: #ddddff;
39}
40#topo2tmp div div {
41 padding: 4px 10px;
42}
43
44#topo2tmp h4 {
45 margin: 0
46}
47#topo2tmp p {
48 margin: 0
49}
50#topo2tmp .nav-me:hover {
51 background-color: #bbbbdd;
52}
53#topo2tmp .nav-me {
54 font-weight: bold;
55 text-decoration: underline;
56 cursor: pointer;
57}
Steven Burrowsaf3159d2016-08-25 14:54:30 +010058
59#breadcrumbs {
Steven Burrowsd8e6c332016-09-27 10:40:53 -070060 font-size: 13px;
61 background: #f5f5f5;
62 border-bottom: 1px solid #c7c7c0;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010063 position: absolute;
Steven Burrowsd8e6c332016-09-27 10:40:53 -070064 padding: 10px 20px;
65 left: 0;
66 top: 48px;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010067 width: 100%;
68}
69
70#breadcrumbs .breadcrumb {
71 display: inline-block;
Steven Burrowsd8e6c332016-09-27 10:40:53 -070072 margin-right: 5px;
73}
74
75#breadcrumbs .breadcrumb a {
76 cursor: pointer;
77}
78
79#breadcrumbs .breadcrumb:after {
80 content: 'ยป';
81 pointer-events: none;
82 color: #353535;
83 line-height: 20px;
84 margin-left: 5px;
85}
86
Steven Burrows2d4aab72016-09-27 11:24:58 -070087#breadcrumbs .breadcrumb:last-child a {
88 pointer-events: none;
89 font-weight: 600;
90 color: #757575;
91}
92
Steven Burrowsd8e6c332016-09-27 10:40:53 -070093#breadcrumbs .breadcrumb:last-child:after {
94 display: none;
Steven Burrowsaf3159d2016-08-25 14:54:30 +010095}
96
Steven Burrows7a9d04e2016-09-26 17:05:37 -070097#topo2-p-instance.floatpanel {
Steven Burrowsaf3159d2016-08-25 14:54:30 +010098 top: 104px;
99}
Steven Burrowsdfa52b02016-09-02 13:50:43 +0100100
Steven Burrows8ea5dea2016-12-27 13:28:41 +0000101.breadcrumb--hidden #topo2-p-instance.floatpanel {
102 top: 64px;
103}
Steven Burrowsdfa52b02016-09-02 13:50:43 +0100104
105/* -- Base Device Styles -- */
106#ov-topo2 svg .node {
107 cursor: pointer;
108 fill-rule: evenodd;
Steven Burrows7a9d04e2016-09-26 17:05:37 -0700109}
Steven Burrows1c5c8612016-10-05 13:45:13 -0500110
111/* --- Topo Summary Panel --- */
112
113#topo2-p-summary {
114 padding: 16px;
115}
116
117
118/* --- Topo Detail Panel --- */
119
120#topo2-p-detail {
121 padding: 16px;
122 top: 370px;
123}
124html[data-platform='iPad'] #topo2-p-detail {
125 top: 386px;
126}
127
128#topo2-p-detail .actionBtns .actionBtn {
129 display: inline-block;
130}
131#topo2-p-detail .actionBtns .actionBtn svg {
132 width: 28px;
133 height: 28px;
134}
135