-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathPublicChannelOverlay.scss
More file actions
87 lines (76 loc) · 1.72 KB
/
PublicChannelOverlay.scss
File metadata and controls
87 lines (76 loc) · 1.72 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
.app-public-channel-overlay {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
background: rgba(255, 255, 255, 0.75);
padding: 12px 0;
.str-chat__theme-dark & {
background: rgba(0, 0, 0, 0.75);
}
}
.app-public-channel-overlay__content {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 48px;
overscroll-behavior: contain;
&::before {
content: '';
position: absolute;
inset: -120px;
border-radius: 50%;
background: radial-gradient(
circle,
rgba(255, 255, 255, 0.9) 0%,
rgba(255, 255, 255, 0.85) 40%,
rgba(255, 255, 255, 0) 70%
);
filter: blur(20px);
z-index: -1;
.str-chat__theme-dark & {
background: radial-gradient(
circle,
rgba(0, 0, 0, 0.6) 0%,
rgba(0, 0, 0, 0.55) 40%,
rgba(0, 0, 0, 0) 70%
);
}
}
.str-chat__icon {
width: 32px;
height: 32px;
color: var(--str-chat__text-tertiary);
}
}
.app-public-channel-overlay__text {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: var(--str-chat__spacing-xxs);
margin-block: var(--str-chat__spacing-sm) var(--str-chat__spacing-xl);
p {
margin: 0;
}
}
.app-public-channel-overlay__title {
font: var(--str-chat__font-heading-xs);
color: var(--str-chat__text-color);
}
.app-public-channel-overlay__description {
font: var(--str-chat__font-caption-default);
color: var(--str-chat__text-secondary);
max-width: 200px;
}
.app-public-channel-overlay__join-button {
width: 106px;
.str-chat__loading-indicator {
height: 20px;
width: 20px;
}
}