Compare commits

...

2 Commits

Author SHA1 Message Date
0026cba23d postcss 2023-10-02 09:30:26 +02:00
c587fb75f2 cleanup ui 2023-10-01 22:04:01 +02:00
9 changed files with 8 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ const route = useRoute();
</template>
</template>
<style scoped>
<style scoped lang="postcss">
div.main-container {
@apply px-4 sm:ml-64;
}

View File

@@ -46,7 +46,7 @@ useEventListener('keyup', e => {
</Transition>
</template>
<style scoped>
<style scoped lang="postcss">
.fade-enter-from, .fade-leave-to {
opacity: 0;

View File

@@ -118,7 +118,7 @@ const getLineColor = (result: Result) => {
</table>
</template>
<style scoped>
<style scoped lang="postcss">
div.end {
@apply justify-self-end ms-2;
}

View File

@@ -111,7 +111,7 @@ const getLineColor = (result: Result) => {
</table>
</template>
<style scoped>
<style scoped lang="postcss">
div.end {
@apply justify-self-end ms-2;
}

View File

@@ -17,7 +17,7 @@ import { RouterLink, RouterView } from 'vue-router';
</div>
</template>
<style scoped>
<style scoped lang="postcss">
a.tab {
@apply flex items-center px-4 me-2 rounded-t-md bg-slate-600 hover:bg-slate-700;
&.router-link-active {

View File

@@ -30,7 +30,6 @@ watch(() => trackedItemStore.items.value, async itms => {
<template>
<div class="mt-4">
<template v-if="items.length > 0">
<hr />
<TrackResultTable :items="items" @buy="(type, price, buy, sell) => buyModal?.open(type, { 'Price': price, 'Buy': buy, 'Sell': sell })" @sell="type => sellModal?.open(type)" />
<BuyModal ref="buyModal" />
<SellModal ref="sellModal" />

View File

@@ -25,7 +25,7 @@ const value = useVModel(props, 'modelValue', emit);
</label>
</template>
<style scoped>
<style scoped lang="postcss">
input:checked ~ span:last-child {
--tw-translate-x: 1.75rem;
}

View File

@@ -34,7 +34,7 @@ const logout = async () => {
</aside>
</template>
<style scoped>
<style scoped lang="postcss">
.router-link-active {
@apply bg-emerald-500 hover:bg-emerald-700;
}

View File

@@ -24,7 +24,7 @@ const emit = defineEmits<Emit>();
</th>
</template>
<style scoped>
<style scoped lang="postcss">
th {
@apply relative h-8 pe-3;
}