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