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 | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 7 | diagnostic .subscriber-select{ |
| 8 | max-width: 200px; |
| 9 | position: absolute; |
| 10 | top: 20px; |
| 11 | right: 20px; |
| 12 | z-index: 1; |
| 13 | } |
| 14 | |
Matteo Scandolo | 219b1a7 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 15 | .half-height + .half-height { |
| 16 | border-top: 1px solid black; |
| 17 | } |
| 18 | |
| 19 | service-topology, |
| 20 | logic-topology { |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 21 | height: 100%; |
| 22 | width: 100%; |
| 23 | display: block; |
Matteo Scandolo | 219b1a7 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 24 | position: absolute; |
| 25 | top: 0; |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 26 | } |
| 27 | |
Matteo Scandolo | e477990 | 2016-02-09 11:37:11 -0800 | [diff] [blame] | 28 | logic-topology .subscriber circle, |
| 29 | logic-topology .device circle{ |
| 30 | fill: #fff; |
| 31 | stroke: green; |
| 32 | stroke-width: 1px; |
| 33 | } |
| 34 | |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 35 | logic-topology .network .cloud { |
| 36 | fill: #fff; |
| 37 | stroke: green; |
| 38 | stroke-width: 1px; |
| 39 | } |
| 40 | |
Matteo Scandolo | ad5b228 | 2016-02-16 11:50:51 -0800 | [diff] [blame] | 41 | logic-topology .node.rack rect{ |
| 42 | fill: #fff; |
| 43 | stroke: steelblue; |
| 44 | stroke-width: 1px; |
| 45 | } |
| 46 | |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 47 | /* LEGEND */ |
| 48 | |
| 49 | .legend { |
| 50 | fill: #fff; |
| 51 | stroke: #ccc; |
| 52 | stroke-width: 1px; |
| 53 | position: relative; |
| 54 | } |
| 55 | |
| 56 | .legend text { |
| 57 | stroke: #000; |
| 58 | } |
| 59 | |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 60 | .node { |
| 61 | cursor: pointer; |
| 62 | } |
| 63 | |
Matteo Scandolo | 5bf0457 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 64 | .node circle, |
| 65 | .node rect{ |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 66 | fill: #fff; |
| 67 | stroke: steelblue; |
Matteo Scandolo | fcdbed3 | 2016-02-08 16:55:44 -0800 | [diff] [blame] | 68 | stroke-width: 1px; |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 69 | } |
| 70 | |
Matteo Scandolo | f2c9901 | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 71 | .node.subscriber circle, |
Matteo Scandolo | 9fe01af | 2016-02-09 16:01:49 -0800 | [diff] [blame] | 72 | .node.subscriber rect, |
| 73 | .node.router circle, |
| 74 | .node.router rect { |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 75 | stroke: #05ffcb; |
Matteo Scandolo | f2c9901 | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 76 | } |
| 77 | |
Matteo Scandolo | 5bf0457 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 78 | .node.slice rect { |
Matteo Scandolo | 071ef46 | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 79 | stroke: #b01dff; |
| 80 | } |
| 81 | |
Matteo Scandolo | 5bf0457 | 2016-01-25 17:36:08 -0800 | [diff] [blame] | 82 | .node.instance rect { |
Matteo Scandolo | c9ebd92 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 83 | stroke: #ccc; |
| 84 | } |
| 85 | |
| 86 | .node.instance rect.active { |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 87 | stroke: #ff8b00; |
Matteo Scandolo | 071ef46 | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 88 | } |
| 89 | |
Matteo Scandolo | 6e8a75a | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 90 | .node rect.slice-detail{ |
| 91 | fill: #fff; |
| 92 | stroke: steelblue; |
| 93 | stroke-width: 3px; |
| 94 | } |
| 95 | |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 96 | .node text { |
| 97 | font: 12px sans-serif; |
| 98 | } |
| 99 | |
Matteo Scandolo | 219b1a7 | 2016-02-09 11:19:22 -0800 | [diff] [blame] | 100 | .link, .device-link { |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 101 | fill: none; |
| 102 | stroke: #ccc; |
| 103 | stroke-width: 2px; |
Matteo Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 104 | } |
| 105 | |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 106 | .link.slice { |
Matteo Scandolo | 9ef3c84 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 107 | stroke: rgba(157, 4, 183, 0.29); |
| 108 | } |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 109 | .link.instance{ |
Matteo Scandolo | c9ebd92 | 2016-01-28 12:02:57 -0800 | [diff] [blame] | 110 | stroke: #ccc; |
| 111 | } |
| 112 | |
| 113 | .link.instance.active{ |
Matteo Scandolo | 2c33a4c | 2016-01-25 16:24:42 -0800 | [diff] [blame] | 114 | stroke: rgba(255, 138, 0, 0.65); |
| 115 | } |
Matteo Scandolo | 9ef3c84 | 2016-01-25 13:55:09 -0800 | [diff] [blame] | 116 | |
Matteo Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 117 | .service-details{ |
| 118 | width: 200px; |
| 119 | position: absolute; |
| 120 | top: 20px; |
| 121 | right: 20px; |
Matteo Scandolo | 3501ccb | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 122 | } |
| 123 | |
| 124 | /* when showing the thing */ |
| 125 | |
| 126 | .animate.ng-hide-remove { |
| 127 | animation:0.5s bounceInRight ease; |
| 128 | } |
| 129 | |
| 130 | /* when hiding the picture */ |
| 131 | .animate.ng-hide-add { |
| 132 | animation:0.5s bounceOutRight ease; |
| 133 | } |
| 134 | |
| 135 | /* ANIMATIONS */ |
| 136 | |
| 137 | @keyframes bounceInRight { |
| 138 | from, 60%, 75%, 90%, to { |
| 139 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 140 | } |
| 141 | |
| 142 | from { |
| 143 | opacity: 0; |
| 144 | transform: translate3d(3000px, 0, 0); |
| 145 | } |
| 146 | |
| 147 | 60% { |
| 148 | opacity: 1; |
| 149 | transform: translate3d(-25px, 0, 0); |
| 150 | } |
| 151 | |
| 152 | 75% { |
| 153 | transform: translate3d(10px, 0, 0); |
| 154 | } |
| 155 | |
| 156 | 90% { |
| 157 | transform: translate3d(-5px, 0, 0); |
| 158 | } |
| 159 | |
| 160 | to { |
| 161 | transform: none; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | @keyframes bounceInLeft { |
| 166 | from, 60%, 75%, 90%, to { |
| 167 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 168 | } |
| 169 | |
| 170 | 0% { |
| 171 | opacity: 0; |
| 172 | transform: translate3d(-3000px, 0, 0); |
| 173 | } |
| 174 | |
| 175 | 60% { |
| 176 | opacity: 1; |
| 177 | transform: translate3d(25px, 0, 0); |
| 178 | } |
| 179 | |
| 180 | 75% { |
| 181 | transform: translate3d(-10px, 0, 0); |
| 182 | } |
| 183 | |
| 184 | 90% { |
| 185 | transform: translate3d(5px, 0, 0); |
| 186 | } |
| 187 | |
| 188 | to { |
| 189 | transform: none; |
| 190 | } |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 191 | } |