Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 1 | /* CONTAINER */ |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 2 | #xosDiagnostic, [ui-view] { |
Matteo Scandolo | a03110c | 2016-03-01 15:20:29 -0800 | [diff] [blame] | 3 | min-height: 700px; |
| 4 | position: relative; |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 5 | } |
| 6 | |
| 7 | diagnostic-container .half-height { |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 8 | position: relative; |
| 9 | height: 50%; |
| 10 | } |
| 11 | |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 12 | diagnostic-container .onethird-height { |
Matteo Scandolo | ba2d63d | 2016-02-17 13:54:11 -0800 | [diff] [blame] | 13 | position: relative; |
| 14 | height: 33%; |
| 15 | } |
| 16 | |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 17 | diagnostic-container .twothird-height { |
Matteo Scandolo | ba2d63d | 2016-02-17 13:54:11 -0800 | [diff] [blame] | 18 | position: relative; |
| 19 | height: 67%; |
| 20 | } |
| 21 | |
Matteo Scandolo | 16763e9 | 2016-02-24 15:40:22 -0800 | [diff] [blame] | 22 | diagnostic-container .subscriber-select{ |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 23 | max-width: 200px; |
| 24 | position: absolute; |
| 25 | top: 20px; |
| 26 | right: 20px; |
| 27 | z-index: 1; |
| 28 | } |
| 29 | |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 30 | .half-height + .half-height { |
| 31 | border-top: 1px solid black; |
| 32 | } |
| 33 | |
| 34 | service-topology, |
| 35 | logic-topology { |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 36 | height: 100%; |
| 37 | width: 100%; |
| 38 | display: block; |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 39 | position: absolute; |
| 40 | top: 0; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 41 | } |
| 42 | |
Matteo Scandolo | b373a10 | 2016-02-09 11:37:11 -0800 | [diff] [blame] | 43 | logic-topology .subscriber circle, |
| 44 | logic-topology .device circle{ |
| 45 | fill: #fff; |
| 46 | stroke: green; |
| 47 | stroke-width: 1px; |
| 48 | } |
| 49 | |
Matteo Scandolo | c303fd0 | 2016-02-17 15:11:33 -0800 | [diff] [blame] | 50 | logic-topology > svg { |
| 51 | position: absolute; |
| 52 | top: 0; |
| 53 | } |
| 54 | |
Matteo Scandolo | c303fd0 | 2016-02-17 15:11:33 -0800 | [diff] [blame] | 55 | /* CLOUDS */ |
| 56 | |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 57 | logic-topology .network .cloud { |
| 58 | fill: #fff; |
| 59 | stroke: green; |
| 60 | stroke-width: 1px; |
| 61 | } |
| 62 | |
Matteo Scandolo | 3b507bc | 2016-02-17 13:59:20 -0800 | [diff] [blame] | 63 | /* RACK */ |
| 64 | logic-topology .node.rack > g > rect{ |
| 65 | fill: #ccc; |
| 66 | stroke: steelblue; |
| 67 | stroke-width: 1px; |
| 68 | } |
| 69 | |
| 70 | /* CP NODE */ |
| 71 | |
| 72 | logic-topology .compute-node > rect{ |
Matteo Scandolo | b785b57 | 2016-02-16 11:50:51 -0800 | [diff] [blame] | 73 | fill: #fff; |
| 74 | stroke: steelblue; |
| 75 | stroke-width: 1px; |
| 76 | } |
| 77 | |
Matteo Scandolo | 3b507bc | 2016-02-17 13:59:20 -0800 | [diff] [blame] | 78 | /* INSTANCE */ |
| 79 | |
| 80 | logic-topology .instance > rect{ |
| 81 | fill: #eee; |
| 82 | stroke: steelblue; |
| 83 | stroke-width: 1px; |
| 84 | } |
| 85 | |
Matteo Scandolo | edd3d6f | 2016-02-16 15:06:11 -0800 | [diff] [blame] | 86 | logic-topology .node .instance.active rect{ |
| 87 | fill: lightsteelblue; |
| 88 | stroke: steelblue; |
| 89 | stroke-width: 1px; |
| 90 | } |
| 91 | |
Matteo Scandolo | 06afdfe | 2016-02-23 13:47:14 -0800 | [diff] [blame] | 92 | logic-topology .node .instance.active.good > rect{ |
| 93 | fill: green; |
| 94 | } |
| 95 | |
| 96 | logic-topology .node .instance.active.provisioning > rect{ |
| 97 | fill: yellow; |
| 98 | } |
| 99 | |
| 100 | logic-topology .node .instance.active.bad > rect{ |
| 101 | fill: red; |
| 102 | } |
| 103 | |
| 104 | /* INSTANCE STATS */ |
| 105 | |
| 106 | logic-topology .node .instance .stats-container rect { |
| 107 | fill: white; |
| 108 | } |
| 109 | |
| 110 | logic-topology .node .instance .stats-container text.name{ |
| 111 | font-weight: bold; |
| 112 | } |
| 113 | |
| 114 | logic-topology .node .instance .stats-container text.ip{ |
| 115 | font-style: italic; |
| 116 | font-size: 10px; |
| 117 | } |
| 118 | |
| 119 | /* CONTAINERS */ |
Matteo Scandolo | 653c509 | 2016-02-24 11:14:01 -0800 | [diff] [blame] | 120 | logic-topology .node .instance .stats-container .container rect { |
Matteo Scandolo | 06afdfe | 2016-02-23 13:47:14 -0800 | [diff] [blame] | 121 | fill: #eee; |
| 122 | stroke: steelblue; |
| 123 | stroke-width: 1px; |
| 124 | } |
| 125 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 126 | /* LEGEND */ |
| 127 | |
| 128 | .legend { |
| 129 | fill: #fff; |
| 130 | stroke: #ccc; |
| 131 | stroke-width: 1px; |
| 132 | position: relative; |
| 133 | } |
| 134 | |
| 135 | .legend text { |
| 136 | stroke: #000; |
| 137 | } |
| 138 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 139 | .node { |
| 140 | cursor: pointer; |
| 141 | } |
| 142 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 143 | .node circle, |
| 144 | .node rect{ |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 145 | fill: #fff; |
| 146 | stroke: steelblue; |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 147 | stroke-width: 1px; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 148 | } |
| 149 | |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 150 | .node.subscriber circle, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 151 | .node.subscriber rect, |
| 152 | .node.router circle, |
| 153 | .node.router rect { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 154 | stroke: #05ffcb; |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 155 | } |
| 156 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 157 | .node.slice rect { |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 158 | stroke: #b01dff; |
| 159 | } |
| 160 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 161 | .node.instance rect { |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 162 | stroke: #ccc; |
| 163 | } |
| 164 | |
| 165 | .node.instance rect.active { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 166 | stroke: #ff8b00; |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 167 | } |
| 168 | |
Matteo Scandolo | 793e1dd | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 169 | .node rect.slice-detail{ |
| 170 | fill: #fff; |
| 171 | stroke: steelblue; |
| 172 | stroke-width: 3px; |
| 173 | } |
| 174 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 175 | .node text { |
| 176 | font: 12px sans-serif; |
| 177 | } |
| 178 | |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 179 | .link, .device-link { |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 180 | fill: none; |
| 181 | stroke: #ccc; |
| 182 | stroke-width: 2px; |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 183 | } |
| 184 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 185 | .link.slice { |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 186 | stroke: rgba(157, 4, 183, 0.29); |
| 187 | } |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 188 | .link.instance{ |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 189 | stroke: #ccc; |
| 190 | } |
| 191 | |
| 192 | .link.instance.active{ |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 193 | stroke: rgba(255, 138, 0, 0.65); |
| 194 | } |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 195 | |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 196 | .service-details{ |
| 197 | width: 200px; |
| 198 | position: absolute; |
| 199 | top: 20px; |
| 200 | right: 20px; |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 201 | } |
| 202 | |
| 203 | /* when showing the thing */ |
| 204 | |
| 205 | .animate.ng-hide-remove { |
| 206 | animation:0.5s bounceInRight ease; |
| 207 | } |
| 208 | |
| 209 | /* when hiding the picture */ |
| 210 | .animate.ng-hide-add { |
| 211 | animation:0.5s bounceOutRight ease; |
| 212 | } |
| 213 | |
Matteo Scandolo | 17dc11d | 2016-02-22 09:16:46 -0800 | [diff] [blame] | 214 | /* LOADER */ |
| 215 | .loader { |
| 216 | font-size: 10px; |
| 217 | margin: 150px auto; |
| 218 | text-indent: -9999em; |
| 219 | width: 11em; |
| 220 | height: 11em; |
| 221 | border-radius: 50%; |
| 222 | background: #ffffff; |
| 223 | background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 224 | background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 225 | background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 226 | background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 227 | background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 228 | position: relative; |
| 229 | animation: load3 1.4s infinite linear; |
| 230 | transform: translateZ(0); |
| 231 | } |
| 232 | .loader:before { |
| 233 | width: 50%; |
| 234 | height: 50%; |
| 235 | background: #105E9E; |
| 236 | border-radius: 100% 0 0 0; |
| 237 | position: absolute; |
| 238 | top: 0; |
| 239 | left: 0; |
| 240 | content: ''; |
| 241 | } |
| 242 | .loader:after { |
| 243 | background: #fff; |
| 244 | width: 75%; |
| 245 | height: 75%; |
| 246 | border-radius: 50%; |
| 247 | content: ''; |
| 248 | margin: auto; |
| 249 | position: absolute; |
| 250 | top: 0; |
| 251 | left: 0; |
| 252 | bottom: 0; |
| 253 | right: 0; |
| 254 | } |
| 255 | |
| 256 | @keyframes load3 { |
| 257 | 0% { |
| 258 | -webkit-transform: rotate(0deg); |
| 259 | transform: rotate(0deg); |
| 260 | } |
| 261 | 100% { |
| 262 | -webkit-transform: rotate(360deg); |
| 263 | transform: rotate(360deg); |
| 264 | } |
| 265 | } |
| 266 | |
Matteo Scandolo | cc8fa15 | 2016-02-22 09:57:55 -0800 | [diff] [blame] | 267 | /* MODALS */ |
| 268 | |
| 269 | .modal.fade.in { |
| 270 | display: block; |
| 271 | } |
| 272 | |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 273 | /* ANIMATIONS */ |
| 274 | |
| 275 | @keyframes bounceInRight { |
| 276 | from, 60%, 75%, 90%, to { |
| 277 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 278 | } |
| 279 | |
| 280 | from { |
| 281 | opacity: 0; |
| 282 | transform: translate3d(3000px, 0, 0); |
| 283 | } |
| 284 | |
| 285 | 60% { |
| 286 | opacity: 1; |
| 287 | transform: translate3d(-25px, 0, 0); |
| 288 | } |
| 289 | |
| 290 | 75% { |
| 291 | transform: translate3d(10px, 0, 0); |
| 292 | } |
| 293 | |
| 294 | 90% { |
| 295 | transform: translate3d(-5px, 0, 0); |
| 296 | } |
| 297 | |
| 298 | to { |
| 299 | transform: none; |
| 300 | } |
| 301 | } |
| 302 | |
Matteo Scandolo | c303fd0 | 2016-02-17 15:11:33 -0800 | [diff] [blame] | 303 | @keyframes bounceOutRight { |
| 304 | 20% { |
| 305 | opacity: 1; |
| 306 | transform: translate3d(-20px, 0, 0); |
| 307 | } |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 308 | |
Matteo Scandolo | c303fd0 | 2016-02-17 15:11:33 -0800 | [diff] [blame] | 309 | to { |
| 310 | opacity: 0; |
| 311 | transform: translate3d(2000px, 0, 0); |
| 312 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 313 | } |