| @@ -115,9 +115,114 @@ | ||
| 115 | 115 | color: #666666; |
| 116 | 116 | border: 1px solid #ddd; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | +.wpforo-ai-status-badge.status-enabled { | |
| 120 | + background: #d4edda; | |
| 121 | + color: #155724; | |
| 122 | + border: 1px solid #c3e6cb; | |
| 123 | +} | |
| 124 | + | |
| 125 | +.wpforo-ai-status-badge.status-disabled { | |
| 126 | + background: #f5f5f5; | |
| 127 | + color: #666666; | |
| 128 | + border: 1px solid #ddd; | |
| 129 | +} | |
| 130 | + | |
| 131 | +.wpforo-ai-status-badge.status-processing, | |
| 132 | +.wpforo-ai-status-badge.status-queued { | |
| 133 | + background: #fff3cd; | |
| 134 | + color: #856404; | |
| 135 | + border: 1px solid #ffeeba; | |
| 136 | +} | |
| 137 | + | |
| 138 | +.wpforo-ai-status-badge.status-processing .wpforo-ai-mini-spinner, | |
| 139 | +.wpforo-ai-status-badge.status-queued .wpforo-ai-mini-spinner { | |
| 140 | + display: inline-block; | |
| 141 | + width: 10px; | |
| 142 | + height: 10px; | |
| 143 | + border: 2px solid #ffeeba; | |
| 144 | + border-top-color: #856404; | |
| 145 | + border-radius: 50%; | |
| 146 | + animation: wpforo-mini-spin 0.8s linear infinite; | |
| 147 | + margin: 0 10px 0 2px; | |
| 148 | + vertical-align: text-bottom; | |
| 149 | +} | |
| 150 | + | |
| 151 | +.wpforo-ai-status-badge.status-deleting .wpforo-ai-mini-spinner { | |
| 152 | + display: inline-block; | |
| 153 | + width: 10px; | |
| 154 | + height: 10px; | |
| 155 | + border: 2px solid #f5c6cb; | |
| 156 | + border-top-color: #721c24; | |
| 157 | + border-radius: 50%; | |
| 158 | + animation: wpforo-mini-spin 0.8s linear infinite; | |
| 159 | + margin: 0 10px 0 2px; | |
| 160 | + vertical-align: text-bottom; | |
| 161 | +} | |
| 162 | + | |
| 163 | +@keyframes wpforo-mini-spin { | |
| 164 | + to { transform: rotate(360deg); } | |
| 165 | +} | |
| 166 | + | |
| 119 | 167 | /* ========================================================================== |
| 168 | + Knowledge Files Table | |
| 169 | + ========================================================================== */ | |
| 170 | + | |
| 171 | +#knowledge-files-table { | |
| 172 | + table-layout: fixed; | |
| 173 | +} | |
| 174 | + | |
| 175 | +#knowledge-files-table .column-name { | |
| 176 | + width: 30%; | |
| 177 | +} | |
| 178 | + | |
| 179 | +#knowledge-files-table .column-type { | |
| 180 | + width: 10%; | |
| 181 | +} | |
| 182 | + | |
| 183 | +#knowledge-files-table .column-size { | |
| 184 | + width: 10%; | |
| 185 | +} | |
| 186 | + | |
| 187 | +#knowledge-files-table .column-chunks { | |
| 188 | + width: 10%; | |
| 189 | +} | |
| 190 | + | |
| 191 | +#knowledge-files-table .column-credits { | |
| 192 | + width: 10%; | |
| 193 | +} | |
| 194 | + | |
| 195 | +#knowledge-files-table .column-status { | |
| 196 | + width: 12%; | |
| 197 | +} | |
| 198 | + | |
| 199 | +#knowledge-files-table .column-actions { | |
| 200 | + width: 18%; | |
| 201 | +} | |
| 202 | + | |
| 203 | +#knowledge-files-table .column-actions .wpforo-ai-delete-file { | |
| 204 | + background: none; | |
| 205 | + border: none; | |
| 206 | + padding: 4px; | |
| 207 | + cursor: pointer; | |
| 208 | + color: #b32d2e; | |
| 209 | + line-height: 1.2; | |
| 210 | +} | |
| 211 | + | |
| 212 | +#knowledge-files-table .column-actions .wpforo-ai-delete-file:hover { | |
| 213 | + color: #a00; | |
| 214 | +} | |
| 215 | + | |
| 216 | +#knowledge-files-table tfoot td { | |
| 217 | + font-weight: 500; | |
| 218 | +} | |
| 219 | + | |
| 220 | +#knowledge-files-table tfoot .column-name { | |
| 221 | + font-weight: 600; | |
| 222 | +} | |
| 223 | + | |
| 224 | +/* ========================================================================== | |
| 120 | 225 | Pending Approval State |
| 121 | 226 | ========================================================================== */ |
| 122 | 227 | |
| 123 | 228 | .wpforo-ai-pending-approval .wpforo-ai-description { |
| @@ -780,9 +885,9 @@ | ||
| 780 | 885 | Pricing Table - Modern 2025 Design |
| 781 | 886 | ========================================================================== */ |
| 782 | 887 | |
| 783 | 888 | .wpforo-ai-pricing-table { |
| 784 | - margin: 30px 0; | |
| 889 | + margin: 0 0; | |
| 785 | 890 | overflow-x: auto; |
| 786 | 891 | } |
| 787 | 892 | |
| 788 | 893 | /* Modern Table Styling */ |
| @@ -1486,9 +1591,9 @@ | ||
| 1486 | 1591 | border: 1px solid #ccd0d4; |
| 1487 | 1592 | border-bottom: none; |
| 1488 | 1593 | color: #555; |
| 1489 | 1594 | font-size: 15px; |
| 1490 | - padding: 15px 30px; | |
| 1595 | + padding: 12px 15px; | |
| 1491 | 1596 | margin-left: 0; |
| 1492 | 1597 | margin-right: 5px; |
| 1493 | 1598 | transition: all 0.2s ease; |
| 1494 | 1599 | } |
| @@ -2936,8 +3041,26 @@ | ||
| 2936 | 3041 | } |
| 2937 | 3042 | |
| 2938 | 3043 | .wpforo-ai-breakdown-note em { |
| 2939 | 3044 | font-style: normal; |
| 3045 | +} | |
| 3046 | + | |
| 3047 | +.wpforo-ai-breakdown-loading { | |
| 3048 | + display: inline-flex; | |
| 3049 | + align-items: center; | |
| 3050 | + gap: 6px; | |
| 3051 | + padding: 8px 12px; | |
| 3052 | + background: #f8f9fa; | |
| 3053 | + border: 1px solid #e2e8f0; | |
| 3054 | + border-radius: 6px; | |
| 3055 | + color: #64748b; | |
| 3056 | + font-size: 13px; | |
| 3057 | +} | |
| 3058 | + | |
| 3059 | +.wpforo-ai-breakdown-loading .dashicons { | |
| 3060 | + font-size: 16px; | |
| 3061 | + width: 16px; | |
| 3062 | + height: 16px; | |
| 2940 | 3063 | } |
| 2941 | 3064 | |
| 2942 | 3065 | .wpforo-ai-index-all-stats { |
| 2943 | 3066 | display: flex; |