File size: 2,389 Bytes
816fa8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.cg-grid-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin-top: auto;
  gap: 8px;
}
.cg-grid-footer > .cg-pager { flex: 1 1 auto; }
.cg-grid-activity {
  margin-left: auto;
  padding: 6px 12px;
  font-size: var(--lp-fs-2xs);
  color: var(--lp-muted);
}
.cg-activity-button {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: var(--lp-r-sm);
  padding: 4px;
  text-align: left;
}
.cg-activity-button:focus-visible { outline: 2px solid var(--lp-blue-deep); }
@media (hover: hover) and (pointer: fine) {
  .cg-activity-button:hover { background: var(--lp-wash); }
}
.cg-activity-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: var(--cg-z-drawer);
  width: min(400px, 100vw);
  box-sizing: border-box;
  overflow: auto;
  background: var(--lp-surface);
  color: var(--lp-ink);
  border-left: var(--lp-hairline-width) solid var(--lp-line);
  padding: var(--lp-content-inset);
  font-size: var(--lp-fs-sm);
  animation: cg-activity-enter var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.cg-activity-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cg-activity-heading h2 { font-size: var(--lp-fs-sm); font-weight: var(--lp-fw-semibold); margin: 0; }
.cg-activity-list { list-style: none; padding: 0; margin: var(--lp-section-gap) 0; }
.cg-activity-list li { display: grid; gap: 4px; padding: 12px 0; border-bottom: var(--lp-hairline-width) solid var(--lp-line); }
.cg-activity-list time, .cg-activity-kind { color: var(--lp-muted); font-size: var(--lp-fs-2xs); }
.cg-grid-activity-progress { width: 120px; padding: 0; margin-right: 12px; height: 2px; background: var(--lp-line); overflow: hidden; }
.cg-grid-activity-progress::after { content: ""; display: block; height: 100%; width: 50%; background: var(--lp-muted); animation: cg-activity-progress var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing) infinite alternate; }
@keyframes cg-activity-enter { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes cg-activity-progress { from { transform: translateX(0); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
  .cg-activity-drawer, .cg-grid-activity-progress::after { animation: none; }
}