Matteo Scandolo | d2044a4 | 2017-08-07 16:08:28 -0700 | [diff] [blame] | 1 | |
| 2 | /* |
| 3 | * Copyright 2017-present Open Networking Foundation |
| 4 | |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
| 18 | |
Matteo Scandolo | 6bc31bf | 2016-08-29 10:17:31 -0700 | [diff] [blame] | 19 | #xosMcord-slicing, |
| 20 | #xosMcord-slicing > [ui-view], |
| 21 | slicing-topo { |
| 22 | width: 100%; |
| 23 | height: 100%; } |
| 24 | |
| 25 | slicing-topo { |
| 26 | display: block; } |
| 27 | |
Matteo Scandolo | 4d121c2 | 2016-10-31 13:20:31 +0100 | [diff] [blame] | 28 | #xosMcord-slicing { |
| 29 | /* Icons */ |
| 30 | /*drag line*/ |
| 31 | /*form styling*/ } |
| 32 | #xosMcord-slicing .node { |
| 33 | stroke: #337ab7; |
| 34 | fill: white; } |
| 35 | #xosMcord-slicing .node, |
| 36 | #xosMcord-slicing .node + text { |
| 37 | cursor: pointer; } |
| 38 | #xosMcord-slicing text { |
| 39 | pointer-events: none; |
| 40 | -webkit-user-select: none; |
| 41 | /* Chrome all / Safari all */ |
| 42 | -moz-user-select: none; |
| 43 | /* Firefox all */ |
| 44 | -ms-user-select: none; |
| 45 | /* IE 10+ */ |
| 46 | user-select: none; } |
| 47 | #xosMcord-slicing .node.control { |
| 48 | stroke-dasharray: 5; |
| 49 | stroke: #d9534f; } |
| 50 | #xosMcord-slicing .node.button { |
| 51 | stroke-dasharray: 5; |
| 52 | stroke: #5bc0de; |
| 53 | fill: #daf1f8; } |
| 54 | #xosMcord-slicing .node.selected { |
| 55 | stroke-width: 5px; |
| 56 | stroke-dasharray: 5; } |
| 57 | #xosMcord-slicing .node ~ .icon { |
| 58 | stroke: #337ab7; |
| 59 | fill: #337ab7; } |
| 60 | #xosMcord-slicing .node.control ~ .icon { |
| 61 | stroke: #d9534f; |
| 62 | fill: #d9534f; } |
| 63 | #xosMcord-slicing .link { |
| 64 | stroke: #286090; |
| 65 | stroke-width: 2px; |
| 66 | cursor: pointer; } |
| 67 | #xosMcord-slicing .link.control { |
| 68 | stroke-dasharray: 5; |
| 69 | stroke: #d9534f; } |
| 70 | #xosMcord-slicing .link.selected { |
| 71 | stroke-width: 5px; |
| 72 | stroke-dasharray: 5; } |
| 73 | #xosMcord-slicing .dragline { |
| 74 | stroke-dasharray: 5; |
| 75 | stroke: #286090; |
| 76 | stroke-width: 2px; } |
| 77 | #xosMcord-slicing .dragline.hidden { |
| 78 | stroke-width: 0; } |
| 79 | #xosMcord-slicing div.element-form { |
| 80 | position: absolute; |
| 81 | border: 1px solid #5bc0de; |
| 82 | padding: 10px; |
| 83 | background: #fff; } |
| 84 | #xosMcord-slicing .form-line { |
| 85 | stroke: #31b0d5; |
| 86 | stroke-width: 1px; } |