@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.
Files changed (90) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/css/embedded.css +2592 -1498
  3. package/dist/css/embedded.css.map +1 -1
  4. package/dist/css/styles.css +2388 -1222
  5. package/dist/css/styles.css.map +1 -1
  6. package/index.scss +4 -2
  7. package/package.json +1 -1
  8. package/project.json +3 -0
  9. package/src/AudioBlockedNotification/AudioBlockedNotification-layout.scss +9 -9
  10. package/src/AudioBlockedNotification/AudioBlockedNotification-theme.scss +6 -11
  11. package/src/Avatar/Avatar-layout.scss +21 -5
  12. package/src/Avatar/Avatar-theme.scss +33 -9
  13. package/src/Badge/Badge-layout.scss +52 -0
  14. package/src/Badge/Badge-theme.scss +39 -0
  15. package/src/Badge/index.scss +2 -0
  16. package/src/Button/Button-layout.scss +62 -89
  17. package/src/Button/Button-theme.scss +79 -144
  18. package/src/Button/CompositeButton.scss +125 -0
  19. package/src/Button/index.scss +1 -0
  20. package/src/CallControls/CallControls-layout.scss +27 -63
  21. package/src/CallControls/CancelCallButton.scss +39 -85
  22. package/src/CallLayout/LivestreamLayout-layout.scss +80 -77
  23. package/src/CallLayout/LivestreamLayout-theme.scss +23 -0
  24. package/src/CallLayout/PaginatedGridLayout-layout.scss +8 -8
  25. package/src/CallLayout/PipLayout-layout.scss +26 -20
  26. package/src/CallLayout/PipLayout-theme.scss +2 -1
  27. package/src/CallLayout/SpeakerLayout-layout.scss +13 -13
  28. package/src/CallLayout/index.scss +1 -0
  29. package/src/CallParticipantList/CallParticiantListingItem-layout.scss +6 -8
  30. package/src/CallParticipantList/CallParticiantListingItem-theme.scss +19 -17
  31. package/src/CallParticipantList/CallParticipantList-layout.scss +25 -19
  32. package/src/CallRecodingList/CallRecordingList-layout.scss +46 -27
  33. package/src/CallRecodingList/CallRecordingList-theme.scss +25 -37
  34. package/src/DeviceSettings/DeviceSettings-layout.scss +154 -69
  35. package/src/DropdownSelect/DropdownSelect.scss +62 -52
  36. package/src/Embedded/_base.scss +2 -2
  37. package/src/Embedded/call/CallLayout-layout.scss +22 -12
  38. package/src/Embedded/call/CallLayout-theme.scss +2 -2
  39. package/src/Embedded/livestream/Livestream-layout.scss +28 -41
  40. package/src/Embedded/livestream/Livestream-theme.scss +12 -34
  41. package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-layout.scss +8 -20
  42. package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-theme.scss +1 -19
  43. package/src/Embedded/shared/CallControls/CallControls-layout.scss +10 -11
  44. package/src/Embedded/shared/CallControls/CallControls-theme.scss +5 -7
  45. package/src/Embedded/shared/ConnectionNotification/ConnectionNotification-layout.scss +1 -1
  46. package/src/Embedded/shared/EmbeddedParticipantViewUI/EmbeddedParticipantViewUI.scss +2 -2
  47. package/src/Embedded/shared/ErrorScreen/ErrorScreen-layout.scss +3 -3
  48. package/src/Embedded/shared/Feedback/CallFeedback-layout.scss +21 -36
  49. package/src/Embedded/shared/Feedback/CallFeedback-theme.scss +11 -33
  50. package/src/Embedded/shared/Icons.scss +6 -8
  51. package/src/Embedded/shared/JoinError/JoinError-layout.scss +7 -3
  52. package/src/Embedded/shared/JoinError/JoinError-theme.scss +3 -3
  53. package/src/Embedded/shared/LoadingScreen/LoadingScreen-layout.scss +4 -4
  54. package/src/Embedded/shared/Lobby/Lobby-layout.scss +66 -55
  55. package/src/Embedded/shared/Lobby/Lobby-theme.scss +20 -15
  56. package/src/Icon/Icon-layout.scss +3 -2
  57. package/src/Icon/Icon-theme.scss +59 -20
  58. package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
  59. package/src/LoadingIndicator/LoadingIndicator-theme.scss +4 -3
  60. package/src/Menu/GenericMenu-layout.scss +56 -29
  61. package/src/Menu/Menu-theme.scss +3 -3
  62. package/src/Menu/Portal-layout.scss +1 -1
  63. package/src/Notification/Notification-layout.scss +13 -8
  64. package/src/Notification/Notification-theme.scss +8 -14
  65. package/src/ParticipantView/ParticipantView-layout.scss +80 -77
  66. package/src/ParticipantView/ParticipantView-theme.scss +28 -0
  67. package/src/ParticipantView/index.scss +1 -0
  68. package/src/Permissions/Permissions-layout.scss +16 -23
  69. package/src/Reaction/Reaction-layout.scss +3 -3
  70. package/src/RingingCall/RingingCall-layout.scss +8 -7
  71. package/src/RingingCall/RingingCall-theme.scss +17 -16
  72. package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +6 -14
  73. package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +6 -11
  74. package/src/Search/SearchInput-layout.scss +16 -10
  75. package/src/Search/SearchInput-theme.scss +41 -21
  76. package/src/StreamCall.scss +4 -4
  77. package/src/Tooltip/Tooltip-layout.scss +11 -3
  78. package/src/Tooltip/Tooltip-theme.scss +8 -25
  79. package/src/Video/Video-theme.scss +1 -1
  80. package/src/Video/VideoPlaceholder-layout.scss +0 -14
  81. package/src/Video/VideoPlaceholder-theme.scss +2 -13
  82. package/src/VideoPreview/VideoPreview-layout.scss +2 -3
  83. package/src/VideoPreview/VideoPreview-theme.scss +22 -15
  84. package/src/_icons.scss +56 -0
  85. package/src/_shadows.scss +13 -0
  86. package/src/_variable-tokens.scss +10 -0
  87. package/src/tokens/generated/dark.scss +167 -0
  88. package/src/tokens/generated/light.scss +853 -0
  89. package/src/CallStats.scss +0 -118
  90. package/src/_global-theme-variables.scss +0 -167
