@stream-io/video-styling 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +135 -0
- package/LICENSE +219 -0
- package/README.md +11 -0
- package/dist/css/styles.css +2548 -0
- package/dist/css/styles.css.map +1 -0
- package/index.scss +31 -0
- package/package.json +15 -0
- package/project.json +51 -0
- package/src/Avatar/Avatar-layout.scss +16 -0
- package/src/Avatar/Avatar-theme.scss +24 -0
- package/src/Avatar/index.scss +2 -0
- package/src/BackgroundFilters/BackgroundFilters-layout.scss +34 -0
- package/src/BackgroundFilters/index.scss +1 -0
- package/src/Button/Button-layout.scss +124 -0
- package/src/Button/Button-theme.scss +165 -0
- package/src/Button/index.scss +2 -0
- package/src/CallControls/CallControls-layout.scss +69 -0
- package/src/CallControls/CancelCallButton.scss +114 -0
- package/src/CallControls/index.scss +2 -0
- package/src/CallLayout/LivestreamLayout-layout.scss +115 -0
- package/src/CallLayout/PaginatedGridLayout-layout.scss +44 -0
- package/src/CallLayout/SpeakerLayout-layout.scss +148 -0
- package/src/CallLayout/index.scss +3 -0
- package/src/CallParticipantList/CallParticiantListingItem-layout.scss +36 -0
- package/src/CallParticipantList/CallParticiantListingItem-theme.scss +50 -0
- package/src/CallParticipantList/CallParticipantList-layout.scss +113 -0
- package/src/CallParticipantList/CallParticipantList-theme.scss +0 -0
- package/src/CallParticipantList/index.scss +4 -0
- package/src/CallPreview/CallPreview-layout.scss +6 -0
- package/src/CallPreview/index.scss +1 -0
- package/src/CallRecodingList/CallRecordingList-layout.scss +60 -0
- package/src/CallRecodingList/CallRecordingList-theme.scss +50 -0
- package/src/CallRecodingList/index.scss +2 -0
- package/src/CallStats.scss +118 -0
- package/src/DeviceSettings/DeviceSettings-layout.scss +113 -0
- package/src/DeviceSettings/index.scss +1 -0
- package/src/DropdownSelect/DropdownSelect.scss +104 -0
- package/src/DropdownSelect/index.scss +1 -0
- package/src/Icon/Icon-layout.scss +11 -0
- package/src/Icon/Icon-theme.scss +348 -0
- package/src/Icon/index.scss +2 -0
- package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
- package/src/LoadingIndicator/LoadingIndicator-theme.scss +20 -0
- package/src/LoadingIndicator/index.scss +2 -0
- package/src/Menu/GenericMenu-layout.scss +62 -0
- package/src/Menu/GenericMenu-theme.scss +0 -0
- package/src/Menu/Menu-layout.scss +9 -0
- package/src/Menu/Menu-theme.scss +4 -0
- package/src/Menu/Portal-layout.scss +21 -0
- package/src/Menu/index.scss +5 -0
- package/src/Notification/Notification-layout.scss +26 -0
- package/src/Notification/Notification-theme.scss +19 -0
- package/src/Notification/index.scss +2 -0
- package/src/ParticipantView/ParticipantView-layout.scss +213 -0
- package/src/ParticipantView/index.scss +1 -0
- package/src/Permissions/Permissions-layout.scss +55 -0
- package/src/Permissions/index.scss +1 -0
- package/src/Reaction/Reaction-layout.scss +11 -0
- package/src/Reaction/index.scss +1 -0
- package/src/RingingCall/RingingCall-layout.scss +43 -0
- package/src/RingingCall/RingingCall-theme.scss +39 -0
- package/src/RingingCall/index.scss +2 -0
- package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +28 -0
- package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +19 -0
- package/src/ScreenShareOverlay/index.scss +2 -0
- package/src/Search/SearchInput-layout.scss +29 -0
- package/src/Search/SearchInput-theme.scss +65 -0
- package/src/Search/index.scss +2 -0
- package/src/StreamCall.scss +16 -0
- package/src/Tooltip/Tooltip-layout.scss +10 -0
- package/src/Tooltip/Tooltip-theme.scss +37 -0
- package/src/Tooltip/index.scss +2 -0
- package/src/Video/Video-layout.scss +15 -0
- package/src/Video/Video-theme.scss +3 -0
- package/src/Video/VideoPlaceholder-layout.scss +22 -0
- package/src/Video/VideoPlaceholder-theme.scss +16 -0
- package/src/Video/index.scss +4 -0
- package/src/VideoPreview/VideoPreview-layout.scss +29 -0
- package/src/VideoPreview/VideoPreview-theme.scss +37 -0
- package/src/VideoPreview/index.scss +2 -0
- package/src/_base.scss +7 -0
- package/src/_global-theme-variables.scss +191 -0
- package/src/_utils.scss +50 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-video__loading-indicator__icon.spinner {
|
|
4
|
+
@include utils.apply-mask-image(
|
|
5
|
+
var(--str-video__icon--loading),
|
|
6
|
+
var(--str-video__text-color2)
|
|
7
|
+
);
|
|
8
|
+
animation: rotation 1s linear infinite;
|
|
9
|
+
width: 1rem;
|
|
10
|
+
height: 1rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes rotation {
|
|
14
|
+
0% {
|
|
15
|
+
transform: rotate(0deg);
|
|
16
|
+
}
|
|
17
|
+
100% {
|
|
18
|
+
transform: rotate(360deg);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
.str-video__generic-menu {
|
|
2
|
+
list-style: none;
|
|
3
|
+
margin: unset;
|
|
4
|
+
background-color: var(--str-video__base-color7);
|
|
5
|
+
padding: var(--str-video__spacing-md);
|
|
6
|
+
|
|
7
|
+
border-radius: var(--str-video__border-radius-lg);
|
|
8
|
+
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: 1px;
|
|
12
|
+
|
|
13
|
+
.str-video__generic-menu--item {
|
|
14
|
+
align-items: center;
|
|
15
|
+
|
|
16
|
+
margin-top: 8px;
|
|
17
|
+
gap: 8px;
|
|
18
|
+
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-size: var(--str-video__font-size-md);
|
|
21
|
+
|
|
22
|
+
display: flex;
|
|
23
|
+
button {
|
|
24
|
+
all: unset;
|
|
25
|
+
width: 100%;
|
|
26
|
+
font-size: 13px;
|
|
27
|
+
border-radius: var(--str-video__border-radius-lg);
|
|
28
|
+
background-color: var(--str-video__button-primary-base);
|
|
29
|
+
padding: 8px 16px;
|
|
30
|
+
gap: 10px;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
position: relative;
|
|
34
|
+
|
|
35
|
+
.str-video__icon {
|
|
36
|
+
width: 1.1rem;
|
|
37
|
+
height: 1rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: var(--str-video__button-default-hover);
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&--selected,
|
|
46
|
+
&--active {
|
|
47
|
+
background-color: var(--str-video__button-primary-hover);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// TODO: remove once "device selector" component becomes reusable
|
|
52
|
+
button[aria-selected] {
|
|
53
|
+
padding: 5px 10px 5px 26px;
|
|
54
|
+
}
|
|
55
|
+
button[aria-selected='true']::after {
|
|
56
|
+
content: '●';
|
|
57
|
+
font-size: 10px;
|
|
58
|
+
left: 10px;
|
|
59
|
+
position: absolute;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.str-video__portal {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 1;
|
|
4
|
+
width: 100vw;
|
|
5
|
+
height: 100vh;
|
|
6
|
+
background-color: var(--str-video__backdrop1);
|
|
7
|
+
|
|
8
|
+
left: 0;
|
|
9
|
+
top: 0;
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
.str-video__portal-content {
|
|
16
|
+
z-index: 2;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 50%;
|
|
19
|
+
left: 50%;
|
|
20
|
+
transform: translate(-50%, -50%);
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.str-video__notification {
|
|
2
|
+
padding: 0.625rem;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 0.625rem;
|
|
6
|
+
|
|
7
|
+
.str-video__notification__icon {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
width: 1.5rem;
|
|
10
|
+
height: 1.5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.str-video__notification__message {
|
|
14
|
+
flex: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.str-video__notification__close {
|
|
18
|
+
display: inline-block;
|
|
19
|
+
width: 1rem;
|
|
20
|
+
height: 1rem;
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '../utils';
|
|
2
|
+
|
|
3
|
+
.str-video__notification {
|
|
4
|
+
background-color: var(--str-video__background-color1);
|
|
5
|
+
border-radius: var(--str-video__border-radius-xs);
|
|
6
|
+
z-index: 100;
|
|
7
|
+
|
|
8
|
+
.str-video__notification__icon {
|
|
9
|
+
@include utils.apply-mask-image(
|
|
10
|
+
var(--str-video__icon--info-icon),
|
|
11
|
+
var(--str-video__text-color1),
|
|
12
|
+
1.5rem
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.str-video__notification__message {
|
|
17
|
+
font-size: 0.75rem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
$scope-name: 'str-video__participant-view';
|
|
2
|
+
|
|
3
|
+
.str-video__participant-view {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: 100%;
|
|
6
|
+
max-width: 1280px;
|
|
7
|
+
max-height: 100%;
|
|
8
|
+
min-height: 0;
|
|
9
|
+
aspect-ratio: 4/3;
|
|
10
|
+
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
border-radius: var(--str-video__border-radius-sm);
|
|
15
|
+
|
|
16
|
+
&--speaking {
|
|
17
|
+
outline: 2px solid var(--str-video__primary-color);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.str-video__call-controls__button {
|
|
21
|
+
transition: opacity 200ms ease-out;
|
|
22
|
+
opacity: 0.3;
|
|
23
|
+
color: var(--str-video__text-color1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
.str-video__call-controls__button {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
& > .str-video__call-controls__button {
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0.875rem;
|
|
35
|
+
left: 0.875rem;
|
|
36
|
+
padding: 0.3rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.str-video__participant-details {
|
|
40
|
+
position: absolute;
|
|
41
|
+
left: 0;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: var(--str-video__spacing-sm);
|
|
46
|
+
border-radius: 0 var(--str-video__border-radius-xs) 0
|
|
47
|
+
var(--str-video__border-radius-sm);
|
|
48
|
+
background-color: var(--str-video__background-color4);
|
|
49
|
+
|
|
50
|
+
.str-video__participant-details__name {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: var(--str-video__spacing-sm);
|
|
54
|
+
padding: 4px 6px;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
text-overflow: ellipsis;
|
|
58
|
+
font-size: var(--str-video__font-size-sm);
|
|
59
|
+
|
|
60
|
+
@mixin icon {
|
|
61
|
+
$icon-size: 1rem;
|
|
62
|
+
width: $icon-size;
|
|
63
|
+
height: $icon-size;
|
|
64
|
+
mask-size: $icon-size;
|
|
65
|
+
-webkit-mask-size: $icon-size;
|
|
66
|
+
background-color: var(--str-video__text-color1);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.str-video__participant-details__name--audio-muted {
|
|
70
|
+
@include icon();
|
|
71
|
+
mask-image: var(--str-video__icon--mic-off);
|
|
72
|
+
-webkit-mask-image: var(--str-video__icon--mic-off);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.str-video__participant-details__name--video-muted {
|
|
76
|
+
@include icon();
|
|
77
|
+
mask-image: var(--str-video__icon--camera-off);
|
|
78
|
+
-webkit-mask-image: var(--str-video__icon--camera-off);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.str-video__participant-details__name--pinned {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
@include icon();
|
|
84
|
+
width: 0.8rem;
|
|
85
|
+
-webkit-mask-size: 0.8rem;
|
|
86
|
+
height: 1rem;
|
|
87
|
+
mask-size: 0.8rem;
|
|
88
|
+
mask-repeat: no-repeat;
|
|
89
|
+
-webkit-mask-repeat: no-repeat;
|
|
90
|
+
mask-position: center;
|
|
91
|
+
-webkit-mask-position: center;
|
|
92
|
+
mask-image: var(--str-video__icon--pin);
|
|
93
|
+
-webkit-mask-image: var(--str-video__icon--pin);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.str-video__participant-details__name--network-stats {
|
|
97
|
+
@include icon();
|
|
98
|
+
background-image: var(--str-video__icon--network-quality);
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
margin-right: 0.625rem;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.str-video__participant-details__connection-quality {
|
|
106
|
+
position: absolute;
|
|
107
|
+
bottom: 0;
|
|
108
|
+
right: 0;
|
|
109
|
+
|
|
110
|
+
border-radius: var(--str-video__border-radius-sm) 0
|
|
111
|
+
var(--str-video__border-radius-sm) 0;
|
|
112
|
+
|
|
113
|
+
width: 24px;
|
|
114
|
+
height: 24px;
|
|
115
|
+
display: block;
|
|
116
|
+
background-size: cover;
|
|
117
|
+
background-color: var(--str-video__background-color4);
|
|
118
|
+
|
|
119
|
+
&--poor {
|
|
120
|
+
background-image: var(--str-video__icon--connection-quality-poor);
|
|
121
|
+
}
|
|
122
|
+
&--good {
|
|
123
|
+
background-image: var(--str-video__icon--connection-quality-good);
|
|
124
|
+
}
|
|
125
|
+
&--excellent {
|
|
126
|
+
background-image: var(--str-video__icon--connection-quality-excellent);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.str-video__speech-indicator {
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 1px;
|
|
136
|
+
height: 16px;
|
|
137
|
+
|
|
138
|
+
.str-video__speech-indicator__bar {
|
|
139
|
+
width: 3px;
|
|
140
|
+
height: 20%;
|
|
141
|
+
background-color: var(--str-video__primary-color);
|
|
142
|
+
border-radius: 2px;
|
|
143
|
+
animation-duration: 0.4s;
|
|
144
|
+
animation-iteration-count: 1;
|
|
145
|
+
animation-name: speech-indicator-silence;
|
|
146
|
+
animation-timing-function: ease-in-out;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.str-video__speech-indicator--dominant {
|
|
150
|
+
.str-video__speech-indicator__bar {
|
|
151
|
+
background-color: var(--str-video__primary-color);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.str-video__speech-indicator--speaking {
|
|
156
|
+
.str-video__speech-indicator__bar {
|
|
157
|
+
height: 100%;
|
|
158
|
+
animation-iteration-count: infinite;
|
|
159
|
+
|
|
160
|
+
&:nth-child(1) {
|
|
161
|
+
height: 70%;
|
|
162
|
+
animation-duration: 0.8s;
|
|
163
|
+
animation-name: speech-indicator-quiet;
|
|
164
|
+
}
|
|
165
|
+
&:nth-child(2) {
|
|
166
|
+
height: 80%;
|
|
167
|
+
animation-duration: 1s;
|
|
168
|
+
animation-name: speech-indicator-loud;
|
|
169
|
+
}
|
|
170
|
+
&:nth-child(3) {
|
|
171
|
+
height: 60%;
|
|
172
|
+
animation-duration: 0.9s;
|
|
173
|
+
animation-name: speech-indicator-quiet;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@keyframes speech-indicator-silence {
|
|
179
|
+
25% {
|
|
180
|
+
transform: scaleY(2);
|
|
181
|
+
}
|
|
182
|
+
50% {
|
|
183
|
+
transform: scaleY(2.5);
|
|
184
|
+
}
|
|
185
|
+
75% {
|
|
186
|
+
transform: scaleY(1);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@keyframes speech-indicator-quiet {
|
|
191
|
+
25% {
|
|
192
|
+
transform: scaleY(0.5);
|
|
193
|
+
}
|
|
194
|
+
50% {
|
|
195
|
+
transform: scaleY(0.3);
|
|
196
|
+
}
|
|
197
|
+
75% {
|
|
198
|
+
transform: scaleY(0.5);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@keyframes speech-indicator-loud {
|
|
203
|
+
25% {
|
|
204
|
+
transform: scaleY(1);
|
|
205
|
+
}
|
|
206
|
+
50% {
|
|
207
|
+
transform: scaleY(0.45);
|
|
208
|
+
}
|
|
209
|
+
75% {
|
|
210
|
+
transform: scaleY(1.1);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './ParticipantView-layout';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.str-video__permission-requests {
|
|
2
|
+
background-color: var(--str-video__background-color1);
|
|
3
|
+
border-radius: 8px;
|
|
4
|
+
padding: 10px;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.str-video__permission-requests__notification,
|
|
8
|
+
.str-video__permission-request {
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 10px;
|
|
11
|
+
padding: 10px 0;
|
|
12
|
+
align-items: center;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.str-video__permission-requests__notification__message,
|
|
16
|
+
.str-video__permission-request__message {
|
|
17
|
+
flex: 1;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.str-video__permission-request__button {
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
border: 1px solid var(--str-video__text-color1);
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
color: var(--str-video__color1);
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
padding: 8px;
|
|
32
|
+
min-width: 120px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.str-video__permission-request__button--allow {
|
|
36
|
+
background-color: var(--str-video__primary-color);
|
|
37
|
+
border: 1px solid var(--str-video__primary-color);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.str-video__permission-requests-list {
|
|
41
|
+
background-color: var(--str-video__background-color1);
|
|
42
|
+
border-bottom-left-radius: 8px;
|
|
43
|
+
border-bottom-right-radius: 8px;
|
|
44
|
+
padding: 10px;
|
|
45
|
+
width: 100%;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
opacity: 0.9;
|
|
48
|
+
overflow-x: scroll;
|
|
49
|
+
overflow-y: hidden;
|
|
50
|
+
|
|
51
|
+
&::-webkit-scrollbar {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './Permissions-layout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "Reaction-layout";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
.str-video__call-panel {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-around;
|
|
6
|
+
width: 400px;
|
|
7
|
+
height: 300px;
|
|
8
|
+
padding: 1rem 1rem 0.5rem;
|
|
9
|
+
gap: 1rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.str-video__call-panel--ringing {
|
|
13
|
+
.str-video__call-panel__members-list {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
|
|
18
|
+
.str-video__call-panel__member-box {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
padding: 2rem;
|
|
25
|
+
|
|
26
|
+
.str-video__avatar {
|
|
27
|
+
width: 80px;
|
|
28
|
+
height: 80px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.str-video__member_details {
|
|
32
|
+
position: absolute;
|
|
33
|
+
bottom: 10%;
|
|
34
|
+
padding: 0.125rem 0.375rem;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.str-video__pending-call-controls {
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 0.675rem;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.str-video__call-panel {
|
|
2
|
+
background: var(--str-video__background-color3);
|
|
3
|
+
border: 2px solid rgba(200,200,200,0.6);
|
|
4
|
+
border-radius: 10px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.str-video__call-panel--ringing {
|
|
8
|
+
.str-video__call-panel__members-list {
|
|
9
|
+
|
|
10
|
+
.str-video__call-panel__member-box {
|
|
11
|
+
border-radius: var(--str-video__border-radius-circle);
|
|
12
|
+
background: var(--str-video__background-color6);
|
|
13
|
+
|
|
14
|
+
&:before {
|
|
15
|
+
content: "";
|
|
16
|
+
position: absolute;
|
|
17
|
+
inset: 0;
|
|
18
|
+
border-radius: var(--str-video__border-radius-circle);
|
|
19
|
+
padding: 4px;
|
|
20
|
+
background:linear-gradient(
|
|
21
|
+
180deg,var(--str-video__primary-color),var(--str-video__info-color)
|
|
22
|
+
);
|
|
23
|
+
-webkit-mask:
|
|
24
|
+
linear-gradient(#fff 0 0) content-box,
|
|
25
|
+
linear-gradient(#fff 0 0);
|
|
26
|
+
-webkit-mask-composite: xor;
|
|
27
|
+
mask-composite: exclude;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.str-video__member_details {
|
|
31
|
+
background-color: var(--str-video__background-color4);
|
|
32
|
+
color: var(--str-video__text-color1);
|
|
33
|
+
border-radius: 4px;
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
line-height: 16px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.str-video__screen-share-overlay {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
position: absolute;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
gap: 1.8rem;
|
|
10
|
+
|
|
11
|
+
& > .str-video__icon {
|
|
12
|
+
width: 4rem;
|
|
13
|
+
height: 4rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.str-video__screen-share-overlay__button {
|
|
17
|
+
display: flex;
|
|
18
|
+
gap: 0.4rem;
|
|
19
|
+
align-items: center;
|
|
20
|
+
padding-inline: 1.6rem;
|
|
21
|
+
padding-block: 0.8rem;
|
|
22
|
+
|
|
23
|
+
.str-video__icon {
|
|
24
|
+
width: 0.7rem;
|
|
25
|
+
height: 0.7rem;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.str-video__screen-share-overlay {
|
|
2
|
+
background: var(--str-video__overlay-color);
|
|
3
|
+
backdrop-filter: blur(3px);
|
|
4
|
+
border-radius: inherit;
|
|
5
|
+
|
|
6
|
+
.str-video__screen-share-overlay__title {
|
|
7
|
+
font-size: 1.3rem;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.str-video__screen-share-overlay__button {
|
|
11
|
+
color: white;
|
|
12
|
+
background: var(--str-video__danger-color);
|
|
13
|
+
border-radius: var(--str-video__border-radius-xs);
|
|
14
|
+
|
|
15
|
+
&:hover {
|
|
16
|
+
background-color: var(--str-video__danger-color--accent);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
.str-video__search-input__container {
|
|
2
|
+
display: flex;
|
|
3
|
+
gap: 0.5rem;
|
|
4
|
+
padding: 0.5rem 0.75rem;
|
|
5
|
+
margin-inline: -0.25rem;
|
|
6
|
+
|
|
7
|
+
input {
|
|
8
|
+
flex: 1;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.str-video__search-input__clear-btn {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
padding: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.str-video__search-input__icon {
|
|
20
|
+
padding: 0.25rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.str-video__search-input__icon--active,
|
|
24
|
+
.str-video__search-input__icon {
|
|
25
|
+
display: inline-block;
|
|
26
|
+
width: 1.125rem;
|
|
27
|
+
height: 1.125rem;
|
|
28
|
+
}
|
|
29
|
+
}
|