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