@ckeditor/ckeditor5-theme-lark 0.0.0-nightly-20240814.0 → 0.0.0-nightly-20240815.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -825,6 +825,114 @@ a.ck.ck-button-bold{
825
825
  .ck.ck-toolbar-dropdown .ck-toolbar{
826
826
  border:0;
827
827
  }
828
+ .ck.ck-dropdown-menu-list__nested-menu__button{
829
+ width:100%;
830
+ padding:var(--ck-list-button-padding);
831
+ border-radius:0;
832
+ }
833
+ .ck.ck-dropdown-menu-list__nested-menu__button:focus{
834
+ border-color:transparent;
835
+ box-shadow:none;
836
+ }
837
+ .ck.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on){
838
+ background:var(--ck-color-button-default-hover-background);
839
+ }
840
+ .ck.ck-dropdown-menu-list__nested-menu__button > .ck-button__label{
841
+ flex-grow:1;
842
+ overflow:hidden;
843
+ text-overflow:ellipsis;
844
+ }
845
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-button__label{
846
+ opacity:var(--ck-disabled-opacity);
847
+ }
848
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon)) > .ck-button__label{
849
+ margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small));
850
+ }
851
+ .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
852
+ width:var(--ck-dropdown-arrow-size);
853
+ }
854
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
855
+ transform:rotate(-90deg);
856
+ }
857
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
858
+ transform:rotate(90deg);
859
+ }
860
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-dropdown-menu-list__nested-menu__button__arrow{
861
+ opacity:var(--ck-disabled-opacity);
862
+ }
863
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){
864
+ padding-left:var(--ck-spacing-small);
865
+ }
866
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
867
+ right:var(--ck-spacing-standard);
868
+ margin-left:var(--ck-spacing-standard);
869
+ }
870
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){
871
+ padding-right:var(--ck-spacing-small);
872
+ }
873
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
874
+ left:var(--ck-spacing-standard);
875
+ margin-right:var(--ck-spacing-small);
876
+ }
877
+ :root{
878
+ --ck-dropdown-menu-menu-item-min-width:18em;
879
+ }
880
+ .ck.ck-dropdown-menu-list__nested-menu__item{
881
+ min-width:var(--ck-dropdown-menu-menu-item-min-width);
882
+ }
883
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button{
884
+ border-radius:0;
885
+ }
886
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container,
887
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container .ck-spinner{
888
+ --ck-toolbar-spinner-size:20px;
889
+ }
890
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container{
891
+ margin-left:calc(-1 * var(--ck-spacing-small));
892
+ margin-right:var(--ck-spacing-small);
893
+ }
894
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus{
895
+ border-color:transparent;
896
+ box-shadow:none;
897
+ }
898
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on){
899
+ background:var(--ck-color-button-default-hover-background);
900
+ }
901
+ :root{
902
+ --ck-dropdown-menu-menu-panel-max-width:75vw;
903
+ }
904
+ .ck.ck-dropdown-menu__nested-menu__panel{
905
+ box-shadow:var(--ck-drop-shadow), 0 0;
906
+
907
+ background:var(--ck-color-dropdown-panel-background);
908
+ border:1px solid var(--ck-color-dropdown-panel-border);
909
+ bottom:0;
910
+ height:fit-content;
911
+ max-width:var(--ck-dropdown-menu-menu-panel-max-width);
912
+ }
913
+ .ck.ck-dropdown-menu__nested-menu__panel::after,
914
+ .ck.ck-dropdown-menu__nested-menu__panel::before{
915
+ display:none;
916
+ }
917
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,
918
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se{
919
+ border-top-left-radius:0;
920
+ }
921
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws,
922
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw{
923
+ border-top-right-radius:0;
924
+ }
925
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,
926
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne{
927
+ border-bottom-left-radius:0;
928
+ }
929
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn,
930
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw{
931
+ border-bottom-right-radius:0;
932
+ }
933
+ .ck.ck-dropdown-menu__nested-menu__panel:focus{
934
+ outline:none;
935
+ }
828
936
  :root{
829
937
  --ck-accessibility-help-dialog-max-width:600px;
830
938
  --ck-accessibility-help-dialog-max-height:400px;
package/dist/index.css CHANGED
@@ -1297,6 +1297,190 @@ of the component, floating–point numbers have been used which, for the default
1297
1297
  .ck.ck-toolbar-dropdown .ck-toolbar {
1298
1298
  border: 0;
1299
1299
  }
1300
+ /*
1301
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1302
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1303
+ */
1304
+ /*
1305
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1306
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1307
+ */
1308
+ /**
1309
+ * A class which indicates that an element holding it is disabled.
1310
+ */
1311
+ /*
1312
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1313
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1314
+ */
1315
+ /**
1316
+ * Implements a button of given background color.
1317
+ *
1318
+ * @param {String} $background - Background color of the button.
1319
+ * @param {String} $border - Border color of the button.
1320
+ */
1321
+ /*
1322
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1323
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1324
+ */
1325
+ /*
1326
+ * All menu buttons.
1327
+ */
1328
+ .ck.ck-dropdown-menu-list__nested-menu__button {
1329
+ width: 100%;
1330
+ padding: var(--ck-list-button-padding);
1331
+ border-radius: 0;
1332
+ }
1333
+ .ck.ck-dropdown-menu-list__nested-menu__button:focus {
1334
+ border-color: transparent;
1335
+ box-shadow: none;
1336
+ }
1337
+ .ck.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on) {
1338
+ background: var(--ck-color-button-default-hover-background);
1339
+ }
1340
+ .ck.ck-dropdown-menu-list__nested-menu__button > .ck-button__label {
1341
+ flex-grow: 1;
1342
+ overflow: hidden;
1343
+ text-overflow: ellipsis;
1344
+ }
1345
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-button__label {
1346
+ opacity: var(--ck-disabled-opacity);
1347
+ }
1348
+ /* Spacing in buttons that miss the icon. */
1349
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon)) > .ck-button__label {
1350
+ margin-left: calc(var(--ck-icon-size) - var(--ck-spacing-small));
1351
+ }
1352
+ .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1353
+ width: var(--ck-dropdown-arrow-size);
1354
+ }
1355
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1356
+ transform: rotate(-90deg);
1357
+ }
1358
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1359
+ transform: rotate(90deg);
1360
+ }
1361
+ .ck.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-dropdown-menu-list__nested-menu__button__arrow {
1362
+ opacity: var(--ck-disabled-opacity);
1363
+ }
1364
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text) {
1365
+ padding-left: var(--ck-spacing-small);
1366
+ }
1367
+ [dir="ltr"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1368
+ right: var(--ck-spacing-standard);
1369
+
1370
+ /* A space to accommodate the triangle. */
1371
+ margin-left: var(--ck-spacing-standard);
1372
+ }
1373
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text) {
1374
+ padding-right: var(--ck-spacing-small);
1375
+ }
1376
+ [dir="rtl"] .ck.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1377
+ left: var(--ck-spacing-standard);
1378
+
1379
+ /* A space to accommodate the triangle. */
1380
+ margin-right: var(--ck-spacing-small);
1381
+ }
1382
+ /*
1383
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1384
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1385
+ */
1386
+ :root {
1387
+ --ck-dropdown-menu-menu-item-min-width: 18em;
1388
+ }
1389
+ .ck.ck-dropdown-menu-list__nested-menu__item {
1390
+ min-width: var(--ck-dropdown-menu-menu-item-min-width);
1391
+ }
1392
+ /*
1393
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1394
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1395
+ */
1396
+ /*
1397
+ * List item buttons.
1398
+ */
1399
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button {
1400
+ border-radius: 0;
1401
+ }
1402
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container,
1403
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container .ck-spinner {
1404
+ /* These styles correspond to .ck-icon so that the spinner seamlessly replaces the icon. */
1405
+ --ck-toolbar-spinner-size: 20px;
1406
+ }
1407
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container {
1408
+ /* These margins are the same as for .ck-icon. */
1409
+ margin-left: calc(-1 * var(--ck-spacing-small));
1410
+ margin-right: var(--ck-spacing-small);
1411
+ }
1412
+ /*
1413
+ * Hovered items automatically get focused. Default focus styles look odd
1414
+ * while moving across a huge list of items so let's get rid of them
1415
+ */
1416
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus {
1417
+ border-color: transparent;
1418
+ box-shadow: none;
1419
+ }
1420
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on) {
1421
+ background: var(--ck-color-button-default-hover-background);
1422
+ }
1423
+ /*
1424
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1425
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1426
+ */
1427
+ /*
1428
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1429
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1430
+ */
1431
+ /**
1432
+ * Implements rounded corner interface for .ck-rounded-corners class.
1433
+ *
1434
+ * @see $ck-border-radius
1435
+ */
1436
+ /*
1437
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1438
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1439
+ */
1440
+ /**
1441
+ * A helper to combine multiple shadows.
1442
+ */
1443
+ /**
1444
+ * Gives an element a drop shadow so it looks like a floating panel.
1445
+ */
1446
+ :root {
1447
+ --ck-dropdown-menu-menu-panel-max-width: 75vw;
1448
+ }
1449
+ .ck.ck-dropdown-menu__nested-menu__panel {
1450
+ box-shadow: var(--ck-drop-shadow), 0 0;
1451
+
1452
+ background: var(--ck-color-dropdown-panel-background);
1453
+ border: 1px solid var(--ck-color-dropdown-panel-border);
1454
+ bottom: 0;
1455
+ height: fit-content;
1456
+ max-width: var(--ck-dropdown-menu-menu-panel-max-width);
1457
+
1458
+ /* Reset balloon styling */
1459
+ }
1460
+ .ck.ck-dropdown-menu__nested-menu__panel::after,
1461
+ .ck.ck-dropdown-menu__nested-menu__panel::before {
1462
+ display: none;
1463
+ }
1464
+ /* Corner border radius consistent with the button. */
1465
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,
1466
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se {
1467
+ border-top-left-radius: 0;
1468
+ }
1469
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws,
1470
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw {
1471
+ border-top-right-radius: 0;
1472
+ }
1473
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,
1474
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne {
1475
+ border-bottom-left-radius: 0;
1476
+ }
1477
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn,
1478
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw {
1479
+ border-bottom-right-radius: 0;
1480
+ }
1481
+ .ck.ck-dropdown-menu__nested-menu__panel:focus {
1482
+ outline: none;
1483
+ }
1300
1484
  /*
1301
1485
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1302
1486
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license