| 1 |
/* Setting Screen */ |
| 2 |
.wpsc-settings-page { |
| 3 |
display: flex; |
| 4 |
} |
| 5 |
.wpsc-setting-section-container { |
| 6 |
width: 250px; |
| 7 |
min-width: 250px; |
| 8 |
display: flex; |
| 9 |
flex-wrap: wrap; |
| 10 |
flex-direction: column; |
| 11 |
align-items: center; |
| 12 |
justify-content: flex-start; |
| 13 |
padding: 0 10px 10px; |
| 14 |
margin-right: 30px; |
| 15 |
background-color: #fff; |
| 16 |
border-radius: 5px; |
| 17 |
box-shadow: 6px 6px 10px 0px #ced6e0; |
| 18 |
} |
| 19 |
.wpsc-setting-body { |
| 20 |
display: flex; |
| 21 |
flex-direction: column; |
| 22 |
align-items: flex-start; |
| 23 |
justify-content: flex-start; |
| 24 |
flex-wrap: wrap; |
| 25 |
flex-grow: 1; |
| 26 |
min-width: 0; |
| 27 |
} |
| 28 |
.wpsc-setting-header, |
| 29 |
.wpsc-setting-tab-container { |
| 30 |
display: flex; |
| 31 |
flex-wrap: wrap; |
| 32 |
width: 100%; |
| 33 |
align-items: center; |
| 34 |
margin-bottom: 10px; |
| 35 |
} |
| 36 |
.wpsc-setting-header h2 { |
| 37 |
font-size: 22px; |
| 38 |
font-weight: 300; |
| 39 |
margin: 15px 5px 15px 0; |
| 40 |
} |
| 41 |
.wpsc-setting-header-xs { |
| 42 |
margin-bottom: 15px; |
| 43 |
} |
| 44 |
.wpsc-setting-tab-container button { |
| 45 |
padding: 7px 15px; |
| 46 |
font-size: 16px; |
| 47 |
font-weight: normal; |
| 48 |
border: none !important; |
| 49 |
color: #6a6a6a; |
| 50 |
background-color: transparent; |
| 51 |
cursor: pointer; |
| 52 |
border-radius: 16px; |
| 53 |
margin: 0 5px 5px 0; |
| 54 |
} |
| 55 |
.wpsc-setting-tab-container button.active, |
| 56 |
.wpsc-setting-tab-container button:hover { |
| 57 |
color: #fff; |
| 58 |
background-color: #ffa04a; |
| 59 |
} |
| 60 |
.wpsc-setting-section-body { |
| 61 |
width: 100%; |
| 62 |
flex-grow: 1; |
| 63 |
border: none; |
| 64 |
box-shadow: 0 0 3px 0 #a4b0be; |
| 65 |
border-radius: 5px; |
| 66 |
padding: 15px; |
| 67 |
box-sizing: border-box; |
| 68 |
background-color: #fff; |
| 69 |
} |
| 70 |
|
| 71 |
/* Setting Cards */ |
| 72 |
.wpsc-setting-cards-container { |
| 73 |
width: 100%; |
| 74 |
display: flex; |
| 75 |
flex-wrap: wrap; |
| 76 |
} |
| 77 |
.wpsc-setting-card { |
| 78 |
width: 100%; |
| 79 |
display: flex; |
| 80 |
flex-wrap: wrap; |
| 81 |
align-items: center; |
| 82 |
background-color: #c7ecee; |
| 83 |
padding: 10px; |
| 84 |
color: #2d9ba1; |
| 85 |
border-radius: 5px; |
| 86 |
margin-bottom: 10px; |
| 87 |
} |
| 88 |
.wpsc-setting-card .actions { |
| 89 |
display: flex; |
| 90 |
justify-content: flex-end; |
| 91 |
align-items: center; |
| 92 |
flex-grow: 1; |
| 93 |
padding-left: 10px; |
| 94 |
gap: 10px; |
| 95 |
} |
| 96 |
.wpsc-setting-card span.title { |
| 97 |
font-size: 14px; |
| 98 |
font-weight: 600; |
| 99 |
} |
| 100 |
.wpsc-setting-card span.card-subtitle { |
| 101 |
font-size: 12px; |
| 102 |
font-weight: 300; |
| 103 |
font-style: italic; |
| 104 |
} |
| 105 |
.wpsc-setting-card span.wpsc-sort-handle { |
| 106 |
cursor: move !important; |
| 107 |
} |
| 108 |
.wpsc-setting-card span.action-btn { |
| 109 |
cursor: pointer; |
| 110 |
display: flex; |
| 111 |
align-items: center; |
| 112 |
} |
| 113 |
.wpsc-setting-card svg { |
| 114 |
height: 14px; |
| 115 |
margin-right: 5px; |
| 116 |
} |
| 117 |
.wpsc-setting-card img { |
| 118 |
border-radius: 5px; |
| 119 |
margin-right: 5px; |
| 120 |
} |
| 121 |
table.wpsc-setting-tbl td.sort-handle { |
| 122 |
width: 30px; |
| 123 |
max-width: 30px; |
| 124 |
text-align: center; |
| 125 |
cursor: move; |
| 126 |
} |
| 127 |
table.wpsc-setting-tbl td.sort-handle svg { |
| 128 |
width: 11px; |
| 129 |
color: #c3c3c3; |
| 130 |
} |
| 131 |
.wpsc-setting-card .title-container { |
| 132 |
height: 100%; |
| 133 |
display: flex; |
| 134 |
flex-direction: column; |
| 135 |
justify-content: flex-start; |
| 136 |
align-items: flex-start; |
| 137 |
} |
| 138 |
.wpsc-setting-card .title-container span.title { |
| 139 |
margin-bottom: 2px; |
| 140 |
} |
| 141 |
|
| 142 |
/* Dashboard cards enable/disable toggle switch (scoped/unique names to avoid |
| 143 |
colliding with the Productivity Suite add-on's own .wpsc-toggle-switch/.wpsc-slider) */ |
| 144 |
.wpsc-dbc-toggle-switch { |
| 145 |
display: inline-block; |
| 146 |
position: relative; |
| 147 |
width: 32px; |
| 148 |
height: 16px; |
| 149 |
flex: none; |
| 150 |
} |
| 151 |
.wpsc-dbc-toggle-switch input { |
| 152 |
display: none; |
| 153 |
} |
| 154 |
.wpsc-dbc-toggle-switch .wpsc-dbc-slider { |
| 155 |
position: absolute; |
| 156 |
cursor: pointer; |
| 157 |
top: 0; |
| 158 |
left: 0; |
| 159 |
right: 0; |
| 160 |
bottom: 0; |
| 161 |
background-color: #ccc; |
| 162 |
border-radius: 16px; |
| 163 |
transition: 0.2s; |
| 164 |
} |
| 165 |
.wpsc-dbc-toggle-switch .wpsc-dbc-slider:before { |
| 166 |
position: absolute; |
| 167 |
content: ""; |
| 168 |
height: 14px; |
| 169 |
width: 14px; |
| 170 |
left: 1px; |
| 171 |
top: 1px; |
| 172 |
background-color: #fff; |
| 173 |
border-radius: 50%; |
| 174 |
transition: 0.2s; |
| 175 |
} |
| 176 |
.wpsc-dbc-toggle-switch input:checked + .wpsc-dbc-slider { |
| 177 |
background-color: #2271b1; |
| 178 |
} |
| 179 |
.wpsc-dbc-toggle-switch input:checked + .wpsc-dbc-slider:before { |
| 180 |
transform: translateX(16px); |
| 181 |
} |
| 182 |
|
| 183 |
/* Setting cards enable all / disable all switcher */ |
| 184 |
.wpsc-setting-cards-toggle-all { |
| 185 |
width: 100%; |
| 186 |
display: flex; |
| 187 |
align-items: center; |
| 188 |
justify-content: flex-end; |
| 189 |
gap: 10px; |
| 190 |
margin-bottom: 15px; |
| 191 |
} |
| 192 |
/* When placed next to the "Add widget" button (Dashboard > Widgets), the |
| 193 |
parent .wpsc-actions-btn-setting already handles spacing/alignment. */ |
| 194 |
.wpsc-actions-btn-setting .wpsc-setting-cards-toggle-all { |
| 195 |
width: auto; |
| 196 |
margin-bottom: 0; |
| 197 |
} |
| 198 |
.wpsc-setting-cards-toggle-all .wpsc-toggle-all-label { |
| 199 |
font-size: 13px; |
| 200 |
font-weight: 600; |
| 201 |
} |
| 202 |
|
| 203 |
/* CF Option UI */ |
| 204 |
.wpsc-option-item { |
| 205 |
display: flex; |
| 206 |
margin-bottom: 5px; |
| 207 |
padding: 5px 5px 0 5px; |
| 208 |
background-color: #dcdcdc; |
| 209 |
border-radius: 3px; |
| 210 |
box-sizing: border-box; |
| 211 |
} |
| 212 |
.wpsc-option-item .content { |
| 213 |
display: flex; |
| 214 |
align-items: center; |
| 215 |
flex-wrap: wrap; |
| 216 |
flex-grow: 1; |
| 217 |
} |
| 218 |
.wpsc-option-item .remove-container { |
| 219 |
display: flex; |
| 220 |
align-items: center; |
| 221 |
padding-left: 5px; |
| 222 |
} |
| 223 |
.wpsc-add-option-container, |
| 224 |
.wpsc-edit-option-container, |
| 225 |
.wpsc-option-listing-container { |
| 226 |
display: flex; |
| 227 |
width: 100%; |
| 228 |
align-items: center; |
| 229 |
} |
| 230 |
.wpsc-option-item .remove-container svg, |
| 231 |
.wpsc-option-listing-container .edit svg { |
| 232 |
width: 16px; |
| 233 |
color: #c3c3c3; |
| 234 |
cursor: pointer; |
| 235 |
} |
| 236 |
.wpsc-option-item .remove-container svg:hover, |
| 237 |
.wpsc-option-listing-container .edit svg:hover { |
| 238 |
color: #665b5b; |
| 239 |
} |
| 240 |
.wpsc-option-item .content input, |
| 241 |
.wpsc-option-item .content button { |
| 242 |
margin-bottom: 5px; |
| 243 |
} |
| 244 |
.wpsc-option-item .content button { |
| 245 |
margin-left: 2px; |
| 246 |
width: 50px !important; |
| 247 |
} |
| 248 |
.wpsc-option-item .content button svg { |
| 249 |
height: 18px; |
| 250 |
color: #00b894; |
| 251 |
} |
| 252 |
.wpsc-option-listing-container { |
| 253 |
padding-bottom: 5px; |
| 254 |
} |
| 255 |
.wpsc-option-listing-container span { |
| 256 |
display: flex; |
| 257 |
align-items: center; |
| 258 |
} |
| 259 |
.wpsc-option-listing-container .sort svg { |
| 260 |
height: 16px; |
| 261 |
color: #665b5b; |
| 262 |
cursor: pointer; |
| 263 |
} |
| 264 |
.wpsc-option-listing-container .text { |
| 265 |
padding: 0 5px; |
| 266 |
flex-grow: 1; |
| 267 |
color: #665b5b; |
| 268 |
} |
| 269 |
.wpsc-edit-option-container button.cancel svg { |
| 270 |
color: #ff0000 !important; |
| 271 |
} |
| 272 |
.wpsc-input-group .checkboxes-group { |
| 273 |
width: 100%; |
| 274 |
display: flex; |
| 275 |
flex-wrap: wrap; |
| 276 |
align-items: center; |
| 277 |
} |
| 278 |
.wpsc-input-group .checkboxes-group .inner-group { |
| 279 |
width: 200px; |
| 280 |
display: flex; |
| 281 |
flex-wrap: wrap; |
| 282 |
align-items: center; |
| 283 |
margin: 0 10px 5px 0; |
| 284 |
} |
| 285 |
.wpsc-setting-filter-container { |
| 286 |
width: 100%; |
| 287 |
display: flex; |
| 288 |
flex-wrap: wrap; |
| 289 |
align-items: flex-end; |
| 290 |
} |
| 291 |
.wpsc-setting-filter-container .setting-filter-item { |
| 292 |
display: flex; |
| 293 |
flex-direction: column; |
| 294 |
margin: 0 5px 5px 0; |
| 295 |
} |
| 296 |
.wpsc-setting-filter-container .label { |
| 297 |
font-size: 12px; |
| 298 |
font-weight: 600; |
| 299 |
} |
| 300 |
.wpsc-setting-filter-container .select2-container { |
| 301 |
width: 200px !important; |
| 302 |
} |
| 303 |
|
| 304 |
/* Date range */ |
| 305 |
.wpsc-date-range { |
| 306 |
display: flex; |
| 307 |
} |
| 308 |
.wpsc-date-range .wpsc-input-close-group { |
| 309 |
flex-grow: 1; |
| 310 |
} |
| 311 |
|
| 312 |
/* Licenses */ |
| 313 |
.wpsc-licenses-container { |
| 314 |
display: flex; |
| 315 |
flex-wrap: wrap; |
| 316 |
} |
| 317 |
.wpsc-licenses-container .license-container { |
| 318 |
display: flex; |
| 319 |
flex-direction: column; |
| 320 |
border: 1px solid #777; |
| 321 |
border-radius: 5px; |
| 322 |
margin: 0 15px 15px 0; |
| 323 |
padding: 10px; |
| 324 |
width: 300px; |
| 325 |
background-color: #fff; |
| 326 |
} |
| 327 |
.wpsc-licenses-container img { |
| 328 |
margin-bottom: 10px; |
| 329 |
} |
| 330 |
.wpsc-licenses-container button { |
| 331 |
margin: 0 0 10px; |
| 332 |
} |
| 333 |
.wpsc-licenses-container input { |
| 334 |
margin: 0 0 5px; |
| 335 |
} |
| 336 |
.wpsc-licenses-container button { |
| 337 |
width: fit-content; |
| 338 |
} |
| 339 |
.wpsc-licenses-container p { |
| 340 |
margin: 0; |
| 341 |
} |
| 342 |
.wpsc-licenses-container p.expired { |
| 343 |
color: #ff0000; |
| 344 |
} |
| 345 |
|
| 346 |
/* Accordion */ |
| 347 |
.wpsc-accordion { |
| 348 |
margin-bottom: 15px; |
| 349 |
} |
| 350 |
|
| 351 |
/* Documentation link */ |
| 352 |
.wpsc-dock-container { |
| 353 |
padding: 10px; |
| 354 |
background-color: #f0f0f1; |
| 355 |
margin-bottom: 15px; |
| 356 |
border-radius: 3px; |
| 357 |
} |
| 358 |
|
| 359 |
/* Recent Activity */ |
| 360 |
.wpsc_recent_activities thead { |
| 361 |
display: none; |
| 362 |
} |
| 363 |
.wpsc_recent_activities { |
| 364 |
width: 100% !important; |
| 365 |
border: none !important; |
| 366 |
} |
| 367 |
.wpsc_recent_activities td { |
| 368 |
border: none !important; |
| 369 |
padding: 10px 0 10px 0 !important; |
| 370 |
} |
| 371 |
.wpsc_recent_activities td a { |
| 372 |
text-decoration: none !important; |
| 373 |
} |
| 374 |
.wpsc-ra-user-details { |
| 375 |
display: flex; |
| 376 |
align-items: center; |
| 377 |
} |
| 378 |
.wpsc-ra-avatar img { |
| 379 |
-webkit-border-radius: 50%; |
| 380 |
-moz-border-radius: 50%; |
| 381 |
-ms-border-radius: 50%; |
| 382 |
-o-border-radius: 50%; |
| 383 |
border-radius: 50%; |
| 384 |
margin: 0px 10px 0px 0px; |
| 385 |
} |
| 386 |
.wpsc-ra-log-details { |
| 387 |
display: grid; |
| 388 |
} |
| 389 |
/* Customers list filter toolbar (Users / User Type / Search / Reset). */ |
| 390 |
.wpsc-customers-toolbar { |
| 391 |
display: flex; |
| 392 |
gap: 8px; |
| 393 |
align-items: flex-end; |
| 394 |
flex-wrap: wrap; |
| 395 |
background: #fff; |
| 396 |
border: 1px solid #dcdcde; |
| 397 |
border-radius: 6px; |
| 398 |
padding: 16px; |
| 399 |
margin-bottom: 20px; |
| 400 |
} |
| 401 |
.wpsc-customers-toolbar-item { |
| 402 |
display: flex; |
| 403 |
flex-direction: column; |
| 404 |
} |
| 405 |
.wpsc-customers-toolbar-item label { |
| 406 |
font-size: 12px; |
| 407 |
color: #646970; |
| 408 |
margin-bottom: 6px; |
| 409 |
font-weight: 600; |
| 410 |
} |
| 411 |
.wpsc-customers-toolbar-item select, |
| 412 |
.wpsc-customers-toolbar-item input { |
| 413 |
min-width: 200px; |
| 414 |
} |
| 415 |
.wpsc-customers-toolbar-item .select2-container { |
| 416 |
min-width: 200px; |
| 417 |
} |
| 418 |
.wpsc-customers-toolbar-reset { |
| 419 |
flex: 1; |
| 420 |
} |
| 421 |
.wpsc-customers-toolbar-reset button { |
| 422 |
width: fit-content; |
| 423 |
} |
| 424 |
.wpsc-customers-toolbar-search input { |
| 425 |
width: 100%; |
| 426 |
} |
| 427 |
@media (max-width: 782px) { |
| 428 |
.wpsc-customers-toolbar-item, |
| 429 |
.wpsc-customers-toolbar-reset { |
| 430 |
width: 100%; |
| 431 |
} |
| 432 |
.wpsc-customers-toolbar-item select, |
| 433 |
.wpsc-customers-toolbar-item input { |
| 434 |
min-width: 0; |
| 435 |
width: 100%; |
| 436 |
} |
| 437 |
} |
| 438 |
/* Customers list "Name" column - avatar next to the customer's name. */ |
| 439 |
.wpsc-cust-name-cell { |
| 440 |
display: flex; |
| 441 |
align-items: center; |
| 442 |
} |
| 443 |
.wpsc-cust-avatar img { |
| 444 |
border-radius: 50%; |
| 445 |
margin: 0px 10px 0px 0px; |
| 446 |
} |
| 447 |
/* Customer profile "Tickets" tab - whole row opens the ticket. */ |
| 448 |
.my-profile-ticket-list .wpsc-cust-ticket-row { |
| 449 |
cursor: pointer; |
| 450 |
} |
| 451 |
.my-profile-ticket-list .wpsc-cust-ticket-row:hover { |
| 452 |
background-color: #f5f5f5; |
| 453 |
} |
| 454 |
/* Customer profile "Custom fields" tab - empty state when there are none. */ |
| 455 |
.wpsc-cust-cf-empty { |
| 456 |
padding: 20px; |
| 457 |
text-align: center; |
| 458 |
color: #646970; |
| 459 |
} |
| 460 |
.wpsc-ra-log-time { |
| 461 |
font-size: 10px; |
| 462 |
} |
| 463 |
.wpsc-ra-filter-container { |
| 464 |
background-color: #f5f5f5; |
| 465 |
padding: 10px 10px 0px; |
| 466 |
} |
| 467 |
|
| 468 |
/* Customer list */ |
| 469 |
#wpsc-customer-list .dt-search, |
| 470 |
#wpsc-session-list .dt-search { |
| 471 |
display: none !important; |
| 472 |
} |
| 473 |
|