-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.css
150 lines (130 loc) · 2.5 KB
/
home.css
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
body
{
overflow: hidden;
background: url(bg_texture.png);
}
.card
{
margin: 30px 3% 40%;
padding: 10px 20px;
#width: 95%;
border-radius: 20px;
box-shadow: rgba(0, 0, 0, 0.25) 10px 12px 30px;
background-color: white;
}
.container
{
position: absolute;
bottom: 0;
width: 100%;
}
.progress-bar
{
#float: left;
width: 0;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #fff;
text-align: center;
background-color: #337ab7;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
-webkit-transition: width 3.6s ease;
transition:width 3.6s ease
}
.progress-striped .progress-bar, .progress-bar-striped
{
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-size: 40px 40px;
}
.progress.active .progress-bar, .progress-bar.active
{
-webkit-animation: progress-bar-stripes 2s linear infinite;
animation:progress-bar-stripes 2s linear infinite
}
.progress-bar-red
{
background-color: #2ba0ff;
}
.progress-bar-blue
{
background-color: #f50300;
}
.progress
{
overflow: visible;
padding: 5px;
margin: 38px 35px 20px 35px;
height: 20px;
background: #262626;
border-radius: 20px;
border-top: 1px solid #000;
border-bottom: 1px solid #7992a8;
box-shadow:inset 0 1px 2px rgba(0, 0, 0, .1);
box-shadow: rgba(0, 0, 0, 0.55) 5px 2px 8px;
}
.progress .progress-bar
{
border-radius: 20px;
position: relative;
animation: animate-positive 2s;
}
.progress .progress-value
{
display: block;
padding: 3px 7px;
font-size: 13px;
color: #fff;
border-radius: 4px;
background: #191919;
border: 1px solid #000;
position: absolute;
top: -40px;
right: -10px;
}
.progress .progress-value:after
{
content: "";
border-top: 10px solid #191919;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
position: absolute;
bottom: -6px;
left: 16%;
}
.progress-bar.active
{
animation: reverse progress-bar-stripes 2s linear infinite, animate-positive 0.3s;
-webkit-animation: reverse progress-bar-stripes 2s linear infinite, animate-positive 0.3s;
}
@-webkit-keyframes progress-bar-stripes
{
from
{
background-position:40px 0
}
to
{
background-position:0 0
}
}
@keyframes progress-bar-stripes
{
from
{
background-position:40px 0
}
to
{
background-position:0 0
}
}
@-webkit-keyframes animate-positive
{
0% { width: 0; }
}
@keyframes animate-positive
{
0% { width: 0; }
}