@smart-cloud/ai-kit-ui 1.2.7 → 1.3.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.
@@ -903,3 +903,55 @@
903
903
  transform: translateY(-4px);
904
904
  }
905
905
  }
906
+
907
+ /* Audio recording pulse animation */
908
+ @keyframes pulse {
909
+ 0% {
910
+ opacity: 1;
911
+ transform: scale(1);
912
+ }
913
+ 50% {
914
+ opacity: 0.7;
915
+ transform: scale(1.05);
916
+ }
917
+ 100% {
918
+ opacity: 1;
919
+ transform: scale(1);
920
+ }
921
+ }
922
+
923
+ /* Recording pulse button animation */
924
+ .recording-pulse {
925
+ animation: pulse 1.5s ease-in-out infinite !important;
926
+ }
927
+
928
+ /* Audio player styling */
929
+ .ai-kit-audio-player {
930
+ max-width: 100%;
931
+ max-height: 40px;
932
+ border-radius: var(--ai-kit-radius, 4px);
933
+ outline: none;
934
+ background: transparent;
935
+ border: none;
936
+ }
937
+
938
+ .ai-kit-audio-player::-webkit-media-controls-panel {
939
+ background: var(--ai-kit-color-surface-3, rgba(0, 0, 0, 0.03));
940
+ border: 1px solid var(--ai-kit-color-border, rgba(0, 0, 0, 0.12));
941
+ border-radius: var(--ai-kit-radius, 4px);
942
+ }
943
+
944
+ .ai-kit-audio-player::-webkit-media-controls-play-button,
945
+ .ai-kit-audio-player::-webkit-media-controls-mute-button {
946
+ background-color: transparent;
947
+ border-radius: 2px;
948
+ }
949
+
950
+ .ai-kit-audio-player::-webkit-media-controls-timeline {
951
+ border-radius: 2px;
952
+ }
953
+
954
+ .ai-kit-audio-player::-webkit-media-controls-current-time-display,
955
+ .ai-kit-audio-player::-webkit-media-controls-time-remaining-display {
956
+ border-radius: 0;
957
+ }