@@ -18,28 +18,28 @@
18
18
 
19
19
  .str-video__livestream-layout__floating-participant {
20
20
  position: absolute;
21
- width: 240px;
22
- height: 135px;
23
- box-shadow: var(--str-video__background-color1) 0 0 3px 0;
21
+ width: var(--str-video__size-240);
22
+ height: calc(var(--str-video__size-240) * 9 / 16);
23
+ box-shadow: var(--str-video__box-shadow-1);
24
24
 
25
25
  &--top-right {
26
- top: 8px;
27
- right: 8px;
26
+ top: var(--str-video__space-8);
27
+ right: var(--str-video__space-8);
28
28
  }
29
29
 
30
30
  &--top-left {
31
- top: 8px;
32
- left: 8px;
31
+ top: var(--str-video__space-8);
32
+ left: var(--str-video__space-8);
33
33
  }
34
34
 
35
35
  &--bottom-right {
36
- bottom: 8px;
37
- right: 8px;
36
+ bottom: var(--str-video__space-8);
37
+ right: var(--str-video__space-8);
38
38
  }
39
39
 
40
40
  &--bottom-left {
41
- bottom: 8px;
42
- left: 8px;
41
+ bottom: var(--str-video__space-8);
42
+ left: var(--str-video__space-8);
43
43
  }
44
44
  }
45
45
 
@@ -50,32 +50,22 @@
50
50
  display: flex;
51
51
  flex-direction: column-reverse;
52
52
 
