bpmn-js 18.26.0 → 18.27.1

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.
@@ -109,6 +109,15 @@
109
109
  --tooltip-error-background-color: var(--color-red-360-100-97);
110
110
  --tooltip-error-border-color: var(--color-red-360-100-45);
111
111
  --tooltip-error-color: var(--color-red-360-100-45);
112
+
113
+ --hover-tooltip-font-family: "IBM Plex Sans", sans-serif;
114
+ --hover-tooltip-font-size: 12px;
115
+ --hover-tooltip-secondary-font-size: 11px;
116
+ --hover-tooltip-background-color: var(--color-grey-225-10-15);
117
+ --hover-tooltip-color: var(--color-white);
118
+ --hover-tooltip-shadow-color: var(--color-black-opacity-10);
119
+
120
+ --palette-tooltip-shortcut-background-color: var(--color-grey-225-10-35);
112
121
  }
113
122
 
114
123
  /**
@@ -497,6 +506,49 @@
497
506
  display: none;
498
507
  }
499
508
 
509
+ .djs-hover-tooltip {
510
+ position: fixed;
511
+ z-index: 1000;
512
+
513
+ display: flex;
514
+ align-items: center;
515
+ gap: 6px;
516
+
517
+ padding: 6px 10px;
518
+ border-radius: 4px;
519
+
520
+ background-color: var(--hover-tooltip-background-color);
521
+ color: var(--hover-tooltip-color);
522
+
523
+ font-family: var(--hover-tooltip-font-family);
524
+ font-size: var(--hover-tooltip-font-size);
525
+ line-height: 1.2;
526
+ white-space: nowrap;
527
+
528
+ pointer-events: none;
529
+ box-shadow: 0 1px 4px var(--hover-tooltip-shadow-color);
530
+ }
531
+
532
+ .djs-hover-tooltip--right {
533
+ transform: translateY(-50%);
534
+ }
535
+
536
+ .djs-hover-tooltip--top {
537
+ transform: translate(-50%, -100%);
538
+ }
539
+
540
+ .djs-palette-tooltip-shortcut {
541
+ padding: 1px 5px;
542
+
543
+ border-radius: 3px;
544
+
545
+ background-color: var(--palette-tooltip-shortcut-background-color);
546
+
547
+ font-family: monospace;
548
+ font-size: var(--hover-tooltip-secondary-font-size);
549
+ line-height: 1.2;
550
+ }
551
+
500
552
  /**
501
553
  * context-pad
502
554
  */