-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
100 lines (86 loc) · 2.15 KB
/
Copy pathstyles.css
File metadata and controls
100 lines (86 loc) · 2.15 KB
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
.atproto-sync-spinner {
display: inline-block;
width: 16px;
height: 16px;
border: 2px solid var(--background-modifier-border);
border-top-color: var(--interactive-accent);
border-radius: 50%;
vertical-align: middle;
animation: atproto-sync-spin 0.8s linear infinite;
}
@keyframes atproto-sync-spin {
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion: reduce) {
.atproto-sync-spinner {
animation: none;
border-top-color: var(--background-modifier-border);
border-color: var(--interactive-accent);
opacity: 0.6;
}
}
.atproto-sync-status .svg-icon {
width: 16px;
height: 16px;
vertical-align: middle;
}
.atproto-sync-status[data-sync-status='syncing'] .svg-icon {
color: var(--interactive-accent);
/* The composed cloud-sync icon can't rotate just its arrows, so it breathes. */
animation: atproto-sync-pulse 1.6s ease-in-out infinite;
}
@keyframes atproto-sync-pulse {
50% {
opacity: 0.35;
}
}
.atproto-sync-status[data-sync-status='error'] .svg-icon {
color: var(--text-error);
}
.atproto-sync-status[data-sync-status='setup'] .svg-icon {
color: var(--text-faint);
}
@media (prefers-reduced-motion: reduce) {
.atproto-sync-status[data-sync-status='syncing'] .svg-icon {
animation: none;
}
}
.atproto-sync-link-button {
display: block;
text-align: center;
padding: 10px 16px;
margin: 0.75em 0;
border-radius: var(--button-radius, 8px);
background: var(--interactive-accent);
color: var(--text-on-accent);
text-decoration: none;
font-weight: 600;
font-size: 1.05em;
cursor: pointer;
}
.atproto-sync-link-button:hover {
background: var(--interactive-accent-hover);
color: var(--text-on-accent);
text-decoration: none;
}
.atproto-sync-busy-row {
display: flex;
align-items: center;
gap: 8px;
margin: 0.75em 0;
color: var(--text-muted);
}
.atproto-sync-wizard h2 {
text-align: center;
}
/* In the wizard the busy row stands in for the action buttons. */
.atproto-sync-wizard .atproto-sync-busy-row {
justify-content: center;
padding: 1em 0 0.5em;
margin: 0;
}
.atproto-sync-status[data-sync-status='attention'] .svg-icon {
color: var(--text-error);
}