blob: 9b53d98709f3bdd0fd8ecd5eb3eefcb7b59eb6a7 [file] [log] [blame]
Matteo Scandolo1d8627f2015-12-05 18:44:45 -08001/*ceilometer-dashboard{*/
2
Matteo Scandolo83869332015-12-14 14:26:20 -08003 #xosCeilometerDashboard{
4 position: relative;
5 }
6
Matteo Scandolo1d8627f2015-12-05 18:44:45 -08007 /* Panel Layout */
8 .panel {
9 margin-top: 10px;
Matteo Scandolo68c2e722015-12-04 10:14:40 -080010 }
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080011
12 .panel-body:not(:first-child) {
13 border-top: 1px solid #e3e3e3;
Matteo Scandolo68c2e722015-12-04 10:14:40 -080014 }
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080015
16 .panel-body .row {
17 margin-top: 10px;
Matteo Scandolo68c2e722015-12-04 10:14:40 -080018 }
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080019
20 /* Chart details */
21 .chart {
22 width: 100%;
23 height: 300px;
Matteo Scandolo68c2e722015-12-04 10:14:40 -080024 }
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080025
Matteo Scandolo324df092015-12-08 16:39:57 -080026 .btn-chart, .btn-chart:hover {
27 color: #fff;
28 }
29
Matteo Scandolo41f5c152015-12-09 17:09:55 -080030 .side-container {
31 position: relative;
32 }
33
Matteo Scandoloc0582112015-12-09 16:09:59 -080034 .service-list {
35 margin-top: -10px;
36 }
37
38 .service-list h3 {
39 margin-top: 0px;
40 margin-bottom: 0px;
41 }
42
43 .service-list a {
44 text-decoration: none;
45 color: #333;
46 }
47
Matteo Scandolo41f5c152015-12-09 17:09:55 -080048 .meters, .stats {
Matteo Scandoloc0582112015-12-09 16:09:59 -080049 margin-top: 25px;
Matteo Scandolo41f5c152015-12-09 17:09:55 -080050 position: absolute;
51 top: 0;
52 left: 0;
53 width: 100%;
Matteo Scandoloc0582112015-12-09 16:09:59 -080054 }
55
Matteo Scandolo324df092015-12-08 16:39:57 -080056 /* LOADER */
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080057 .loader {
58 font-size: 10px;
Matteo Scandolo98241972015-12-08 17:41:46 -080059 margin: 150px auto;
Matteo Scandolo1d8627f2015-12-05 18:44:45 -080060 text-indent: -9999em;
61 width: 11em;
62 height: 11em;
63 border-radius: 50%;
64 background: #ffffff;
65 background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
66 background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
67 background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
68 background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
69 background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
70 position: relative;
71 -webkit-animation: load3 1.4s infinite linear;
72 animation: load3 1.4s infinite linear;
73 -webkit-transform: translateZ(0);
74 -ms-transform: translateZ(0);
75 transform: translateZ(0);
76 }
77 .loader:before {
78 width: 50%;
79 height: 50%;
80 background: #105E9E;
81 border-radius: 100% 0 0 0;
82 position: absolute;
83 top: 0;
84 left: 0;
85 content: '';
86 }
87 .loader:after {
88 background: #fff;
89 width: 75%;
90 height: 75%;
91 border-radius: 50%;
92 content: '';
93 margin: auto;
94 position: absolute;
95 top: 0;
96 left: 0;
97 bottom: 0;
98 right: 0;
99 }
100 @-webkit-keyframes load3 {
101 0% {
102 -webkit-transform: rotate(0deg);
103 transform: rotate(0deg);
104 }
105 100% {
106 -webkit-transform: rotate(360deg);
107 transform: rotate(360deg);
108 }
109 }
110 @keyframes load3 {
111 0% {
112 -webkit-transform: rotate(0deg);
113 transform: rotate(0deg);
114 }
115 100% {
116 -webkit-transform: rotate(360deg);
117 transform: rotate(360deg);
118 }
119 }
120
Matteo Scandolo68856082015-12-08 14:35:55 -0800121 /* VIEW ANIMATION */
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800122
Matteo Scandolo68856082015-12-08 14:35:55 -0800123 [ui-view] {
124 position: absolute;
125 top: 0;
126 bottom: 0;
127 width: 100%;
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800128 }
129
Matteo Scandolo68856082015-12-08 14:35:55 -0800130 /* FROM DASHBOARD TO DETAIL */
131
132 /* dash out */
133 [ui-view].ceilometerDashboard.ng-leave {
134 animation:1s bounceOutLeft ease;
135 }
136 /* samples in */
137 [ui-view].samples.ng-enter {
138 animation:1s bounceInRight ease;
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800139 }
140
Matteo Scandolo68856082015-12-08 14:35:55 -0800141 /* FROM DETAIL TO DASHBOARD */
142
143 /* samples out */
144 [ui-view].samples.ng-leave {
145 animation:1s bounceOutRight ease;
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800146 }
Matteo Scandolo68856082015-12-08 14:35:55 -0800147 /* dash in */
148 [ui-view].ceilometerDashboard.ng-enter {
149 animation:1s bounceInLeft ease;
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800150 }
151
Matteo Scandolo68856082015-12-08 14:35:55 -0800152 /* COLUMS ANIMATION */
Matteo Scandolo68856082015-12-08 14:35:55 -0800153 /* when showing the thing */
154 .animate .animate-slide-left.ng-hide-remove {
155 animation:0.5s bounceInRight ease;
156 }
157
158 /* when hiding the picture */
159 .animate .animate-slide-left.ng-hide-add {
160 animation:0.5s bounceOutRight ease;
161 }
162
163 /* ANIMATIONS */
164
165 @keyframes bounceInRight {
166 from, 60%, 75%, 90%, to {
167 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
168 }
169
170 from {
171 opacity: 0;
172 transform: translate3d(3000px, 0, 0);
173 }
174
175 60% {
176 opacity: 1;
177 transform: translate3d(-25px, 0, 0);
178 }
179
180 75% {
181 transform: translate3d(10px, 0, 0);
182 }
183
184 90% {
185 transform: translate3d(-5px, 0, 0);
186 }
187
188 to {
189 transform: none;
190 }
191 }
192
193 @keyframes bounceInLeft {
194 from, 60%, 75%, 90%, to {
195 animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
196 }
197
198 0% {
199 opacity: 0;
200 transform: translate3d(-3000px, 0, 0);
201 }
202
203 60% {
204 opacity: 1;
205 transform: translate3d(25px, 0, 0);
206 }
207
208 75% {
209 transform: translate3d(-10px, 0, 0);
210 }
211
212 90% {
213 transform: translate3d(5px, 0, 0);
214 }
215
216 to {
217 transform: none;
218 }
219 }
220
Matteo Scandoloc0582112015-12-09 16:09:59 -0800221 @keyframes slideInUp {
222 from {
223 transform: translate3d(0, 100%, 0);
224 visibility: visible;
225 }
226
227 to {
228 transform: translate3d(0, 0, 0);
229 }
230 }
231
Matteo Scandolo68856082015-12-08 14:35:55 -0800232 @keyframes bounceOutRight {
233 20% {
234 opacity: 1;
235 transform: translate3d(-20px, 0, 0);
236 }
237
238 to {
239 opacity: 0;
240 transform: translate3d(2000px, 0, 0);
241 }
242 }
243
244 @keyframes bounceOutLeft {
245 20% {
246 opacity: 1;
247 transform: translate3d(20px, 0, 0);
248 }
249
250 to {
251 opacity: 0;
252 transform: translate3d(-2000px, 0, 0);
253 }
254 }
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800255
Matteo Scandoloc0582112015-12-09 16:09:59 -0800256 @keyframes slideOutDown {
257 from {
258 transform: translate3d(0, 0, 0);
259 }
260
261 to {
262 visibility: hidden;
263 transform: translate3d(0, 100%, 0);
264 }
265 }
266
Matteo Scandolo1d8627f2015-12-05 18:44:45 -0800267/*}