53
- &:hover .str-video__livestream-layout__overlay__bar {
54
- background-color: var(--str-video__livestream-overlay-color-hovered);
55
- }
56
-
57
53
  .str-video__livestream-layout__overlay__bar {
58
- height: 10%;
59
- min-height: 40px;
60
- max-height: 70px;
61
- position: relative;
62
- bottom: 0;
63
- border-bottom-left-radius: var(--str-video__border-radius-sm);
64
- border-bottom-right-radius: var(--str-video__border-radius-sm);
65
-
66
- background-color: var(--str-video__livestream-overlay-color);
67
-
54
+ min-block-size: var(--str-video__size-48);
68
55
  display: flex;
69
56
  align-items: center;
70
- padding: 0 20px;
57
+ padding: var(--str-video__spacing-xs);
58
+ gap: var(--str-video__spacing-xxs);
71
59
  }
72
60
 
73
61
  .str-video__livestream-layout__overlay__bar-left,
74
62
  .str-video__livestream-layout__overlay__bar-center,
75
63
  .str-video__livestream-layout__overlay__bar-right {
76
64
  flex: 1;
65
+ min-inline-size: 0;
77
66
  display: flex;
78
67
  align-items: center;
68
+ gap: var(--str-video__spacing-xs);
79
69
  }
80
70
 
81
71
  .str-video__livestream-layout__overlay__bar-center {
@@ -87,58 +77,64 @@
87
77
  }
88
78
 
89
79
  .str-video__livestream-layout__live-badge {
90
- padding: 4px 8px;
91
- border-radius: var(--str-video__border-radius-xxs);
92
- background-color: var(--str-video__primary-color);
93
- color: var(--str-video__text-color1);
94
- }
95
-
96
- .str-video__livestream-layout__viewers-count {
97
- &::before {
98
- content: var(--str-video__icon--livestream-viewers);
99
- margin-right: 3px;
100
- vertical-align: middle;
80
+ display: inline-flex;
81
+ align-items: center;
82
+ flex: none;
83
+ gap: var(--str-video__spacing-xs);
84
+ block-size: var(--str-video__size-32);
85
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-sm);
86
+ border-radius: var(--str-video__radius-24);
87
+ font-size: var(--str-video__typography-font-size-xs);
88
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
89
+ line-height: var(--str-video__typography-line-height-tight);
90
+ text-transform: uppercase;
91
+ }
92
+
93
+ .str-video__livestream-layout__live-badge__dot {
94
+ flex: none;
95
+ inline-size: var(--str-video__size-8);
96
+ block-size: var(--str-video__size-8);
97
+ border-radius: var(--str-video__radius-full);
98
+ animation: str-video__livestream-live-blink 1s ease-in-out infinite
99
+ alternate;
100
+ }
101
+
102
+ .str-video__livestream-layout__viewers-count,
103
+ .str-video__livestream-layout__duration,
104
+ .str-video__livestream-layout__speaker-name {
105
+ display: inline-flex;
106
+ align-items: center;
107
+ flex: none;
108
+ gap: var(--str-video__spacing-xxs);
109
+ block-size: var(--str-video__size-32);
110
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-xs);
111
+ border-radius: var(--str-video__radius-24);
112
+ font-size: var(--str-video__typography-font-size-sm);
113
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
114
+ line-height: var(--str-video__typography-line-height-normal);
115
+
116
+ .str-video__icon {
117
+ inline-size: var(--str-video__icon-size-sm);
118
+ block-size: var(--str-video__icon-size-sm);
101
119
  }
102
-
103
- padding: 4px 8px;
104
120
  }
105
121
 
