forked from Creditra/Creditra-Frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNetworkMismatchBanner.css
More file actions
66 lines (57 loc) · 1.36 KB
/
Copy pathNetworkMismatchBanner.css
File metadata and controls
66 lines (57 loc) · 1.36 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
.network-mismatch-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.875rem 1rem;
border: 1px solid var(--warning);
border-radius: var(--radius-lg);
background: color-mix(in srgb, var(--warning) 12%, transparent);
color: var(--text);
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.network-mismatch-banner__content {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.network-mismatch-banner__title {
margin: 0;
font-weight: 700;
}
.network-mismatch-banner__copy {
margin: 0;
color: var(--muted);
font-size: 0.95rem;
}
.network-mismatch-banner__button {
border: 0;
border-radius: var(--radius-pill);
padding: 0.7rem 1rem;
font-weight: 600;
background: var(--accent);
color: var(--bg);
cursor: pointer;
transition: transform 120ms ease, box-shadow 120ms ease;
}
.network-mismatch-banner__button:hover {
transform: translateY(-1px);
}
.network-mismatch-banner__button:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 3px;
box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent);
}
.network-mismatch-banner__button:disabled {
cursor: progress;
opacity: 0.8;
}
@media (max-width: 640px) {
.network-mismatch-banner {
flex-direction: column;
align-items: flex-start;
}
.network-mismatch-banner__button {
width: 100%;
}
}