blob: d9b219de40a809512219013248c66fc9314fa1e0 [file] [log] [blame]
Matteo Scandoloda19dff2016-02-08 16:55:44 -08001/* CONTAINER */
2diagnostic .half-height {
3 position: relative;
4 height: 50%;
5}
6
Matteo Scandoloeeb9c082016-02-09 11:19:22 -08007.half-height + .half-height {
8 border-top: 1px solid black;
9}
10
11service-topology,
12logic-topology {
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080013 height: 100%;
14 width: 100%;
15 display: block;
Matteo Scandoloeeb9c082016-02-09 11:19:22 -080016 position: absolute;
17 top: 0;
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080018}
19
Matteo Scandolob373a102016-02-09 11:37:11 -080020logic-topology .subscriber circle,
21logic-topology .device circle{
22 fill: #fff;
23 stroke: green;
24 stroke-width: 1px;
25}
26
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080027/* LEGEND */
28
29.legend {
30 fill: #fff;
31 stroke: #ccc;
32 stroke-width: 1px;
33 position: relative;
34}
35
36.legend text {
37 stroke: #000;
38}
39
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080040.node {
41 cursor: pointer;
42}
43
Matteo Scandoloc86b4c12016-01-25 17:36:08 -080044.node circle,
45.node rect{
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080046 fill: #fff;
47 stroke: steelblue;
Matteo Scandoloda19dff2016-02-08 16:55:44 -080048 stroke-width: 1px;
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080049}
50
Matteo Scandolofb46f5b2016-01-25 10:10:38 -080051.node.subscriber circle,
52.node.internet circle {
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080053 stroke: #05ffcb;
Matteo Scandolofb46f5b2016-01-25 10:10:38 -080054}
55
Matteo Scandoloc86b4c12016-01-25 17:36:08 -080056.node.slice rect {
Matteo Scandolo4889f5a2016-01-25 12:00:42 -080057 stroke: #b01dff;
58}
59
Matteo Scandoloc86b4c12016-01-25 17:36:08 -080060.node.instance rect {
Matteo Scandolo998e4652016-01-28 12:02:57 -080061 stroke: #ccc;
62}
63
64.node.instance rect.active {
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080065 stroke: #ff8b00;
Matteo Scandolo4889f5a2016-01-25 12:00:42 -080066}
67
Matteo Scandolo793e1dd2016-01-22 09:33:26 -080068.node rect.slice-detail{
69 fill: #fff;
70 stroke: steelblue;
71 stroke-width: 3px;
72}
73
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080074.node text {
75 font: 12px sans-serif;
76}
77
Matteo Scandoloeeb9c082016-02-09 11:19:22 -080078.link, .device-link {
Matteo Scandolobe9b13d2016-01-21 11:21:03 -080079 fill: none;
80 stroke: #ccc;
81 stroke-width: 2px;
Matteo Scandolo68236262016-01-21 15:38:06 -080082}
83
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080084.link.slice {
Matteo Scandolo39f49472016-01-25 13:55:09 -080085 stroke: rgba(157, 4, 183, 0.29);
86}
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080087.link.instance{
Matteo Scandolo998e4652016-01-28 12:02:57 -080088 stroke: #ccc;
89}
90
91.link.instance.active{
Matteo Scandolo65d6fc42016-01-25 16:24:42 -080092 stroke: rgba(255, 138, 0, 0.65);
93}
Matteo Scandolo39f49472016-01-25 13:55:09 -080094
Matteo Scandolo68236262016-01-21 15:38:06 -080095.service-details{
96 width: 200px;
97 position: absolute;
98 top: 20px;
99 right: 20px;
Matteo Scandolo53a02262016-01-21 16:02:57 -0800100}
101
102/* when showing the thing */
103
104.animate.ng-hide-remove {
105 animation:0.5s bounceInRight ease;
106}
107
108/* when hiding the picture */
109.animate.ng-hide-add {
110 animation:0.5s bounceOutRight ease;
111}
112
113/* ANIMATIONS */
114
115@keyframes bounceInRight {
116 from, 60%, 75%, 90%, to {
117 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
118 }
119
120 from {
121 opacity: 0;
122 transform: translate3d(3000px, 0, 0);
123 }
124
125 60% {
126 opacity: 1;
127 transform: translate3d(-25px, 0, 0);
128 }
129
130 75% {
131 transform: translate3d(10px, 0, 0);
132 }
133
134 90% {
135 transform: translate3d(-5px, 0, 0);
136 }
137
138 to {
139 transform: none;
140 }
141}
142
143@keyframes bounceInLeft {
144 from, 60%, 75%, 90%, to {
145 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
146 }
147
148 0% {
149 opacity: 0;
150 transform: translate3d(-3000px, 0, 0);
151 }
152
153 60% {
154 opacity: 1;
155 transform: translate3d(25px, 0, 0);
156 }
157
158 75% {
159 transform: translate3d(-10px, 0, 0);
160 }
161
162 90% {
163 transform: translate3d(5px, 0, 0);
164 }
165
166 to {
167 transform: none;
168 }
Matteo Scandolobe9b13d2016-01-21 11:21:03 -0800169}