Matteo Scandolo | da19dff | 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 | ba2d63d | 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 | 38ba331 | 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 | eeb9c08 | 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 | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 31 | height: 100%; |
| 32 | width: 100%; |
| 33 | display: block; |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 34 | position: absolute; |
| 35 | top: 0; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 36 | } |
| 37 | |
Matteo Scandolo | b373a10 | 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 | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 45 | logic-topology .network .cloud { |
| 46 | fill: #fff; |
| 47 | stroke: green; |
| 48 | stroke-width: 1px; |
| 49 | } |
| 50 | |
Matteo Scandolo | b785b57 | 2016-02-16 11:50:51 -0800 | [diff] [blame] | 51 | logic-topology .node.rack rect{ |
| 52 | fill: #fff; |
| 53 | stroke: steelblue; |
| 54 | stroke-width: 1px; |
| 55 | } |
| 56 | |
Matteo Scandolo | edd3d6f | 2016-02-16 15:06:11 -0800 | [diff] [blame] | 57 | logic-topology .node .instance.active rect{ |
| 58 | fill: lightsteelblue; |
| 59 | stroke: steelblue; |
| 60 | stroke-width: 1px; |
| 61 | } |
| 62 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 63 | /* LEGEND */ |
| 64 | |
| 65 | .legend { |
| 66 | fill: #fff; |
| 67 | stroke: #ccc; |
| 68 | stroke-width: 1px; |
| 69 | position: relative; |
| 70 | } |
| 71 | |
| 72 | .legend text { |
| 73 | stroke: #000; |
| 74 | } |
| 75 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 76 | .node { |
| 77 | cursor: pointer; |
| 78 | } |
| 79 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 80 | .node circle, |
| 81 | .node rect{ |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 82 | fill: #fff; |
| 83 | stroke: steelblue; |
Matteo Scandolo | da19dff | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 84 | stroke-width: 1px; |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 85 | } |
| 86 | |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 87 | .node.subscriber circle, |
Matteo Scandolo | 38ba331 | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 88 | .node.subscriber rect, |
| 89 | .node.router circle, |
| 90 | .node.router rect { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 91 | stroke: #05ffcb; |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 92 | } |
| 93 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 94 | .node.slice rect { |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 95 | stroke: #b01dff; |
| 96 | } |
| 97 | |
Matteo Scandolo | c86b4c1 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 98 | .node.instance rect { |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 99 | stroke: #ccc; |
| 100 | } |
| 101 | |
| 102 | .node.instance rect.active { |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 103 | stroke: #ff8b00; |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 104 | } |
| 105 | |
Matteo Scandolo | 793e1dd | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 106 | .node rect.slice-detail{ |
| 107 | fill: #fff; |
| 108 | stroke: steelblue; |
| 109 | stroke-width: 3px; |
| 110 | } |
| 111 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 112 | .node text { |
| 113 | font: 12px sans-serif; |
| 114 | } |
| 115 | |
Matteo Scandolo | eeb9c08 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 116 | .link, .device-link { |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 117 | fill: none; |
| 118 | stroke: #ccc; |
| 119 | stroke-width: 2px; |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 120 | } |
| 121 | |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 122 | .link.slice { |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 123 | stroke: rgba(157, 4, 183, 0.29); |
| 124 | } |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 125 | .link.instance{ |
Matteo Scandolo | 998e465 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 126 | stroke: #ccc; |
| 127 | } |
| 128 | |
| 129 | .link.instance.active{ |
Matteo Scandolo | 65d6fc4 | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 130 | stroke: rgba(255, 138, 0, 0.65); |
| 131 | } |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 132 | |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 133 | .service-details{ |
| 134 | width: 200px; |
| 135 | position: absolute; |
| 136 | top: 20px; |
| 137 | right: 20px; |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 138 | } |
| 139 | |
| 140 | /* when showing the thing */ |
| 141 | |
| 142 | .animate.ng-hide-remove { |
| 143 | animation:0.5s bounceInRight ease; |
| 144 | } |
| 145 | |
| 146 | /* when hiding the picture */ |
| 147 | .animate.ng-hide-add { |
| 148 | animation:0.5s bounceOutRight ease; |
| 149 | } |
| 150 | |
| 151 | /* ANIMATIONS */ |
| 152 | |
| 153 | @keyframes bounceInRight { |
| 154 | from, 60%, 75%, 90%, to { |
| 155 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 156 | } |
| 157 | |
| 158 | from { |
| 159 | opacity: 0; |
| 160 | transform: translate3d(3000px, 0, 0); |
| 161 | } |
| 162 | |
| 163 | 60% { |
| 164 | opacity: 1; |
| 165 | transform: translate3d(-25px, 0, 0); |
| 166 | } |
| 167 | |
| 168 | 75% { |
| 169 | transform: translate3d(10px, 0, 0); |
| 170 | } |
| 171 | |
| 172 | 90% { |
| 173 | transform: translate3d(-5px, 0, 0); |
| 174 | } |
| 175 | |
| 176 | to { |
| 177 | transform: none; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | @keyframes bounceInLeft { |
| 182 | from, 60%, 75%, 90%, to { |
| 183 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 184 | } |
| 185 | |
| 186 | 0% { |
| 187 | opacity: 0; |
| 188 | transform: translate3d(-3000px, 0, 0); |
| 189 | } |
| 190 | |
| 191 | 60% { |
| 192 | opacity: 1; |
| 193 | transform: translate3d(25px, 0, 0); |
| 194 | } |
| 195 | |
| 196 | 75% { |
| 197 | transform: translate3d(-10px, 0, 0); |
| 198 | } |
| 199 | |
| 200 | 90% { |
| 201 | transform: translate3d(5px, 0, 0); |
| 202 | } |
| 203 | |
| 204 | to { |
| 205 | transform: none; |
| 206 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 207 | } |