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