-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
121 lines (104 loc) · 2.39 KB
/
index.css
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
@import url(https://fonts.bunny.net/css?family=ibm-plex-sans:400) layer(base);
@import 'tailwindcss';
@config './tailwind.config.js';
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
}
@utility input {
@apply inline-block w-full py-2 px-3 rounded-xs bg-gray-700 border border-gray-900 shadow-xs;
&.input-sm {
@apply py-1 px-2 text-sm;
}
&.input-xs {
@apply py-0.5 px-1 text-xs;
}
}
@utility input-sm {
&.input {
@apply py-1 px-2 text-sm;
}
}
@utility input-xs {
&.input {
@apply py-0.5 px-1 text-xs;
}
}
@utility btn {
@apply py-2 px-3 text-sm rounded-xs transition
border border-gray-900 hover:border-primary-700 hover:bg-primary-700 hover:text-white;
&.btn-sm {
@apply py-1 px-2 text-sm;
}
&.btn-xs {
@apply py-0.5 px-2 text-xxs;
}
&.btn-primary {
@apply border-primary-600 hover:border-primary-700 bg-primary-600 hover:bg-primary-700;
}
&.btn-danger {
@apply border-red-600 hover:border-red-700 bg-red-600 hover:bg-red-700;
}
}
@utility btn-sm {
&.btn {
@apply py-1 px-2 text-sm;
}
}
@utility btn-xs {
&.btn {
@apply py-0.5 px-2 text-xxs;
}
}
@utility btn-primary {
&.btn {
@apply border-primary-600 hover:border-primary-700 bg-primary-600 hover:bg-primary-700;
}
}
@utility btn-danger {
&.btn {
@apply border-red-600 hover:border-red-700 bg-red-600 hover:bg-red-700;
}
}
@layer base {
.title svg,
svg.icon {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
font-size: inherit;
width: 1em;
height: 1em;
overflow: visible;
vertical-align: -0.125em;
}
.title svg path,
svg.icon path {
fill: currentColor;
}
.location-item:last-of-type {
border-bottom: 0;
}
.location-item:hover .location-item-remove {
display: inline-block;
}
.cursor-zoom-out {
cursor: zoom-out;
}
}