-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
81 lines (78 loc) · 2.15 KB
/
index.css
File metadata and controls
81 lines (78 loc) · 2.15 KB
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
@import url("https://rsms.me/inter/inter.css");
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
/*@apply focus:rounded-md focus:outline-none focus:ring focus:ring-offset-2*/
}
html,
body {
font-family: "Inter var", sans-serif;
@apply h-full w-full bg-neutral-900 text-neutral-300;
}
#app {
@apply h-full w-full;
}
a {
@apply underline underline-offset-2 transition-all duration-100;
}
input {
@apply rounded-md border border-neutral-700 bg-neutral-800 py-1 pl-2
text-sm text-neutral-300 caret-neutral-400 focus:outline-none
focus:ring-1 focus:ring-neutral-500;
}
textarea {
@apply rounded-md border border-neutral-700 bg-neutral-800 text-sm
text-neutral-300 caret-neutral-400 focus:outline-none
focus:ring-1 focus:ring-neutral-500;
}
label {
@apply text-sm font-medium text-white;
}
}
@layer components {
.btn {
@apply cursor-pointer rounded-lg border border-neutral-500 bg-neutral-600 py-1
px-4 text-sm font-semibold text-white
shadow-md ring-neutral-400 transition-all duration-100 hover:border-neutral-400
focus:ring-1 disabled:cursor-not-allowed disabled:border-neutral-400/20
disabled:bg-neutral-700/20;
}
.btn-primary {
@apply btn border-violet-500 bg-violet-600 text-white ring-violet-500
hover:border-violet-400 focus:ring-1 disabled:border-violet-500/20
disabled:bg-violet-600/20;
}
.btn-confirm {
@apply btn border-green-600 bg-green-700 text-white ring-green-600
hover:border-green-400 focus:ring-1 disabled:border-green-500/20
disabled:bg-green-600/20;
}
.btn-deny {
@apply btn border-rose-600 bg-rose-700 text-white ring-rose-600
hover:border-rose-400 focus:ring-1 disabled:border-rose-500/20
disabled:bg-rose-600/20;
}
.check {
@apply appearance-none rounded-sm bg-neutral-800 p-1.5 checked:bg-neutral-400;
}
.check-primary {
@apply check checked:bg-violet-600;
}
.link-primary {
@apply text-violet-500 hover:text-violet-400;
}
.error,
.success {
@apply mt-1 text-sm text-red-500;
}
.success {
@apply text-green-500;
}
}
@layer utilities {
.field-wrapper {
@apply flex flex-col;
}
}