forked from signalapp/Signal-Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_progress.scss
47 lines (44 loc) · 919 Bytes
/
_progress.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Copyright 2017-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
@keyframes progress-bar-stripes {
from {
background-position: 40px 0;
}
to {
background-position: 0 0;
}
}
.progress-bar-striped {
background-image: linear-gradient(
45deg,
$color-white-alpha-60 25%,
transparent 25%,
transparent 50%,
$color-white-alpha-60 50%,
$color-white-alpha-60 75%,
transparent 75%,
transparent
);
background-size: 40px 40px;
}
.progress-bar-striped {
background-image: linear-gradient(
45deg,
$color-white-alpha-60 25%,
transparent 25%,
transparent 50%,
$color-white-alpha-60 50%,
$color-white-alpha-60 75%,
transparent 75%,
transparent
);
}
.progress-bar.active {
animation: progress-bar-stripes 2s linear infinite;
}
.bar-container {
background: $color-ios-blue-tint;
.progress-bar {
height: 100%;
}
}