@stream-io/video-styling 2.0.0-beta.0 → 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 +21 -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 +1 -1
- 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,3 +1,11 @@
|
|
|
1
|
+
.str-video__call-recording-list__header {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: row;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
gap: var(--str-video__spacing-md);
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
.str-video__call-recording-list__list {
|
|
2
10
|
display: flex;
|
|
3
11
|
flex-direction: column;
|
|
@@ -7,7 +15,11 @@
|
|
|
7
15
|
|
|
8
16
|
&:first-of-type {
|
|
9
17
|
.str-video__call-recording-list__item {
|
|
10
|
-
|
|
18
|
+
background-color: var(--str-video__background-core-surface-card);
|
|
19
|
+
font-size: var(--str-video__typography-font-size-xs);
|
|
20
|
+
line-height: var(--str-video__typography-line-height-tight);
|
|
21
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
22
|
+
color: var(--str-video__text-secondary);
|
|
11
23
|
}
|
|
12
24
|
}
|
|
13
25
|
}
|
|
@@ -15,46 +27,53 @@
|
|
|
15
27
|
.str-video__call-recording-list__item {
|
|
16
28
|
display: flex;
|
|
17
29
|
flex-direction: row;
|
|
18
|
-
justify-content: space-between;
|
|
19
30
|
align-items: center;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
.str-video__call-recording-list__filename {
|
|
30
|
-
width: 200px;
|
|
31
|
+
padding: var(--str-video__spacing-sm);
|
|
32
|
+
gap: var(--str-video__spacing-xs);
|
|
33
|
+
border-radius: var(--str-video__radius-lg);
|
|
34
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
35
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
36
|
+
font-weight: var(--str-video__typography-font-weight-regular);
|
|
37
|
+
color: var(--str-video__text-primary);
|
|
31
38
|
}
|
|
32
39
|
|
|
40
|
+
.str-video__call-recording-list__filename,
|
|
33
41
|
.str-video__call-recording-list__time {
|
|
34
|
-
|
|
42
|
+
flex: 0 1 120px;
|
|
43
|
+
min-width: 0;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
overflow: hidden;
|
|
35
46
|
}
|
|
36
47
|
|
|
37
48
|
.str-video__call-recording-list__download {
|
|
38
49
|
display: flex;
|
|
39
50
|
justify-content: flex-end;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
.str-video__call-recording-list__filename,
|
|
44
|
-
.str-video__call-recording-list__time {
|
|
45
|
-
text-overflow: ellipsis;
|
|
46
|
-
overflow: hidden;
|
|
51
|
+
flex: 0 0 var(--str-video__button-visual-height-xs);
|
|
52
|
+
margin-inline-start: auto;
|
|
47
53
|
}
|
|
48
54
|
|
|
49
55
|
.str-video__call-recording-list-item__action-button--download {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
inline-size: var(--str-video__button-visual-height-xs);
|
|
60
|
+
block-size: var(--str-video__button-visual-height-xs);
|
|
61
|
+
padding: var(--str-video__button-padding-y-xs)
|
|
62
|
+
var(--str-video__button-padding-x-icon-only-xs);
|
|
63
|
+
border-radius: var(--str-video__button-radius-full);
|
|
64
|
+
|
|
50
65
|
.str-video__icon--download {
|
|
51
|
-
height:
|
|
52
|
-
width:
|
|
66
|
+
height: var(--str-video__icon-size-sm);
|
|
67
|
+
width: var(--str-video__icon-size-sm);
|
|
68
|
+
background-color: var(--str-video__button-secondary-text);
|
|
53
69
|
}
|
|
70
|
+
|
|
54
71
|
&:hover {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
72
|
+
cursor: pointer;
|
|
73
|
+
background-color: var(--str-video__background-utility-hover);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:active {
|
|
77
|
+
background-color: var(--str-video__background-utility-pressed);
|
|
59
78
|
}
|
|
60
79
|
}
|
|
@@ -1,50 +1,38 @@
|
|
|
1
1
|
@use '../utils';
|
|
2
2
|
|
|
3
3
|
.str-video__call-recording-list__title {
|
|
4
|
-
font-weight:
|
|
5
|
-
font-size:
|
|
6
|
-
line-height:
|
|
4
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
5
|
+
font-size: var(--str-video__typography-font-size-md);
|
|
6
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
7
|
+
color: var(--str-video__text-primary);
|
|
7
8
|
}
|
|
8
9
|
|
|
9
|
-
.str-video__call-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
);
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
.str-video__call-recordings__toggle-button--active {
|
|
18
|
-
background-color: var(--str-video__background-color7);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.str-video__refresh-button {
|
|
22
|
-
background-color: transparent;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
border-radius: 4px;
|
|
25
|
-
|
|
26
|
-
&:hover {
|
|
27
|
-
background-color: var(--str-video__background-color7);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&:active {
|
|
31
|
-
background-color: var(--str-video__background-color5);
|
|
32
|
-
transition: background-color 0.2s ease-out;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.str-video__refresh-button--icon {
|
|
36
|
-
@include utils.apply-mask-image(
|
|
37
|
-
var(--str-video__icon--refresh),
|
|
38
|
-
var(--str-video__text-color1),
|
|
39
|
-
contain
|
|
40
|
-
);
|
|
41
|
-
}
|
|
10
|
+
.str-video__call-recording-list__listing--empty {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
gap: var(--str-video__spacing-sm);
|
|
16
|
+
padding: var(--str-video__spacing-3xl) var(--str-video__spacing-xl);
|
|
42
17
|
}
|
|
43
18
|
|
|
44
19
|
.str-video__call-recording-list__listing--icon-empty {
|
|
20
|
+
flex: 0 0 auto;
|
|
21
|
+
inline-size: var(--str-video__icon-size-lg);
|
|
22
|
+
block-size: var(--str-video__icon-size-lg);
|
|
45
23
|
@include utils.apply-mask-image(
|
|
46
24
|
var(--str-video__icon--film-roll),
|
|
47
|
-
var(--str-video__text-
|
|
25
|
+
var(--str-video__text-tertiary),
|
|
48
26
|
contain
|
|
49
27
|
);
|
|
50
28
|
}
|
|
29
|
+
|
|
30
|
+
.str-video__call-recording-list__listing--text-empty {
|
|
31
|
+
margin: 0;
|
|
32
|
+
max-inline-size: var(--str-video__size-320);
|
|
33
|
+
text-align: center;
|
|
34
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
35
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
36
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
37
|
+
color: var(--str-video__text-primary);
|
|
38
|
+
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
.str-video__device-settings__button {
|
|
2
|
-
.str-
|
|
3
|
-
width:
|
|
4
|
-
height:
|
|
2
|
+
.str-video__icon--device-settings {
|
|
3
|
+
width: var(--str-video__icon-size-md);
|
|
4
|
+
height: var(--str-video__icon-size-md);
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.str-video__device-settings {
|
|
9
|
-
padding: 0.625rem;
|
|
10
9
|
z-index: 1;
|
|
11
|
-
font-family: 'Inter';
|
|
12
10
|
}
|
|
13
11
|
|
|
14
12
|
.str-video__device-settings__header {
|
|
@@ -22,112 +20,188 @@
|
|
|
22
20
|
.str-video__icon.str-video__device-settings__settings-icon {
|
|
23
21
|
height: 24px;
|
|
24
22
|
width: 24px;
|
|
25
|
-
color: var(--str-
|
|
23
|
+
color: var(--str-video__text-primary);
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
.str-video__device-settings__close-button {
|
|
29
|
-
color: var(--str-
|
|
27
|
+
color: var(--str-video__text-primary);
|
|
30
28
|
background-color: transparent;
|
|
31
29
|
}
|
|
32
30
|
|
|
31
|
+
.str-video__menu-container:has(.str-video__device-settings__device-kind) {
|
|
32
|
+
padding-block: var(--str-video__spacing-xxs);
|
|
33
|
+
}
|
|
34
|
+
|
|
33
35
|
.str-video__device-settings__device-kind {
|
|
34
|
-
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: var(--str-video__spacing-xxxs);
|
|
35
39
|
|
|
36
40
|
.str-video__device-settings__device-selector-title {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
padding-
|
|
42
|
-
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
min-height: 32px;
|
|
44
|
+
margin-inline: var(--str-video__spacing-xxs);
|
|
45
|
+
padding-inline: var(--str-video__spacing-xs);
|
|
46
|
+
|
|
47
|
+
color: var(--str-video__text-tertiary);
|
|
48
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
49
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
50
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
43
51
|
}
|
|
44
52
|
|
|
45
53
|
.str-video__option,
|
|
46
54
|
.str-video__device-settings__option {
|
|
47
55
|
display: flex;
|
|
48
56
|
align-items: center;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
min-height: 32px;
|
|
58
|
+
border-radius: var(--str-video__radius-md);
|
|
59
|
+
margin-inline: var(--str-video__spacing-xxs);
|
|
60
|
+
padding-inline: var(--str-video__spacing-xs);
|
|
61
|
+
|
|
62
|
+
gap: var(--str-video__spacing-xs);
|
|
63
|
+
|
|
64
|
+
color: var(--str-video__text-primary);
|
|
65
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
66
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
67
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
68
|
+
|
|
69
|
+
&__label {
|
|
70
|
+
flex: 1 0 0;
|
|
71
|
+
min-inline-size: 0;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
text-overflow: ellipsis;
|
|
74
|
+
white-space: nowrap;
|
|
61
75
|
}
|
|
62
76
|
|
|
63
77
|
&__icon {
|
|
64
78
|
&--selected {
|
|
65
|
-
background-color: var(--str-
|
|
79
|
+
background-color: var(--str-video__accent-primary);
|
|
66
80
|
}
|
|
67
81
|
}
|
|
68
82
|
|
|
69
83
|
&:hover {
|
|
70
|
-
background-color: var(--str-
|
|
84
|
+
background-color: var(--str-video__background-utility-hover);
|
|
71
85
|
cursor: pointer;
|
|
72
86
|
}
|
|
73
87
|
|
|
74
|
-
&--
|
|
75
|
-
|
|
76
|
-
|
|
88
|
+
&--disabled {
|
|
89
|
+
color: var(--str-video__text-disabled);
|
|
90
|
+
|
|
91
|
+
&:hover {
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
cursor: default;
|
|
94
|
+
}
|
|
77
95
|
}
|
|
78
96
|
|
|
79
97
|
input[type='radio'] {
|
|
98
|
+
appearance: none;
|
|
80
99
|
margin: 0;
|
|
81
|
-
|
|
82
|
-
|
|
100
|
+
inline-size: var(--str-video__icon-size-sm);
|
|
101
|
+
block-size: var(--str-video__icon-size-sm);
|
|
83
102
|
display: grid;
|
|
84
103
|
place-content: center;
|
|
85
104
|
|
|
105
|
+
background-color: var(--str-video__control-radio-button-bg);
|
|
106
|
+
border: var(--str-video__w100) solid
|
|
107
|
+
var(--str-video__border-core-on-elevation);
|
|
108
|
+
border-radius: var(--str-video__radius-max);
|
|
109
|
+
|
|
86
110
|
&::before {
|
|
87
111
|
content: '';
|
|
88
|
-
|
|
89
|
-
|
|
112
|
+
inline-size: var(--str-video__size-8);
|
|
113
|
+
block-size: var(--str-video__size-8);
|
|
114
|
+
border-radius: var(--str-video__radius-max);
|
|
115
|
+
background-color: var(--str-video__control-radio-button-indicator);
|
|
90
116
|
transform: scale(0);
|
|
91
117
|
}
|
|
92
|
-
&:checked::before {
|
|
93
|
-
transform: scale(1);
|
|
94
|
-
}
|
|
95
118
|
|
|
96
119
|
&:checked {
|
|
97
|
-
|
|
120
|
+
background-color: var(--str-video__control-radio-button-bg-selected);
|
|
121
|
+
border-color: var(--str-video__control-radio-button-bg-selected);
|
|
122
|
+
|
|
123
|
+
&::before {
|
|
124
|
+
transform: scale(1);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&:focus-visible {
|
|
129
|
+
outline: var(--str-video__w200) solid
|
|
130
|
+
var(--str-video__border-utility-focused);
|
|
131
|
+
outline-offset: var(--str-video__w100);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&:disabled {
|
|
135
|
+
border-color: var(--str-video__border-utility-disabled);
|
|
136
|
+
cursor: default;
|
|
137
|
+
|
|
138
|
+
&:checked {
|
|
139
|
+
background-color: var(--str-video__background-utility-disabled);
|
|
140
|
+
border-color: var(--str-video__background-utility-disabled);
|
|
141
|
+
|
|
142
|
+
&::before {
|
|
143
|
+
background-color: var(--str-video__text-disabled);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
98
146
|
}
|
|
99
147
|
}
|
|
100
148
|
}
|
|
101
149
|
}
|
|
102
150
|
|
|
151
|
+
.str-video__device-settings__device-kind:has(
|
|
152
|
+
.str-video__device-settings__option
|
|
153
|
+
) {
|
|
154
|
+
inline-size: 296px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.str-video__device-settings__device-kind:has(.str-video__device-preview) {
|
|
158
|
+
padding: var(--str-video__spacing-md);
|
|
159
|
+
gap: var(--str-video__spacing-xs);
|
|
160
|
+
|
|
161
|
+
.str-video__device-settings__device-selector-title {
|
|
162
|
+
margin-inline: 0;
|
|
163
|
+
padding-inline: 0;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
103
167
|
.str-video__device-settings__separator {
|
|
104
|
-
|
|
168
|
+
margin: var(--str-video__spacing-xxs) 0 3px;
|
|
169
|
+
border: 0;
|
|
170
|
+
border-block-start: var(--str-video__w100) solid
|
|
171
|
+
var(--str-video__border-core-default);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.str-video__device-settings__device-kind:last-child
|
|
175
|
+
.str-video__device-settings__separator:last-child {
|
|
176
|
+
display: none;
|
|
105
177
|
}
|
|
106
178
|
|
|
107
179
|
.str-video__audio-volume-indicator {
|
|
108
|
-
width: 100%;
|
|
109
180
|
display: flex;
|
|
110
181
|
align-items: center;
|
|
182
|
+
min-height: 32px;
|
|
183
|
+
margin-inline: var(--str-video__spacing-xxs);
|
|
184
|
+
padding-inline: var(--str-video__spacing-xs);
|
|
111
185
|
gap: var(--str-video__spacing-xs);
|
|
112
|
-
padding: var(--str-video__spacing-sm) var(--str-video__spacing-md);
|
|
113
186
|
|
|
114
187
|
.str-video__icon {
|
|
115
|
-
width: var(--str-
|
|
116
|
-
height: var(--str-
|
|
188
|
+
width: var(--str-video__icon-size-sm);
|
|
189
|
+
height: var(--str-video__icon-size-sm);
|
|
190
|
+
background-color: var(--str-video__text-secondary);
|
|
117
191
|
}
|
|
118
192
|
|
|
119
193
|
.str-video__audio-volume-indicator__bar {
|
|
120
194
|
flex: 1;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
border-radius: var(--str-
|
|
195
|
+
block-size: var(--str-video__size-8);
|
|
196
|
+
background-color: var(--str-video__control-progress-bar-track);
|
|
197
|
+
border-radius: var(--str-video__radius-max);
|
|
124
198
|
}
|
|
125
199
|
|
|
126
200
|
.str-video__audio-volume-indicator__bar-value {
|
|
127
201
|
width: 100%;
|
|
128
202
|
height: 100%;
|
|
129
|
-
background: var(--str-
|
|
130
|
-
border-radius: var(--str-
|
|
203
|
+
background: var(--str-video__control-progress-bar-fill-audio);
|
|
204
|
+
border-radius: var(--str-video__radius-max);
|
|
131
205
|
transform-origin: left center;
|
|
132
206
|
// resting state; the live level is written inline by AudioVolumeIndicator
|
|
133
207
|
transform: scaleX(0);
|
|
@@ -137,19 +211,19 @@
|
|
|
137
211
|
.str-video__device-level-indicator {
|
|
138
212
|
display: flex;
|
|
139
213
|
align-items: center;
|
|
140
|
-
gap:
|
|
214
|
+
gap: var(--str-video__spacing-xxxs);
|
|
141
215
|
flex-shrink: 0;
|
|
142
216
|
margin-left: auto;
|
|
143
217
|
|
|
144
218
|
.str-video__device-level-indicator__bar {
|
|
145
|
-
width:
|
|
146
|
-
height:
|
|
147
|
-
border-radius: var(--str-
|
|
148
|
-
background-color: var(--str-
|
|
219
|
+
width: 3px;
|
|
220
|
+
height: var(--str-video__size-12);
|
|
221
|
+
border-radius: var(--str-video__radius-max);
|
|
222
|
+
background-color: var(--str-video__indicator-microphone-level-bar-inactive);
|
|
149
223
|
transition: background-color 0.1s;
|
|
150
224
|
|
|
151
225
|
&--active {
|
|
152
|
-
background-color: var(--str-
|
|
226
|
+
background-color: var(--str-video__indicator-microphone-level-bar-active);
|
|
153
227
|
}
|
|
154
228
|
}
|
|
155
229
|
}
|
|
@@ -165,12 +239,12 @@
|
|
|
165
239
|
display: flex;
|
|
166
240
|
flex-direction: column;
|
|
167
241
|
align-items: stretch;
|
|
168
|
-
max-width:
|
|
242
|
+
max-width: 192px;
|
|
169
243
|
cursor: pointer;
|
|
170
244
|
|
|
171
245
|
.str-video__device-preview__label {
|
|
172
|
-
padding: var(--str-
|
|
173
|
-
font-size: var(--str-
|
|
246
|
+
padding: var(--str-video__space-6) 0;
|
|
247
|
+
font-size: var(--str-video__typography-font-size-xs);
|
|
174
248
|
text-align: center;
|
|
175
249
|
overflow: hidden;
|
|
176
250
|
text-overflow: ellipsis;
|
|
@@ -182,30 +256,41 @@
|
|
|
182
256
|
width: 100%;
|
|
183
257
|
aspect-ratio: 16 / 9;
|
|
184
258
|
object-fit: cover;
|
|
185
|
-
border-radius: var(--str-
|
|
186
|
-
border:
|
|
187
|
-
background-color: var(--str-
|
|
259
|
+
border-radius: var(--str-video__radius-sm);
|
|
260
|
+
border: var(--str-video__w200) solid var(--str-video__border-core-default);
|
|
261
|
+
background-color: var(--str-video__background-core-elevation-1);
|
|
188
262
|
transform: scaleX(-1);
|
|
189
263
|
}
|
|
190
264
|
|
|
191
265
|
&--selected .str-video__device-video-preview__video {
|
|
192
|
-
border-color: var(--str-
|
|
266
|
+
border-color: var(--str-video__accent-primary);
|
|
193
267
|
}
|
|
194
268
|
}
|
|
195
269
|
|
|
196
270
|
.str-video__speaker-test {
|
|
197
|
-
|
|
271
|
+
// the button sits on an elevated menu surface: Figma binds
|
|
272
|
+
// border/core/on-elevation on it (Core / Web / Mic Selector Menu / Test
|
|
273
|
+
// Speaker, 28100:111176), not the plain secondary border. overrides the
|
|
274
|
+
// secondary token because .str-video__button--secondary re-declares
|
|
275
|
+
// --button-border on the button element itself
|
|
276
|
+
--str-video__button-secondary-border: var(
|
|
277
|
+
--str-video__border-core-on-elevation
|
|
278
|
+
);
|
|
279
|
+
|
|
280
|
+
padding: var(--str-video__spacing-xs) var(--str-video__spacing-sm);
|
|
198
281
|
|
|
199
282
|
.str-video__speaker-test__button-content {
|
|
200
283
|
display: flex;
|
|
201
284
|
align-items: center;
|
|
202
|
-
gap: var(--str-video__spacing-
|
|
203
|
-
padding: 0 var(--str-video__spacing-
|
|
204
|
-
font-size: var(--str-
|
|
205
|
-
font-weight:
|
|
285
|
+
gap: var(--str-video__spacing-xs);
|
|
286
|
+
padding: 0 var(--str-video__spacing-xs);
|
|
287
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
288
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
206
289
|
}
|
|
207
290
|
|
|
208
|
-
.str-video__composite-
|
|
209
|
-
|
|
291
|
+
.str-video__composite-button,
|
|
292
|
+
.str-video__composite-button__group,
|
|
293
|
+
.str-video__composite-button__action {
|
|
294
|
+
inline-size: 100%;
|
|
210
295
|
}
|
|
211
296
|
}
|
|
@@ -5,24 +5,31 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
align-items: center;
|
|
7
7
|
justify-content: space-between;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
gap: var(--str-video__spacing-xs);
|
|
9
|
+
background-color: transparent;
|
|
10
|
+
box-shadow: inset 0 0 0 var(--str-video__w100)
|
|
11
|
+
var(--str-video__border-core-default);
|
|
12
|
+
border-radius: var(--str-video__input-radius-select-input);
|
|
13
|
+
padding: var(--str-video__spacing-xs) var(--str-video__spacing-sm);
|
|
14
|
+
color: var(--str-video__input-text-default);
|
|
11
15
|
|
|
12
16
|
&__label {
|
|
13
17
|
display: flex;
|
|
14
18
|
align-items: center;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
+
gap: var(--str-video__spacing-xs);
|
|
20
|
+
min-inline-size: 0;
|
|
21
|
+
padding-block: var(--str-video__spacing-xxxs);
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
24
|
+
font-weight: var(--str-video__typography-font-weight-regular);
|
|
25
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
22
26
|
}
|
|
23
27
|
|
|
24
|
-
&
|
|
25
|
-
|
|
28
|
+
&__text {
|
|
29
|
+
min-inline-size: 0;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
white-space: nowrap;
|
|
26
33
|
}
|
|
27
34
|
|
|
28
35
|
& > *:hover,
|
|
@@ -31,7 +38,17 @@
|
|
|
31
38
|
}
|
|
32
39
|
|
|
33
40
|
&:hover {
|
|
34
|
-
|
|
41
|
+
box-shadow: inset 0 0 0 var(--str-video__w100)
|
|
42
|
+
var(--str-video__border-utility-hover);
|
|
43
|
+
}
|
|
44
|
+
&[aria-expanded='true'] {
|
|
45
|
+
box-shadow: inset 0 0 0 var(--str-video__w100)
|
|
46
|
+
var(--str-video__border-utility-active);
|
|
47
|
+
}
|
|
48
|
+
&:focus-visible {
|
|
49
|
+
outline: var(--str-video__w200) solid
|
|
50
|
+
var(--str-video__border-utility-focused);
|
|
51
|
+
outline-offset: calc(var(--str-video__w200) * -1);
|
|
35
52
|
}
|
|
36
53
|
}
|
|
37
54
|
|
|
@@ -41,64 +58,57 @@
|
|
|
41
58
|
position: absolute;
|
|
42
59
|
z-index: 2;
|
|
43
60
|
width: 100%;
|
|
44
|
-
margin-top: var(--str-video__spacing-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
61
|
+
margin-top: var(--str-video__spacing-xxs);
|
|
62
|
+
|
|
63
|
+
background-color: var(--str-video__background-core-elevation-2);
|
|
64
|
+
border-radius: var(--str-video__radius-lg);
|
|
65
|
+
box-shadow: var(--str-video__box-shadow-3);
|
|
49
66
|
|
|
50
|
-
|
|
67
|
+
padding: var(--str-video__spacing-xxs) var(--str-video__spacing-none);
|
|
68
|
+
gap: var(--str-video__spacing-xxxs);
|
|
51
69
|
}
|
|
52
70
|
|
|
53
71
|
&-option {
|
|
54
72
|
display: flex;
|
|
55
73
|
align-items: center;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
padding:
|
|
59
|
-
gap:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
74
|
+
min-height: 32px;
|
|
75
|
+
margin-inline: var(--str-video__spacing-xxs);
|
|
76
|
+
padding-inline: var(--str-video__spacing-xs);
|
|
77
|
+
gap: var(--str-video__spacing-xs);
|
|
78
|
+
border-radius: var(--str-video__radius-md);
|
|
79
|
+
|
|
80
|
+
color: var(--str-video__text-primary);
|
|
81
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
82
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
83
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
84
|
+
|
|
85
|
+
.str-video__icon {
|
|
86
|
+
background-color: var(--str-video__text-secondary);
|
|
87
|
+
}
|
|
63
88
|
|
|
64
89
|
&:hover {
|
|
65
|
-
background-color: var(--str-
|
|
90
|
+
background-color: var(--str-video__background-utility-hover);
|
|
66
91
|
cursor: pointer;
|
|
67
92
|
}
|
|
68
93
|
|
|
69
|
-
|
|
70
|
-
background-color: var(--str-
|
|
71
|
-
color: var(--str-video__text-color1);
|
|
72
|
-
|
|
73
|
-
&:hover {
|
|
74
|
-
background-color: var(--str-video__button-primary-hover);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-icon {
|
|
80
|
-
background-color: var(--str-video__icon-default);
|
|
81
|
-
|
|
82
|
-
.str-video__dropdown__option:hover & {
|
|
83
|
-
background-color: var(--str-video__icon-hover);
|
|
94
|
+
&:active {
|
|
95
|
+
background-color: var(--str-video__background-utility-pressed);
|
|
84
96
|
}
|
|
85
97
|
|
|
86
|
-
|
|
87
|
-
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
outline: var(--str-video__w200) solid
|
|
100
|
+
var(--str-video__border-utility-focused);
|
|
101
|
+
outline-offset: calc(var(--str-video__w200) * -1);
|
|
88
102
|
}
|
|
89
|
-
}
|
|
90
103
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
.str-video__dropdown__option:hover & {
|
|
94
|
-
color: var(--str-video__base-color1);
|
|
104
|
+
&--selected {
|
|
105
|
+
background-color: var(--str-video__background-utility-selected);
|
|
95
106
|
}
|
|
96
107
|
}
|
|
97
108
|
}
|
|
98
109
|
}
|
|
99
110
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}
|
|
111
|
+
.str-video__icon.str-video__dropdown-selected__icon,
|
|
112
|
+
.str-video__icon.str-video__dropdown-selected__chevron {
|
|
113
|
+
background-color: var(--str-video__input-text-icon);
|
|
104
114
|
}
|