forked from FoundKeyGang/FoundKey
chore(client): tweak range control design
This commit is contained in:
parent
9a1e6bf10f
commit
22ded9e3f8
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="timctyfi" :class="{ disabled }">
|
<div class="timctyfi" :class="{ disabled }">
|
||||||
<div class="label"><slot name="label"></slot></div>
|
<div class="label"><slot name="label"></slot></div>
|
||||||
<div v-panel class="body">
|
<div v-adaptive-border class="body">
|
||||||
<div ref="containerEl" class="container">
|
<div ref="containerEl" class="container">
|
||||||
<div class="track">
|
<div class="track">
|
||||||
<div class="highlight" :style="{ width: (steppedValue * 100) + '%' }"></div>
|
<div class="highlight" :style="{ width: (steppedValue * 100) + '%' }"></div>
|
||||||
|
@ -192,6 +192,8 @@ export default defineComponent({
|
||||||
|
|
||||||
> .body {
|
> .body {
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
background: var(--panel);
|
||||||
|
border: solid 1px var(--panel);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
|
||||||
> .container {
|
> .container {
|
||||||
|
|
Loading…
Reference in a new issue