forked from almeidapaulopt/tsdproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
198 lines (184 loc) · 4.62 KB
/
styles.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
@import "tailwindcss";
@source "../internal/ui/*.templ";
@source "index.html";
@variant dark (&:where(.tsdproxy-dark, .tsdproxy-dark *, [data-theme=tsdproxy-dark], [data-theme=tsdproxy-dark] *));
@plugin "daisyui" {
themes: tsdproxy-light --default, tsdproxy-dark;
}
@import "./tsdproxy-light.css";
@import "./tsdproxy-dark.css";
@layer base {
html {
scroll-behavior: smooth;
@apply h-full;
}
}
@layer components {
#proxy-list {
/* @apply grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-rows-5 gap-4 px-4 mt-8 sm:px-7; */
@apply flex flex-wrap gap-4 px-4 mt-8 sm:px-7;
.proxy {
@apply grow;
&:has(.tooltip-content:not(:empty)) {
@apply tooltip tooltip-bottom;
}
a {
@apply card card-side card-xs shadow-md bg-base-200 min-w-52 basis-sm grow;
&.disabled {
@apply pointer-events-none;
}
figure {
@apply size-20 bg-primary p-4;
}
.status {
@apply badge badge-secondary badge-xs;
}
}
}
}
}
/**/
/* @layer base { */
/* html { */
/* } */
/**/
/* a { */
/* @apply hover:text-blue-500 dark:hover:text-blue-400 rounded-md card; */
/**/
/* &.disabled { */
/* @apply hover:text-gray-900 dark:hover:text-gray-100 pointer-events-none bg-gray-700 hover:bg-gray-700; */
/* } */
/* } */
/**/
/**/
/**/
/* body { */
/**/
/* @apply h-full bg-gradient-to-br from-gray-200 to-white dark:bg-gradient-to-br dark:from-neutral-900 dark:to-gray-800 text-gray-900 dark:text-gray-100 flex flex-col; */
/**/
/**/
/**/
/* } */
/**/
/* header { */
/* @apply bg-gray-100 dark:bg-gray-800 shadow p-4 flex justify-between items-center; */
/**/
/* #logo { */
/* @apply flex items-center space-x-4; */
/**/
/* a { */
/* @apply flex items-center space-x-2; */
/**/
/* img { */
/* @apply w-10 h-10; */
/* } */
/**/
/* span { */
/* @apply text-xl font-bold; */
/* } */
/* } */
/* } */
/**/
/* #menu-toggle { */
/* @apply md:hidden flex items-center px-3 py-2 border rounded-md text-gray-500 dark:text-gray-400 border-gray-500 dark:border-gray-400 hover:text-blue-500 dark:hover:text-blue-400; */
/* } */
/* } */
/**/
/* main { */
/* @apply p-6 flex-grow; */
/**/
/* } */
/**/
/* footer { */
/* @apply bg-gray-100 dark:bg-gray-800 p-4 text-center mt-auto; */
/* } */
/**/
/* } */
/**/
/**/
/* @layer components { */
/**/
/* #desktop-menu { */
/* @apply hidden md:flex items-center space-x-4; */
/* } */
/**/
/* #mobile-menu { */
/* @apply md:hidden bg-gray-100 dark:bg-gray-800 shadow p-4; */
/**/
/* a { */
/* @apply block py-2; */
/* } */
/**/
/* .sponsor { */
/* @apply block w-full text-left; */
/* } */
/* } */
/**/
/* .sponsor { */
/* @apply bg-blue-500 hover:bg-blue-600 dark:bg-blue-400 dark:hover:bg-blue-500 text-white px-4 py-2 rounded; */
/* } */
/**/
/**/
/* .theme-switcher { */
/* @apply relative w-20 h-8 bg-gray-300 dark:bg-gray-700 rounded-full flex items-center p-1 cursor-pointer; */
/**/
/* .switch-indicator { */
/* @apply absolute w-7 h-7 bg-white dark:bg-black rounded-full shadow transform transition-transform; */
/* } */
/**/
/* .sun { */
/* @apply absolute left-2 text-sm; */
/* } */
/**/
/* .moon { */
/* @apply absolute right-2 text-sm; */
/* } */
/* } */
/**/
/* #proxy-list { */
/* @apply grid grid-cols-1 gap-4 px-4 mt-8 sm:grid-cols-4 sm:px-8; */
/**/
/* a { */
/* @apply flex items-center rounded-sm overflow-hidden shadow bg-gray-100 dark:bg-gray-800 dark:shadow-neutral-950 shadow-sm hover:bg-gray-200 dark:hover:bg-gray-900; */
/**/
/* &.disabled { */
/* @apply bg-gray-700 hover:bg-gray-700; */
/**/
/* .icon { */
/* @apply bg-gray-600 hover:bg-gray-600; */
/**/
/* img { */
/* @apply fill-gray-500 dark:fill-gray-500 stroke-gray-500 dark:stroke-gray-500 filter grayscale contrast-50; */
/* } */
/* } */
/* } */
/**/
/* .icon { */
/* @apply p-4 bg-blue-500 dark:bg-blue-400; */
/**/
/* img { */
/* @apply h-12 w-12 text-white; */
/* } */
/* } */
/**/
/* .text { */
/* @apply px-4; */
/**/
/* span { */
/* @apply text-xs tracking-wider; */
/* } */
/**/
/* p { */
/* @apply text-xl; */
/* } */
/* } */
/**/
/* &:hover { */
/* .icon { */
/* @apply bg-blue-600 dark:bg-blue-500; */
/* } */
/**/
/* } */
/* } */
/* } */
/* } */