@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
@@ -1,178 +1,113 @@
1
- @use '../utils';
2
-
3
- .str-video {
4
- /* The font color applied inside the component */
5
- --str-video__composite-button__button-group--color: var(
6
- --str-video__text-color1
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
- /* The border radius used for the borders of the component */
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
- .str-video__call-controls__button.str-video__menu-toggle-button {
50
- background-color: var(--str-video__button-primary-base);
51
-
52
- &:hover {
53
- background-color: var(--str-video__button-default-hover);
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
- &.str-video__composite-button__button-group--active-primary {
91
- background-color: var(
92
- --str-video__composite-button__button-group-active-primary--background-color
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
- &.str-video__composite-button__button-group--active-secondary {
97
- background-color: var(
98
- --str-video__composite-button__button-group-active-secondary--background-color
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
- .str-video__composite-button__button-group:not(
112
- .str-video__composite-button__button-group--disabled
113
- ):hover {
114
- background-color: var(
115
- --str-video__composite-button__button-group-hover--background-color
116
- );
117
-
118
- &.str-video__composite-button__button-group--active-secondary:hover {
119
- background-color: var(
120
- --str-video__composite-button__button-group-active-secondary-hover--background-color
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: var(--str-video__icon-hover);
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
- .str-video__icon {
143
- background-color: var(--str-video__icon-hover);
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
- &--variant-danger {
148
- background-color: var(--str-video__button-tertiary-base);
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
- .str-video__icon {
151
- background-color: white;
152
- }
68
+ &--ghost {
69
+ color: var(--str-video__button-fg);
70
+ }
153
71
 
72
+ &:not(:disabled):not([aria-disabled='true']) {
154
73
  &:hover {
155
- background-color: var(--str-video__button-tertiary-hover);
74
+ --str-video__button-overlay: var(--str-video__background-utility-hover);
156
75
  }
157
- }
158
76
 
159
- &--variant-success {
160
- background-color: var(--str-video__info-color);
77
+ &[aria-expanded='true'],
78
+ &:active {
79
+ --str-video__button-overlay: var(--str-video__background-utility-pressed);
80
+ }
161
81
 
162
- &:hover {
163
- background-color: var(--str-video__info-color--accent);
82
+ &[aria-pressed='true'] {
83
+ --str-video__button-selected: var(
84
+ --str-video__background-utility-selected
85
+ );
164
86
  }
165
87
  }
166
88
 
167
- &--variant-active {
168
- background-color: var(--str-video__button-primary-active);
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
- &:hover {
171
- background-color: var(--str-video__button-primary-hover);
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
- &--enabled {
176
- background: var(--str-video__background-color7);
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
+ }
@@ -1,2 +1,3 @@
1
1
  @use 'Button-layout';
2
2
  @use 'Button-theme';
3
+ @use 'CompositeButton';
@@ -1,17 +1,16 @@
1
1
  .str-video__call-controls {
2
2
  display: flex;
3
3
  justify-content: center;
4
- gap: 1rem;
5
- padding: 1rem 0;
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
- gap: 0.5rem;
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
- 'Twemoji Mozilla',
27
- Apple Color Emoji,
28
- 'Segoe UI Emoji',
29
- 'Noto Color Emoji',
30
- 'EmojiOne Color';
31
- font-size: 1.2rem;
32
- height: 38px;
33
- width: 38px;
34
- background-color: var(--str-video__button-primary-base);
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-video__button-primary-hover);
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-video__no-media-permission,
50
- .str-video__system-muted,
51
- .str-video__pending-permission {
52
- position: absolute;
53
- height: 12px;
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-lg);
4
- gap: var(--str-video__spacing-md);
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
- background-color: var(--str-video__base-color7);
49
- border-radius: var(--str-video__border-radius-lg);
50
- padding: var(--str-video__spacing-xl);
51
- gap: var(--str-video__spacing-lg);
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: row;
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-color2);
71
- font-size: var(--str-video__font-size-sm);
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: row;
77
- justify-content: space-between;
78
- gap: var(--str-video__spacing-md);
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
  }