106
122
  .str-video__livestream-layout__speaker-name {
107
- font-size: 13px;
108
- text-overflow: ellipsis;
109
- overflow: hidden;
110
- white-space: nowrap;
111
- }
112
-
113
- .str-video__livestream-layout__duration {
114
- text-align: center;
115
- }
116
-
117
- .str-video__livestream-layout__mute-button {
118
- background: var(--str-video__icon--speaker) center no-repeat;
119
- border-radius: var(--str-video__border-radius-xxs);
120
- cursor: pointer;
121
- width: 32px;
122
- height: 32px;
123
-
124
- &.str-video__livestream-layout__mute-button--muted {
125
- background: var(--str-video__icon--speaker-off) center no-repeat;
126
- }
123
+ flex: 0 1 auto;
124
+ min-inline-size: 0;
127
125
 
128
- &:hover {
129
- background-color: var(--str-video__overlay-color);
126
+ > span {
127
+ overflow: hidden;
128
+ text-overflow: ellipsis;
129
+ white-space: nowrap;
130
130
  }
131
131
  }
132
132
 
133
+ .str-video__livestream-layout__mute-button,
133
134
  .str-video__livestream-layout__go-fullscreen {
134
- background: var(--str-video__icon--fullscreen) center no-repeat;
135
- border-radius: var(--str-video__border-radius-xxs);
136
- cursor: pointer;
137
- width: 32px;
138
- height: 32px;
139
-
140
- &:hover {
141
- background-color: var(--str-video__overlay-color);
135
+ .str-video__icon {
136
+ inline-size: var(--str-video__icon-size-md);
137
+ block-size: var(--str-video__icon-size-md);
142
138
  }
143
139
  }
144
140
  }
@@ -149,17 +145,24 @@
149
145
  align-items: center;
150
146
 
151
147
  .str-video__livestream-layout__starts-at {
152
- padding: 4px 8px;
148
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-xs);
153
149
  }
154
150
 
155
151
  .str-video__livestream-layout__early-viewers-count {
156
- &::before {
157
- content: var(--str-video__icon--livestream-viewers);
158
- margin-right: 3px;
159
- vertical-align: middle;
160
- }
161
-
162
- padding: 4px 8px;
152
+ display: inline-flex;
153
+ align-items: center;
154
+ gap: var(--str-video__spacing-xxs);
155
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-xs);
163
156
  }
164
157
  }
165
158
  }
159
+
160
+ @keyframes str-video__livestream-live-blink {
161
+ from {
162
+ opacity: 1;
163
+ }
164
+
165
+ to {
166
+ opacity: 0.4;
167
+ }
168
+ }
@@ -0,0 +1,23 @@
1
+ .str-video__livestream-layout__wrapper {
2
+ .str-video__livestream-layout__overlay {
3
+ .str-video__livestream-layout__live-badge {
4
+ background-color: var(--str-video__accent-primary);
5
+ color: var(--str-video__text-on-accent);
6
+ }
7
+
8
+ .str-video__livestream-layout__live-badge__dot {
9
+ background-color: var(--str-video__background-core-on-accent);
10
+ }
11
+
12
+ .str-video__livestream-layout__viewers-count,
13
+ .str-video__livestream-layout__duration,
14
+ .str-video__livestream-layout__speaker-name {
15
+ background-color: var(--str-video__background-core-surface-default);
16
+ color: var(--str-video__text-primary);
17
+
18
+ .str-video__icon {
19
+ background-color: currentColor;
20
+ }
21
+ }
22
+ }
23
+ }
@@ -13,31 +13,31 @@ $scope-name: 'str-video__paginated-grid-layout';
13
13
  .str-video__paginated-grid-layout__group {
14
14
  display: flex;
15
15
  flex-wrap: wrap;
16
- gap: 8px;
16
+ gap: var(--str-video__spacing-xs);
17
17
  justify-content: center;
18
18
  // prevents horizontal overflow
19
- max-width: 110vh; // TODO: consider applying different limits (2 participants "unset", 4 participants 110vh...)
20
- padding-inline: 1.25rem;
19
+ max-width: 110vh; // TODO: consider applying different limits (2 participants "unset", 4 participants 110vh...)
20
+ padding-inline: var(--str-video__spacing-lg);
21
21
  margin: auto; // when arrows aren't rendered this element jumps to the left
22
- width: 100%; // prevent resizing of placeholders
22
+ width: 100%; // prevent resizing of placeholders
23
23
 
24
24
  .str-video__participant-view {
25
- flex: 0 1 calc(25% - 6px);
25
+ flex: 0 1 calc(25% - var(--str-video__space-6));
26
26
  }
27
27
 
28
28
  &.str-video__paginated-grid-layout--one {
29
29
  .str-video__participant-view {
30
- flex: 0 1 calc(100% - 6px);
30
+ flex: 0 1 calc(100% - var(--str-video__space-6));
31
31
  }
32
32
  }
33
33
  &.str-video__paginated-grid-layout--two-four {
34
34
  .str-video__participant-view {
35
- flex: 0 1 calc(50% - 6px);
35
+ flex: 0 1 calc(50% - var(--str-video__space-6));
36
36
  }
37
37
  }
38
38
  &.str-video__paginated-grid-layout--five-nine {
39
39
  .str-video__participant-view {
40
- flex: 0 1 calc(33% - 6px);
40
+ flex: 0 1 calc(33% - var(--str-video__space-6));
41
41
  }
42
42
  }
43
43
  }
