Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 1 | /* CONTAINER */ |
| 2 | diagnostic .half-height { |
| 3 | position: relative; |
| 4 | height: 50%; |
| 5 | } |
| 6 | |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 7 | diagnostic .subscriber-select{ |
| 8 | max-width: 200px; |
| 9 | position: absolute; |
| 10 | top: 20px; |
| 11 | right: 20px; |
| 12 | z-index: 1; |
| 13 | } |
| 14 | |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 15 | .half-height + .half-height { |
| 16 | border-top: 1px solid black; |
| 17 | } |
| 18 | |
| 19 | service-topology, |
| 20 | logic-topology { |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 21 | height: 100%; |
| 22 | width: 100%; |
| 23 | display: block; |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 24 | position: absolute; |
| 25 | top: 0; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 26 | } |
| 27 | |
Matteo Scandolo | b373a10 | 2016-02-09 11:37:11 -0800 | [diff] [blame] | 28 | logic-topology .subscriber circle, |
| 29 | logic-topology .device circle{ |
| 30 | fill: #fff; |
| 31 | stroke: green; |
| 32 | stroke-width: 1px; |
| 33 | } |
| 34 | |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 35 | logic-topology .network .cloud { |
| 36 | fill: #fff; |
| 37 | stroke: green; |
| 38 | stroke-width: 1px; |
| 39 | } |
| 40 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 41 | /* LEGEND */ |
| 42 | |
| 43 | .legend { |
| 44 | fill: #fff; |
| 45 | stroke: #ccc; |
| 46 | stroke-width: 1px; |
| 47 | position: relative; |
| 48 | } |
| 49 | |
| 50 | .legend text { |
| 51 | stroke: #000; |
| 52 | } |
| 53 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 54 | .node { |
| 55 | cursor: pointer; |
| 56 | } |
| 57 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 58 | .node circle, |
| 59 | .node rect{ |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 60 | fill: #fff; |
| 61 | stroke: steelblue; |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 62 | stroke-width: 1px; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 63 | } |
| 64 | |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 65 | .node.subscriber circle, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 66 | .node.subscriber rect, |
| 67 | .node.router circle, |
| 68 | .node.router rect { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 69 | stroke: #05ffcb; |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 70 | } |
| 71 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 72 | .node.slice rect { |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 73 | stroke: #b01dff; |
| 74 | } |
| 75 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 76 | .node.instance rect { |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 77 | stroke: #ccc; |
| 78 | } |
| 79 | |
| 80 | .node.instance rect.active { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 81 | stroke: #ff8b00; |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 82 | } |
| 83 | |
Matteo Scandolo | 793e1dd | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 84 | .node rect.slice-detail{ |
| 85 | fill: #fff; |
| 86 | stroke: steelblue; |
| 87 | stroke-width: 3px; |
| 88 | } |
| 89 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 90 | .node text { |
| 91 | font: 12px sans-serif; |
| 92 | } |
| 93 | |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 94 | .link, .device-link { |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 95 | fill: none; |
| 96 | stroke: #ccc; |
| 97 | stroke-width: 2px; |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 98 | } |
| 99 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 100 | .link.slice { |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 101 | stroke: rgba(157, 4, 183, 0.29); |
| 102 | } |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 103 | .link.instance{ |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 104 | stroke: #ccc; |
| 105 | } |
| 106 | |
| 107 | .link.instance.active{ |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 108 | stroke: rgba(255, 138, 0, 0.65); |
| 109 | } |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 110 | |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 111 | .service-details{ |
| 112 | width: 200px; |
| 113 | position: absolute; |
| 114 | top: 20px; |
| 115 | right: 20px; |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 116 | } |
| 117 | |
| 118 | /* when showing the thing */ |
| 119 | |
| 120 | .animate.ng-hide-remove { |
| 121 | animation:0.5s bounceInRight ease; |
| 122 | } |
| 123 | |
| 124 | /* when hiding the picture */ |
| 125 | .animate.ng-hide-add { |
| 126 | animation:0.5s bounceOutRight ease; |
| 127 | } |
| 128 | |
| 129 | /* ANIMATIONS */ |
| 130 | |
| 131 | @keyframes bounceInRight { |
| 132 | from, 60%, 75%, 90%, to { |
| 133 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 134 | } |
| 135 | |
| 136 | from { |
| 137 | opacity: 0; |
| 138 | transform: translate3d(3000px, 0, 0); |
| 139 | } |
| 140 | |
| 141 | 60% { |
| 142 | opacity: 1; |
| 143 | transform: translate3d(-25px, 0, 0); |
| 144 | } |
| 145 | |
| 146 | 75% { |
| 147 | transform: translate3d(10px, 0, 0); |
| 148 | } |
| 149 | |
| 150 | 90% { |
| 151 | transform: translate3d(-5px, 0, 0); |
| 152 | } |
| 153 | |
| 154 | to { |
| 155 | transform: none; |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | @keyframes bounceInLeft { |
| 160 | from, 60%, 75%, 90%, to { |
| 161 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 162 | } |
| 163 | |
| 164 | 0% { |
| 165 | opacity: 0; |
| 166 | transform: translate3d(-3000px, 0, 0); |
| 167 | } |
| 168 | |
| 169 | 60% { |
| 170 | opacity: 1; |
| 171 | transform: translate3d(25px, 0, 0); |
| 172 | } |
| 173 | |
| 174 | 75% { |
| 175 | transform: translate3d(-10px, 0, 0); |
| 176 | } |
| 177 | |
| 178 | 90% { |
| 179 | transform: translate3d(5px, 0, 0); |
| 180 | } |
| 181 | |
| 182 | to { |
| 183 | transform: none; |
| 184 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 185 | } |