-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.vue
134 lines (106 loc) · 2.02 KB
/
app.vue
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<template>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
<Analytics />
</template>
<style lang="postcss">
::selection {
@apply bg-light-200 text-dark-900;
}
* {
@apply m-0 p-0 box-border;
@apply font-sans outline-none;
}
a,
button {
@apply bg-transparent decoration-none border-none;
@apply text-light-200 cursor-pointer select-none;
}
img {
@apply select-none;
}
input,
textarea {
@apply bg-transparent border-none transition-colors;
@apply text-light-200 py-4 text-sm;
@apply border-solid border-0 border-b-1 border-neutral-500;
}
input[type="color"] {
@apply w-full h-auto;
@apply cursor-pointer;
&::-webkit-color-swatch-wrapper {
@apply p-0;
}
&::-webkit-color-swatch {
@apply border-none;
}
}
fieldset {
@apply border-none;
}
form {
@apply flex flex-col;
> * {
@apply my-2;
}
> *:first-child {
@apply mt-0;
}
}
main {
@apply bg-dark-900 text-light-200 h-screen;
@apply overflow-x-hidden;
}
section {
@apply h-screen;
}
select {
@apply bg-transparent appearance-none;
@apply border-0! border-b-1! border-light-200;
@apply text-sm text-light-200
@apply py-4 cursor-pointer;
option {
@apply bg-dark-500 text-light-200;
}
}
textarea {
@apply resize-none;
}
.absolute-center {
@apply absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2;
}
.border-r {
@apply border-solid border-0 border-r-2 border-dark-200;
}
.disabled {
@apply opacity-50 pointer-events-none transition-opacity;
}
.fade-enter-from {
@apply opacity-0;
}
.fade-enter-to {
@apply opacity-100;
}
.fade-enter-active {
@apply transition-opacity duration-500;
}
.primaryButton {
@apply flex justify-center items-center;
@apply border-solid border-1 border-light-200 border-rd;
@apply px-4 py-2 transition-all;
@apply hover-bg-light-200 hover-text-dark-900;
[class*="i-"] {
@apply text-2xl;
}
}
.sortable-ghost {
@apply opacity-0;
}
.whitespace {
@apply h-6;
}
</style>
<script setup lang="ts">
import { Analytics } from "@vercel/analytics/nuxt";
</script>