mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-03 09:12:30 +00:00
lucide icons
This commit is contained in:
@@ -1,76 +1,60 @@
|
||||
<script lang="ts">
|
||||
import ToolbarItem from './ToolbarItem.svelte';
|
||||
import Fa from 'svelte-fa';
|
||||
import {
|
||||
faPencil,
|
||||
faStopwatch,
|
||||
faExchange,
|
||||
faPlusCircle,
|
||||
faListUl,
|
||||
faCopy,
|
||||
faMapMarkerAlt,
|
||||
faCompressAlt,
|
||||
faVectorSquare,
|
||||
faEyeSlash,
|
||||
faPalette,
|
||||
faFolderTree,
|
||||
faTrashAlt
|
||||
} from '@fortawesome/free-solid-svg-icons';
|
||||
ArrowRightLeft,
|
||||
Group,
|
||||
CalendarClock,
|
||||
Pencil,
|
||||
SquareDashedMousePointer,
|
||||
Ungroup,
|
||||
MapPin,
|
||||
Shrink,
|
||||
Palette,
|
||||
FolderTree
|
||||
} from 'lucide-svelte';
|
||||
</script>
|
||||
|
||||
<div class="absolute top-0 bottom-0 left-0 z-10 flex flex-col justify-center pointer-events-none">
|
||||
<div class="flex flex-col p-1 gap-1 bg-background rounded-md pointer-events-auto shadow-md">
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faPencil} />
|
||||
<Pencil slot="icon" size="18" />
|
||||
<span slot="tooltip">Edit the track points</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faStopwatch} />
|
||||
<CalendarClock slot="icon" size="18" />
|
||||
<span slot="tooltip">Change time and speed data</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faExchange} />
|
||||
<ArrowRightLeft slot="icon" size="18" />
|
||||
<span slot="tooltip">Reverse the order of the track points</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faPlusCircle} />
|
||||
<Group slot="icon" size="18" />
|
||||
<span slot="tooltip">Merge with another file</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faListUl} />
|
||||
<Ungroup slot="icon" size="18" />
|
||||
<span slot="tooltip">Extract the tracks or track segments to new files</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faCopy} />
|
||||
<span slot="tooltip">Duplicate the file</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faMapMarkerAlt} />
|
||||
<MapPin slot="icon" size="18" />
|
||||
<span slot="tooltip">Create a new point of interest</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faCompressAlt} />
|
||||
<Shrink slot="icon" size="18" />
|
||||
<span slot="tooltip">Reduce the number of track points</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faVectorSquare} />
|
||||
<SquareDashedMousePointer slot="icon" size="18" />
|
||||
<span slot="tooltip">Clean track points and POIs with a rectangle selection</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faEyeSlash} />
|
||||
<span slot="tooltip">Hide/unhide the trace</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faPalette} />
|
||||
<Palette slot="icon" size="18" />
|
||||
<span slot="tooltip">Change the styling of the trace</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faFolderTree} />
|
||||
<FolderTree slot="icon" size="18" />
|
||||
<span slot="tooltip">Manage the file structure</span>
|
||||
</ToolbarItem>
|
||||
<ToolbarItem>
|
||||
<Fa slot="icon" icon={faTrashAlt} />
|
||||
<span slot="tooltip">Delete the file</span>
|
||||
</ToolbarItem>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user