@usefy/screen-recorder 0.2.0 → 0.2.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/dist/styles.css CHANGED
@@ -1,3 +1,139 @@
1
+ /* components/Trigger/Trigger.module.scss */
2
+ @keyframes pulse {
3
+ 0%, 100% {
4
+ opacity: 1;
5
+ }
6
+ 50% {
7
+ opacity: 0.5;
8
+ }
9
+ }
10
+ @keyframes pulse-record {
11
+ 0%, 100% {
12
+ opacity: 1;
13
+ }
14
+ 50% {
15
+ opacity: 0.5;
16
+ }
17
+ }
18
+ @keyframes spin {
19
+ from {
20
+ transform: rotate(0deg);
21
+ }
22
+ to {
23
+ transform: rotate(360deg);
24
+ }
25
+ }
26
+ @keyframes fade-in {
27
+ 0% {
28
+ opacity: 0;
29
+ }
30
+ 100% {
31
+ opacity: 1;
32
+ }
33
+ }
34
+ @keyframes slide-up {
35
+ 0% {
36
+ transform: translateY(10px);
37
+ opacity: 0;
38
+ }
39
+ 100% {
40
+ transform: translateY(0);
41
+ opacity: 1;
42
+ }
43
+ }
44
+ @keyframes countdown-scale {
45
+ 0% {
46
+ transform: scale(0.5);
47
+ opacity: 0;
48
+ }
49
+ 50% {
50
+ transform: scale(1.2);
51
+ opacity: 1;
52
+ }
53
+ 100% {
54
+ transform: scale(1);
55
+ opacity: 1;
56
+ }
57
+ }
58
+ .Trigger_trigger__dtqfb {
59
+ -webkit-appearance: none;
60
+ -moz-appearance: none;
61
+ appearance: none;
62
+ background: none;
63
+ border: none;
64
+ padding: 0;
65
+ margin: 0;
66
+ font: inherit;
67
+ color: inherit;
68
+ cursor: pointer;
69
+ }
70
+ .Trigger_trigger__dtqfb:disabled {
71
+ cursor: not-allowed;
72
+ }
73
+ .Trigger_trigger__dtqfb {
74
+ position: fixed;
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ gap: 0.5rem;
79
+ padding: 0.625rem 1rem;
80
+ border-radius: 9999px;
81
+ font-weight: 500;
82
+ font-size: 0.875rem;
83
+ line-height: 1.5;
84
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
85
+ background-color: #dc2626;
86
+ color: white;
87
+ transition-property: all;
88
+ transition-duration: 200ms;
89
+ transition-timing-function: ease-out;
90
+ }
91
+ .Trigger_trigger__dtqfb:hover:not(:disabled) {
92
+ background-color: #b91c1c;
93
+ transform: scale(1.05);
94
+ }
95
+ .Trigger_trigger__dtqfb:active:not(:disabled) {
96
+ background-color: #991b1b;
97
+ transform: scale(0.95);
98
+ }
99
+ .Trigger_trigger__dtqfb:focus {
100
+ outline: none;
101
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
102
+ }
103
+ .Trigger_trigger__dtqfb:disabled {
104
+ opacity: 0.5;
105
+ cursor: not-allowed;
106
+ }
107
+ .Trigger_trigger__dtqfb:disabled:hover {
108
+ background-color: #dc2626;
109
+ transform: none;
110
+ }
111
+
112
+ .Trigger_topLeft__dtqfb {
113
+ top: 1rem;
114
+ left: 1rem;
115
+ }
116
+
117
+ .Trigger_topRight__dtqfb {
118
+ top: 1rem;
119
+ right: 1rem;
120
+ }
121
+
122
+ .Trigger_bottomLeft__dtqfb {
123
+ bottom: 1rem;
124
+ left: 1rem;
125
+ }
126
+
127
+ .Trigger_bottomRight__dtqfb {
128
+ bottom: 1rem;
129
+ right: 1rem;
130
+ }
131
+
132
+ .Trigger_icon__dtqfb {
133
+ width: 1.25rem;
134
+ height: 1.25rem;
135
+ }
136
+
1
137
  /* components/Status/StatusBadge.module.scss */
