autocomplete.js
3 months ago
submit-ticket.js
3 months ago
support.css
3 months ago
support.js
3 months ago
support.css
170 lines
| 1 | @import "../partials/tailwind.css"; |
| 2 | |
| 3 | @source "../../../views/admin/support/"; |
| 4 | |
| 5 | .advads-wrap > .notice { |
| 6 | @apply hidden; |
| 7 | } |
| 8 | |
| 9 | .advads-support-wrap .advads-card { |
| 10 | @apply text-sm; |
| 11 | |
| 12 | a:not(footer a, .button) { |
| 13 | @apply text-gray-900 underline-offset-3 focus:shadow-none; |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | a.advads-view-all-link { |
| 18 | @apply no-underline text-blue-500! flex items-center gap-2 focus:shadow-none; |
| 19 | @apply hover:underline hover:underline-offset-4; |
| 20 | |
| 21 | svg { |
| 22 | @apply stroke-blue-500 size-4; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | .advads-searchbox { |
| 27 | @apply relative mt-5 w-lg max-w-lg mx-auto; |
| 28 | |
| 29 | .input { |
| 30 | @apply border-border! rounded-lg px-4 py-3 w-full leading-0 focus:shadow-none placeholder:text-gray-400; |
| 31 | } |
| 32 | |
| 33 | .icon { |
| 34 | @apply absolute top-1/2 right-4 -translate-y-1/2 stroke-gray-600 size-4.5; |
| 35 | } |
| 36 | |
| 37 | .suggestions-list { |
| 38 | @apply absolute w-full bg-white text-left border border-border max-h-60 overflow-y-auto m-0 mt-0.75 rounded-lg shadow-lg hidden py-2; |
| 39 | |
| 40 | a { |
| 41 | @apply no-underline; |
| 42 | } |
| 43 | |
| 44 | li { |
| 45 | @apply py-2 px-4 cursor-pointer m-0; |
| 46 | } |
| 47 | |
| 48 | li.selected { |
| 49 | @apply bg-gray-100; |
| 50 | } |
| 51 | |
| 52 | .no-results { |
| 53 | @apply p-2.5 text-gray-400 cursor-default; |
| 54 | } |
| 55 | |
| 56 | .secondary-text { |
| 57 | @apply text-gray-400 block text-xs italic; |
| 58 | } |
| 59 | |
| 60 | &::-webkit-scrollbar { |
| 61 | @apply w-3; |
| 62 | } |
| 63 | |
| 64 | &::-webkit-scrollbar-track { |
| 65 | @apply bg-transparent shadow-none; |
| 66 | } |
| 67 | |
| 68 | &::-webkit-scrollbar-thumb { |
| 69 | @apply bg-border rounded-lg border-3 border-transparent bg-clip-content; |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | .advads-videos-grid { |
| 75 | iframe { |
| 76 | @apply aspect-video; |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | .advads-dialog-create-ticket .advads-dialog-footer { |
| 81 | @apply border-0 bg-transparent justify-end; |
| 82 | } |
| 83 | |
| 84 | .advads-file-uploader { |
| 85 | .dropzone { |
| 86 | @apply relative flex flex-col items-center justify-center w-full h-44 border border-dashed border-gray-500 rounded-lg cursor-pointer; |
| 87 | |
| 88 | &:hover, |
| 89 | &.dragover { |
| 90 | @apply border-blue-500 bg-blue-50; |
| 91 | } |
| 92 | |
| 93 | &.limit-reached { |
| 94 | @apply opacity-50 pointer-events-none border-gray-500; |
| 95 | } |
| 96 | |
| 97 | input[type="file"] { |
| 98 | @apply absolute inset-0 opacity-0 cursor-pointer w-full h-full; |
| 99 | } |
| 100 | } |
| 101 | |
| 102 | .upload-hints { |
| 103 | @apply text-xs mt-0 mb-4 px-6 space-x-2 text-center; |
| 104 | } |
| 105 | |
| 106 | .file-count-badge { |
| 107 | @apply inline-block text-xs font-semibold text-blue-500 bg-blue-50 rounded-full px-2.5 py-1 my-4; |
| 108 | |
| 109 | &.at-limit { |
| 110 | @apply text-orange-500 bg-orange-100; |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | .error-box { |
| 115 | @apply bg-red-50 border border-red-200 rounded-lg p-4 mb-4 hidden; |
| 116 | |
| 117 | p { |
| 118 | @apply text-xs font-semibold text-red-500 m-0; |
| 119 | } |
| 120 | |
| 121 | ul { |
| 122 | @apply list-disc list-inside; |
| 123 | } |
| 124 | |
| 125 | li { |
| 126 | @apply text-xs text-red-500; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | .selected-files-container { |
| 131 | @apply flex flex-col gap-4; |
| 132 | } |
| 133 | |
| 134 | .file-item { |
| 135 | @apply flex items-center gap-4 bg-gray-100 rounded-lg py-2.5 px-4 border border-gray-200; |
| 136 | } |
| 137 | |
| 138 | .file-image { |
| 139 | @apply size-14 rounded-md overflow-hidden flex items-center justify-center shrink-0 bg-gray-200 text-gray-400 text-lg; |
| 140 | |
| 141 | img { |
| 142 | @apply w-full h-full object-cover; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | .file-detail { |
| 147 | @apply flex-1 min-w-0; |
| 148 | |
| 149 | h6 { |
| 150 | @apply text-xs font-semibold text-gray-900 whitespace-nowrap overflow-hidden text-ellipsis m-0; |
| 151 | } |
| 152 | |
| 153 | p { |
| 154 | @apply text-xs text-gray-500 mt-0.5 mb-1; |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | .file-actions { |
| 159 | @apply flex gap-2 flex-wrap; |
| 160 | } |
| 161 | |
| 162 | .file-action-btn { |
| 163 | @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; |
| 164 | |
| 165 | &:hover { |
| 166 | @apply bg-red-500 text-white border-red-500; |
| 167 | } |
| 168 | } |
| 169 | } |
| 170 |