LeRobot-Arena / src /lib /components /panel /ControlPanel.svelte
blanchon's picture
squash: initial commit
3aea7c6
raw
history blame
1.47 kB
<script lang="ts">
import { settings } from "$lib/configs/settings.svelte";
import RobotControlPanel from "./RobotControlPanel.svelte";
interface Props {}
let {}: Props = $props();
</script>
<div class="space-y-6">
<!-- Robot Control Section -->
<RobotControlPanel />
</div>
<style>
.slider::-webkit-slider-thumb {
appearance: none;
height: 18px;
width: 18px;
border-radius: 50%;
background: #38bdf8; /* sky-400 */
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
border: 2px solid #0f172a; /* slate-900 */
}
.slider::-moz-range-thumb {
height: 18px;
width: 18px;
border-radius: 50%;
background: #38bdf8; /* sky-400 */
cursor: pointer;
border: 2px solid #0f172a; /* slate-900 */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.slider::-webkit-slider-track {
background: #475569; /* slate-600 */
border-radius: 4px;
height: 8px;
}
.slider::-moz-range-track {
background: #475569; /* slate-600 */
border-radius: 4px;
height: 8px;
border: none;
}
.slider:hover::-webkit-slider-thumb {
background: #0ea5e9; /* sky-500 */
transform: scale(1.1);
}
.slider:hover::-moz-range-thumb {
background: #0ea5e9; /* sky-500 */
transform: scale(1.1);
}
</style>