| 1 |
.wpsc-ai-action-buttons { |
| 2 |
display: flex; |
| 3 |
gap: 8px; |
| 4 |
margin: 5px 0px 0px 5px; |
| 5 |
align-self: flex-start; |
| 6 |
} |
| 7 |
|
| 8 |
.wpsc-ai-action-buttons button { |
| 9 |
background: #ffffff; |
| 10 |
border: 1px solid #d1d1d1; |
| 11 |
border-radius: 6px; |
| 12 |
padding: 5px 12px; |
| 13 |
font-size: 12px; |
| 14 |
font-weight: 500; |
| 15 |
cursor: pointer; |
| 16 |
color: #333; |
| 17 |
transition: all 0.2s ease; |
| 18 |
} |
| 19 |
|
| 20 |
.wpsc-ai-action-buttons button:hover { |
| 21 |
background-color: #f0f0f0; |
| 22 |
border-color: #bbb; |
| 23 |
} |
| 24 |
.wpsc-input-group .extra-info { |
| 25 |
font-size: 11px; |
| 26 |
margin-bottom: 5px; |
| 27 |
} |
| 28 |
|
| 29 |
.wpsc-input-group .wpsc-ps-range { |
| 30 |
display: flex; |
| 31 |
align-items: center; |
| 32 |
gap: 10px; |
| 33 |
} |
| 34 |
|
| 35 |
.label-container .required-indicator { |
| 36 |
color: #ff0000; |
| 37 |
margin-left: 5px; |
| 38 |
} |
| 39 |
|
| 40 |
.wpsc-modal-body { |
| 41 |
display: flex; |
| 42 |
flex-direction: column; |
| 43 |
border-bottom: none !important; |
| 44 |
} |
| 45 |
|
| 46 |
.wpsc-ticket-summary-section { |
| 47 |
margin-bottom: 15px; |
| 48 |
margin-top: 20px; |
| 49 |
} |
| 50 |
|
| 51 |
.wpsc-ticket-summary-section ul { |
| 52 |
list-style-type: disc !important; |
| 53 |
padding-left: 40px !important; |
| 54 |
} |
| 55 |
|
| 56 |
.wpsc-ticket-summary-content h3 { |
| 57 |
color: #ff8f2b; |
| 58 |
margin-top: 0; |
| 59 |
margin-bottom: 12px; |
| 60 |
font-weight: 600; |
| 61 |
} |
| 62 |
|
| 63 |
.wpsc-ticket-summary-result { |
| 64 |
font-size: 15px; |
| 65 |
color: #333; |
| 66 |
} |
| 67 |
|
| 68 |
.wpsc-ai-assistance-header { |
| 69 |
display: flex; |
| 70 |
justify-content: space-between; |
| 71 |
} |
| 72 |
|
| 73 |
.wpsc-ai-assistance-header .wpsc-ai-assistance-header-close { |
| 74 |
width: 12px; |
| 75 |
cursor: pointer; |
| 76 |
} |
| 77 |
|
| 78 |
.wpsc-customer-reply-message { |
| 79 |
align-self: flex-end; |
| 80 |
background-color: #e3f2fd; |
| 81 |
border-bottom-right-radius: 4px !important; |
| 82 |
border: 1px solid #c2e2f9; |
| 83 |
max-width: 80%; |
| 84 |
padding: 10px 15px; |
| 85 |
border-radius: 18px; |
| 86 |
font-size: 14px; |
| 87 |
line-height: 1.5; |
| 88 |
color: #000000; |
| 89 |
word-wrap: break-word; |
| 90 |
margin: 5px; |
| 91 |
} |
| 92 |
|
| 93 |
.wpsc-ai-reply-message { |
| 94 |
align-self: flex-start; |
| 95 |
background-color: #f1f1f1; |
| 96 |
border-bottom-left-radius: 4px !important; |
| 97 |
border: 1px solid #e0e0e0; |
| 98 |
max-width: 80%; |
| 99 |
padding: 10px 15px; |
| 100 |
border-radius: 18px; |
| 101 |
font-size: 14px; |
| 102 |
line-height: 1.5; |
| 103 |
color: #000000; |
| 104 |
word-wrap: break-word; |
| 105 |
margin: 5px; |
| 106 |
} |
| 107 |
|
| 108 |
/* Loading div */ |
| 109 |
.wpsc-ai-loader { |
| 110 |
display: flex; |
| 111 |
justify-content: flex-end; |
| 112 |
margin-top: 5px; |
| 113 |
} |
| 114 |
|
| 115 |
.wpsc-ai-loader img { |
| 116 |
width: 15px; |
| 117 |
} |
| 118 |
|
| 119 |
.wpsc-ai-assistance-chatbox { |
| 120 |
display: flex; |
| 121 |
flex-direction: column; |
| 122 |
} |
| 123 |
|
| 124 |
.wpsc-ticket-summary-btn-container { |
| 125 |
display: flex; |
| 126 |
justify-content: center; |
| 127 |
align-items: center; |
| 128 |
padding: 10px 20px 20px 20px; |
| 129 |
} |
| 130 |
|
| 131 |
.wpsc-ticket-summary-container { |
| 132 |
padding-bottom: 10px; |
| 133 |
} |
| 134 |
|
| 135 |
.wpsc-input-area { |
| 136 |
border-top: 1px solid #eee; |
| 137 |
background: #fafafa; |
| 138 |
} |
| 139 |
|
| 140 |
.wpsc-improve-auto-draft-reply, |
| 141 |
.wpsc-ai-chat-textarea { |
| 142 |
width: 100%; |
| 143 |
height: 80px; |
| 144 |
padding: 12px; |
| 145 |
border: 1px solid #ddd; |
| 146 |
border-radius: 8px; |
| 147 |
resize: none; /* Keeps the UI clean */ |
| 148 |
font-family: inherit; |
| 149 |
font-size: 14px; |
| 150 |
box-sizing: border-box; |
| 151 |
outline: none; |
| 152 |
transition: border-color 0.2s; |
| 153 |
} |
| 154 |
|
| 155 |
.wpsc-improve-auto-draft-reply:focus, |
| 156 |
.wpsc-ai-chat-textarea:focus { |
| 157 |
border-color: #999; |
| 158 |
background: #fff; |
| 159 |
} |
| 160 |
|
| 161 |
.wpsc-modal-body { |
| 162 |
border-bottom: none !important; |
| 163 |
} |
| 164 |
|
| 165 |
/* Container styling */ |
| 166 |
.wpsc-ai-training-list-actions-container { |
| 167 |
display: flex; |
| 168 |
flex-wrap: wrap; |
| 169 |
justify-content: space-between; |
| 170 |
align-items: center; |
| 171 |
gap: 15px; |
| 172 |
width: 100%; |
| 173 |
} |
| 174 |
|
| 175 |
/* Left Group (Select and Button) */ |
| 176 |
.wpsc-ai-training-list-actions { |
| 177 |
display: flex; |
| 178 |
align-items: center; |
| 179 |
gap: 10px; |
| 180 |
flex: 1; |
| 181 |
justify-content: flex-start; |
| 182 |
} |
| 183 |
|
| 184 |
/* Right Group (Search) */ |
| 185 |
.wpsc-ai-training-list-actions-search { |
| 186 |
flex: 0 1 auto; |
| 187 |
display: flex; |
| 188 |
justify-content: flex-end; |
| 189 |
} |
| 190 |
|
| 191 |
.wpsc-ai-training-list-container .dt-search { |
| 192 |
display: none !important; |
| 193 |
} |
| 194 |
|
| 195 |
/* Responsive: Stack vertically on small devices (Tablets/Phones) */ |
| 196 |
@media (max-width: 768px) { |
| 197 |
.wpsc-ai-training-list-actions-container { |
| 198 |
flex-direction: column; |
| 199 |
align-items: stretch; |
| 200 |
} |
| 201 |
|
| 202 |
.wpsc-ai-training-list-actions { |
| 203 |
width: 100%; |
| 204 |
justify-content: space-between; /* Keeps select and button side-by-side */ |
| 205 |
} |
| 206 |
|
| 207 |
.wpsc-ai-training-list-actions-search { |
| 208 |
width: 100%; |
| 209 |
} |
| 210 |
|
| 211 |
/* Force the input box inside to take full width on mobile */ |
| 212 |
.wpsc-ai-training-list-actions-search input { |
| 213 |
width: 100%; |
| 214 |
} |
| 215 |
} |
| 216 |
|
| 217 |
#wpsc-bulk-actions-btn, |
| 218 |
#wpsc-file-upload-bulk-actions-btn { |
| 219 |
display: flex; |
| 220 |
align-items: center; |
| 221 |
} |
| 222 |
|
| 223 |
#wpsc-bulk-actions-btn svg, |
| 224 |
#wpsc-file-upload-bulk-actions-btn svg { |
| 225 |
height: 13px; |
| 226 |
margin-right: 15px; |
| 227 |
} |
| 228 |
|
| 229 |
/* Edit screen: gap between the In Queue count and its "Retry Upload" link. */ |
| 230 |
.wpsc-ait-retry-upload-link { |
| 231 |
margin-left: 10px; |
| 232 |
} |
| 233 |
|
| 234 |
/* Sources list table: overall per-source upload status badge - see |
| 235 |
WPSC_PS_AI_Setting_AI_Training::get_source_upload_status(). */ |
| 236 |
.wpsc-ait-upload-status { |
| 237 |
display: inline-block; |
| 238 |
padding: 3px 10px; |
| 239 |
border-radius: 4px; |
| 240 |
font-size: 12px; |
| 241 |
font-weight: 600; |
| 242 |
white-space: nowrap; |
| 243 |
} |
| 244 |
|
| 245 |
.wpsc-ait-upload-status--completed { |
| 246 |
background-color: #edfaef; |
| 247 |
color: #1a7f37; |
| 248 |
} |
| 249 |
|
| 250 |
.wpsc-ait-upload-status--uploading { |
| 251 |
background-color: #e3f2fd; |
| 252 |
color: #2271b1; |
| 253 |
} |
| 254 |
|
| 255 |
.wpsc-ait-upload-status--queued { |
| 256 |
background-color: #fef8e7; |
| 257 |
color: #8a6100; |
| 258 |
} |
| 259 |
|
| 260 |
.wpsc-ait-upload-status--failed { |
| 261 |
background-color: #fcedee; |
| 262 |
color: #d63638; |
| 263 |
} |
| 264 |
|
| 265 |
.wpsc-ait-upload-status--not-synced { |
| 266 |
background-color: #f1f1f1; |
| 267 |
color: #666; |
| 268 |
} |