more styling updates

This commit is contained in:
Test 2024-11-15 15:59:49 -08:00
parent 0909f83d65
commit bcd82c9011
2 changed files with 10 additions and 6 deletions

View file

@ -27,15 +27,19 @@ export default function AcceptRejectAllButtons({
className="flex cursor-pointer items-center border-none bg-transparent px-2 py-1 text-xs text-gray-300 opacity-80 hover:opacity-100 hover:brightness-125"
onClick={() => handleAcceptOrReject("rejectDiff")}
>
<XMarkIcon className="mr-1 h-4 w-4" />
Reject all changes
<XMarkIcon className="mr-1 h-4 w-4 text-red-600" />
<span className="sm:hidden">Reject</span>
<span className="max-sm:hidden md:hidden">Reject all</span>
<span className="max-md:hidden">Reject all changes</span>
</button>
<button
className="flex cursor-pointer items-center border-none bg-transparent px-2 py-1 text-xs text-gray-300 opacity-80 hover:opacity-100 hover:brightness-125"
onClick={() => handleAcceptOrReject("acceptDiff")}
>
<CheckIcon className="mr-1 h-4 w-4" />
Accept all changes
<CheckIcon className="mr-1 h-4 w-4 text-green-600" />
<span className="sm:hidden">Accept</span>
<span className="max-sm:hidden md:hidden">Accept all</span>
<span className="max-md:hidden">Accept all changes</span>
</button>
</div>
);

View file

@ -43,7 +43,7 @@ export default function ApplyActions(props: ApplyActionsProps) {
onClick={onClickReject}
tooltipContent={`Reject all (${getMetaKeyLabel()}⇧⌫)`}
>
<XMarkIcon className="h-4 w-4 text-red-600" />
<XMarkIcon className="h-4 w-4 text-red-600 hover:brightness-125" />
</ToolbarButtonWithTooltip>
<ToolbarButtonWithTooltip
@ -59,7 +59,7 @@ export default function ApplyActions(props: ApplyActionsProps) {
return (
<span className="flex items-center rounded bg-zinc-700 text-slate-400 max-sm:px-0.5 sm:pl-2">
<span className="max-sm:hidden">Applied</span>
<CheckIcon className="h-4 w-4 hover:brightness-125 sm:pl-1" />
<CheckIcon className="h-4 w-4 hover:brightness-125 sm:px-1" />
</span>
);
}