|
1 | | -/* Make clicks pass-through */ |
2 | | -#nprogress { |
3 | | - pointer-events: none; |
4 | | -} |
5 | | - |
6 | | -#nprogress .bar { |
7 | | - background: #6ba442; |
8 | | - |
| 1 | +#statusbar { |
| 2 | + background: 0 0; |
9 | 3 | position: fixed; |
10 | | - z-index: 1031; |
11 | 4 | top: 0; |
12 | 5 | left: 0; |
13 | | - |
14 | | - width: 100%; |
15 | | - height: 3px; |
16 | | -} |
17 | | - |
18 | | -/* Fancy blur effect */ |
19 | | -#nprogress .peg { |
20 | | - display: block; |
21 | | - position: absolute; |
22 | | - right: 0px; |
23 | | - width: 100px; |
| 6 | + right: 0; |
| 7 | + z-index: 1020; |
24 | 8 | height: 100%; |
25 | | - box-shadow: 0 0 10px #6ba442, 0 0 5px #6ba442; |
26 | | - opacity: 1.0; |
27 | | - |
28 | | - -webkit-transform: rotate(3deg) translate(0px, -4px); |
29 | | - -ms-transform: rotate(3deg) translate(0px, -4px); |
30 | | - transform: rotate(3deg) translate(0px, -4px); |
31 | | -} |
32 | | - |
33 | | -/* Remove these to get rid of the spinner */ |
34 | | -#nprogress .spinner { |
35 | | - display: block; |
36 | | - position: fixed; |
37 | | - z-index: 1031; |
38 | | - top: 15px; |
39 | | - right: 15px; |
40 | | -} |
41 | | - |
42 | | -#nprogress .spinner-icon { |
43 | | - width: 18px; |
44 | | - height: 18px; |
45 | | - box-sizing: border-box; |
| 9 | + width: 100%; |
46 | 10 |
|
47 | | - border: solid 2px transparent; |
48 | | - border-top-color: #6ba442; |
49 | | - border-left-color: #6ba442; |
50 | | - border-radius: 50%; |
| 11 | + .progress { |
| 12 | + position: fixed; |
| 13 | + top: 0; |
| 14 | + left: 0; |
| 15 | + right: 0; |
| 16 | + text-align: center; |
| 17 | + height: 4px; |
| 18 | + z-index: 2000; |
| 19 | + border-radius: 0; |
| 20 | + transition: height 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); |
51 | 21 |
|
52 | | - -webkit-animation: nprogress-spinner 400ms linear infinite; |
53 | | - animation: nprogress-spinner 400ms linear infinite; |
54 | | -} |
| 22 | + .progress-bar { |
| 23 | + background-color: #6ba442; |
| 24 | + } |
| 25 | + } |
| 26 | + .message-background { |
| 27 | + .spinner-circles { |
| 28 | + width: 40px; |
| 29 | + height: 40px; |
| 30 | + position: relative; |
| 31 | + margin: 40px auto; |
55 | 32 |
|
56 | | -.nprogress-custom-parent { |
57 | | - overflow: hidden; |
58 | | - position: relative; |
59 | | -} |
| 33 | + .circle-1, .circle-2 { |
| 34 | + width: 100%; |
| 35 | + height: 100%; |
| 36 | + border-radius: 50%; |
| 37 | + background-color: @mc-blue0; |
| 38 | + opacity: 0.6; |
| 39 | + position: absolute; |
| 40 | + top: 0; |
| 41 | + left: 0; |
60 | 42 |
|
61 | | -.nprogress-custom-parent #nprogress .spinner, |
62 | | -.nprogress-custom-parent #nprogress .bar { |
63 | | - position: absolute; |
64 | | -} |
| 43 | + -webkit-animation: bounce 2.0s infinite ease-in-out; |
| 44 | + animation: bounce 2.0s infinite ease-in-out; |
| 45 | + } |
65 | 46 |
|
66 | | -@-webkit-keyframes nprogress-spinner { |
67 | | - 0% { -webkit-transform: rotate(0deg); } |
68 | | - 100% { -webkit-transform: rotate(360deg); } |
69 | | -} |
70 | | -@keyframes nprogress-spinner { |
71 | | - 0% { transform: rotate(0deg); } |
72 | | - 100% { transform: rotate(360deg); } |
73 | | -} |
| 47 | + .circle-2 { |
| 48 | + -webkit-animation-delay: -1.0s; |
| 49 | + animation-delay: -1.0s; |
| 50 | + } |
74 | 51 |
|
75 | | -#statusbar { |
76 | | - height: 5px; |
77 | | -} |
| 52 | + @-webkit-keyframes bounce { |
| 53 | + 0%, 100% { -webkit-transform: scale(0.0) } |
| 54 | + 50% { -webkit-transform: scale(1.0) } |
| 55 | + } |
78 | 56 |
|
79 | | -// background: 0 0; |
80 | | -// position: fixed; |
81 | | -// top: 0; |
82 | | -// left: 0; |
83 | | -// right: 0; |
84 | | -// z-index: 1020; |
85 | | -// height: 100%; |
86 | | -// width: 100%; |
87 | | -// |
88 | | -// .progress { |
89 | | -// position: fixed; |
90 | | -// top: 0; |
91 | | -// left: 0; |
92 | | -// right: 0; |
93 | | -// text-align: center; |
94 | | -// height: 4px; |
95 | | -// z-index: 2000; |
96 | | -// border-radius: 0; |
97 | | -// transition: height 500ms cubic-bezier(0.600, -0.280, 0.735, 0.045); |
98 | | -// |
99 | | -// .progress-bar { |
100 | | -// background-color: #6ba442; |
101 | | -// } |
102 | | -// } |
103 | | -// .message-background { |
104 | | -// .spinner-circles { |
105 | | -// width: 40px; |
106 | | -// height: 40px; |
107 | | -// position: relative; |
108 | | -// margin: 40px auto; |
109 | | -// |
110 | | -// .circle-1, .circle-2 { |
111 | | -// width: 100%; |
112 | | -// height: 100%; |
113 | | -// border-radius: 50%; |
114 | | -// background-color: @mc-blue0; |
115 | | -// opacity: 0.6; |
116 | | -// position: absolute; |
117 | | -// top: 0; |
118 | | -// left: 0; |
119 | | -// |
120 | | -// -webkit-animation: bounce 2.0s infinite ease-in-out; |
121 | | -// animation: bounce 2.0s infinite ease-in-out; |
122 | | -// } |
123 | | -// |
124 | | -// .circle-2 { |
125 | | -// -webkit-animation-delay: -1.0s; |
126 | | -// animation-delay: -1.0s; |
127 | | -// } |
128 | | -// |
129 | | -// @-webkit-keyframes bounce { |
130 | | -// 0%, 100% { -webkit-transform: scale(0.0) } |
131 | | -// 50% { -webkit-transform: scale(1.0) } |
132 | | -// } |
133 | | -// |
134 | | -// @keyframes bounce { |
135 | | -// 0%, 100% { |
136 | | -// transform: scale(0.0); |
137 | | -// -webkit-transform: scale(0.0); |
138 | | -// } 50% { |
139 | | -// transform: scale(1.0); |
140 | | -// -webkit-transform: scale(1.0); |
141 | | -// } |
142 | | -// } |
143 | | -// } |
144 | | -// } |
145 | | -// } |
| 57 | + @keyframes bounce { |
| 58 | + 0%, 100% { |
| 59 | + transform: scale(0.0); |
| 60 | + -webkit-transform: scale(0.0); |
| 61 | + } 50% { |
| 62 | + transform: scale(1.0); |
| 63 | + -webkit-transform: scale(1.0); |
| 64 | + } |
| 65 | + } |
| 66 | + } |
| 67 | + } |
| 68 | + } |
0 commit comments