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