@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,178 +1,113 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
--str-
|
|
6
|
-
--str-
|
|
7
|
-
);
|
|
8
|
-
|
|
9
|
-
/* The background color of the component */
|
|
10
|
-
--str-video__composite-button__button-group--background-color: var(
|
|
11
|
-
--str-video__button-primary-base
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
/* The active background color of the component */
|
|
15
|
-
--str-video__composite-button__button-group-active--background-color: var(
|
|
16
|
-
--str-video__button-primary-active
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
--str-video__composite-button__button-group-active-primary--background-color: var(
|
|
20
|
-
--str-video__button-primary-active
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
--str-video__composite-button__button-group-active-secondary--background-color: var(
|
|
24
|
-
--str-video__button-secondary-active
|
|
25
|
-
);
|
|
26
|
-
|
|
27
|
-
--str-video__composite-button__button-group-active-secondary-hover--background-color: var(
|
|
28
|
-
--str-video__button-secondary-hover
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
/* The hover background color of the component */
|
|
32
|
-
--str-video__composite-button__button-group-hover--background-color: var(
|
|
33
|
-
--str-video__button-default-hover
|
|
1
|
+
.str-video__button {
|
|
2
|
+
--str-video__button-bg: var(--str-video__button-primary-bg);
|
|
3
|
+
--str-video__button-border: var(--str-video__button-primary-border);
|
|
4
|
+
--str-video__button-fg: var(--str-video__button-primary-text);
|
|
5
|
+
--str-video__button-fg-on-fill: var(
|
|
6
|
+
--str-video__button-primary-text-on-accent
|
|
34
7
|
);
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
--str-video__composite-button__button-group--border-radius: var(
|
|
38
|
-
--str-video__border-radius-xs
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.str-video__composite-button__button-group {
|
|
43
|
-
@include utils.component-layer-overrides('composite-button__button-group');
|
|
44
|
-
background-color: var(
|
|
45
|
-
--str-video__composite-button__button-group--background-color
|
|
8
|
+
--str-video__button-border-disabled: var(
|
|
9
|
+
--str-video__border-utility-disabled
|
|
46
10
|
);
|
|
47
|
-
border-radius: var(--str-video__border-radius-circle);
|
|
48
11
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
&--active {
|
|
57
|
-
background-color: var(
|
|
58
|
-
--str-video__composite-button__button-group-hover--background-color
|
|
59
|
-
);
|
|
60
|
-
color: white;
|
|
61
|
-
|
|
62
|
-
&:hover {
|
|
63
|
-
background-color: var(
|
|
64
|
-
--str-video__composite-button__button-group-hover--background-color
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:disabled {
|
|
69
|
-
background-color: var(
|
|
70
|
-
--str-video__composite-button__button-group-hover--background-color
|
|
71
|
-
);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&.str-video__composite-button__button-group--active {
|
|
77
|
-
background-color: var(
|
|
78
|
-
--str-video__composite-button__button-group-active--background-color
|
|
12
|
+
&--primary {
|
|
13
|
+
--str-video__button-bg: var(--str-video__button-primary-bg);
|
|
14
|
+
--str-video__button-border: var(--str-video__button-primary-border);
|
|
15
|
+
--str-video__button-fg: var(--str-video__button-primary-text);
|
|
16
|
+
--str-video__button-fg-on-fill: var(
|
|
17
|
+
--str-video__button-primary-text-on-accent
|
|
79
18
|
);
|
|
80
|
-
|
|
81
|
-
&:hover {
|
|
82
|
-
background-color: var(--str-video__button-primary-hover);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.str-video__icon {
|
|
86
|
-
background-color: var(--str-video__icon-active);
|
|
87
|
-
}
|
|
88
19
|
}
|
|
89
20
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
21
|
+
&--secondary {
|
|
22
|
+
--str-video__button-bg: var(--str-video__button-secondary-bg);
|
|
23
|
+
--str-video__button-border: var(--str-video__button-secondary-border);
|
|
24
|
+
--str-video__button-fg: var(--str-video__button-secondary-text);
|
|
25
|
+
--str-video__button-fg-on-fill: var(
|
|
26
|
+
--str-video__button-secondary-text-on-accent
|
|
93
27
|
);
|
|
94
28
|
}
|
|
95
29
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
30
|
+
&--destructive {
|
|
31
|
+
--str-video__button-bg: var(--str-video__button-destructive-bg);
|
|
32
|
+
--str-video__button-border: var(--str-video__button-destructive-border);
|
|
33
|
+
--str-video__button-fg: var(--str-video__button-destructive-text);
|
|
34
|
+
--str-video__button-fg-on-fill: var(
|
|
35
|
+
--str-video__button-destructive-text-on-accent
|
|
99
36
|
);
|
|
100
37
|
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.str-video__composite-button__caption {
|
|
104
|
-
font-size: 12px;
|
|
105
|
-
line-height: 15px;
|
|
106
|
-
text-align: center;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
white-space: nowrap;
|
|
109
|
-
}
|
|
110
38
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
39
|
+
background-color: transparent;
|
|
40
|
+
|
|
41
|
+
background-image:
|
|
42
|
+
linear-gradient(
|
|
43
|
+
to bottom,
|
|
44
|
+
var(--str-video__button-overlay, transparent),
|
|
45
|
+
var(--str-video__button-overlay, transparent)
|
|
46
|
+
),
|
|
47
|
+
linear-gradient(
|
|
48
|
+
to bottom,
|
|
49
|
+
var(--str-video__button-selected, transparent),
|
|
50
|
+
var(--str-video__button-selected, transparent)
|
|
121
51
|
);
|
|
122
|
-
}
|
|
123
52
|
|
|
124
53
|
.str-video__icon {
|
|
125
|
-
background-color:
|
|
54
|
+
background-color: currentColor;
|
|
126
55
|
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.str-video__call-controls__button {
|
|
130
|
-
border-radius: var(--str-video__border-radius-circle);
|
|
131
|
-
text-decoration: none;
|
|
132
|
-
box-shadow: none;
|
|
133
|
-
border: none;
|
|
134
|
-
background-color: var(--str-video__button-primary-base);
|
|
135
|
-
|
|
136
|
-
&:hover {
|
|
137
|
-
text-decoration: none;
|
|
138
|
-
background-color: var(
|
|
139
|
-
--str-video__composite-button__button-group-hover--background-color
|
|
140
|
-
);
|
|
141
56
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
57
|
+
&--solid {
|
|
58
|
+
background-color: var(--str-video__button-bg);
|
|
59
|
+
color: var(--str-video__button-fg-on-fill);
|
|
145
60
|
}
|
|
146
61
|
|
|
147
|
-
&--
|
|
148
|
-
|
|
62
|
+
&--outline {
|
|
63
|
+
box-shadow: inset 0 0 0 var(--str-video__w100)
|
|
64
|
+
var(--str-video__button-border);
|
|
65
|
+
color: var(--str-video__button-fg);
|
|
66
|
+
}
|
|
149
67
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
68
|
+
&--ghost {
|
|
69
|
+
color: var(--str-video__button-fg);
|
|
70
|
+
}
|
|
153
71
|
|
|
72
|
+
&:not(:disabled):not([aria-disabled='true']) {
|
|
154
73
|
&:hover {
|
|
155
|
-
|
|
74
|
+
--str-video__button-overlay: var(--str-video__background-utility-hover);
|
|
156
75
|
}
|
|
157
|
-
}
|
|
158
76
|
|
|
159
|
-
|
|
160
|
-
|
|
77
|
+
&[aria-expanded='true'],
|
|
78
|
+
&:active {
|
|
79
|
+
--str-video__button-overlay: var(--str-video__background-utility-pressed);
|
|
80
|
+
}
|
|
161
81
|
|
|
162
|
-
|
|
163
|
-
|
|
82
|
+
&[aria-pressed='true'] {
|
|
83
|
+
--str-video__button-selected: var(
|
|
84
|
+
--str-video__background-utility-selected
|
|
85
|
+
);
|
|
164
86
|
}
|
|
165
87
|
}
|
|
166
88
|
|
|
167
|
-
|
|
168
|
-
|
|
89
|
+
&:not(:disabled):focus-visible {
|
|
90
|
+
outline: var(--str-video__w200) solid
|
|
91
|
+
var(--str-video__border-utility-focused);
|
|
92
|
+
outline-offset: calc(var(--str-video__w200) * -1);
|
|
93
|
+
}
|
|
169
94
|
|
|
170
|
-
|
|
171
|
-
|
|
95
|
+
&:disabled,
|
|
96
|
+
&[aria-disabled='true'] {
|
|
97
|
+
color: var(--str-video__text-disabled);
|
|
98
|
+
cursor: default;
|
|
99
|
+
|
|
100
|
+
&.str-video__button--solid {
|
|
101
|
+
background-color: var(--str-video__background-utility-disabled);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.str-video__button--outline {
|
|
105
|
+
box-shadow: inset 0 0 0 var(--str-video__w100)
|
|
106
|
+
var(--str-video__button-border-disabled);
|
|
172
107
|
}
|
|
173
108
|
}
|
|
174
109
|
|
|
175
|
-
|
|
176
|
-
|
|
110
|
+
&[aria-disabled='true'] {
|
|
111
|
+
pointer-events: none;
|
|
177
112
|
}
|
|
178
113
|
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
.str-video__composite-button {
|
|
2
|
+
--str-video__composite-button-caret: var(
|
|
3
|
+
--str-video__button-visual-height-xs
|
|
4
|
+
);
|
|
5
|
+
--str-video__composite-button-lead: var(--str-video__spacing-sm);
|
|
6
|
+
|
|
7
|
+
&--size-sm {
|
|
8
|
+
--str-video__composite-button-lead: var(--str-video__spacing-xs);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&--size-lg {
|
|
12
|
+
--str-video__composite-button-caret: var(
|
|
13
|
+
--str-video__button-visual-height-sm
|
|
14
|
+
);
|
|
15
|
+
--str-video__composite-button-lead: var(--str-video__spacing-md);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: var(--str-video__spacing-xxs);
|
|
22
|
+
|
|
23
|
+
&__group {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__action {
|
|
29
|
+
position: relative;
|
|
30
|
+
|
|
31
|
+
& > .str-video__badge {
|
|
32
|
+
position: absolute;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
inset-block-start: calc(var(--str-video__spacing-xxs) * -1);
|
|
35
|
+
inset-inline-end: calc(var(--str-video__spacing-xxs) * -1);
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__caption {
|
|
41
|
+
max-inline-size: 100%;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
font-size: var(--str-video__typography-font-size-xs);
|
|
44
|
+
line-height: var(--str-video__typography-line-height-tight);
|
|
45
|
+
text-align: center;
|
|
46
|
+
text-overflow: ellipsis;
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--menu {
|
|
51
|
+
.str-video__composite-button__action {
|
|
52
|
+
aspect-ratio: auto;
|
|
53
|
+
padding-inline: var(--str-video__composite-button-lead)
|
|
54
|
+
calc(
|
|
55
|
+
2 * var(--str-video__spacing-xs) +
|
|
56
|
+
var(--str-video__composite-button-caret)
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.str-video__composite-button__caret {
|
|
61
|
+
position: absolute;
|
|
62
|
+
inset-inline-end: var(--str-video__spacing-xs);
|
|
63
|
+
inset-block-start: 50%;
|
|
64
|
+
translate: 0 -50%;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&--size-lg .str-video__composite-button__caret {
|
|
69
|
+
--str-video__button-visual: var(--str-video__button-visual-height-sm);
|
|
70
|
+
padding: var(--str-video__button-padding-x-icon-only-sm);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
@each $variant in primary, secondary, destructive {
|
|
74
|
+
&--#{$variant} {
|
|
75
|
+
--str-video__composite-button-caret-bg: var(
|
|
76
|
+
--str-video__button-#{$variant}-bg
|
|
77
|
+
);
|
|
78
|
+
--str-video__composite-button-caret-fg: var(
|
|
79
|
+
--str-video__button-#{$variant}-text-on-accent
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
&.str-video__composite-button--outline,
|
|
83
|
+
&.str-video__composite-button--ghost {
|
|
84
|
+
--str-video__composite-button-caret-bg: transparent;
|
|
85
|
+
--str-video__composite-button-caret-fg: var(
|
|
86
|
+
--str-video__button-#{$variant}-text
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.str-video__composite-button__caret:not(:disabled):not(
|
|
93
|
+
[aria-disabled='true']
|
|
94
|
+
) {
|
|
95
|
+
background-color: var(--str-video__composite-button-caret-bg);
|
|
96
|
+
color: var(--str-video__composite-button-caret-fg);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&--primary,
|
|
100
|
+
&--destructive {
|
|
101
|
+
.str-video__composite-button__action.str-video__button[aria-pressed='true'] {
|
|
102
|
+
--str-video__button-selected: transparent;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:has(
|
|
107
|
+
> .str-video__composite-button__group
|
|
108
|
+
> .str-video__composite-button__caret[aria-expanded='true']
|
|
109
|
+
) {
|
|
110
|
+
> .str-video__composite-button__group
|
|
111
|
+
> .str-video__composite-button__action {
|
|
112
|
+
--str-video__button-selected: var(
|
|
113
|
+
--str-video__background-utility-selected
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.str-video__composite-button.str-video__device-unavailable {
|
|
120
|
+
.str-video__composite-button__action,
|
|
121
|
+
.str-video__composite-button__caret {
|
|
122
|
+
--str-video__button-overlay: var(--str-video__background-utility-disabled);
|
|
123
|
+
color: var(--str-video__text-disabled);
|
|
124
|
+
}
|
|
125
|
+
}
|
package/src/Button/index.scss
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
.str-video__call-controls {
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
|
-
gap:
|
|
5
|
-
padding:
|
|
4
|
+
gap: var(--str-video__spacing-md);
|
|
5
|
+
padding: var(--str-video__spacing-md) var(--str-video__spacing-none);
|
|
6
6
|
|
|
7
7
|
.str-video__reactions-menu {
|
|
8
|
-
background-color: var(--str-video__base-color6);
|
|
9
8
|
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
10
|
|
|
11
|
-
padding: var(--str-video__spacing-sm)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
border-radius: var(--str-video__border-radius-lg);
|
|
11
|
+
padding: var(--str-video__spacing-sm) var(--str-video__spacing-md)
|
|
12
|
+
var(--str-video__spacing-md);
|
|
13
|
+
gap: var(--str-video__spacing-xxxs);
|
|
15
14
|
|
|
16
15
|
&--horizontal {
|
|
17
16
|
flex-direction: row;
|
|
@@ -22,70 +21,35 @@
|
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
.str-video__reactions-menu__button {
|
|
25
|
-
font-family:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
border-radius: var(--str-video__border-radius-circle);
|
|
36
|
-
border: 1px solid transparent;
|
|
24
|
+
font-family: system-ui;
|
|
25
|
+
font-size: var(--str-video__emoji-md);
|
|
26
|
+
line-height: 1;
|
|
27
|
+
padding: 0;
|
|
28
|
+
height: var(--str-video__button-visual-height-md);
|
|
29
|
+
width: var(--str-video__button-visual-height-md);
|
|
30
|
+
color: var(--str-video__text-primary);
|
|
31
|
+
background-color: transparent;
|
|
32
|
+
border: none;
|
|
33
|
+
border-radius: var(--str-video__radius-max);
|
|
37
34
|
display: flex;
|
|
38
35
|
align-items: center;
|
|
39
36
|
justify-content: center;
|
|
40
37
|
|
|
41
|
-
&:hover {
|
|
42
|
-
background-color: var(--str-
|
|
38
|
+
&:hover:not(:disabled) {
|
|
39
|
+
background-color: var(--str-video__background-utility-hover);
|
|
43
40
|
cursor: pointer;
|
|
44
41
|
}
|
|
42
|
+
|
|
43
|
+
&:active:not(:disabled) {
|
|
44
|
+
background-color: var(--str-video__background-utility-pressed);
|
|
45
|
+
}
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
|
|
49
|
-
.str-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
width: 12px;
|
|
55
|
-
outline: 1px solid var(--str-video__base-color6);
|
|
56
|
-
border-radius: var(--str-video__border-radius-circle);
|
|
57
|
-
display: flex;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
align-items: center;
|
|
60
|
-
|
|
61
|
-
font-size: var(--str-video__font-size-xxs);
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
font-weight: 600;
|
|
64
|
-
top: 0;
|
|
65
|
-
right: -3px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.str-video__no-media-permission {
|
|
69
|
-
background-color: var(--str-video__alert-caution);
|
|
70
|
-
color: var(--str-video__base-color4);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.str-video__pending-permission {
|
|
74
|
-
background-color: var(--str-video__button-secondary-active);
|
|
75
|
-
color: var(--str-video__text-color1);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.str-video__system-muted {
|
|
79
|
-
background-color: var(--str-video__alert-caution);
|
|
80
|
-
color: var(--str-video__base-color4);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.str-video__composite-button.str-video__device-unavailable {
|
|
84
|
-
.str-video__composite-button__button-group {
|
|
85
|
-
background-color: var(--str-video__button-default-disabled);
|
|
86
|
-
|
|
87
|
-
&:hover {
|
|
88
|
-
background-color: var(--str-video__button-default-hover);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
50
|
+
.str-video__accept-call-button {
|
|
51
|
+
--str-video__button-bg: var(--str-video__control-accept-call-button-bg);
|
|
52
|
+
--str-video__button-fg-on-fill: var(
|
|
53
|
+
--str-video__control-accept-call-button-text
|
|
54
|
+
);
|
|
91
55
|
}
|
|
@@ -1,114 +1,68 @@
|
|
|
1
1
|
.str-video__end-call {
|
|
2
2
|
&__confirmation {
|
|
3
|
-
padding: var(--str-video__spacing-
|
|
4
|
-
gap: var(--str-video__spacing-
|
|
3
|
+
padding: var(--str-video__spacing-md);
|
|
4
|
+
gap: var(--str-video__spacing-xs);
|
|
5
|
+
inline-size: 224px;
|
|
5
6
|
|
|
6
7
|
display: flex;
|
|
7
8
|
flex-direction: column;
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
-
&__leave,
|
|
11
|
-
&__end {
|
|
12
|
-
min-width: 196px;
|
|
13
|
-
color: var(--str-video__text-color1);
|
|
14
|
-
border: 1px solid transparent;
|
|
15
|
-
padding: calc(var(--str-video__spacing-sm) - 1px)
|
|
16
|
-
var(--str-video__spacing-lg);
|
|
17
|
-
|
|
18
|
-
&-icon {
|
|
19
|
-
background-color: var(--str-video__text-color1);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&__leave {
|
|
24
|
-
background-color: var(--str-video__button-tertiary-base);
|
|
25
|
-
|
|
26
|
-
&:hover {
|
|
27
|
-
background-color: var(--str-video__button-tertiary-hover);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__end {
|
|
32
|
-
background-color: var(--str-video__button-primary-base);
|
|
33
|
-
border-color: var(--str-video__button-default-hover);
|
|
34
|
-
|
|
35
|
-
&:hover {
|
|
36
|
-
background-color: var(--str-video__button-tertiary-hover);
|
|
37
|
-
border-color: transparent;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.str-video__end-call.str-video__end-call__leave-icon,
|
|
43
|
-
.str-video__icon.str-video__end-call__end-icon {
|
|
44
|
-
background-color: var(--str-video__text-color1);
|
|
45
10
|
}
|
|
46
11
|
|
|
47
12
|
.str-video__end-recording__confirmation {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
gap: var(--str-video__spacing-
|
|
13
|
+
inline-size: 304px;
|
|
14
|
+
padding: var(--str-video__spacing-2xl) var(--str-video__spacing-xl)
|
|
15
|
+
var(--str-video__spacing-xl);
|
|
16
|
+
gap: var(--str-video__spacing-2xl);
|
|
17
|
+
|
|
52
18
|
display: flex;
|
|
53
19
|
flex-direction: column;
|
|
20
|
+
background-color: var(--str-video__background-core-elevation-1);
|
|
21
|
+
border-radius: var(--str-video__radius-xl);
|
|
22
|
+
box-shadow: var(--str-video__box-shadow-4);
|
|
54
23
|
}
|
|
55
24
|
|
|
56
25
|
.str-video__end-recording__header {
|
|
57
26
|
display: flex;
|
|
58
|
-
flex-direction:
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: center;
|
|
59
29
|
gap: var(--str-video__spacing-md);
|
|
30
|
+
inline-size: 100%;
|
|
31
|
+
|
|
32
|
+
.str-video__icon {
|
|
33
|
+
inline-size: var(--str-video__icon-size-lg);
|
|
34
|
+
block-size: var(--str-video__icon-size-lg);
|
|
35
|
+
background-color: var(--str-video__text-tertiary);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.str-video__end-recording__text {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
gap: var(--str-video__spacing-xs);
|
|
43
|
+
inline-size: 100%;
|
|
44
|
+
text-align: center;
|
|
60
45
|
}
|
|
61
46
|
|
|
62
47
|
.str-video__end-recording__heading {
|
|
63
|
-
font-size: var(--str-video__font-size-lg);
|
|
64
|
-
font-weight: 600;
|
|
65
48
|
margin: 0;
|
|
49
|
+
color: var(--str-video__text-primary);
|
|
50
|
+
font-size: var(--str-video__typography-font-size-md);
|
|
51
|
+
font-weight: var(--str-video__typography-font-weight-semi-bold);
|
|
52
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
66
53
|
}
|
|
67
54
|
|
|
68
55
|
.str-video__end-recording__description {
|
|
69
56
|
margin: 0;
|
|
70
|
-
color: var(--str-video__text-
|
|
71
|
-
font-size: var(--str-
|
|
57
|
+
color: var(--str-video__text-secondary);
|
|
58
|
+
font-size: var(--str-video__typography-font-size-sm);
|
|
59
|
+
font-weight: var(--str-video__typography-font-weight-regular);
|
|
60
|
+
line-height: var(--str-video__typography-line-height-normal);
|
|
72
61
|
}
|
|
73
62
|
|
|
74
63
|
.str-video__end-recording__actions {
|
|
75
64
|
display: flex;
|
|
76
|
-
flex-direction:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
.str-video__composite-button {
|
|
81
|
-
width: 100%;
|
|
82
|
-
gap: var(--str-video__spacing-md);
|
|
83
|
-
|
|
84
|
-
&:first-of-type {
|
|
85
|
-
background-color: transparent;
|
|
86
|
-
|
|
87
|
-
.str-video__composite-button__button-group {
|
|
88
|
-
background-color: transparent;
|
|
89
|
-
border: 1px solid var(--str-video__base-color2);
|
|
90
|
-
width: 100%;
|
|
91
|
-
justify-content: center;
|
|
92
|
-
|
|
93
|
-
&:hover {
|
|
94
|
-
background-color: var(--str-video__button-default-hover);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
.str-video__composite-button__button-group {
|
|
99
|
-
background-color: var(--str-video__button-tertiary-base);
|
|
100
|
-
width: 100%;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
|
|
103
|
-
.str-video__text-button {
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
gap: 5px;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:hover {
|
|
110
|
-
background-color: var(--str-video__button-tertiary-hover);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
gap: var(--str-video__spacing-xs);
|
|
67
|
+
inline-size: 100%;
|
|
114
68
|
}
|