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