@@ -4,21 +4,21 @@
4
4
  flex-wrap: wrap;
5
5
  overflow: hidden;
6
6
  justify-content: center;
7
- gap: 1rem;
8
- padding-inline: 1rem;
7
+ gap: var(--str-video__spacing-md);
8
+ padding-inline: var(--str-video__spacing-md);
9
9
  height: 100%;
10
10
  }
11
11
 
12
12
  .str-video__pip-screen-share-local {
13
13
  display: flex;
14
- gap: var(--str-video__spacing-sm);
15
- border-radius: var(--str-video__border-radius-sm);
16
- padding: var(--str-video__spacing-md);
17
- font-size: var(--str-video__font-size-sm);
14
+ gap: var(--str-video__spacing-xs);
15
+ border-radius: var(--str-video__radius-lg);
16
+ padding: var(--str-video__spacing-sm);
17
+ font-size: var(--str-video__typography-font-size-sm);
18
18
 
19
19
  .str-video__icon {
20
- width: 1rem;
21
- height: 1rem;
20
+ width: var(--str-video__icon-size-sm);
21
+ height: var(--str-video__icon-size-sm);
22
22
  }
23
23
  }
24
24
 
@@ -52,8 +52,8 @@
52
52
  }
53
53
 
54
54
  .str-video__icon {
55
- width: 1rem;
56
- height: 1rem;
55
+ width: var(--str-video__icon-size-sm);
56
+ height: var(--str-video__icon-size-sm);
57
57
  }
58
58
 
59
59
  &--left {
@@ -87,8 +87,8 @@
87
87
  content: '';
88
88
  position: absolute;
89
89
  inset: 0;
90
- border: 2px solid var(--str-video__primary-color);
91
- border-radius: var(--str-video__border-radius-sm);
90
+ border: var(--str-video__w200) solid var(--str-video__accent-primary);
91
+ border-radius: var(--str-video__radius-2xl);
92
92
  pointer-events: none;
93
93
  z-index: 1;
94
94
  }
@@ -100,39 +100,45 @@
100
100
  }
101
101
 
