@@ -1289,3 +1289,181 @@ The frame that adds the "card styles" such as background-color or box-shadow.
1289
1289
margin : 5px ;
1290
1290
}
1291
1291
```
1292
+
1293
+ ### Modal and Delete Conversation
1294
+
1295
+ - _ webchat-modal-root_
1296
+ The root container for modals. You can customize the overall appearance of modal windows.
1297
+
1298
+ ``` CSS
1299
+ [data-cognigy-webchat-root ] .webchat-modal-root {
1300
+ background-color : rgba (0 , 0 , 0 , 0.5 );
1301
+ padding : 20px ;
1302
+ border-radius : 8px ;
1303
+ }
1304
+ ```
1305
+
1306
+ - _ webchat-modal-header_
1307
+ The header section of modal windows.
1308
+
1309
+ ``` CSS
1310
+ [data-cognigy-webchat-root ] .webchat-modal-header {
1311
+ background-color : #f5f5f5 ;
1312
+ padding : 10px ;
1313
+ border-bottom : 1px solid #ddd ;
1314
+ }
1315
+ ```
1316
+
1317
+ - _ webchat-modal-title_
1318
+ The title text in modal headers.
1319
+
1320
+ ``` CSS
1321
+ [data-cognigy-webchat-root ] .webchat-modal-title {
1322
+ font-size : 18px ;
1323
+ color : #333 ;
1324
+ font-weight : bold ;
1325
+ }
1326
+ ```
1327
+
1328
+ - _ webchat-modal-close-button_
1329
+ The close button in modal headers.
1330
+
1331
+ ``` CSS
1332
+ [data-cognigy-webchat-root ] .webchat-modal-close-button {
1333
+ background-color : transparent ;
1334
+ border : none ;
1335
+ color : #666 ;
1336
+ }
1337
+ ```
1338
+
1339
+ - _ webchat-modal-close-icon_
1340
+ The icon within the modal close button.
1341
+
1342
+ ``` CSS
1343
+ [data-cognigy-webchat-root ] .webchat-modal-close-icon {
1344
+ font-size : 20px ;
1345
+ color : #666 ;
1346
+ }
1347
+ ```
1348
+
1349
+ - _ webchat-modal-divider-wrapper_
1350
+ The wrapper for modal dividers.
1351
+
1352
+ ``` CSS
1353
+ [data-cognigy-webchat-root ] .webchat-modal-divider-wrapper {
1354
+ padding : 10px 0 ;
1355
+ }
1356
+ ```
1357
+
1358
+ - _ webchat-modal-divider_
1359
+ The divider line in modals.
1360
+
1361
+ ``` CSS
1362
+ [data-cognigy-webchat-root ] .webchat-modal-divider {
1363
+ border-top : 1px solid #ddd ;
1364
+ }
1365
+ ```
1366
+
1367
+ - _ webchat-modal-body_
1368
+ The main content area of modals.
1369
+
1370
+ ``` CSS
1371
+ [data-cognigy-webchat-root ] .webchat-modal-body {
1372
+ padding : 15px ;
1373
+ background-color : white ;
1374
+ }
1375
+ ```
1376
+
1377
+ - _ webchat-modal-footer_
1378
+ The footer section of modals.
1379
+
1380
+ ``` CSS
1381
+ [data-cognigy-webchat-root ] .webchat-modal-footer {
1382
+ padding : 10px ;
1383
+ background-color : #f5f5f5 ;
1384
+ border-top : 1px solid #ddd ;
1385
+ }
1386
+ ```
1387
+
1388
+ - _ webchat-delete-conversation-container_
1389
+ The container for delete conversation confirmation dialog.
1390
+
1391
+ ``` CSS
1392
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-container {
1393
+ padding : 20px ;
1394
+ text-align : center ;
1395
+ }
1396
+ ```
1397
+
1398
+ - _ webchat-delete-conversation-title_
1399
+ The title in delete conversation dialog.
1400
+
1401
+ ``` CSS
1402
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-title {
1403
+ font-size : 16px ;
1404
+ font-weight : bold ;
1405
+ color : #333 ;
1406
+ }
1407
+ ```
1408
+
1409
+ - _ webchat-delete-conversation-button_
1410
+ The general delete button style.
1411
+
1412
+ ``` CSS
1413
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-button {
1414
+ padding : 8px 16px ;
1415
+ margin : 5px ;
1416
+ border-radius : 4px ;
1417
+ }
1418
+ ```
1419
+
1420
+ - _ webchat-delete-conversation-cancel-button_
1421
+ The cancel button in delete dialog.
1422
+
1423
+ ``` CSS
1424
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-cancel-button {
1425
+ background-color : #f5f5f5 ;
1426
+ color : #333 ;
1427
+ }
1428
+ ```
1429
+
1430
+ - _ webchat-delete-conversation-confirm-button_
1431
+ The confirm button in delete dialog.
1432
+
1433
+ ``` CSS
1434
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-confirm-button {
1435
+ background-color : #dc3545 ;
1436
+ color : white ;
1437
+ }
1438
+ ```
1439
+
1440
+ - _ webchat-delete-conversation-text_
1441
+ The warning text in delete conversation dialog.
1442
+
1443
+ ``` CSS
1444
+ [data-cognigy-webchat-root ] .webchat-delete-conversation-text {
1445
+ color : #666 ;
1446
+ margin : 10px 0 ;
1447
+ }
1448
+ ```
1449
+
1450
+ - _ webchat-delete-all-conversation-text_
1451
+ The warning text for deleting all conversations.
1452
+
1453
+ ``` CSS
1454
+ [data-cognigy-webchat-root ] .webchat-delete-all-conversation-text {
1455
+ color : #dc3545 ;
1456
+ font-weight : bold ;
1457
+ }
1458
+ ```
1459
+
1460
+ - _ webchat-header-delete-all-conversations-button_
1461
+ The button to delete all conversations in the header.
1462
+
1463
+ ``` CSS
1464
+ [data-cognigy-webchat-root ] .webchat-header-delete-all-conversations-button {
1465
+ background-color : transparent ;
1466
+ color : #666 ;
1467
+ border : none ;
1468
+ }
1469
+ ```
0 commit comments