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