102
102
  @mixin pip-avatar-size($size, $font-size) {
103
- .str-video__video-placeholder__avatar,
104
- .str-video__video-placeholder__initials-fallback {
103
+ .str-video__avatar,
104
+ .str-video__avatar--initials-fallback {
105
105
  width: $size;
106
106
  height: $size;
107
107
  font-size: $font-size;
108
108
  }
109
109
  }
110
110
 
111
- @include pip-avatar-size(32px, var(--str-video__font-size-sm));
111
+ @include pip-avatar-size(
112
+ var(--str-video__size-32),
113
+ var(--str-video__typography-font-size-sm)
114
+ );
112
115
 
113
116
  &.str-video__pip-layout__grid--single {
114
117
  --pip-cols: 1;
115
- @include pip-avatar-size(80px, var(--str-video__font-size-xxl));
118
+ @include pip-avatar-size(
119
+ var(--str-video__size-80),
120
+ var(--str-video__typography-font-size-2xl)
121
+ );
116
122
  }
117
123
 
118
124
  &.str-video__pip-layout__grid--small {
119
125
  --pip-cols: 2;
120
- @include pip-avatar-size(60px, var(--str-video__font-size-xl));
126
+ @include pip-avatar-size(60px, var(--str-video__typography-font-size-xl));
121
127
  }
122
128
 
123
129
  &.str-video__pip-layout__grid--medium {
124
130
  --pip-cols: 3;
125
- @include pip-avatar-size(45px, var(--str-video__font-size-md));
131
+ @include pip-avatar-size(45px, var(--str-video__typography-font-size-md));
126
132
  }
127
133
 
128
134
  &.str-video__pip-layout__grid--large {
129
135
  --pip-cols: 4;
130
- @include pip-avatar-size(35px, var(--str-video__font-size-sm));
136
+ @include pip-avatar-size(35px, var(--str-video__typography-font-size-sm));
131
137
  }
132
138
 
133
139
  &.str-video__pip-layout__grid--overflow {
134
140
  --pip-cols: 5;
135
141
  overflow-y: auto;
136
- @include pip-avatar-size(25px, var(--str-video__font-size-xs));
142
+ @include pip-avatar-size(25px, var(--str-video__typography-font-size-xs));
137
143
  }
138
144
  }
@@ -1,3 +1,4 @@
1
1
  .str-video__pip-screen-share-local {
2
- background: var(--str-video__background-color5);
2
+ background: var(--str-video__background-core-surface-default);
3
+ color: var(--str-video__text-primary);
3
4
  }
@@ -11,9 +11,9 @@ $scope-name: 'str-video__speaker-layout';
11
11
  justify-content: center;
12
12
  height: 100%;
13
13
  width: 100%;
14
- gap: 1rem;
15
- padding-inline: 2px; // to see "speaking" outline
16
- padding: 2px;
14
+ gap: var(--str-video__spacing-md);
15
+ padding-inline: var(--str-video__spacing-xxxs);
16
+ padding: var(--str-video__spacing-xxxs);
17
17
 
18
18
  .str-video__participant-view {
19
19
  aspect-ratio: 16/9;
@@ -26,8 +26,8 @@ $scope-name: 'str-video__speaker-layout';
26
26
  height: 100%;
27
27
 
28
28
  .str-video__participant-view--speaking:has(
29
- .str-video__video--screen-share
30
- ) {
29
+ .str-video__video--screen-share
30
+ ) {
31
31
  outline: none;
32
32
  }
33
33
 
@@ -37,7 +37,7 @@ $scope-name: 'str-video__speaker-layout';
37
37
  }
38
38
 
39
39
  .str-video__participant-details,
40
- .str-video__call-controls__button {
40
+ .str-video__button {
41
41
  opacity: 1;
42
42
  }
43
43
  }
@@ -48,28 +48,28 @@ $scope-name: 'str-video__speaker-layout';
48
48
  justify-content: center;
49
49
  align-items: center;
50
50
 
51
- & > .str-video__call-controls__button {
51
+ & > .str-video__button {
52
52
  .str-video__icon {
53
- width: 1rem;
54
- height: 1rem;
53
+ width: var(--str-video__icon-size-sm);
54
+ height: var(--str-video__icon-size-sm);
55
55
  }
56
56
  }
57
57
 
58
58
  .str-video__speaker-layout__participants-bar--button-left {
59
59
  position: absolute;
60
- left: 0.5rem;
60
+ left: var(--str-video__space-8);
61
61
  }
62
62
  .str-video__speaker-layout__participants-bar--button-right {
63
63
  position: absolute;
64
- right: 0.5rem;
64
+ right: var(--str-video__space-8);
65
65
  }
66
66
  .str-video__speaker-layout__participants-bar--button-top {
67
67
  position: absolute;
68
- top: 0.5rem;
68
+ top: var(--str-video__space-8);
69
69
  }
70
70
  .str-video__speaker-layout__participants-bar--button-bottom {
71
71
  position: absolute;
72
- bottom: 0.5rem;
72
+ bottom: var(--str-video__space-8);
73
73
  }
74
74
  }
