File size: 1,308 Bytes
683a499
 
 
0026ffb
 
683a499
 
0026ffb
 
683a499
 
0026ffb
 
683a499
 
0026ffb
683a499
 
0026ffb
683a499
91081ff
 
 
 
 
 
 
 
 
 
 
683a499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b1c16da
 
 
 
683a499
 
 
b1c16da
683a499
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Custom styles that can't be easily done with Tailwind */
.status-badge {
    @apply px-2 py-1 rounded text-xs font-medium;
}

.status-2xx {
    @apply bg-green-100 text-green-800;
}

.status-4xx {
    @apply bg-yellow-100 text-yellow-800;
}

.status-5xx {
    @apply bg-red-100 text-red-800;
}
.method-get {
    @apply bg-blue-100 text-blue-800;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

#modalEndpoint {
    @apply text-sm bg-gray-100 p-1 rounded font-mono;
}

.dark .status-badge {
    @apply bg-opacity-20;
}
.method-post {
    @apply bg-purple-100 text-purple-800;
}

.method-put {
    @apply bg-yellow-100 text-yellow-800;
}

.method-delete {
    @apply bg-red-100 text-red-800;
}

.method-patch {
    @apply bg-green-100 text-green-800;
}

/* Smooth scroll for modal */
.modal-content {
    scroll-behavior: smooth;
}
#errorModal .bg-white {
    max-height: 90vh;
    overflow-y: auto;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}