Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 1 | #xosCeilometerDashboard{ |
| 2 | position: relative; |
| 3 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 4 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 5 | /* Panel Layout */ |
| 6 | .panel { |
| 7 | margin-top: 10px; |
| 8 | } |
| 9 | |
| 10 | .panel-body:not(:first-child) { |
| 11 | border-top: 1px solid #e3e3e3; |
| 12 | } |
| 13 | |
| 14 | .panel-body .row { |
| 15 | margin-top: 10px; |
| 16 | } |
| 17 | |
| 18 | /* Chart details */ |
| 19 | .chart { |
| 20 | width: 100%; |
| 21 | height: 300px; |
| 22 | } |
| 23 | |
| 24 | .btn-chart, .btn-chart:hover { |
| 25 | color: #fff; |
| 26 | } |
| 27 | |
| 28 | .side-container { |
| 29 | position: relative; |
| 30 | } |
| 31 | |
| 32 | .service-list { |
| 33 | margin-top: -10px; |
| 34 | } |
| 35 | |
| 36 | .service-list h3 { |
| 37 | margin-top: 0px; |
| 38 | margin-bottom: 0px; |
| 39 | } |
| 40 | |
| 41 | .service-list a { |
| 42 | text-decoration: none; |
| 43 | color: #333; |
| 44 | } |
| 45 | |
| 46 | .meters, .stats { |
| 47 | margin-top: 25px; |
| 48 | position: absolute; |
| 49 | top: 0; |
| 50 | left: 0; |
| 51 | width: 100%; |
Matteo Scandolo | 706fe06 | 2015-12-17 16:31:02 -0800 | [diff] [blame] | 52 | margin-bottom: 50px; |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | /* LOADER */ |
| 56 | .loader { |
| 57 | font-size: 10px; |
| 58 | margin: 150px auto; |
| 59 | text-indent: -9999em; |
| 60 | width: 11em; |
| 61 | height: 11em; |
| 62 | border-radius: 50%; |
| 63 | background: #ffffff; |
| 64 | background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 65 | background: -webkit-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 66 | background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 67 | background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 68 | background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%); |
| 69 | position: relative; |
| 70 | -webkit-animation: load3 1.4s infinite linear; |
| 71 | animation: load3 1.4s infinite linear; |
| 72 | -webkit-transform: translateZ(0); |
| 73 | -ms-transform: translateZ(0); |
| 74 | transform: translateZ(0); |
| 75 | } |
| 76 | .loader:before { |
| 77 | width: 50%; |
| 78 | height: 50%; |
| 79 | background: #105E9E; |
| 80 | border-radius: 100% 0 0 0; |
| 81 | position: absolute; |
| 82 | top: 0; |
| 83 | left: 0; |
| 84 | content: ''; |
| 85 | } |
| 86 | .loader:after { |
| 87 | background: #fff; |
| 88 | width: 75%; |
| 89 | height: 75%; |
| 90 | border-radius: 50%; |
| 91 | content: ''; |
| 92 | margin: auto; |
| 93 | position: absolute; |
| 94 | top: 0; |
| 95 | left: 0; |
| 96 | bottom: 0; |
| 97 | right: 0; |
| 98 | } |
| 99 | @-webkit-keyframes load3 { |
| 100 | 0% { |
| 101 | -webkit-transform: rotate(0deg); |
| 102 | transform: rotate(0deg); |
| 103 | } |
| 104 | 100% { |
| 105 | -webkit-transform: rotate(360deg); |
| 106 | transform: rotate(360deg); |
| 107 | } |
| 108 | } |
| 109 | @keyframes load3 { |
| 110 | 0% { |
| 111 | -webkit-transform: rotate(0deg); |
| 112 | transform: rotate(0deg); |
| 113 | } |
| 114 | 100% { |
| 115 | -webkit-transform: rotate(360deg); |
| 116 | transform: rotate(360deg); |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | /* VIEW ANIMATION */ |
| 121 | |
| 122 | [ui-view] { |
| 123 | position: absolute; |
| 124 | top: 0; |
Matteo Scandolo | 918f0a5 | 2015-12-17 16:26:09 -0800 | [diff] [blame] | 125 | left: 0; |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 126 | width: 100%; |
Matteo Scandolo | 918f0a5 | 2015-12-17 16:26:09 -0800 | [diff] [blame] | 127 | margin-bottom: 100px; |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 128 | } |
| 129 | |
| 130 | /* 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; |
| 139 | } |
| 140 | |
| 141 | /* FROM DETAIL TO DASHBOARD */ |
| 142 | |
| 143 | /* samples out */ |
| 144 | [ui-view].samples.ng-leave { |
| 145 | animation:1s bounceOutRight ease; |
| 146 | } |
| 147 | /* dash in */ |
| 148 | [ui-view].ceilometerDashboard.ng-enter { |
| 149 | animation:1s bounceInLeft ease; |
| 150 | } |
| 151 | |
| 152 | /* COLUMS ANIMATION */ |
| 153 | /* 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); |
Matteo Scandolo | 8386933 | 2015-12-14 14:26:20 -0800 | [diff] [blame] | 168 | } |
| 169 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 170 | from { |
| 171 | opacity: 0; |
| 172 | transform: translate3d(3000px, 0, 0); |
Matteo Scandolo | 68c2e72 | 2015-12-04 10:14:40 -0800 | [diff] [blame] | 173 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 174 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 175 | 60% { |
| 176 | opacity: 1; |
| 177 | transform: translate3d(-25px, 0, 0); |
Matteo Scandolo | 68c2e72 | 2015-12-04 10:14:40 -0800 | [diff] [blame] | 178 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 179 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 180 | 75% { |
| 181 | transform: translate3d(10px, 0, 0); |
Matteo Scandolo | 68c2e72 | 2015-12-04 10:14:40 -0800 | [diff] [blame] | 182 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 183 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 184 | 90% { |
| 185 | transform: translate3d(-5px, 0, 0); |
Matteo Scandolo | 68c2e72 | 2015-12-04 10:14:40 -0800 | [diff] [blame] | 186 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 187 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 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); |
Matteo Scandolo | 324df09 | 2015-12-08 16:39:57 -0800 | [diff] [blame] | 196 | } |
| 197 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 198 | 0% { |
| 199 | opacity: 0; |
| 200 | transform: translate3d(-3000px, 0, 0); |
Matteo Scandolo | 41f5c15 | 2015-12-09 17:09:55 -0800 | [diff] [blame] | 201 | } |
| 202 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 203 | 60% { |
| 204 | opacity: 1; |
| 205 | transform: translate3d(25px, 0, 0); |
Matteo Scandolo | c058211 | 2015-12-09 16:09:59 -0800 | [diff] [blame] | 206 | } |
| 207 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 208 | 75% { |
| 209 | transform: translate3d(-10px, 0, 0); |
Matteo Scandolo | c058211 | 2015-12-09 16:09:59 -0800 | [diff] [blame] | 210 | } |
| 211 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 212 | 90% { |
| 213 | transform: translate3d(5px, 0, 0); |
Matteo Scandolo | c058211 | 2015-12-09 16:09:59 -0800 | [diff] [blame] | 214 | } |
| 215 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 216 | to { |
| 217 | transform: none; |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | @keyframes slideInUp { |
| 222 | from { |
| 223 | transform: translate3d(0, 100%, 0); |
| 224 | visibility: visible; |
Matteo Scandolo | c058211 | 2015-12-09 16:09:59 -0800 | [diff] [blame] | 225 | } |
| 226 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 227 | to { |
| 228 | transform: translate3d(0, 0, 0); |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 229 | } |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 230 | } |
| 231 | |
| 232 | @keyframes bounceOutRight { |
| 233 | 20% { |
| 234 | opacity: 1; |
| 235 | transform: translate3d(-20px, 0, 0); |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 236 | } |
| 237 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 238 | to { |
| 239 | opacity: 0; |
| 240 | transform: translate3d(2000px, 0, 0); |
| 241 | } |
| 242 | } |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 243 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 244 | @keyframes bounceOutLeft { |
| 245 | 20% { |
| 246 | opacity: 1; |
| 247 | transform: translate3d(20px, 0, 0); |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 248 | } |
| 249 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 250 | to { |
| 251 | opacity: 0; |
| 252 | transform: translate3d(-2000px, 0, 0); |
Matteo Scandolo | 6885608 | 2015-12-08 14:35:55 -0800 | [diff] [blame] | 253 | } |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 254 | } |
| 255 | |
| 256 | @keyframes slideOutDown { |
| 257 | from { |
| 258 | transform: translate3d(0, 0, 0); |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 259 | } |
| 260 | |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 261 | to { |
| 262 | visibility: hidden; |
| 263 | transform: translate3d(0, 100%, 0); |
Matteo Scandolo | 1d8627f | 2015-12-05 18:44:45 -0800 | [diff] [blame] | 264 | } |
Matteo Scandolo | 6c6b928 | 2015-12-15 14:37:27 -0800 | [diff] [blame] | 265 | } |