75
75
 
@@ -1,4 +1,5 @@
1
1
  @use 'LivestreamLayout-layout';
2
+ @use 'LivestreamLayout-theme';
2
3
  @use 'PaginatedGridLayout-layout';
3
4
  @use 'SpeakerLayout-layout';
4
5
  @use 'PipLayout-layout.scss';
@@ -4,16 +4,13 @@
4
4
  display: flex;
5
5
  justify-content: space-between;
6
6
  gap: var(--str-video__spacing-sm);
7
- padding-block: 0.5rem;
7
+ padding-block: var(--str-video__spacing-xs);
8
8
  width: 100%;
9
9
  align-items: center;
10
10
 
11
- .str-video__call-controls__button {
12
- padding: unset;
13
- }
14
-
15
11
  .str-video__participant-listing-item__display-name {
16
12
  flex: 1;
13
+ min-inline-size: 0;
17
14
  @include utils.ellipsis-text();
18
15
  }
19
16
 
@@ -26,11 +23,12 @@
26
23
  .str-video__participant-listing-item__media-indicator-group {
27
24
  display: flex;
28
25
  align-items: center;
29
- gap: var(--str-video__spacing-sm);
26
+ flex-shrink: 0;
27
+ gap: var(--str-video__spacing-xs);
30
28
 
31
29
  .str-video__participant-listing-item__icon {
32
- width: 0.75rem;
33
- height: 0.75rem;
30
+ inline-size: var(--str-video__icon-size-sm);
31
+ block-size: var(--str-video__icon-size-sm);
34
32
  }
35
33
  }
36
34
  }
@@ -2,49 +2,51 @@
2
2
 
3
3
  .str-video__participant-listing-item {
4
4
  .str-video__participant-listing-item__display-name {
5
- font-size: 13px;
5
+ font-size: var(--str-video__typography-font-size-sm);
6
+ line-height: var(--str-video__typography-line-height-normal);
7
+ font-weight: var(--str-video__typography-font-weight-regular);
8
+ color: var(--str-video__text-primary);
6
9
  }
7
10
 
8
11
  .str-video__participant-listing-item__media-indicator-group {
9
12
  .str-video__participant-listing-item__icon-mic {
10
13
  @include utils.apply-mask-image(
11
- var(--str-video__icon--mic),
12
- var(--str-video__text-color1),
13
- contain,
14
+ var(--str-video__icon--mic),
15
+ var(--str-video__text-primary),
16
+ contain
14
17
  );
15
18
  }
16
19
 
17
20
  .str-video__participant-listing-item__icon-mic-off {
18
21
  @include utils.apply-mask-image(
19
- var(--str-video__icon--mic-off),
20
- var(--str-video__danger-color),
21
- contain,
22
+ var(--str-video__icon--mic-off),
23
+ var(--str-video__accent-error),
24
+ contain
22
25
  );
23
26
  }
24
27
 
25
28
  .str-video__participant-listing-item__icon-camera {
26
29
  @include utils.apply-mask-image(
27
- var(--str-video__icon--camera),
28
- var(--str-video__text-color1),
29
- contain,
30
+ var(--str-video__icon--camera),
31
+ var(--str-video__text-primary),
32
+ contain
30
33
  );
31
34
  }
32
35
 
33
36
  .str-video__participant-listing-item__icon-camera-off {
34
37
  @include utils.apply-mask-image(
35
- var(--str-video__icon--camera-off),
36
- var(--str-video__danger-color),
37
- contain,
38
+ var(--str-video__icon--camera-off),
39
+ var(--str-video__accent-error),
40
+ contain
38
41
  );
39
42
  }
40
43
 
41
44
  .str-video__participant-listing-item__icon-pinned {
42
45
  @include utils.apply-mask-image(
43
- var(--str-video__icon--pin),
44
- var(--str-video__text-color1),
45
- contain,
46
+ var(--str-video__icon--pin),
47
+ var(--str-video__text-primary),
48
+ contain
46
49
  );
47
50
  }
48
51
  }
49
52
  }
