@stream-io/video-styling 1.15.1 → 2.0.0-beta.1
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 +23 -0
- package/dist/css/embedded.css +2592 -1498
- package/dist/css/embedded.css.map +1 -1
- package/dist/css/styles.css +2388 -1222
- package/dist/css/styles.css.map +1 -1
- package/index.scss +4 -2
- package/package.json +1 -1
- package/project.json +3 -0
- package/src/AudioBlockedNotification/AudioBlockedNotification-layout.scss +9 -9
- package/src/AudioBlockedNotification/AudioBlockedNotification-theme.scss +6 -11
- package/src/Avatar/Avatar-layout.scss +21 -5
- package/src/Avatar/Avatar-theme.scss +33 -9
- package/src/Badge/Badge-layout.scss +52 -0
- package/src/Badge/Badge-theme.scss +39 -0
- package/src/Badge/index.scss +2 -0
- package/src/Button/Button-layout.scss +62 -89
- package/src/Button/Button-theme.scss +79 -144
- package/src/Button/CompositeButton.scss +125 -0
- package/src/Button/index.scss +1 -0
- package/src/CallControls/CallControls-layout.scss +27 -63
- package/src/CallControls/CancelCallButton.scss +39 -85
- package/src/CallLayout/LivestreamLayout-layout.scss +80 -77
- package/src/CallLayout/LivestreamLayout-theme.scss +23 -0
- package/src/CallLayout/PaginatedGridLayout-layout.scss +8 -8
- package/src/CallLayout/PipLayout-layout.scss +26 -20
- package/src/CallLayout/PipLayout-theme.scss +2 -1
- package/src/CallLayout/SpeakerLayout-layout.scss +13 -13
- package/src/CallLayout/index.scss +1 -0
- package/src/CallParticipantList/CallParticiantListingItem-layout.scss +6 -8
- package/src/CallParticipantList/CallParticiantListingItem-theme.scss +19 -17
- package/src/CallParticipantList/CallParticipantList-layout.scss +25 -19
- package/src/CallRecodingList/CallRecordingList-layout.scss +46 -27
- package/src/CallRecodingList/CallRecordingList-theme.scss +25 -37
- package/src/DeviceSettings/DeviceSettings-layout.scss +154 -69
- package/src/DropdownSelect/DropdownSelect.scss +62 -52
- package/src/Embedded/_base.scss +2 -2
- package/src/Embedded/call/CallLayout-layout.scss +22 -12
- package/src/Embedded/call/CallLayout-theme.scss +2 -2
- package/src/Embedded/livestream/Livestream-layout.scss +28 -41
- package/src/Embedded/livestream/Livestream-theme.scss +12 -34
- package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-layout.scss +8 -20
- package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-theme.scss +1 -19
- package/src/Embedded/shared/CallControls/CallControls-layout.scss +10 -11
- package/src/Embedded/shared/CallControls/CallControls-theme.scss +5 -7
- package/src/Embedded/shared/ConnectionNotification/ConnectionNotification-layout.scss +1 -1
- package/src/Embedded/shared/EmbeddedParticipantViewUI/EmbeddedParticipantViewUI.scss +2 -2
- package/src/Embedded/shared/ErrorScreen/ErrorScreen-layout.scss +3 -3
- package/src/Embedded/shared/Feedback/CallFeedback-layout.scss +21 -36
- package/src/Embedded/shared/Feedback/CallFeedback-theme.scss +11 -33
- package/src/Embedded/shared/Icons.scss +6 -8
- package/src/Embedded/shared/JoinError/JoinError-layout.scss +7 -3
- package/src/Embedded/shared/JoinError/JoinError-theme.scss +3 -3
- package/src/Embedded/shared/LoadingScreen/LoadingScreen-layout.scss +4 -4
- package/src/Embedded/shared/Lobby/Lobby-layout.scss +66 -55
- package/src/Embedded/shared/Lobby/Lobby-theme.scss +20 -15
- package/src/Icon/Icon-layout.scss +3 -2
- package/src/Icon/Icon-theme.scss +59 -20
- package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
- package/src/LoadingIndicator/LoadingIndicator-theme.scss +4 -3
- package/src/Menu/GenericMenu-layout.scss +56 -29
- package/src/Menu/Menu-theme.scss +3 -3
- package/src/Menu/Portal-layout.scss +1 -1
- package/src/Notification/Notification-layout.scss +13 -8
- package/src/Notification/Notification-theme.scss +8 -14
- package/src/ParticipantView/ParticipantView-layout.scss +80 -77
- package/src/ParticipantView/ParticipantView-theme.scss +28 -0
- package/src/ParticipantView/index.scss +1 -0
- package/src/Permissions/Permissions-layout.scss +16 -23
- package/src/Reaction/Reaction-layout.scss +3 -3
- package/src/RingingCall/RingingCall-layout.scss +8 -7
- package/src/RingingCall/RingingCall-theme.scss +17 -16
- package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +6 -14
- package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +6 -11
- package/src/Search/SearchInput-layout.scss +16 -10
- package/src/Search/SearchInput-theme.scss +41 -21
- package/src/StreamCall.scss +4 -4
- package/src/Tooltip/Tooltip-layout.scss +11 -3
- package/src/Tooltip/Tooltip-theme.scss +8 -25
- package/src/Video/Video-theme.scss +1 -1
- package/src/Video/VideoPlaceholder-layout.scss +0 -14
- package/src/Video/VideoPlaceholder-theme.scss +2 -13
- package/src/VideoPreview/VideoPreview-layout.scss +2 -3
- package/src/VideoPreview/VideoPreview-theme.scss +22 -15
- package/src/_icons.scss +56 -0
- package/src/_shadows.scss +13 -0
- package/src/_variable-tokens.scss +10 -0
- package/src/tokens/generated/dark.scss +167 -0
- package/src/tokens/generated/light.scss +853 -0
- package/src/CallStats.scss +0 -118
- package/src/_global-theme-variables.scss +0 -167
|
@@ -1,53 +1,80 @@
|
|
|
1
1
|
.str-video__generic-menu {
|
|
2
2
|
list-style: none;
|
|
3
3
|
margin: unset;
|
|
4
|
-
padding: var(--str-video__spacing-
|
|
4
|
+
padding: var(--str-video__spacing-xxs) var(--str-video__spacing-none);
|
|
5
5
|
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
-
gap: var(--str-video__spacing-
|
|
8
|
+
gap: var(--str-video__spacing-xxxs);
|
|
9
|
+
min-inline-size: 224px;
|
|
9
10
|
|
|
10
11
|
.str-video__generic-menu--item {
|
|
12
|
+
display: flex;
|
|
11
13
|
align-items: center;
|
|
14
|
+
padding-inline: var(--str-video__spacing-xxs);
|
|
12
15
|
|
|
13
|
-
gap: 8px;
|
|
14
|
-
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
font-size: var(--str-video__font-size-md);
|
|
17
|
-
|
|
18
|
-
display: flex;
|
|
19
16
|
button {
|
|
20
17
|
all: unset;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
|
|
21
20
|
width: 100%;
|
|
22
|
-
|
|
23
|
-
border-radius: var(--str-video__border-radius-lg);
|
|
24
|
-
background-color: var(--str-video__button-primary-base);
|
|
25
|
-
padding: var(--str-video__spacing-xs) var(--str-video__spacing-lg);
|
|
26
|
-
gap: 10px;
|
|
21
|
+
min-height: 32px;
|
|
27
22
|
display: flex;
|
|
28
23
|
align-items: center;
|
|
29
|
-
|
|
24
|
+
gap: var(--str-video__spacing-xs);
|
|
25
|
+
padding-inline: var(--str-video__spacing-xs);
|
|
26
|
+
border-radius: var(--str-video__radius-md);
|
|
30
27
|
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
color: var(--str-video__text-primary);
|
|
29
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
30
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
31
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
32
|
+
|
|
33
|
+
.str-video__icon {
|
|
34
|
+
background-color: var(--str-video__text-secondary);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:hover:not(:disabled) {
|
|
38
|
+
background-color: var(--str-video__background-utility-hover);
|
|
33
39
|
cursor: pointer;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
background-color: var(--str-video__button-primary-hover);
|
|
42
|
+
&:active:not(:disabled) {
|
|
43
|
+
background-color: var(--str-video__background-utility-pressed);
|
|
39
44
|
}
|
|
40
|
-
}
|
|
41
45
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
&:not(:disabled):focus-visible {
|
|
47
|
+
outline: var(--str-video__w200) solid
|
|
48
|
+
var(--str-video__border-utility-focused);
|
|
49
|
+
outline-offset: calc(var(--str-video__w200) * -1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:disabled {
|
|
53
|
+
color: var(--str-video__text-disabled);
|
|
54
|
+
|
|
55
|
+
.str-video__icon {
|
|
56
|
+
background-color: var(--str-video__text-disabled);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[aria-current='true'],
|
|
61
|
+
&[aria-selected='true'] {
|
|
62
|
+
background-color: var(--str-video__background-utility-selected);
|
|
63
|
+
}
|
|
51
64
|
}
|
|
52
65
|
}
|
|
53
66
|
}
|
|
67
|
+
|
|
68
|
+
.str-video__generic-menu--separator {
|
|
69
|
+
margin: var(--str-video__spacing-xxs) 0 3px;
|
|
70
|
+
border-block-start: var(--str-video__w100) solid
|
|
71
|
+
var(--str-video__border-core-default);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.str-video__generic-menu--separator:first-child,
|
|
75
|
+
.str-video__generic-menu--separator + .str-video__generic-menu--separator,
|
|
76
|
+
.str-video__generic-menu--separator:not(
|
|
77
|
+
:has(~ .str-video__generic-menu--item)
|
|
78
|
+
) {
|
|
79
|
+
display: none;
|
|
80
|
+
}
|
package/src/Menu/Menu-theme.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.str-video__menu-container {
|
|
2
|
-
background-color: var(--str-
|
|
3
|
-
border-radius: var(--str-
|
|
4
|
-
box-shadow:
|
|
2
|
+
background-color: var(--str-video__background-core-elevation-2);
|
|
3
|
+
border-radius: var(--str-video__radius-lg);
|
|
4
|
+
box-shadow: var(--str-video__box-shadow-3);
|
|
5
5
|
}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
.str-video__notification {
|
|
2
|
-
|
|
2
|
+
min-height: var(--str-video__size-48);
|
|
3
|
+
max-width: var(--str-video__size-480);
|
|
3
4
|
display: flex;
|
|
4
5
|
align-items: center;
|
|
5
|
-
gap:
|
|
6
|
+
gap: var(--str-video__spacing-xs);
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
padding-block: var(--str-video__spacing-sm);
|
|
9
|
+
padding-inline: var(--str-video__spacing-md);
|
|
10
|
+
|
|
11
|
+
&--success,
|
|
12
|
+
&--error,
|
|
13
|
+
&--loading {
|
|
14
|
+
padding-inline-start: var(--str-video__spacing-sm);
|
|
11
15
|
}
|
|
12
16
|
|
|
13
17
|
.str-video__notification__message {
|
|
@@ -15,9 +19,10 @@
|
|
|
15
19
|
}
|
|
16
20
|
|
|
17
21
|
.str-video__notification__close {
|
|
22
|
+
margin-inline-start: var(--str-video__spacing-xxs);
|
|
18
23
|
display: inline-block;
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
24
|
+
width: var(--str-video__icon-size-sm);
|
|
25
|
+
height: var(--str-video__icon-size-sm);
|
|
21
26
|
|
|
22
27
|
&:hover {
|
|
23
28
|
cursor: pointer;
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
@use '../utils';
|
|
2
|
-
|
|
3
1
|
.str-video__notification {
|
|
4
|
-
background-color: var(--str-video__background-
|
|
5
|
-
|
|
2
|
+
background-color: var(--str-video__background-core-inverse);
|
|
3
|
+
color: var(--str-video__text-on-inverse);
|
|
4
|
+
border-radius: var(--str-video__radius-3xl);
|
|
5
|
+
box-shadow: var(--str-video__box-shadow-3);
|
|
6
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
7
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
6
8
|
z-index: 100;
|
|
7
9
|
|
|
8
|
-
.str-
|
|
9
|
-
|
|
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;
|
|
10
|
+
> .str-video__icon {
|
|
11
|
+
background-color: var(--str-video__text-on-inverse);
|
|
18
12
|
}
|
|
19
13
|
}
|
|
@@ -11,59 +11,60 @@ $scope-name: 'str-video__participant-view';
|
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
|
-
border-radius: var(--str-
|
|
14
|
+
border-radius: var(--str-video__radius-2xl);
|
|
15
15
|
|
|
16
16
|
&--speaking {
|
|
17
|
-
outline:
|
|
17
|
+
outline: var(--str-video__w200) solid var(--str-video__accent-primary);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.str-
|
|
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 {
|
|
20
|
+
.str-video__participant-view__menu-button {
|
|
33
21
|
position: absolute;
|
|
34
|
-
top:
|
|
35
|
-
left:
|
|
36
|
-
padding: 0.3rem;
|
|
22
|
+
top: var(--str-video__space-8);
|
|
23
|
+
left: var(--str-video__space-8);
|
|
37
24
|
}
|
|
38
25
|
|
|
39
26
|
.str-video__participant-details {
|
|
40
27
|
position: absolute;
|
|
41
|
-
|
|
42
|
-
|
|
28
|
+
inset: auto auto var(--str-video__space-8) var(--str-video__space-8);
|
|
29
|
+
min-block-size: var(--str-video__size-32);
|
|
30
|
+
max-inline-size: 256px;
|
|
43
31
|
display: flex;
|
|
44
32
|
align-items: center;
|
|
45
|
-
gap: var(--str-video__spacing-
|
|
46
|
-
border-radius:
|
|
47
|
-
|
|
48
|
-
|
|
33
|
+
gap: var(--str-video__spacing-xs);
|
|
34
|
+
border-radius: var(--str-video__radius-lg);
|
|
35
|
+
background-color: var(--str-video__background-core-overlay-dark-strong);
|
|
36
|
+
-webkit-backdrop-filter: blur(12.5px);
|
|
37
|
+
backdrop-filter: blur(12.5px);
|
|
49
38
|
|
|
50
39
|
.str-video__participant-details__name {
|
|
51
40
|
display: flex;
|
|
52
41
|
align-items: center;
|
|
53
|
-
gap: var(--str-video__spacing-
|
|
54
|
-
padding:
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
font-
|
|
42
|
+
gap: var(--str-video__spacing-xxs);
|
|
43
|
+
padding: var(--str-video__space-4) var(--str-video__space-4)
|
|
44
|
+
var(--str-video__space-4) var(--str-video__space-12);
|
|
45
|
+
font-size: var(--str-video__typography-font-size-xs);
|
|
46
|
+
line-height: var(--str-video__typography-line-height-tight);
|
|
47
|
+
font-weight: var(--str-video__typography-font-weight-regular);
|
|
48
|
+
color: var(--str-video__participant-label--color);
|
|
49
|
+
|
|
50
|
+
.str-video__participant-details__name-text {
|
|
51
|
+
max-inline-size: 160px;
|
|
52
|
+
white-space: nowrap;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
|
|
56
|
+
&:not(:last-child) {
|
|
57
|
+
margin-inline-end: var(--str-video__spacing-xxs);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
59
60
|
|
|
60
61
|
@mixin icon {
|
|
61
|
-
|
|
62
|
-
width:
|
|
63
|
-
height:
|
|
64
|
-
-webkit-mask-size:
|
|
65
|
-
mask-size:
|
|
66
|
-
background-color: var(--str-
|
|
62
|
+
flex-shrink: 0;
|
|
63
|
+
width: var(--str-video__icon-size-sm);
|
|
64
|
+
height: var(--str-video__icon-size-sm);
|
|
65
|
+
-webkit-mask-size: var(--str-video__icon-size-sm);
|
|
66
|
+
mask-size: var(--str-video__icon-size-sm);
|
|
67
|
+
background-color: var(--str-video__participant-label--color);
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
.str-video__participant-details__name--audio-muted {
|
|
@@ -74,9 +75,9 @@ $scope-name: 'str-video__participant-view';
|
|
|
74
75
|
|
|
75
76
|
.str-video__participant-details__name--audio-connecting {
|
|
76
77
|
.str-video__loading-indicator__icon {
|
|
77
|
-
width:
|
|
78
|
-
height:
|
|
79
|
-
border-width:
|
|
78
|
+
width: var(--str-video__icon-size-sm);
|
|
79
|
+
height: var(--str-video__icon-size-sm);
|
|
80
|
+
border-width: var(--str-video__size-2);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
83
|
|
|
@@ -88,17 +89,13 @@ $scope-name: 'str-video__participant-view';
|
|
|
88
89
|
|
|
89
90
|
.str-video__participant-details__name--track-paused {
|
|
90
91
|
@include icon();
|
|
91
|
-
mask-image: var(--str-video__icon--low-bandwidth);
|
|
92
|
-
-webkit-mask-image: var(--str-video__icon--low-bandwidth);
|
|
92
|
+
mask-image: var(--str-video__icon--low-bandwidth-fill);
|
|
93
|
+
-webkit-mask-image: var(--str-video__icon--low-bandwidth-fill);
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
.str-video__participant-details__name--pinned {
|
|
96
97
|
cursor: pointer;
|
|
97
98
|
@include icon();
|
|
98
|
-
width: 0.8rem;
|
|
99
|
-
height: 1rem;
|
|
100
|
-
-webkit-mask-size: 0.8rem;
|
|
101
|
-
mask-size: 0.8rem;
|
|
102
99
|
-webkit-mask-repeat: no-repeat;
|
|
103
100
|
mask-repeat: no-repeat;
|
|
104
101
|
-webkit-mask-position: center;
|
|
@@ -106,54 +103,60 @@ $scope-name: 'str-video__participant-view';
|
|
|
106
103
|
-webkit-mask-image: var(--str-video__icon--pin);
|
|
107
104
|
mask-image: var(--str-video__icon--pin);
|
|
108
105
|
}
|
|
109
|
-
|
|
110
|
-
.str-video__participant-details__name--network-stats {
|
|
111
|
-
@include icon();
|
|
112
|
-
background-image: var(--str-video__icon--network-quality);
|
|
113
|
-
cursor: pointer;
|
|
114
|
-
margin-right: 0.625rem;
|
|
115
|
-
}
|
|
116
106
|
}
|
|
117
107
|
}
|
|
118
108
|
|
|
119
|
-
.str-
|
|
109
|
+
.str-video__connection-quality-indicator {
|
|
120
110
|
position: absolute;
|
|
121
|
-
|
|
122
|
-
right: 0;
|
|
111
|
+
inset: auto var(--str-video__space-8) var(--str-video__space-8) auto;
|
|
123
112
|
|
|
124
|
-
|
|
125
|
-
|
|
113
|
+
inline-size: var(--str-video__size-32);
|
|
114
|
+
block-size: var(--str-video__size-32);
|
|
115
|
+
border-radius: var(--str-video__radius-max);
|
|
126
116
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
117
|
+
display: grid;
|
|
118
|
+
grid-auto-flow: column;
|
|
119
|
+
place-content: center;
|
|
120
|
+
align-items: end;
|
|
121
|
+
gap: 3px;
|
|
132
122
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
123
|
+
.str-video__connection-quality-indicator__bar {
|
|
124
|
+
inline-size: var(--str-video__icon-stroke-emphasis);
|
|
125
|
+
border-radius: var(--str-video__radius-max);
|
|
126
|
+
|
|
127
|
+
&:nth-child(1) {
|
|
128
|
+
block-size: 4px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:nth-child(2) {
|
|
132
|
+
block-size: 7px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&:nth-child(3) {
|
|
136
|
+
block-size: 10px;
|
|
137
|
+
}
|
|
141
138
|
}
|
|
142
139
|
}
|
|
143
140
|
}
|
|
144
141
|
|
|
145
142
|
.str-video__speech-indicator {
|
|
146
143
|
display: flex;
|
|
147
|
-
justify-content:
|
|
144
|
+
justify-content: center;
|
|
148
145
|
align-items: center;
|
|
149
|
-
gap:
|
|
150
|
-
|
|
146
|
+
gap: 3px;
|
|
147
|
+
flex-shrink: 0;
|
|
148
|
+
inline-size: var(--str-video__size-24);
|
|
149
|
+
block-size: var(--str-video__size-24);
|
|
150
|
+
padding: 7px;
|
|
151
|
+
border-radius: var(--str-video__radius-md);
|
|
152
|
+
background-color: var(--str-video__background-core-overlay-dark-strong);
|
|
151
153
|
|
|
152
154
|
.str-video__speech-indicator__bar {
|
|
153
|
-
|
|
155
|
+
flex-shrink: 0;
|
|
156
|
+
width: 2px;
|
|
154
157
|
height: 20%;
|
|
155
|
-
background-color: var(--str-
|
|
156
|
-
border-radius:
|
|
158
|
+
background-color: var(--str-video__indicator-sound-indicator-speaking);
|
|
159
|
+
border-radius: var(--str-video__radius-max);
|
|
157
160
|
animation-duration: 0.4s;
|
|
158
161
|
animation-iteration-count: 1;
|
|
159
162
|
animation-name: speech-indicator-silence;
|
|
@@ -162,7 +165,7 @@ $scope-name: 'str-video__participant-view';
|
|
|
162
165
|
|
|
163
166
|
&.str-video__speech-indicator--dominant {
|
|
164
167
|
.str-video__speech-indicator__bar {
|
|
165
|
-
background-color: var(--str-
|
|
168
|
+
background-color: var(--str-video__indicator-sound-indicator-speaking);
|
|
166
169
|
}
|
|
167
170
|
}
|
|
168
171
|
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* The text and icon color inside the participant label */
|
|
2
|
+
.str-video {
|
|
3
|
+
--str-video__participant-label--color: var(--str-video__text-on-accent);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.str-video__connection-quality-indicator {
|
|
7
|
+
background-color: var(--str-video__background-core-overlay-dark-strong);
|
|
8
|
+
|
|
9
|
+
.str-video__connection-quality-indicator__bar {
|
|
10
|
+
background-color: var(--str-video__base-transparent-white-30);
|
|
11
|
+
|
|
12
|
+
&--active {
|
|
13
|
+
background-color: var(--str-video__text-on-accent);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--poor .str-video__connection-quality-indicator__bar--active {
|
|
18
|
+
background-color: var(--str-video__indicator-connection-quality-poor);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--good .str-video__connection-quality-indicator__bar--active {
|
|
22
|
+
background-color: var(--str-video__indicator-connection-quality-fair);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--excellent .str-video__connection-quality-indicator__bar--active {
|
|
26
|
+
background-color: var(--str-video__indicator-connection-quality-great);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,50 +1,43 @@
|
|
|
1
1
|
.str-video__permission-requests {
|
|
2
|
-
background-color: var(--str-video__background-
|
|
3
|
-
border-radius:
|
|
4
|
-
padding:
|
|
2
|
+
background-color: var(--str-video__background-core-surface-card);
|
|
3
|
+
border-radius: var(--str-video__radius-md);
|
|
4
|
+
padding: var(--str-video__spacing-sm);
|
|
5
5
|
position: relative;
|
|
6
6
|
|
|
7
7
|
.str-video__permission-requests__notification,
|
|
8
8
|
.str-video__permission-request {
|
|
9
9
|
display: flex;
|
|
10
|
-
gap:
|
|
11
|
-
padding:
|
|
10
|
+
gap: var(--str-video__spacing-xs);
|
|
11
|
+
padding-block: var(--str-video__spacing-xs);
|
|
12
12
|
align-items: center;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.str-video__permission-requests__notification__message,
|
|
16
16
|
.str-video__permission-request__message {
|
|
17
17
|
flex: 1;
|
|
18
|
+
min-width: 0;
|
|
18
19
|
overflow: hidden;
|
|
19
20
|
text-overflow: ellipsis;
|
|
20
21
|
white-space: nowrap;
|
|
22
|
+
|
|
23
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
24
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
25
|
+
font-weight: var(--str-video__typography-font-weight-regular);
|
|
26
|
+
color: var(--str-video__text-primary);
|
|
21
27
|
}
|
|
22
28
|
|
|
23
29
|
.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
30
|
min-width: 120px;
|
|
33
31
|
}
|
|
34
32
|
|
|
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
33
|
.str-video__permission-requests-list {
|
|
41
|
-
background-color: var(--str-video__background-
|
|
42
|
-
border-bottom-left-radius:
|
|
43
|
-
border-bottom-right-radius:
|
|
44
|
-
|
|
34
|
+
background-color: var(--str-video__background-core-surface-card);
|
|
35
|
+
border-bottom-left-radius: var(--str-video__radius-md);
|
|
36
|
+
border-bottom-right-radius: var(--str-video__radius-md);
|
|
37
|
+
box-shadow: var(--str-video__box-shadow-3);
|
|
38
|
+
padding: var(--str-video__spacing-sm);
|
|
45
39
|
width: 100%;
|
|
46
40
|
z-index: 1;
|
|
47
|
-
opacity: 0.9;
|
|
48
41
|
overflow-x: scroll;
|
|
49
42
|
overflow-y: hidden;
|
|
50
43
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.str-video__reaction {
|
|
2
2
|
position: absolute;
|
|
3
|
-
right:
|
|
4
|
-
top:
|
|
3
|
+
right: var(--str-video__space-8);
|
|
4
|
+
top: var(--str-video__space-8);
|
|
5
5
|
|
|
6
6
|
.str-video__reaction__emoji {
|
|
7
7
|
display: flex;
|
|
8
8
|
line-height: 1;
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: var(--str-video__font-size-size-40);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
justify-content: space-around;
|
|
6
6
|
width: 400px;
|
|
7
7
|
height: 300px;
|
|
8
|
-
padding:
|
|
9
|
-
|
|
8
|
+
padding: var(--str-video__spacing-md) var(--str-video__spacing-md)
|
|
9
|
+
var(--str-video__spacing-xs);
|
|
10
|
+
gap: var(--str-video__spacing-md);
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
.str-video__call-panel--ringing {
|
|
@@ -21,23 +22,23 @@
|
|
|
21
22
|
flex-direction: column;
|
|
22
23
|
align-items: center;
|
|
23
24
|
justify-content: center;
|
|
24
|
-
padding:
|
|
25
|
+
padding: var(--str-video__spacing-2xl);
|
|
25
26
|
|
|
26
27
|
.str-video__avatar {
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
28
|
+
width: var(--str-video__size-80);
|
|
29
|
+
height: var(--str-video__size-80);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
.str-video__member_details {
|
|
32
33
|
position: absolute;
|
|
33
34
|
bottom: 10%;
|
|
34
|
-
padding:
|
|
35
|
+
padding: var(--str-video__space-2) var(--str-video__space-6);
|
|
35
36
|
}
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
.str-video__pending-call-controls {
|
|
40
41
|
display: flex;
|
|
41
|
-
gap:
|
|
42
|
+
gap: var(--str-video__spacing-sm);
|
|
42
43
|
}
|
|
43
44
|
}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
.str-video__call-panel {
|
|
2
|
-
background: var(--str-video__background-
|
|
3
|
-
border: 2px solid
|
|
4
|
-
border-radius:
|
|
2
|
+
background: var(--str-video__background-core-surface-card);
|
|
3
|
+
border: 2px solid var(--str-video__border-core-default);
|
|
4
|
+
border-radius: var(--str-video__radius-md);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.str-video__call-panel--ringing {
|
|
8
8
|
.str-video__call-panel__members-list {
|
|
9
|
-
|
|
10
9
|
.str-video__call-panel__member-box {
|
|
11
|
-
border-radius: var(--str-
|
|
12
|
-
background: var(--str-video__background-
|
|
10
|
+
border-radius: var(--str-video__radius-max);
|
|
11
|
+
background: var(--str-video__background-core-surface-strong);
|
|
13
12
|
|
|
14
13
|
&:before {
|
|
15
|
-
content:
|
|
14
|
+
content: '';
|
|
16
15
|
position: absolute;
|
|
17
16
|
inset: 0;
|
|
18
|
-
border-radius: var(--str-
|
|
19
|
-
padding:
|
|
20
|
-
background:linear-gradient(
|
|
21
|
-
|
|
17
|
+
border-radius: var(--str-video__radius-max);
|
|
18
|
+
padding: var(--str-video__space-4);
|
|
19
|
+
background: linear-gradient(
|
|
20
|
+
180deg,
|
|
21
|
+
var(--str-video__accent-primary),
|
|
22
|
+
var(--str-video__accent-success)
|
|
22
23
|
);
|
|
23
24
|
-webkit-mask:
|
|
24
25
|
linear-gradient(#fff 0 0) content-box,
|
|
@@ -28,11 +29,11 @@
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
.str-video__member_details {
|
|
31
|
-
background-color: var(--str-video__background-
|
|
32
|
-
color: var(--str-video__text-
|
|
33
|
-
border-radius:
|
|
34
|
-
font-size:
|
|
35
|
-
line-height:
|
|
32
|
+
background-color: var(--str-video__background-core-overlay-dark-strong);
|
|
33
|
+
color: var(--str-video__text-on-accent);
|
|
34
|
+
border-radius: var(--str-video__radius-xs);
|
|
35
|
+
font-size: var(--str-video__typography-font-size-xs);
|
|
36
|
+
line-height: var(--str-video__typography-line-height-tight);
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
}
|
|
@@ -6,23 +6,15 @@
|
|
|
6
6
|
position: absolute;
|
|
7
7
|
width: 100%;
|
|
8
8
|
height: 100%;
|
|
9
|
-
gap:
|
|
9
|
+
gap: var(--str-video__spacing-2xl);
|
|
10
10
|
|
|
11
11
|
& > .str-video__icon {
|
|
12
|
-
width:
|
|
13
|
-
height:
|
|
12
|
+
width: var(--str-video__size-64);
|
|
13
|
+
height: var(--str-video__size-64);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.str-video__screen-share-overlay__button {
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
}
|
|
16
|
+
.str-video__screen-share-overlay__button .str-video__icon {
|
|
17
|
+
width: var(--str-video__icon-size-xs);
|
|
18
|
+
height: var(--str-video__icon-size-xs);
|
|
27
19
|
}
|
|
28
20
|
}
|