Spaces:
Running
Running
File size: 1,465 Bytes
3aea7c6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
<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> |