50
-
@@ -7,15 +7,26 @@ $scope-name: 'str-video__participant-list';
7
7
  .str-video__participant-list-header {
8
8
  display: flex;
9
9
  align-items: center;
10
+ gap: var(--str-video__spacing-sm);
10
11
 
11
12
  .str-video__participant-list-header__title {
12
13
  flex: 1;
13
- font-size: var(--str-video__font-size-sm);
14
+
15
+ font-size: var(--str-video__typography-font-size-md);
16
+ line-height: var(--str-video__typography-line-height-normal);
17
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
18
+ color: var(--str-video__text-primary);
19
+ }
20
+
21
+ .str-video__participant-list-header__title-count,
22
+ .str-video__participant-list-header__title-anonymous {
23
+ color: var(--str-video__text-tertiary);
14
24
  }
25
+
15
26
  .str-video__participant-list-header__close-button {
16
27
  > span {
17
- height: 15px;
18
- width: 15px;
28
+ inline-size: var(--str-video__icon-size-sm);
29
+ block-size: var(--str-video__icon-size-sm);
19
30
  }
20
31
  }
21
32
  }
@@ -27,8 +38,8 @@ $scope-name: 'str-video__participant-list';
27
38
  .str-video__participant-list__content-header {
28
39
  display: flex;
29
40
  align-items: center;
30
- gap: 0.5rem;
31
- margin-top: var(--str-video__spacing-md);
41
+ gap: var(--str-video__spacing-xs);
42
+ margin-top: var(--str-video__spacing-xs);
32
43
  justify-content: flex-end;
33
44
 
34
45
  .str-video__participant-list__content-header-title {
@@ -37,17 +48,10 @@ $scope-name: 'str-video__participant-list';
37
48
  justify-content: flex-end;
38
49
  }
39
50
 
40
- .str-video__call-controls__button {
41
- width: 1.75rem;
42
- height: 1.75rem;
43
- display: flex;
44
- padding: unset;
45
- align-items: center;
46
- justify-content: center;
47
-
51
+ .str-video__participant-list__filter-button {
48
52
  .str-video__icon--filter {
49
- width: 1rem;
50
- height: 1rem;
53
+ inline-size: var(--str-video__icon-size-sm);
54
+ block-size: var(--str-video__icon-size-sm);
51
55
  }
52
56
  }
53
57
  }
@@ -56,7 +60,7 @@ $scope-name: 'str-video__participant-list';
56
60
  height: auto;
57
61
  flex-grow: 1;
58
62
  overflow-y: auto;
59
- margin-top: var(--str-video__spacing-xl);
63
+ margin-top: var(--str-video__spacing-xs);
60
64
  }
61
65
 
62
66
  .str-video__participant-list__footer {
@@ -64,7 +68,7 @@ $scope-name: 'str-video__participant-list';
64
68
  flex-direction: column;
65
69
  justify-content: center;
66
70
  align-items: stretch;
67
- gap: 0.5rem;
71
+ gap: var(--str-video__spacing-xs);
68
72
  }
69
73
 
70
74
  .str-video__search-results--loading {
@@ -87,8 +91,10 @@ $scope-name: 'str-video__participant-list';
87
91
  display: flex;
88
92
  align-items: center;
89
93
  width: 100%;
90
- padding: var(--str-video__spacing-md);
91
- font-size: var(--str-video__font-size-sm);
94
+ padding: var(--str-video__spacing-sm);
95
+ font-size: var(--str-video__typography-font-size-sm);
96
+ line-height: var(--str-video__typography-line-height-normal);
97
+ color: var(--str-video__text-secondary);
92
98
  }
93
99
  }
94
100