Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 1 | service-canvas { |
| 2 | height: 100%; |
| 3 | width: 100%; |
| 4 | display: block; |
| 5 | } |
| 6 | |
| 7 | .node { |
| 8 | cursor: pointer; |
| 9 | } |
| 10 | |
| 11 | .node circle { |
| 12 | fill: #fff; |
| 13 | stroke: steelblue; |
| 14 | stroke-width: 3px; |
| 15 | } |
| 16 | |
Matteo Scandolo | f2c9901 | 2016-01-25 10:10:38 -0800 | [diff] [blame^] | 17 | .node.subscriber circle, |
| 18 | .node.internet circle { |
| 19 | stroke: #ffdb07; |
| 20 | } |
| 21 | |
Matteo Scandolo | 6e8a75a | 2016-01-22 09:33:26 -0800 | [diff] [blame] | 22 | .node rect.slice-detail{ |
| 23 | fill: #fff; |
| 24 | stroke: steelblue; |
| 25 | stroke-width: 3px; |
| 26 | } |
| 27 | |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 28 | .node text { |
| 29 | font: 12px sans-serif; |
| 30 | } |
| 31 | |
| 32 | .link { |
| 33 | fill: none; |
| 34 | stroke: #ccc; |
| 35 | stroke-width: 2px; |
Matteo Scandolo | 06f45d6 | 2016-01-21 15:38:06 -0800 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | .service-details{ |
| 39 | width: 200px; |
| 40 | position: absolute; |
| 41 | top: 20px; |
| 42 | right: 20px; |
Matteo Scandolo | 3501ccb | 2016-01-21 16:02:57 -0800 | [diff] [blame] | 43 | } |
| 44 | |
| 45 | /* when showing the thing */ |
| 46 | |
| 47 | .animate.ng-hide-remove { |
| 48 | animation:0.5s bounceInRight ease; |
| 49 | } |
| 50 | |
| 51 | /* when hiding the picture */ |
| 52 | .animate.ng-hide-add { |
| 53 | animation:0.5s bounceOutRight ease; |
| 54 | } |
| 55 | |
| 56 | /* ANIMATIONS */ |
| 57 | |
| 58 | @keyframes bounceInRight { |
| 59 | from, 60%, 75%, 90%, to { |
| 60 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 61 | } |
| 62 | |
| 63 | from { |
| 64 | opacity: 0; |
| 65 | transform: translate3d(3000px, 0, 0); |
| 66 | } |
| 67 | |
| 68 | 60% { |
| 69 | opacity: 1; |
| 70 | transform: translate3d(-25px, 0, 0); |
| 71 | } |
| 72 | |
| 73 | 75% { |
| 74 | transform: translate3d(10px, 0, 0); |
| 75 | } |
| 76 | |
| 77 | 90% { |
| 78 | transform: translate3d(-5px, 0, 0); |
| 79 | } |
| 80 | |
| 81 | to { |
| 82 | transform: none; |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | @keyframes bounceInLeft { |
| 87 | from, 60%, 75%, 90%, to { |
| 88 | animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); |
| 89 | } |
| 90 | |
| 91 | 0% { |
| 92 | opacity: 0; |
| 93 | transform: translate3d(-3000px, 0, 0); |
| 94 | } |
| 95 | |
| 96 | 60% { |
| 97 | opacity: 1; |
| 98 | transform: translate3d(25px, 0, 0); |
| 99 | } |
| 100 | |
| 101 | 75% { |
| 102 | transform: translate3d(-10px, 0, 0); |
| 103 | } |
| 104 | |
| 105 | 90% { |
| 106 | transform: translate3d(5px, 0, 0); |
| 107 | } |
| 108 | |
| 109 | to { |
| 110 | transform: none; |
| 111 | } |
Matteo Scandolo | 8a64fa4 | 2016-01-21 11:21:03 -0800 | [diff] [blame] | 112 | } |