2
138
  @keyframes pulse {
3
139
  0%, 100% {
@@ -657,7 +793,7 @@
657
793
  color: #6b7280;
658
794
  }
659
795
 
660
- /* components/Trigger/Trigger.module.scss */
796
+ /* components/Controls/RecordingControls.module.scss */
661
797
  @keyframes pulse {
662
798
  0%, 100% {
663
799
  opacity: 1;
@@ -714,211 +850,126 @@
714
850
  opacity: 1;
715
851
  }
716
852
  }
717
- .Trigger_trigger__dtqfb {
718
- -webkit-appearance: none;
719
- -moz-appearance: none;
720
- appearance: none;
721
- background: none;
722
- border: none;
723
- padding: 0;
724
- margin: 0;
725
- font: inherit;
726
- color: inherit;
727
- cursor: pointer;
728
- }
729
- .Trigger_trigger__dtqfb:disabled {
730
- cursor: not-allowed;
731
- }
732
- .Trigger_trigger__dtqfb {
853
+ .RecordingControls_controls__aqrrv {
733
854
  position: fixed;
734
855
  display: flex;
735
856
  align-items: center;
736
857
  justify-content: center;
737
- gap: 0.5rem;
858
+ gap: 0.75rem;
738
859
  padding: 0.625rem 1rem;
739
860
  border-radius: 9999px;
740
- font-weight: 500;
741
- font-size: 0.875rem;
742
- line-height: 1.5;
861
+ background-color: white;
743
862
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
744
- background-color: #dc2626;
745
- color: white;
746
- transition-property: all;
747
- transition-duration: 200ms;
748
- transition-timing-function: ease-out;
749
- }
750
- .Trigger_trigger__dtqfb:hover:not(:disabled) {
751
- background-color: #b91c1c;
752
- transform: scale(1.05);
753
- }
754
- .Trigger_trigger__dtqfb:active:not(:disabled) {
755
- background-color: #991b1b;
756
- transform: scale(0.95);
757
- }
758
- .Trigger_trigger__dtqfb:focus {
759
- outline: none;
760
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 0 0 2px white, 0 0 0 4px #ef4444;
761
- }
762
- .Trigger_trigger__dtqfb:disabled {
763
- opacity: 0.5;
764
- cursor: not-allowed;
863
+ border: 1px solid #e5e7eb;
864
+ animation: slide-up 300ms ease-out;
765
865
  }
766
- .Trigger_trigger__dtqfb:disabled:hover {
767
- background-color: #dc2626;
768
- transform: none;
866
+ .dark .RecordingControls_controls__aqrrv {
867
+ background-color: #1f2937;
868
+ border-color: #374151;
769
869
  }
770
870
 
771
- .Trigger_topLeft__dtqfb {
871
+ .RecordingControls_topLeft__aqrrv {
772
872
  top: 1rem;
773
873
  left: 1rem;
774
874
  }
775
875
 
776
- .Trigger_topRight__dtqfb {
876
+ .RecordingControls_topRight__aqrrv {
777
877
  top: 1rem;
778
878
  right: 1rem;
779
879
  }
780
880
 
781
- .Trigger_bottomLeft__dtqfb {
881
+ .RecordingControls_bottomLeft__aqrrv {
782
882
  bottom: 1rem;
783
883
  left: 1rem;
784
884
  }
785
885
 
786
- .Trigger_bottomRight__dtqfb {
886
+ .RecordingControls_bottomRight__aqrrv {
787
887
  bottom: 1rem;
788
888
  right: 1rem;
789
889
  }
790
890
 
791
- .Trigger_icon__dtqfb {
792
- width: 1.25rem;
793
- height: 1.25rem;
891
+ .RecordingControls_statusSection__aqrrv {
892
+ display: flex;
893
+ align-items: center;
894
+ justify-content: center;
895
+ gap: 0.5rem;
794
896
  }
795
897
 
796
- /* components/Preview/VideoPlayer.module.scss */
797
- @keyframes pulse {
798
- 0%, 100% {
799
- opacity: 1;
800
- }
801
- 50% {
802
- opacity: 0.5;
803
- }
898
+ .RecordingControls_statusIndicator__aqrrv {
899
+ display: flex;
900
+ align-items: center;
901
+ justify-content: center;
902
+ gap: 0.375rem;
804
903
  }
805
- @keyframes pulse-record {
806
- 0%, 100% {
807
- opacity: 1;
808
- }
809
- 50% {
810
- opacity: 0.5;
811
- }
904
+
905
+ .RecordingControls_statusRecording__aqrrv {
906
+ color: #ef4444;
812
907
  }
813
- @keyframes spin {
814
- from {
815
- transform: rotate(0deg);
816
- }
817
- to {
818
- transform: rotate(360deg);
819
- }
908
+
909
+ .RecordingControls_statusPaused__aqrrv {
910
+ color: #f59e0b;
820
911
  }
821
- @keyframes fade-in {
822
- 0% {
823
- opacity: 0;
824
- }
825
- 100% {
826
- opacity: 1;
827
- }
828
- }
829
- @keyframes slide-up {
830
- 0% {
831
- transform: translateY(10px);
832
- opacity: 0;
833
- }
834
- 100% {
835
- transform: translateY(0);
836
- opacity: 1;
837
- }
838
- }
839
- @keyframes countdown-scale {
840
- 0% {
841
- transform: scale(0.5);
842
- opacity: 0;
843
- }
844
- 50% {
845
- transform: scale(1.2);
846
- opacity: 1;
847
- }
848
- 100% {
849
- transform: scale(1);
850
- opacity: 1;
851
- }
852
- }
853
- .VideoPlayer_container__4wok5 {
854
- position: relative;
855
- background-color: black;
856
- border-radius: 0.5rem;
857
- overflow: hidden;
912
+
913
+ .RecordingControls_recordingIcon__aqrrv {
914
+ width: 0.75rem;
915
+ height: 0.75rem;
916
+ animation: pulse-record 1s ease-in-out infinite;
858
917
  }
859
918
 
860
- .VideoPlayer_video__4wok5 {
861
- width: 100%;
862
- height: auto;
919
+ .RecordingControls_pauseIconSmall__aqrrv {
920
+ width: 0.75rem;
921
+ height: 0.75rem;
863
922
  }
864
923
 
865
- .VideoPlayer_controlsOverlay__4wok5 {
866
- position: absolute;
867
- bottom: 0;
868
- left: 0;
869
- right: 0;
870
- background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
871
- padding: 0.75rem;
924
+ .RecordingControls_statusLabel__aqrrv {
925
+ font-size: 0.75rem;
926
+ line-height: 1.5;
927
+ font-weight: 600;
928
+ text-transform: uppercase;
872
929
  }
873
930
 
874
- .VideoPlayer_progressWrapper__4wok5 {
931
+ .RecordingControls_buttonGroup__aqrrv {
875
932
  display: flex;
876
933
  align-items: center;
877
934
  justify-content: center;
878
- gap: 0.5rem;
879
- margin-bottom: 0.5rem;
935
+ gap: 0.25rem;
936
+ margin-left: 0.5rem;
880
937
  }
881
938
 
882
- .VideoPlayer_progressSlider__4wok5 {
883
- flex: 1;
884
- height: 0.25rem;
885
- border-radius: 9999px;
939
+ .RecordingControls_controlButton__aqrrv {
886
940
  -webkit-appearance: none;
887
941
  -moz-appearance: none;
888
942
  appearance: none;
943
+ background: none;
944
+ border: none;
945
+ padding: 0;
946
+ margin: 0;
947
+ font: inherit;
948
+ color: inherit;
889
949
  cursor: pointer;
890
- background-color: rgba(255, 255, 255, 0.3);
891
950
  }
892
- .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
893
- -webkit-appearance: none;
894
- appearance: none;
895
- width: 0.75rem;
896
- height: 0.75rem;
897
- border-radius: 9999px;
898
- background-color: white;
951
+ .RecordingControls_controlButton__aqrrv:disabled {
952
+ cursor: not-allowed;
899
953
  }
900
- .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
901
- width: 0.75rem;
902
- height: 0.75rem;
954
+ .RecordingControls_controlButton__aqrrv {
955
+ padding: 0.5rem;
903
956
  border-radius: 9999px;
904
- background-color: white;
905
- border: none;
957
+ transition-property: color, background-color, border-color;
958
+ transition-duration: 200ms;
959
+ transition-timing-function: ease-out;
906
960
  }
907
-
908
- .VideoPlayer_bottomControls__4wok5 {
909
- display: flex;
910
- align-items: center;
911
- justify-content: space-between;
961
+ .RecordingControls_controlButton__aqrrv:hover:not(:disabled) {
962
+ background-color: #f3f4f6;
912
963
  }
913
-
914
- .VideoPlayer_leftControls__4wok5 {
915
- display: flex;
916
- align-items: center;
917
- justify-content: center;
918
- gap: 0.5rem;
964
+ .RecordingControls_controlButton__aqrrv:focus {
965
+ outline: none;
966
+ box-shadow: 0 0 0 2px white, 0 0 0 4px #3b82f6;
967
+ }
968
+ .dark .RecordingControls_controlButton__aqrrv:hover:not(:disabled) {
969
+ background-color: #374151;
919
970
  }
920
971
 
921
- .VideoPlayer_playButton__4wok5 {
972
+ .RecordingControls_stopButton__aqrrv {
922
973
  -webkit-appearance: none;
923
974
  -moz-appearance: none;
924
975
  appearance: none;
@@ -930,39 +981,46 @@
930
981
  color: inherit;
931
982
  cursor: pointer;
932
983
  }
933
- .VideoPlayer_playButton__4wok5:disabled {
984
+ .RecordingControls_stopButton__aqrrv:disabled {
934
985
  cursor: not-allowed;
935
986
  }
936
- .VideoPlayer_playButton__4wok5 {
937
- padding: 0.375rem;
987
+ .RecordingControls_stopButton__aqrrv {
988
+ padding: 0.5rem;
938
989
  border-radius: 9999px;
939
990
  transition-property: color, background-color, border-color;
940
991
  transition-duration: 200ms;
941
992
  transition-timing-function: ease-out;
942
993
  }
943
- .VideoPlayer_playButton__4wok5:hover {
944
- background-color: rgba(255, 255, 255, 0.2);
994
+ .RecordingControls_stopButton__aqrrv:hover:not(:disabled) {
995
+ background-color: #fee2e2;
945
996
  }
946
- .VideoPlayer_playButton__4wok5:focus {
997
+ .RecordingControls_stopButton__aqrrv:focus {
947
998
  outline: none;
948
- box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
999
+ box-shadow: 0 0 0 2px white, 0 0 0 4px #ef4444;
1000
+ }
1001
+ .dark .RecordingControls_stopButton__aqrrv:hover:not(:disabled) {
1002
+ background-color: rgba(127, 29, 29, 0.3);
949
1003
  }
950
1004
 
951
- .VideoPlayer_playIcon__4wok5 {
1005
+ .RecordingControls_buttonIcon__aqrrv {
952
1006
  width: 1rem;
953
1007
  height: 1rem;
954
- color: white;
1008
+ color: #4b5563;
1009
+ }
1010
+ .dark .RecordingControls_buttonIcon__aqrrv {
1011
+ color: #d1d5db;
955
1012
  }
956
1013
 
957
- .VideoPlayer_timeDisplay__4wok5 {
958
- color: rgba(255, 255, 255, 0.8);
959
- font-size: 0.75rem;
960
- line-height: 1.5;
961
- font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
962
- font-variant-numeric: tabular-nums;
1014
+ .RecordingControls_stopIcon__aqrrv {
1015
+ width: 1rem;
1016
+ height: 1rem;
1017
+ color: #dc2626;
1018
+ }
1019
+ .dark .RecordingControls_stopIcon__aqrrv {
1020
+ color: #f87171;
963
1021
  }
964
1022
 
965
- /* components/Controls/RecordingControls.module.scss */
1023
+ /* ScreenRecorder.module.scss */
966
1024
  @keyframes pulse {
967
1025
  0%, 100% {
968
1026
  opacity: 1;
@@ -1019,177 +1077,32 @@
1019
1077
  opacity: 1;
1020
1078
  }
1021
1079
  }
1022
- .RecordingControls_controls__aqrrv {
1023
- position: fixed;
1024
- display: flex;
1025
- align-items: center;
1026
- justify-content: center;
1027
- gap: 0.75rem;
1028
- padding: 0.625rem 1rem;
1029
- border-radius: 9999px;
1030
- background-color: white;
1031
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
1032
- border: 1px solid #e5e7eb;
1033
- animation: slide-up 300ms ease-out;
1034
- }
1035
- .dark .RecordingControls_controls__aqrrv {
1036
- background-color: #1f2937;
1037
- border-color: #374151;
1038
- }
1039
-
1040
- .RecordingControls_topLeft__aqrrv {
1041
- top: 1rem;
1042
- left: 1rem;
1043
- }
1044
-
1045
- .RecordingControls_topRight__aqrrv {
1046
- top: 1rem;
1047
- right: 1rem;
1080
+ .ScreenRecorder_spinner__l636w {
1081
+ animation: spin 1s linear infinite;
1082
+ width: 1rem;
1083
+ height: 1rem;
1048
1084
  }
1049
1085
 
1050
- .RecordingControls_bottomLeft__aqrrv {
1051
- bottom: 1rem;
1052
- left: 1rem;
1086
+ .ScreenRecorder_spinnerTrack__l636w {
1087
+ opacity: 0.25;
1053
1088
  }
1054
1089
 
1055
- .RecordingControls_bottomRight__aqrrv {
1056
- bottom: 1rem;
1057
- right: 1rem;
1090
+ .ScreenRecorder_spinnerHead__l636w {
1091
+ opacity: 0.75;
1058
1092
  }
1059
1093
 
1060
- .RecordingControls_statusSection__aqrrv {
1094
+ .ScreenRecorder_requestingContent__l636w {
1061
1095
  display: flex;
1062
1096
  align-items: center;
1063
1097
  justify-content: center;
1064
1098
  gap: 0.5rem;
1065
1099
  }
1066
1100
 
1067
- .RecordingControls_statusIndicator__aqrrv {
1068
- display: flex;
1069
- align-items: center;
1070
- justify-content: center;
1071
- gap: 0.375rem;
1072
- }
1073
-
1074
- .RecordingControls_statusRecording__aqrrv {
1075
- color: #ef4444;
1076
- }
1077
-
1078
- .RecordingControls_statusPaused__aqrrv {
1079
- color: #f59e0b;
1080
- }
1081
-
1082
- .RecordingControls_recordingIcon__aqrrv {
1083
- width: 0.75rem;
1084
- height: 0.75rem;
1085
- animation: pulse-record 1s ease-in-out infinite;
1086
- }
1087
-
1088
- .RecordingControls_pauseIconSmall__aqrrv {
1089
- width: 0.75rem;
1090
- height: 0.75rem;
1091
- }
1092
-
1093
- .RecordingControls_statusLabel__aqrrv {
1094
- font-size: 0.75rem;
1095
- line-height: 1.5;
1096
- font-weight: 600;
1097
- text-transform: uppercase;
1098
- }
1099
-
1100
- .RecordingControls_buttonGroup__aqrrv {
1101
- display: flex;
1102
- align-items: center;
1103
- justify-content: center;
1104
- gap: 0.25rem;
1105
- margin-left: 0.5rem;
1106
- }
1107
-
1108
- .RecordingControls_controlButton__aqrrv {
1109
- -webkit-appearance: none;
1110
- -moz-appearance: none;
1111
- appearance: none;
1112
- background: none;
1113
- border: none;
1114
- padding: 0;
1115
- margin: 0;
1116
- font: inherit;
1117
- color: inherit;
1118
- cursor: pointer;
1119
- }
1120
- .RecordingControls_controlButton__aqrrv:disabled {
1121
- cursor: not-allowed;
1122
- }
1123
- .RecordingControls_controlButton__aqrrv {
1124
- padding: 0.5rem;
1125
- border-radius: 9999px;
1126
- transition-property: color, background-color, border-color;
1127
- transition-duration: 200ms;
1128
- transition-timing-function: ease-out;
1129
- }
1130
- .RecordingControls_controlButton__aqrrv:hover:not(:disabled) {
1131
- background-color: #f3f4f6;
1132
- }
1133
- .RecordingControls_controlButton__aqrrv:focus {
1134
- outline: none;
1135
- box-shadow: 0 0 0 2px white, 0 0 0 4px #3b82f6;
1136
- }
1137
- .dark .RecordingControls_controlButton__aqrrv:hover:not(:disabled) {
1138
- background-color: #374151;
1139
- }
1140
-
1141
- .RecordingControls_stopButton__aqrrv {
1142
- -webkit-appearance: none;
1143
- -moz-appearance: none;
1144
- appearance: none;
1145
- background: none;
1146
- border: none;
1147
- padding: 0;
1148
- margin: 0;
1149
- font: inherit;
1150
- color: inherit;
1151
- cursor: pointer;
1152
- }
1153
- .RecordingControls_stopButton__aqrrv:disabled {
1154
- cursor: not-allowed;
1155
- }
1156
- .RecordingControls_stopButton__aqrrv {
1157
- padding: 0.5rem;
1158
- border-radius: 9999px;
1159
- transition-property: color, background-color, border-color;
1160
- transition-duration: 200ms;
1161
- transition-timing-function: ease-out;
1162
- }
1163
- .RecordingControls_stopButton__aqrrv:hover:not(:disabled) {
1164
- background-color: #fee2e2;
1165
- }
1166
- .RecordingControls_stopButton__aqrrv:focus {
1167
- outline: none;
1168
- box-shadow: 0 0 0 2px white, 0 0 0 4px #ef4444;
1169
- }
1170
- .dark .RecordingControls_stopButton__aqrrv:hover:not(:disabled) {
1171
- background-color: rgba(127, 29, 29, 0.3);
1172
- }
1173
-
1174
- .RecordingControls_buttonIcon__aqrrv {
1175
- width: 1rem;
1176
- height: 1rem;
1177
- color: #4b5563;
1178
- }
1179
- .dark .RecordingControls_buttonIcon__aqrrv {
1180
- color: #d1d5db;
1181
- }
1182
-
1183
- .RecordingControls_stopIcon__aqrrv {
1184
- width: 1rem;
1185
- height: 1rem;
1186
- color: #dc2626;
1187
- }
1188
- .dark .RecordingControls_stopIcon__aqrrv {
1189
- color: #f87171;
1101
+ .ScreenRecorder_opacityReduced__l636w {
1102
+ opacity: 0.75;
1190
1103
  }
1191
1104
 
1192
- /* ScreenRecorder.module.scss */
1105
+ /* components/Preview/VideoPlayer.module.scss */
1193
1106
  @keyframes pulse {
1194
1107
  0%, 100% {
1195
1108
  opacity: 1;
@@ -1246,29 +1159,116 @@
1246
1159
  opacity: 1;
1247
1160
  }
1248
1161
  }
1249
- .ScreenRecorder_spinner__l636w {
1250
- animation: spin 1s linear infinite;
1251
- width: 1rem;
1252
- height: 1rem;
1162
+ .VideoPlayer_container__4wok5 {
1163
+ position: relative;
1164
+ background-color: black;
1165
+ border-radius: 0.5rem;
1166
+ overflow: hidden;
1253
1167
  }
1254
1168
 
1255
- .ScreenRecorder_spinnerTrack__l636w {
1256
- opacity: 0.25;
1169
+ .VideoPlayer_video__4wok5 {
1170
+ width: 100%;
1171
+ height: auto;
1257
1172
  }
1258
1173
 
1259
- .ScreenRecorder_spinnerHead__l636w {
1260
- opacity: 0.75;
1174
+ .VideoPlayer_controlsOverlay__4wok5 {
1175
+ position: absolute;
1176
+ bottom: 0;
1177
+ left: 0;
1178
+ right: 0;
1179
+ background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
1180
+ padding: 0.75rem;
1261
1181
  }
1262
1182
 
1263
- .ScreenRecorder_requestingContent__l636w {
1183
+ .VideoPlayer_progressWrapper__4wok5 {
1264
1184
  display: flex;
1265
1185
  align-items: center;
1266
1186
  justify-content: center;
1267
1187
  gap: 0.5rem;
1188
+ margin-bottom: 0.5rem;
1268
1189
  }
1269
1190
 
1270
- .ScreenRecorder_opacityReduced__l636w {
1271
- opacity: 0.75;
1191
+ .VideoPlayer_progressSlider__4wok5 {
1192
+ flex: 1;
1193
+ height: 0.25rem;
1194
+ border-radius: 9999px;
1195
+ -webkit-appearance: none;
1196
+ -moz-appearance: none;
1197
+ appearance: none;
1198
+ cursor: pointer;
1199
+ background-color: rgba(255, 255, 255, 0.3);
1200
+ }
1201
+ .VideoPlayer_progressSlider__4wok5::-webkit-slider-thumb {
1202
+ -webkit-appearance: none;
1203
+ appearance: none;
1204
+ width: 0.75rem;
1205
+ height: 0.75rem;
1206
+ border-radius: 9999px;
1207
+ background-color: white;
1208
+ }
1209
+ .VideoPlayer_progressSlider__4wok5::-moz-range-thumb {
1210
+ width: 0.75rem;
1211
+ height: 0.75rem;
1212
+ border-radius: 9999px;
1213
+ background-color: white;
1214
+ border: none;
1215
+ }
1216
+
1217
+ .VideoPlayer_bottomControls__4wok5 {
1218
+ display: flex;
1219
+ align-items: center;
1220
+ justify-content: space-between;
1221
+ }
1222
+
1223
+ .VideoPlayer_leftControls__4wok5 {
1224
+ display: flex;
1225
+ align-items: center;
1226
+ justify-content: center;
1227
+ gap: 0.5rem;
1228
+ }
1229
+
1230
+ .VideoPlayer_playButton__4wok5 {
1231
+ -webkit-appearance: none;
1232
+ -moz-appearance: none;
1233
+ appearance: none;
1234
+ background: none;
1235
+ border: none;
1236
+ padding: 0;
1237
+ margin: 0;
1238
+ font: inherit;
1239
+ color: inherit;
1240
+ cursor: pointer;
1241
+ }
1242
+ .VideoPlayer_playButton__4wok5:disabled {
1243
+ cursor: not-allowed;
1244
+ }
1245
+ .VideoPlayer_playButton__4wok5 {
1246
+ padding: 0.375rem;
1247
+ border-radius: 9999px;
1248
+ transition-property: color, background-color, border-color;
1249
+ transition-duration: 200ms;
1250
+ transition-timing-function: ease-out;
1251
+ }
1252
+ .VideoPlayer_playButton__4wok5:hover {
1253
+ background-color: rgba(255, 255, 255, 0.2);
1254
+ }
1255
+ .VideoPlayer_playButton__4wok5:focus {
1256
+ outline: none;
1257
+ box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
1258
+ }
1259
+
1260
+ .VideoPlayer_playIcon__4wok5 {
1261
+ width: 1rem;
1262
+ height: 1rem;
1263
+ color: white;
1264
+ }
1265
+
1266
+ .VideoPlayer_timeDisplay__4wok5 {
1267
+ color: rgba(255, 255, 255, 0.8);
1268
+ font-size: 0.75rem;
1269
+ line-height: 1.5;
1270
+ font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
1271
+ font-variant-numeric: tabular-nums;
1272
1272
  }
1273
1273
 
1274
1274
  /* components/Preview/PreviewModal.module.scss */