components
4 days ago
faqs
4 days ago
Support.jsx
4 days ago
route.jsx
4 days ago
submit-ticket.js
3 months ago
support.css
4 days ago
utils.js
4 days ago
support.css
104 lines
| 1 | .advads-support-wrap .advads-card { |
| 2 | @apply text-sm; |
| 3 | |
| 4 | a:not(footer a, .button) { |
| 5 | @apply text-gray-900 underline-offset-3 focus:shadow-none; |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | a.advads-view-all-link { |
| 10 | @apply no-underline text-blue-500! flex items-center gap-2 focus:shadow-none; |
| 11 | @apply hover:underline hover:underline-offset-4; |
| 12 | |
| 13 | svg { |
| 14 | @apply stroke-blue-500 size-4; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | .advads-file-uploader { |
| 19 | .dropzone { |
| 20 | @apply relative flex flex-col items-center justify-center w-full h-44 border border-dashed border-gray-500 rounded-lg cursor-pointer; |
| 21 | |
| 22 | &:hover, |
| 23 | &.dragover { |
| 24 | @apply border-blue-500 bg-blue-50; |
| 25 | } |
| 26 | |
| 27 | &.limit-reached { |
| 28 | @apply opacity-50 pointer-events-none border-gray-500; |
| 29 | } |
| 30 | |
| 31 | input[type="file"] { |
| 32 | @apply absolute inset-0 opacity-0 cursor-pointer w-full h-full; |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | .upload-hints { |
| 37 | @apply text-xs mt-0 mb-4 px-6 space-x-2 text-center; |
| 38 | } |
| 39 | |
| 40 | .file-count-badge { |
| 41 | @apply inline-block text-xs font-semibold text-blue-500 bg-blue-50 rounded-full px-2.5 py-1 my-4; |
| 42 | |
| 43 | &.at-limit { |
| 44 | @apply text-orange-500 bg-orange-100; |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | .error-box { |
| 49 | @apply bg-red-50 border border-red-200 rounded-lg p-4 mb-4; |
| 50 | |
| 51 | p { |
| 52 | @apply text-xs font-semibold text-red-500 m-0; |
| 53 | } |
| 54 | |
| 55 | ul { |
| 56 | @apply list-disc list-inside; |
| 57 | } |
| 58 | |
| 59 | li { |
| 60 | @apply text-xs text-red-500; |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | .selected-files-container { |
| 65 | @apply flex flex-col gap-4; |
| 66 | } |
| 67 | |
| 68 | .file-item { |
| 69 | @apply flex items-center gap-4 bg-gray-100 rounded-lg py-2.5 px-4 border border-gray-200; |
| 70 | } |
| 71 | |
| 72 | .file-image { |
| 73 | @apply size-14 rounded-md overflow-hidden flex items-center justify-center shrink-0 bg-gray-200 text-gray-400 text-lg; |
| 74 | |
| 75 | img { |
| 76 | @apply w-full h-full object-cover; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .file-detail { |
| 81 | @apply flex-1 min-w-0; |
| 82 | |
| 83 | h6 { |
| 84 | @apply text-xs font-semibold text-gray-900 whitespace-nowrap overflow-hidden text-ellipsis m-0; |
| 85 | } |
| 86 | |
| 87 | p { |
| 88 | @apply text-xs text-gray-500 mt-0.5 mb-1; |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | .file-actions { |
| 93 | @apply flex gap-2 flex-wrap; |
| 94 | } |
| 95 | |
| 96 | .file-action-btn { |
| 97 | @apply text-xs px-3 py-1.5 rounded-md border border-gray-300 bg-white text-gray-500 cursor-pointer no-underline transition-all duration-150 inline-block; |
| 98 | |
| 99 | &:hover { |
| 100 | @apply bg-red-500 text-white border-red-500; |
| 101 | } |
| 102 | } |
| 103 | } |
| 104 |