@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,6 +1,6 @@
1
1
  .str-video.str-video__embedded {
2
- background-color: var(--str-video__base-color4);
3
- color: var(--str-video__text-color1);
2
+ background-color: var(--str-video__background-core-app);
3
+ color: var(--str-video__text-primary);
4
4
  position: relative;
5
5
  overflow: hidden;
6
6
  width: 100%;
@@ -3,7 +3,7 @@
3
3
  position: relative;
4
4
  flex-direction: column;
5
5
  height: 100%;
6
- padding: var(--str-video__spacing-sm);
6
+ padding: var(--str-video__spacing-xs);
7
7
  overflow: auto hidden;
8
8
 
9
9
  .str-video__permission-requests {
@@ -18,17 +18,15 @@
18
18
  display: flex;
19
19
  align-items: center;
20
20
  justify-content: space-between;
21
- padding: var(--str-video__spacing-sm) var(--str-video__spacing-md);
22
- background-color: var(--str-video__base-color7);
23
- border-radius: var(--str-video__border-radius-xxl);
21
+ padding: var(--str-video__spacing-xs) var(--str-video__spacing-sm);
24
22
  }
25
23
 
26
24
  .str-video__embedded-layout {
27
25
  display: flex;
28
26
  flex: 1;
29
27
  min-height: 0;
30
- gap: var(--str-video__spacing-md);
31
- padding: var(--str-video__spacing-md);
28
+ gap: var(--str-video__spacing-sm);
29
+ padding: var(--str-video__spacing-sm);
32
30
  position: relative;
33
31
  }
34
32
 
@@ -40,16 +38,24 @@
40
38
  }
41
39
 
42
40
  .str-video__embedded-notifications {
41
+ --str-video__embedded-controls-padding: var(--str-video__spacing-sm);
42
+
43
43
  position: absolute;
44
- bottom: 60px;
45
- left: var(--str-video__spacing-lg);
44
+ bottom: calc(
45
+ var(--str-video__button-visual-height-md) +
46
+ var(--str-video__embedded-controls-padding) * 2 +
47
+ var(--str-video__spacing-xs)
48
+ );
49
+ left: 0;
46
50
  right: 0;
51
+ display: flex;
52
+ justify-content: center;
47
53
  z-index: 3;
48
54
  }
49
55
 
