-
Notifications
You must be signed in to change notification settings - Fork 1
/
Status.css
78 lines (66 loc) · 1.53 KB
/
Status.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
.status-container {
margin-top: 20px;
padding: 20px;
border: 2px solid #3498db;
background-color: #e6ecf0;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
transition: transform 0.3s;
display: flex;
flex-direction: column; /* To stack children vertically */
justify-content: center;
align-items: center;
height: auto; /* Removed fixed height for auto-adjustment */
}
.status-container:hover {
transform: scale(1.02);
}
.scheduled {
color: #3498db;
font-weight: 600;
margin-bottom: 10px; /* Added margin to space out from the details */
}
.not-scheduled {
color: #e94c0a;
font-weight: 600;
}
.details {
display: flex;
flex-direction: column;
gap: 8px;
}
.detail-item {
font-size: 0.9em;
color: #333;
}
.detail-item strong {
color: #3498db;
font-size: 1.1em;
}
.status-container:hover .detail-item strong {
color: #a8005c;
}
.loading-bar-container {
width: 100%;
height: 20px;
background-color: #e0e0e0; /* Light gray */
border-radius: 10px;
overflow: hidden; /* Makes sure the inner bar doesn't overflow */
position: relative; /* Allows for absolute positioning of inner elements */
}
.loading-bar-fill {
height: 100%;
width: 0%; /* Starts off empty */
background-color: #3498db; /* Blue */
border-radius: 10px;
position: absolute;
top: 0;
left: 0;
animation: loadingAnimation 10s infinite; /* 2 seconds duration for a simple animation */
}
@keyframes loadingAnimation {
0% { width: 0%; }
50% { width: 100%; }
100% { width: 0%; }
}