blob: 634b6ed074e3c220f02f7b9d4483960b7bb42313 [file] [log] [blame]
Matteo Scandolofcdbed32016-02-08 16:55:44 -08001/* CONTAINER */
2diagnostic .half-height {
3 position: relative;
4 height: 50%;
5}
6
Matteo Scandolo9fe01af2016-02-09 16:01:49 -08007diagnostic .subscriber-select{
8 max-width: 200px;
9 position: absolute;
10 top: 20px;
11 right: 20px;
12 z-index: 1;
13}
14
Matteo Scandolo219b1a72016-02-09 11:19:22 -080015.half-height + .half-height {
16 border-top: 1px solid black;
17}
18
19service-topology,
20logic-topology {
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080021 height: 100%;
22 width: 100%;
23 display: block;
Matteo Scandolo219b1a72016-02-09 11:19:22 -080024 position: absolute;
25 top: 0;
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080026}
27
Matteo Scandoloe4779902016-02-09 11:37:11 -080028logic-topology .subscriber circle,
29logic-topology .device circle{
30 fill: #fff;
31 stroke: green;
32 stroke-width: 1px;
33}
34
Matteo Scandolo9fe01af2016-02-09 16:01:49 -080035logic-topology .network .cloud {
36 fill: #fff;
37 stroke: green;
38 stroke-width: 1px;
39}
40
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080041/* LEGEND */
42
43.legend {
44 fill: #fff;
45 stroke: #ccc;
46 stroke-width: 1px;
47 position: relative;
48}
49
50.legend text {
51 stroke: #000;
52}
53
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080054.node {
55 cursor: pointer;
56}
57
Matteo Scandolo5bf04572016-01-25 17:36:08 -080058.node circle,
59.node rect{
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080060 fill: #fff;
61 stroke: steelblue;
Matteo Scandolofcdbed32016-02-08 16:55:44 -080062 stroke-width: 1px;
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080063}
64
Matteo Scandolof2c99012016-01-25 10:10:38 -080065.node.subscriber circle,
Matteo Scandolo9fe01af2016-02-09 16:01:49 -080066.node.subscriber rect,
67.node.router circle,
68.node.router rect {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080069 stroke: #05ffcb;
Matteo Scandolof2c99012016-01-25 10:10:38 -080070}
71
Matteo Scandolo5bf04572016-01-25 17:36:08 -080072.node.slice rect {
Matteo Scandolo071ef462016-01-25 12:00:42 -080073 stroke: #b01dff;
74}
75
Matteo Scandolo5bf04572016-01-25 17:36:08 -080076.node.instance rect {
Matteo Scandoloc9ebd922016-01-28 12:02:57 -080077 stroke: #ccc;
78}
79
80.node.instance rect.active {
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -080081 stroke: #ff8b00;
Matteo Scandolo071ef462016-01-25 12:00:42 -080082}
83
Matteo Scandolo6e8a75a2016-01-22 09:33:26 -080084.node rect.slice-detail{
85 fill: #fff;
86 stroke: steelblue;
87 stroke-width: 3px;
88}
89
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080090.node text {
91 font: 12px sans-serif;
92}
93
Matteo Scandolo219b1a72016-02-09 11:19:22 -080094.link, .device-link {
Matteo Scandolo8a64fa42016-01-21 11:21:03 -080095 fill: none;
96 stroke: #ccc;
97 stroke-width: 2px;
Matteo Scandolo06f45d62016-01-21 15:38:06 -080098}
99
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800100.link.slice {
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800101 stroke: rgba(157, 4, 183, 0.29);
102}
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800103.link.instance{
Matteo Scandoloc9ebd922016-01-28 12:02:57 -0800104 stroke: #ccc;
105}
106
107.link.instance.active{
Matteo Scandolo2c33a4c2016-01-25 16:24:42 -0800108 stroke: rgba(255, 138, 0, 0.65);
109}
Matteo Scandolo9ef3c842016-01-25 13:55:09 -0800110
Matteo Scandolo06f45d62016-01-21 15:38:06 -0800111.service-details{
112 width: 200px;
113 position: absolute;
114 top: 20px;
115 right: 20px;
Matteo Scandolo3501ccb2016-01-21 16:02:57 -0800116}
117
118/* when showing the thing */
119
120.animate.ng-hide-remove {
121 animation:0.5s bounceInRight ease;
122}
123
124/* when hiding the picture */
125.animate.ng-hide-add {
126 animation:0.5s bounceOutRight ease;
127}
128
129/* ANIMATIONS */
130
131@keyframes bounceInRight {
132 from, 60%, 75%, 90%, to {
133 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
134 }
135
136 from {
137 opacity: 0;
138 transform: translate3d(3000px, 0, 0);
139 }
140
141 60% {
142 opacity: 1;
143 transform: translate3d(-25px, 0, 0);
144 }
145
146 75% {
147 transform: translate3d(10px, 0, 0);
148 }
149
150 90% {
151 transform: translate3d(-5px, 0, 0);
152 }
153
154 to {
155 transform: none;
156 }
157}
158
159@keyframes bounceInLeft {
160 from, 60%, 75%, 90%, to {
161 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
162 }
163
164 0% {
165 opacity: 0;
166 transform: translate3d(-3000px, 0, 0);
167 }
168
169 60% {
170 opacity: 1;
171 transform: translate3d(25px, 0, 0);
172 }
173
174 75% {
175 transform: translate3d(-10px, 0, 0);
176 }
177
178 90% {
179 transform: translate3d(5px, 0, 0);
180 }
181
182 to {
183 transform: none;
184 }
Matteo Scandolo8a64fa42016-01-21 11:21:03 -0800185}