Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 1 | service-canvas { |
| 2 | height: 100%; |
| 3 | width: 100%; |
| 4 | display: block; |
| 5 | } |
| 6 | |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame^] | 7 | service-canvas select.subscriber-select{ |
| 8 | z-index: 1000; |
| 9 | position: absolute; |
| 10 | width: 200px; |
| 11 | top: 10px; |
| 12 | left: 10px; |
| 13 | } |
| 14 | |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 15 | service-canvas svg { |
| 16 | position: absolute; |
| 17 | top: 0; |
| 18 | } |
| 19 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 20 | .node { |
| 21 | cursor: pointer; |
| 22 | } |
| 23 | |
| 24 | .node circle { |
| 25 | fill: #fff; |
| 26 | stroke: steelblue; |
| 27 | stroke-width: 3px; |
| 28 | } |
| 29 | |
Matteo Scandolo | fb46f5b | 2016-01-25 10:10:38 -0800 | [diff] [blame] | 30 | .node.subscriber circle, |
| 31 | .node.internet circle { |
| 32 | stroke: #ffdb07; |
| 33 | } |
| 34 | |
Matteo Scandolo | 4889f5a | 2016-01-25 12:00:42 -0800 | [diff] [blame] | 35 | .node.slice circle { |
| 36 | stroke: #b01dff; |
| 37 | } |
| 38 | |
| 39 | .node.instance circle { |
| 40 | stroke: #ea25ff; |
| 41 | } |
| 42 | |
Matteo Scandolo | 793e1dd | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 43 | .node rect.slice-detail{ |
| 44 | fill: #fff; |
| 45 | stroke: steelblue; |
| 46 | stroke-width: 3px; |
| 47 | } |
| 48 | |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 49 | .node text { |
| 50 | font: 12px sans-serif; |
| 51 | } |
| 52 | |
| 53 | .link { |
| 54 | fill: none; |
| 55 | stroke: #ccc; |
| 56 | stroke-width: 2px; |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 57 | } |
| 58 | |
Matteo Scandolo | 39f4947 | 2016-01-25 13:55:09 -0800 | [diff] [blame^] | 59 | .link.slice, |
| 60 | .link.instance { |
| 61 | stroke: rgba(157, 4, 183, 0.29); |
| 62 | } |
| 63 | |
Matteo Scandolo | 6823626 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 64 | .service-details{ |
| 65 | width: 200px; |
| 66 | position: absolute; |
| 67 | top: 20px; |
| 68 | right: 20px; |
Matteo Scandolo | 53a0226 | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | /* when showing the thing */ |
| 72 | |
| 73 | .animate.ng-hide-remove { |
| 74 | animation:0.5s bounceInRight ease; |
| 75 | } |
| 76 | |
| 77 | /* when hiding the picture */ |
| 78 | .animate.ng-hide-add { |
| 79 | animation:0.5s bounceOutRight ease; |
| 80 | } |
| 81 | |
| 82 | /* ANIMATIONS */ |
| 83 | |
| 84 | @keyframes bounceInRight { |
| 85 | from, 60%, 75%, 90%, to { |
| 86 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 87 | } |
| 88 | |
| 89 | from { |
| 90 | opacity: 0; |
| 91 | transform: translate3d(3000px, 0, 0); |
| 92 | } |
| 93 | |
| 94 | 60% { |
| 95 | opacity: 1; |
| 96 | transform: translate3d(-25px, 0, 0); |
| 97 | } |
| 98 | |
| 99 | 75% { |
| 100 | transform: translate3d(10px, 0, 0); |
| 101 | } |
| 102 | |
| 103 | 90% { |
| 104 | transform: translate3d(-5px, 0, 0); |
| 105 | } |
| 106 | |
| 107 | to { |
| 108 | transform: none; |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | @keyframes bounceInLeft { |
| 113 | from, 60%, 75%, 90%, to { |
| 114 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 115 | } |
| 116 | |
| 117 | 0% { |
| 118 | opacity: 0; |
| 119 | transform: translate3d(-3000px, 0, 0); |
| 120 | } |
| 121 | |
| 122 | 60% { |
| 123 | opacity: 1; |
| 124 | transform: translate3d(25px, 0, 0); |
| 125 | } |
| 126 | |
| 127 | 75% { |
| 128 | transform: translate3d(-10px, 0, 0); |
| 129 | } |
| 130 | |
| 131 | 90% { |
| 132 | transform: translate3d(5px, 0, 0); |
| 133 | } |
| 134 | |
| 135 | to { |
| 136 | transform: none; |
| 137 | } |
Matteo Scandolo | be9b13d | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 138 | } |