50
56
  .str-video__embedded-sidebar {
51
57
  position: absolute;
52
- border-radius: var(--str-video__border-radius-md);
58
+ border-radius: var(--str-video__radius-xl);
53
59
  height: calc(100% - 60px);
54
60
 
55
61
  &.str-video__embedded-sidebar--open {
@@ -73,9 +79,9 @@
73
79
  flex: 1;
74
80
  min-height: 0;
75
81
  width: 100%;
76
- border-radius: var(--str-video__border-radius-md);
77
- padding: var(--str-video__spacing-lg);
78
- margin: var(--str-video__spacing-lg) 0;
82
+ border-radius: var(--str-video__radius-xl);
83
+ padding: var(--str-video__spacing-md);
84
+ margin: var(--str-video__spacing-md) 0;
79
85
  }
80
86
 
81
87
  @container (min-width: 700px) {
@@ -83,6 +89,10 @@
83
89
  display: none;
84
90
  }
85
91
 
92
+ .str-video__embedded-notifications {
93
+ --str-video__embedded-controls-padding: var(--str-video__spacing-md);
94
+ }
95
+
86
96
  .str-video__embedded-sidebar {
87
97
  position: relative;
88
98
  width: 0;
@@ -1,7 +1,7 @@
1
1
  .str-video__embedded-call {
2
- background-color: var(--str-video__base-color4);
2
+ background-color: var(--str-video__background-core-app);
3
3
  }
4
4
 
5
5
  .str-video__embedded-participants {
6
- background-color: var(--str-video__base-color7);
6
+ background-color: var(--str-video__background-core-elevation-1);
7
7
  }
@@ -5,26 +5,24 @@
5
5
  .str-video__embedded-livestream-duration {
6
6
  display: flex;
7
7
  align-items: center;
8
- gap: var(--str-video__spacing-md);
8
+ gap: var(--str-video__spacing-sm);
9
9
 
10
10
  &__live-badge,
11
11
  &__backstage-badge {
12
- padding: var(--str-video__spacing-xs) var(--str-video__spacing-md);
13
- border-radius: var(--str-video__spacing-xs);
14
- font-size: 0.875rem;
15
- font-weight: 600;
12
+ padding: var(--str-video__space-6) var(--str-video__spacing-sm);
13
+ border-radius: var(--str-video__radius-sm);
14
+ font-size: var(--str-video__typography-font-size-sm);
15
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
16
16
  }
17
17
 
18
18
  &__viewers {
19
19
  display: flex;
20
20
  align-items: center;
21
- gap: var(--str-video__spacing-xs);
21
+ gap: var(--str-video__space-6);
22
22
  }
23
23
 
24
24
  &__eye-icon {
25
25
  display: inline-block;
26
- width: 1.125rem;
27
- height: 1.125rem;
28
26
  -webkit-mask-image: var(--str-video__icon--eye);
29
27
  mask-image: var(--str-video__icon--eye);
30
28
  -webkit-mask-size: contain;
@@ -34,30 +32,18 @@
34
32
  }
35
33
 
36
34
  &__count {
37
- font-size: 0.875rem;
35
+ font-size: var(--str-video__typography-font-size-sm);
38
36
  }
39
37
 
40
38
  &__elapsed {
41
- font-size: 0.875rem;
39
+ font-size: var(--str-video__typography-font-size-sm);
42
40
  }
43
41
  }
44
42
 
45
43
  .str-video__embedded-go-live-button,
46
44
  .str-video__embedded-end-stream-button {
47
- display: inline-flex;
48
45
  flex: none;
49
- align-items: center;
50
- justify-content: center;
51
- gap: var(--str-video__spacing-sm);
52
- height: 34px;
53
- min-width: 140px;
54
- padding: 0 var(--str-video__spacing-lg);
55
- border: none;
56
- border-radius: var(--str-video__border-radius-xxl);
57
- font-size: 0.875rem;
58
- font-weight: 500;
59
- cursor: pointer;
60
- transition: background 0.15s ease;
46
+ min-inline-size: 140px;
61
47
  }
62
48
 
63
49
  .str-video__embedded-go-live-button {
@@ -69,8 +55,8 @@
69
55
 
70
56
  .str-video__embedded-end-stream-button {
71
57
  .str-video__icon {
72
- width: 20px;
73
- height: 20px;
58
+ inline-size: var(--str-video__icon-size-md);
59
+ block-size: var(--str-video__icon-size-md);
74
60
  }
75
61
  }
76
62
 
@@ -79,7 +65,7 @@
79
65
  align-items: center;
80
66
  justify-content: center;
81
67
  height: 100%;
82
- padding: var(--str-video__spacing-xl);
68
+ padding: var(--str-video__spacing-lg);
83
69
 
84
70
  &__content {
85
71
  display: flex;
@@ -97,39 +83,40 @@
97
83
  }
98
84
 
99
85
  &__title {
100
- margin: var(--str-video__spacing-xl) 0 var(--str-video__spacing-sm);
101
- font-size: 1.25rem;
102
- font-weight: 600;
86
+ margin: var(--str-video__spacing-lg) 0 var(--str-video__spacing-xs);
87
+ font-size: var(--str-video__typography-font-size-xl);
88
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
103
89
  line-height: 1.3;
104
90
  }
105
91
 
106
92
  &__starts-at {
107
- margin: var(--str-video__spacing-sm);
108
- font-size: 0.875rem;
93
+ margin: var(--str-video__spacing-xs);
94
+ font-size: var(--str-video__typography-font-size-sm);
109
95
  }
110
96
 
111
97
  &__participant-count {
112
- margin: var(--str-video__spacing-md);
113
- font-size: 0.8125rem;
98
+ margin: var(--str-video__spacing-sm);
99
+ font-size: var(--str-video__typography-font-size-xs);
114
100
  }
115
101
 
116
102
  &__actions {
117
103
  display: flex;
118
104
  flex-direction: column;
119
105
  align-items: center;
120
- gap: var(--str-video__spacing-lg);
121
- margin-top: var(--str-video__spacing-xl);
106
+ gap: var(--str-video__spacing-md);
107
+ margin-top: var(--str-video__spacing-lg);
122
108
 
123
109
  .str-video__button {
124
- min-width: 180px;
110
+ inline-size: 100%;
111
+ min-inline-size: 180px;
125
112
  }
126
113
  }
127
114
 
128
115
  &__auto-join {
129
116
  display: flex;
130
117
  align-items: center;
131
- gap: var(--str-video__spacing-sm);
132
- font-size: 0.875rem;
118
+ gap: var(--str-video__spacing-xs);
119
+ font-size: var(--str-video__typography-font-size-sm);
133
120
  cursor: pointer;
134
121
 
135
122
  input[type='checkbox'] {
@@ -138,11 +125,11 @@
138
125
  }
139
126
 
140
127
  &__join-error {
141
- margin-top: var(--str-video__spacing-md);
142
- font-size: var(--str-video__font-size-xs);
128
+ margin-top: var(--str-video__spacing-sm);
129
+ font-size: var(--str-video__typography-font-size-xs);
143
130
  line-height: 1.3;
144
131
  text-align: center;
145
- font-weight: 500;
132
+ font-weight: var(--str-video__typography-font-weight-medium);
146
133
  min-height: 1.3em;
147
134
 
148
135
  &[data-visible='false'] {
@@ -1,69 +1,47 @@
1
1
  .str-video__embedded-livestream-duration {
2
2
  &__live-badge,
3
3
  &__backstage-badge {
4
- color: var(--str-video__text-color1);
4
+ color: var(--str-video__text-primary);
5
5
  }
6
6
 
7
7
  &__live-badge {
8
- background-color: var(--str-video__primary-color);
8
+ background-color: var(--str-video__accent-primary);
9
9
  }
10
10
 
11
11
  &__backstage-badge {
12
- background-color: var(--str-video__base-color6);
12
+ background-color: var(--str-video__background-core-surface-default);
13
13
  }
14
14
 
15
15
  &__eye-icon {
16
- background-color: var(--str-video__text-color1);
16
+ background-color: var(--str-video__text-primary);
17
17
  opacity: 0.8;
18
18
  }
19
19
 
20
20
  &__count {
21
- color: var(--str-video__text-color1);
21
+ color: var(--str-video__text-primary);
22
22
  opacity: 0.8;
23
23
  }
24
24
 
25
25
  &__elapsed {
26
- color: var(--str-video__text-color1);
26
+ color: var(--str-video__text-primary);
27
27
  opacity: 0.8;
28
28
  }
29
29
  }
30
30
 
31
- .str-video__embedded-go-live-button {
32
- background: var(--str-video__button-primary-active);
33
- color: var(--str-video__text-color1);
34
-
35
- &:hover {
36
- background: var(--str-video__button-primary-hover);
37
- }
38
- }
39
-
40
- .str-video__embedded-end-stream-button {
41
- background: var(--str-video__button-default-base);
42
- color: var(--str-video__text-color1);
43
-
44
- &:hover {
45
- background: var(--str-video__button-default-hover);
46
- }
47
-
48
- .str-video__icon {
49
- color: var(--str-video__alert-warning);
50
- }
51
- }
52
-
53
31
  .str-video__embedded-host-lobby {
54
- background: var(--str-video__base-color4);
32
+ background: var(--str-video__background-core-app);
55
33
  }
56
34
 
57
35
  .str-video__embedded-viewer-lobby {
58
- background: var(--str-video__base-color4);
59
- color: var(--str-video__text-color2);
36
+ background: var(--str-video__background-core-app);
37
+ color: var(--str-video__text-secondary);
60
38
 
61
39
  &__icon {
62
40
  opacity: 0.6;
63
41
  }
64
42
 
65
43
  &__title {
66
- color: var(--str-video__text-color1);
44
+ color: var(--str-video__text-primary);
67
45
  }
68
46
 
69
47
  &__starts-at {
@@ -76,11 +54,11 @@
76
54
 
77
55
  &__auto-join {
78
56
  input[type='checkbox'] {
79
- accent-color: var(--str-video__button-primary-active);
57
+ accent-color: var(--str-video__control-checkbox-bg-selected);
80
58
  }
81
59
  }
82
60
 
83
61
  &__join-error {
84
- color: var(--str-video__alert-warning);
62
+ color: var(--str-video__accent-error);
85
63
  }
86
64
  }
@@ -1,26 +1,14 @@
1
1
  .str-video__embedded-blur-toggle-container {
2
- padding: var(--str-video__spacing-xl) var(--str-video__spacing-xl);
2
+ padding: var(--str-video__spacing-xs);
3
3
  }
4
4
 
5
5
  .str-video__embedded-blur-toggle {
6
- display: flex;
7
- align-items: center;
8
- gap: var(--str-video__spacing-sm);
9
- width: 100%;
10
- padding: var(--str-video__spacing-sm);
11
- border: none;
12
- border-radius: var(--str-video__border-radius-circle);
13
- font-size: 0.875rem;
14
- cursor: pointer;
15
- transition: background-color 0.15s ease;
6
+ --str-video__button-secondary-border: var(
7
+ --str-video__border-core-on-elevation
8
+ );
9
+ --str-video__button-border-disabled: var(
10
+ --str-video__border-utility-disabled-on-surface
11
+ );
16
12
 
17
- &:disabled {
18
- opacity: 0.6;
19
- cursor: default;
20
- }
21
-
22
- .str-video__icon {
23
- width: 1.25rem;
24
- height: 1.25rem;
25
- }
13
+ inline-size: 100%;
26
14
  }
@@ -1,21 +1,3 @@
1
1
  .str-video__embedded-blur-toggle-container {
2
- border-top: 1px solid var(--str-video__base-color3);
3
- }
4
-
5
- .str-video__embedded-blur-toggle {
6
- background: transparent;
7
- color: var(--str-video__text-color1);
8
-
9
- &:hover:not(:disabled) {
10
- background: var(--str-video__button-default-hover);
11
- }
12
-
13
- &--active {
14
- background: var(--str-video__secondary-color);
15
- color: var(--str-video__primary-color);
16
-
17
- &:hover:not(:disabled) {
18
- background: var(--str-video__secondary-color);
19
- }
20
- }
2
+ border-top: 1px solid var(--str-video__border-core-default);
21
3
  }
@@ -1,17 +1,16 @@
1
1
  .str-video__embedded-call-duration {
2
2
  display: flex;
3
3
  align-items: center;
4
+ justify-content: center;
4
5
  gap: var(--str-video__spacing-xxs);
6
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-xs);
7
+ border-radius: var(--str-video__radius-3xl);
5
8
  white-space: nowrap;
6
9
 
7
- &__icon {
8
- width: 16px;
9
- height: 16px;
10
- }
11
-
12
10
  &__time {
13
- font-size: 0.875rem;
14
- font-weight: 500;
11
+ font-size: var(--str-video__typography-font-size-sm);
12
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
13
+ line-height: var(--str-video__typography-line-height-normal);
15
14
  font-variant-numeric: tabular-nums;
16
15
  }
17
16
  }
@@ -26,7 +25,7 @@
26
25
 
27
26
  .str-video__embedded-call-controls.str-video__call-controls {
28
27
  justify-content: center;
29
- padding: var(--str-video__spacing-md);
28
+ padding: var(--str-video__spacing-sm);
30
29
  gap: var(--str-video__spacing-xxs);
31
30
 
32
31
  .str-video__call-controls--group {
@@ -60,12 +59,12 @@
60
59
 
61
60
  .str-video__embedded-call-controls.str-video__call-controls {
62
61
  justify-content: space-between;
63
- padding: var(--str-video__spacing-lg);
64
- gap: var(--str-video__spacing-sm);
62
+ padding: var(--str-video__spacing-md);
63
+ gap: var(--str-video__spacing-xs);
65
64
 
66
65
  .str-video__call-controls--group {
67
66
  flex: 1;
68
- gap: var(--str-video__spacing-sm);
67
+ gap: var(--str-video__spacing-xs);
69
68
  }
70
69
 
71
70
  .str-video__call-controls--media {
@@ -1,14 +1,12 @@
1
1
  .str-video__embedded-call-duration {
2
- color: var(--str-video__text-color2);
2
+ background-color: var(--str-video__background-core-surface-default);
3
+ color: var(--str-video__text-primary);
3
4
 
4
5
  &__icon {
5
- background-color: var(--str-video__alert-success);
6
+ background-color: var(--str-video__accent-success);
6
7
  }
7
- }
8
8
 
9
- @container (min-width: 700px) {
10
- .str-video__embedded-call-controls.str-video__call-controls {
11
- background-color: var(--str-video__base-color7);
12
- border-radius: var(--str-video__border-radius-xxl);
9
+ &__time-leading {
10
+ color: var(--str-video__text-tertiary);
13
11
  }
14
12
  }
@@ -1,6 +1,6 @@
1
1
  .str-video__embedded-connection-notification {
2
2
  position: absolute;
3
- top: var(--str-video__spacing-md);
3
+ top: var(--str-video__spacing-sm);
4
4
  left: 50%;
5
5
  transform: translateX(-50%);
6
6
  z-index: 10;
@@ -1,8 +1,8 @@
1
1
  .str-video__embedded-participant-view-ui {
2
2
  position: absolute;
3
3
  inset: 0;
4
- padding-top: var(--str-video__spacing-md);
5
- padding-left: var(--str-video__spacing-md);
4
+ padding-top: var(--str-video__spacing-sm);
5
+ padding-left: var(--str-video__spacing-sm);
6
6
 
7
7
  &--screen-share {
8
8
  padding-top: 0;
@@ -4,13 +4,13 @@
4
4
  align-items: center;
5
5
  height: 100%;
6
6
  width: 100%;
7
- padding: 1rem;
7
+ padding: var(--str-video__spacing-md);
8
8
  text-align: center;
9
9
 
10
10
  &__message {
11
11
  margin: 0;
12
- font-size: 0.875rem;
13
- color: var(--str-video__text-color2);
12
+ font-size: var(--str-video__typography-font-size-sm);
13
+ color: var(--str-video__text-secondary);
14
14
  opacity: 0.7;
15
15
  }
16
16
  }
@@ -4,18 +4,18 @@
4
4
  justify-content: center;
5
5
  min-height: 100%;
6
6
  width: 100%;
7
- padding: var(--str-video__spacing-xl);
7
+ padding: var(--str-video__spacing-lg);
8
8
  }
9
9
 
10
10
  .str-video__embedded-call-feedback__container {
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  align-items: center;
14
- gap: var(--str-video__spacing-xl);
14
+ gap: var(--str-video__spacing-lg);
15
15
  width: 100%;
16
16
  max-width: 400px;
17
- padding: var(--str-video__spacing-xl);
18
- font-size: 0.9375rem;
17
+ padding: var(--str-video__spacing-lg);
18
+ font-size: var(--str-video__typography-font-size-sm);
19
19
  text-align: center;
20
20
 
21
21
  h2,
@@ -24,8 +24,8 @@
24
24
  }
25
25
 
26
26
  h2 {
27
- font-size: 1.75rem;
28
- font-weight: 600;
27
+ font-size: var(--str-video__font-size-size-28);
28
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
29
29
  }
30
30
  }
31
31
 
@@ -33,12 +33,12 @@
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  align-items: center;
36
- gap: var(--str-video__spacing-xl);
37
- padding: var(--str-video__spacing-lg) 0;
36
+ gap: var(--str-video__spacing-lg);
37
+ padding: var(--str-video__spacing-md) 0;
38
38
  }
39
39
 
40
40
  .str-video__embedded-call-feedback__rating-label {
41
- font-size: 1.125rem;
41
+ font-size: var(--str-video__typography-font-size-lg);
42
42
  }
43
43
 
44
44
  .str-video__embedded-call-feedback__stars {
@@ -66,13 +66,13 @@
66
66
  .str-video__embedded-call-feedback__textarea {
67
67
  width: 100%;
68
68
  min-height: 72px;
69
- padding: var(--str-video__spacing-md);
69
+ padding: var(--str-video__spacing-sm);
70
70
  border: 1px solid transparent;
71
- border-radius: var(--str-video__border-radius-md);
71
+ border-radius: var(--str-video__input-radius-text-input);
72
72
  background: transparent;
73
73
  color: inherit;
74
74
  font-family: inherit;
75
- font-size: 0.875rem;
75
+ font-size: var(--str-video__typography-font-size-sm);
76
76
  resize: vertical;
77
77
 
78
78
  &:focus {
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  &:focus-visible {
83
- border-color: var(--str-video__base-color2);
83
+ border-color: var(--str-video__border-utility-focused);
84
84
  }
85
85
  }
86
86
 
@@ -88,19 +88,19 @@
88
88
  display: flex;
89
89
  flex-direction: column;
90
90
  align-items: center;
91
- gap: var(--str-video__spacing-lg);
91
+ gap: var(--str-video__spacing-md);
92
92
  width: 100%;
93
- padding-top: var(--str-video__spacing-lg);
93
+ padding-top: var(--str-video__spacing-md);
94
94
 
95
- .str-video__button:disabled {
96
- opacity: 0.5;
95
+ .str-video__button {
96
+ inline-size: 100%;
97
97
  }
98
98
  }
99
99
 
100
100
  .str-video__embedded-call-feedback__ended-actions {
101
101
  display: flex;
102
102
  align-items: center;
103
- gap: var(--str-video__spacing-xl);
103
+ gap: var(--str-video__spacing-lg);
104
104
  justify-content: center;
105
105
  }
106
106
 
@@ -108,7 +108,7 @@
108
108
  display: flex;
109
109
  flex-direction: column;
110
110
  align-items: center;
111
- gap: var(--str-video__spacing-md);
111
+ gap: var(--str-video__spacing-sm);
112
112
  }
113
113
 
114
114
  .str-video__embedded-call-feedback__ended-divider {
@@ -117,24 +117,9 @@
117
117
  }
118
118
 
119
119
  .str-video__embedded-call-feedback__ended-button {
120
- display: flex;
121
- align-items: center;
122
- justify-content: center;
123
- gap: var(--str-video__spacing-sm);
124
- height: 44px;
125
- padding: 0 var(--str-video__spacing-xl);
126
- border: 1px solid transparent;
127
- border-radius: var(--str-video__border-radius-circle);
128
- background: transparent;
129
- font-size: 0.9375rem;
130
- font-weight: 500;
131
- cursor: pointer;
132
- white-space: nowrap;
133
-
134
120
  .str-video__icon {
135
- flex-shrink: 0;
136
- width: 18px;
137
- height: 18px;
121
+ inline-size: var(--str-video__icon-size-md);
122
+ block-size: var(--str-video__icon-size-md);
138
123
  }
139
124
  }
140
125