Spaces:
Running
Running
File size: 3,954 Bytes
1eb007a be3b761 1fd4600 be3b761 1fd4600 1eb007a be3b761 1eb007a be3b761 1eb007a be3b761 1eb007a 1fd4600 1eb007a be3b761 1fd4600 1eb007a be3b761 1fd4600 be3b761 1eb007a be3b761 1eb007a be3b761 1eb007a be3b761 1eb007a 647b92b 1eb007a 647b92b 1eb007a 647b92b 1eb007a 647b92b 1eb007a 647b92b 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a 46fe10c 1eb007a |
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 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 |
/* Base styles */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
/* Tab styles */
.tab-btn.active {
border-bottom-color: #6366f1 !important;
color: #6366f1 !important;
}
/* File tree styles */
.tree-item {
display: flex;
align-items: center;
padding: 6px 0;
cursor: pointer;
border-radius: 4px;
margin: 2px 0;
}
.tree-item:hover {
background-color: #f3f4f6;
}
.tree-item .feather {
width: 16px;
height: 16px;
margin-right: 8px;
}
.tree-folder {
font-weight: 600;
}
.tree-children {
margin-top: 4px;
}
/* Checkbox styles */
input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
accent-color: #6366f1;
}
/* Code styles */
textarea {
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 13px;
line-height: 1.5;
resize: vertical;
}
/* Progress bar animation */
.transition-all {
transition: all 0.3s ease;
}
/* Button hover states */
button:disabled {
opacity: 0.5;
cursor: not-allowed;
}
button:not(:disabled):hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* Animations */
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes scaleIn {
from {
transform: scale(0.9);
opacity: 0;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.animate-spin {
animation: spin 1s linear infinite;
}
/* Notification styles */
.fixed.bottom-4.right-4 {
animation: slideIn 0.3s ease-out;
}
/* Modal styles */
#bookmarklet-modal {
animation: fadeIn 0.3s ease-out;
}
#bookmarklet-modal > div {
animation: scaleIn 0.3s ease-out;
}
/* File list styles */
#corrected-files-list .flex {
transition: all 0.3s ease;
}
#corrected-files-list .flex:hover {
background-color: #f9fafb;
transform: translateX(4px);
}
/* Responsive adjustments */
@media (max-width: 1024px) {
.grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.tab-btn {
font-size: 14px;
padding: 12px 16px;
}
.flex.gap-2 {
flex-direction: column;
}
.flex.gap-2 button {
width: 100%;
}
}
/* Custom scrollbar */
.overflow-y-auto::-webkit-scrollbar {
width: 8px;
}
.overflow-y-auto::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.overflow-y-auto::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
.overflow-y-auto::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* Drag and drop styles */
#drop-zone.drag-over {
border-color: #6366f1;
background-color: #f0f9ff;
}
/* Loading states */
.loading {
position: relative;
overflow: hidden;
}
.loading::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
animation: loading 1.5s infinite;
}
@keyframes loading {
to {
left: 100%;
}
}
/* Success/error states */
.success-state {
border-color: #10b981 !important;
background-color: #f0fdf4 !important;
}
.error-state {
border-color: #ef4444 !important;
background-color: #fef2f2 !important;
}
/* File type indicators */
.file-type-js { color: #f7df1e; }
.file-type-py { color: #3776ab; }
.file-type-html { color: #e34c26; }
.file-type-css { color: #1572b6; }
.file-type-json { color: #000; }
.file-type-md { color: #083fa1; }
|