Simon Hunt | d5b9673 | 2016-07-08 13:22:27 -0700 | [diff] [blame] | 1 | /* |
| 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 Hunt | 9818919 | 2016-07-29 19:02:27 -0700 | [diff] [blame] | 28 | |
| 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 Burrows | af3159d | 2016-08-25 14:54:30 +0100 | [diff] [blame] | 53 | |
| 54 | #breadcrumbs { |
| 55 | position: absolute; |
| 56 | padding: 10px 30px; |
| 57 | top: 54px; |
| 58 | width: 100%; |
| 59 | } |
| 60 | |
| 61 | #breadcrumbs .breadcrumb { |
| 62 | display: inline-block; |
| 63 | margin-right: 20px; |
| 64 | } |
| 65 | |
Steven Burrows | 7a9d04e | 2016-09-26 17:05:37 -0700 | [diff] [blame] | 66 | #topo2-p-instance.floatpanel { |
Steven Burrows | af3159d | 2016-08-25 14:54:30 +0100 | [diff] [blame] | 67 | top: 104px; |
| 68 | } |
Steven Burrows | dfa52b0 | 2016-09-02 13:50:43 +0100 | [diff] [blame] | 69 | |
| 70 | |
| 71 | /* -- Base Device Styles -- */ |
| 72 | #ov-topo2 svg .node { |
| 73 | cursor: pointer; |
| 74 | fill-rule: evenodd; |
Steven Burrows | 7a9d04e | 2016-09-26 17:05:37 -0700 | [diff] [blame] | 75 | } |