blob: b4d59c7d5ddd0af9a2525b25a7d915261bce1c17 [file] [log] [blame]
Matteo Scandolod2044a42017-08-07 16:08:28 -07001
2/*
3 * Copyright 2017-present Open Networking Foundation
4
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8
9 * http://www.apache.org/licenses/LICENSE-2.0
10
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18
Matteo Scandolod7552052016-03-11 13:47:27 -080019.row + .row {
20 margin-top: 20px;
21}
22
Matteo Scandolo6970a812016-03-12 09:17:14 -080023/* ANIMATIONS */
24.animate-vertical.ng-hide-add {
25 animation:0.5s slideOutDown ease-in-out;
26}
27.animate-vertical.ng-hide-remove {
28 animation:0.5s slideInUp ease-in-out;
29}
30
31@keyframes slideInUp {
32 from {
33 transform: translate3d(0, 100%, 0);
34 opacity: 0;
35 }
36
37 to {
38 transform: translate3d(0, 0, 0);
39 opacity: 1;
40 }
41}
42
43
44@keyframes slideOutDown {
45 from {
46 transform: translate3d(0, 0, 0);
47 opacity: 1;
48 }
49
50 to {
51 opacity: 0;
52 transform: translate3d(0, 100%, 0);
53 }
54}
55
Matteo Scandolod7552052016-03-11 13:47:27 -080056/* LOADER */
57.loader {
58 font-size: 10px;
59 margin: 0 auto;
60 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 animation: load3 1.4s infinite linear;
72 transform: translateZ(0);
73}
74.loader:before {
75 width: 50%;
76 height: 50%;
77 background: #105E9E;
78 border-radius: 100% 0 0 0;
79 position: absolute;
80 top: 0;
81 left: 0;
82 content: '';
83}
84.loader:after {
85 background: #fff;
86 width: 75%;
87 height: 75%;
88 border-radius: 50%;
89 content: '';
90 margin: auto;
91 position: absolute;
92 top: 0;
93 left: 0;
94 bottom: 0;
95 right: 0;
96}
97
98@keyframes load3 {
99 0% {
100 -webkit-transform: rotate(0deg);
101 transform: rotate(0deg);
102 }
103 100% {
104 -webkit-transform: rotate(360deg);
105 transform: rotate(360deg);
106 }
107}