mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 14:55:37 +00:00
better stop recording button visual tweak
This commit is contained in:
@@ -95,8 +95,6 @@
|
||||
color: #4eeeb0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.menuCard {
|
||||
width: 300px;
|
||||
max-height: 400px;
|
||||
@@ -252,6 +250,13 @@
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.stopSquare {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.recDotBlink {
|
||||
animation: blink 1.2s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,11 @@
|
||||
import { MicrophoneIcon, MicrophoneSlashIcon, MinusIcon, PauseIcon, PlayIcon, SquareIcon, XIcon } from "@phosphor-icons/react";
|
||||
import {
|
||||
MicrophoneIcon,
|
||||
MicrophoneSlashIcon,
|
||||
MinusIcon,
|
||||
PauseIcon,
|
||||
PlayIcon,
|
||||
XIcon,
|
||||
} from "@phosphor-icons/react";
|
||||
import { useMemo } from "react";
|
||||
import { useScopedT } from "@/contexts/I18nContext";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -94,17 +101,15 @@ export const RecordingControls = ({
|
||||
)}
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
variant="ghost"
|
||||
size="icon"
|
||||
iconSize="lg"
|
||||
<button
|
||||
type="button"
|
||||
onClick={onStopRecording}
|
||||
title={t("recording.stop")}
|
||||
aria-label={t("recording.stop")}
|
||||
className={styles.ibRed}
|
||||
className={`${styles.recBtn} ${styles.electronNoDrag}`}
|
||||
>
|
||||
<SquareIcon size={16} fill="currentColor" strokeWidth={0} />
|
||||
</Button>
|
||||
<span className={styles.stopSquare} />
|
||||
</button>
|
||||
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
||||
Reference in New Issue
Block a user