style
This commit is contained in:
@@ -21,7 +21,7 @@ const value = useVModel(props, 'modelValue', emit);
|
||||
<input type="checkbox" class="appearance-none transition-colors cursor-pointer w-14 h-7 rounded-full" v-model="value" />
|
||||
<span class="absolute font-medium text-xs right-1"> Buy </span>
|
||||
<span class="absolute font-medium text-xs right-8"> Sell </span>
|
||||
<span class="w-7 h-7 right-7 absolute rounded-full transform transition-transform bg-slate-200" />
|
||||
<span class="w-7 h-7 right-7 absolute rounded-full transform transition-transform bg-slate-100" />
|
||||
</label>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
}
|
||||
|
||||
button {
|
||||
@apply py-0.5 px-2 border rounded bg-slate-600 hover:bg-slate-800;
|
||||
@apply py-0.5 px-2 border rounded bg-slate-600 hover:bg-slate-800;
|
||||
}
|
||||
input {
|
||||
@apply border bg-slate-500 rounded px-1;
|
||||
|
||||
Reference in New Issue
Block a user