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