@stream-io/video-styling 1.0.2
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 +135 -0
- package/LICENSE +219 -0
- package/README.md +11 -0
- package/dist/css/styles.css +2548 -0
- package/dist/css/styles.css.map +1 -0
- package/index.scss +31 -0
- package/package.json +15 -0
- package/project.json +51 -0
- package/src/Avatar/Avatar-layout.scss +16 -0
- package/src/Avatar/Avatar-theme.scss +24 -0
- package/src/Avatar/index.scss +2 -0
- package/src/BackgroundFilters/BackgroundFilters-layout.scss +34 -0
- package/src/BackgroundFilters/index.scss +1 -0
- package/src/Button/Button-layout.scss +124 -0
- package/src/Button/Button-theme.scss +165 -0
- package/src/Button/index.scss +2 -0
- package/src/CallControls/CallControls-layout.scss +69 -0
- package/src/CallControls/CancelCallButton.scss +114 -0
- package/src/CallControls/index.scss +2 -0
- package/src/CallLayout/LivestreamLayout-layout.scss +115 -0
- package/src/CallLayout/PaginatedGridLayout-layout.scss +44 -0
- package/src/CallLayout/SpeakerLayout-layout.scss +148 -0
- package/src/CallLayout/index.scss +3 -0
- package/src/CallParticipantList/CallParticiantListingItem-layout.scss +36 -0
- package/src/CallParticipantList/CallParticiantListingItem-theme.scss +50 -0
- package/src/CallParticipantList/CallParticipantList-layout.scss +113 -0
- package/src/CallParticipantList/CallParticipantList-theme.scss +0 -0
- package/src/CallParticipantList/index.scss +4 -0
- package/src/CallPreview/CallPreview-layout.scss +6 -0
- package/src/CallPreview/index.scss +1 -0
- package/src/CallRecodingList/CallRecordingList-layout.scss +60 -0
- package/src/CallRecodingList/CallRecordingList-theme.scss +50 -0
- package/src/CallRecodingList/index.scss +2 -0
- package/src/CallStats.scss +118 -0
- package/src/DeviceSettings/DeviceSettings-layout.scss +113 -0
- package/src/DeviceSettings/index.scss +1 -0
- package/src/DropdownSelect/DropdownSelect.scss +104 -0
- package/src/DropdownSelect/index.scss +1 -0
- package/src/Icon/Icon-layout.scss +11 -0
- package/src/Icon/Icon-theme.scss +348 -0
- package/src/Icon/index.scss +2 -0
- package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
- package/src/LoadingIndicator/LoadingIndicator-theme.scss +20 -0
- package/src/LoadingIndicator/index.scss +2 -0
- package/src/Menu/GenericMenu-layout.scss +62 -0
- package/src/Menu/GenericMenu-theme.scss +0 -0
- package/src/Menu/Menu-layout.scss +9 -0
- package/src/Menu/Menu-theme.scss +4 -0
- package/src/Menu/Portal-layout.scss +21 -0
- package/src/Menu/index.scss +5 -0
- package/src/Notification/Notification-layout.scss +26 -0
- package/src/Notification/Notification-theme.scss +19 -0
- package/src/Notification/index.scss +2 -0
- package/src/ParticipantView/ParticipantView-layout.scss +213 -0
- package/src/ParticipantView/index.scss +1 -0
- package/src/Permissions/Permissions-layout.scss +55 -0
- package/src/Permissions/index.scss +1 -0
- package/src/Reaction/Reaction-layout.scss +11 -0
- package/src/Reaction/index.scss +1 -0
- package/src/RingingCall/RingingCall-layout.scss +43 -0
- package/src/RingingCall/RingingCall-theme.scss +39 -0
- package/src/RingingCall/index.scss +2 -0
- package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +28 -0
- package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +19 -0
- package/src/ScreenShareOverlay/index.scss +2 -0
- package/src/Search/SearchInput-layout.scss +29 -0
- package/src/Search/SearchInput-theme.scss +65 -0
- package/src/Search/index.scss +2 -0
- package/src/StreamCall.scss +16 -0
- package/src/Tooltip/Tooltip-layout.scss +10 -0
- package/src/Tooltip/Tooltip-theme.scss +37 -0
- package/src/Tooltip/index.scss +2 -0
- package/src/Video/Video-layout.scss +15 -0
- package/src/Video/Video-theme.scss +3 -0
- package/src/Video/VideoPlaceholder-layout.scss +22 -0
- package/src/Video/VideoPlaceholder-theme.scss +16 -0
- package/src/Video/index.scss +4 -0
- package/src/VideoPreview/VideoPreview-layout.scss +29 -0
- package/src/VideoPreview/VideoPreview-theme.scss +37 -0
- package/src/VideoPreview/index.scss +2 -0
- package/src/_base.scss +7 -0
- package/src/_global-theme-variables.scss +191 -0
- package/src/_utils.scss +50 -0
package/src/_utils.scss
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@mixin ellipsis-text {
|
|
2
|
+
white-space: nowrap;
|
|
3
|
+
overflow-y: visible;
|
|
4
|
+
// Not every browser support clip overflow, so hidden is defined as a fallback
|
|
5
|
+
overflow-x: hidden;
|
|
6
|
+
overflow-x: clip;
|
|
7
|
+
text-overflow: ellipsis;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@mixin apply-mask-image($imageDataUrl, $fill, $size: 1rem) {
|
|
11
|
+
mask-image: $imageDataUrl;
|
|
12
|
+
-webkit-mask-image: $imageDataUrl;
|
|
13
|
+
mask-repeat: no-repeat;
|
|
14
|
+
-webkit-mask-repeat: no-repeat;
|
|
15
|
+
mask-position: center;
|
|
16
|
+
-webkit-mask-position: center;
|
|
17
|
+
mask-size: $size;
|
|
18
|
+
-webkit-mask-size: $size;
|
|
19
|
+
background-color: $fill;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@mixin component-layer-overrides($component-name, $important: '') {
|
|
23
|
+
background: var(--str-video__#{$component-name}--background-color) #{$important};
|
|
24
|
+
color: var(--str-video__#{$component-name}--color) #{$important};
|
|
25
|
+
box-shadow: var(--str-video__#{$component-name}--box-shadow) #{$important};
|
|
26
|
+
border-radius: var(--str-video__#{$component-name}--border-radius) #{$important};
|
|
27
|
+
border-block-start: var(--str-video__#{$component-name}--border-block-start) #{$important};
|
|
28
|
+
border-block-end: var(--str-video__#{$component-name}--border-block-end) #{$important};
|
|
29
|
+
border-inline-start: var(--str-video__#{$component-name}--border-inline-start) #{$important};
|
|
30
|
+
border-inline-end: var(--str-video__#{$component-name}--border-inline-end) #{$important};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@mixin reset-select {
|
|
35
|
+
// A reset of styles, including removing the default dropdown arrow
|
|
36
|
+
appearance: none;
|
|
37
|
+
-webkit-appearance: none;
|
|
38
|
+
-moz-appearance: none;
|
|
39
|
+
// Additional resets for further consistency
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
border: none;
|
|
42
|
+
padding: 0 1em 0 0;
|
|
43
|
+
margin: 0;
|
|
44
|
+
width: 100%;
|
|
45
|
+
font-family: inherit;
|
|
46
|
+
font-size: inherit;
|
|
47
|
+
cursor: inherit;
|
|
48
|
+
line-height: inherit;
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|