orgchart 3.6.0 → 3.8.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.
Files changed (32) hide show
  1. package/README.md +64 -4
  2. package/demo/css/fontawesome.min.css +9 -0
  3. package/demo/custom-icons.html +146 -0
  4. package/demo/data-prop-compact.html +82 -0
  5. package/demo/{isHybrid.html → data-prop-hybrid.html} +1 -1
  6. package/demo/index.html +3 -1
  7. package/demo/multiple-layers.html +4 -4
  8. package/demo/option-createNode.html +2 -2
  9. package/demo/pan-zoom.html +3 -0
  10. package/demo/vertical-level.html +17 -17
  11. package/demo/webfonts/fa-brands-400.ttf +0 -0
  12. package/demo/webfonts/fa-brands-400.woff2 +0 -0
  13. package/demo/webfonts/fa-regular-400.ttf +0 -0
  14. package/demo/webfonts/fa-regular-400.woff2 +0 -0
  15. package/demo/webfonts/fa-solid-900.ttf +0 -0
  16. package/demo/webfonts/fa-solid-900.woff2 +0 -0
  17. package/demo/webfonts/fa-v4compatibility.ttf +0 -0
  18. package/demo/webfonts/fa-v4compatibility.woff2 +0 -0
  19. package/dist/css/jquery.orgchart.css +311 -156
  20. package/dist/css/jquery.orgchart.min.css +1 -1
  21. package/dist/js/jquery.orgchart.js +128 -56
  22. package/dist/js/jquery.orgchart.min.js +4 -1
  23. package/dist/js/jquery.orgchart.min.js.map +1 -1
  24. package/gulpfile.js +1 -1
  25. package/package.json +1 -1
  26. package/src/css/jquery.orgchart.css +311 -156
  27. package/src/js/jquery.orgchart.js +128 -56
  28. package/test/integration/init-tests.js +8 -8
  29. package/test/visual-regression/zoom/__image_snapshots__/__diff_output__/test-js-orgchart-visual-regression-tests-zoomin-correctly-1-snap-diff.png +0 -0
  30. package/test/visual-regression/zoom/__image_snapshots__/__diff_output__/test-js-orgchart-visual-regression-tests-zoomout-correctly-1-snap-diff.png +0 -0
  31. package/test/visual-regression/zoom/__image_snapshots__/test-js-orgchart-visual-regression-tests-zoomin-correctly-1-snap.png +0 -0
  32. package/test/visual-regression/zoom/__image_snapshots__/test-js-orgchart-visual-regression-tests-zoomout-correctly-1-snap.png +0 -0
@@ -19,10 +19,13 @@
19
19
  -moz-user-select: none;
20
20
  -ms-user-select: none;
21
21
  user-select: none;
22
- background-image: linear-gradient(90deg, rgba(200, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0) 10%), linear-gradient(rgba(200, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
23
- background-size: 10px 10px;
24
- border: 1px dashed rgba(0,0,0,0);
22
+ background-image: linear-gradient(to top, rgba(200, 0, 0, 0.15) 5%, rgba(0, 0, 0, 0) 5%),
23
+ linear-gradient(to right, rgba(200, 0, 0, 0.15) 5%, rgba(0, 0, 0, 0) 5%),
24
+ linear-gradient(to bottom, rgba(200, 0, 0, 0.15) 5%, rgba(0, 0, 0, 0) 5%),
25
+ linear-gradient(to left, rgba(200, 0, 0, 0.15) 5%, rgba(0, 0, 0, 0) 5%);
26
+ background-size: 10px 10px; /* background square size */
25
27
  padding: 20px 20px 0 20px;
28
+ /* border: 0.5px solid rgba(200, 0, 0, 0.15); */
26
29
  }
27
30
 
28
31
  .orgchart .hidden, .orgchart~.hidden {
@@ -90,7 +93,7 @@
90
93
  .orgchart .hierarchy::before {
91
94
  content: "";
92
95
  position: absolute;
93
- top: -11px;
96
+ top: -11px; /* -(background square size + half width of line) */
94
97
  left: 0;
95
98
  width: 100%;
96
99
  border-top: 2px solid rgba(217, 83, 79, 0.8);
@@ -132,10 +135,10 @@
132
135
  .orgchart .node:not(:only-child)::after {
133
136
  content: "";
134
137
  position: absolute;
135
- bottom: -11px;
138
+ bottom: -12px; /* -(background square size + node's border width) */
136
139
  left: calc(50% - 1px);
137
140
  width: 2px;
138
- height: 9px;
141
+ height: 10px; /* background square size */
139
142
  background-color: rgba(217, 83, 79, 0.8);
140
143
  }
141
144
 
@@ -155,16 +158,16 @@
155
158
  .orgchart > ul > li > ul li > .node::before {
156
159
  content: "";
157
160
  position: absolute;
158
- top: var(--top, -11px);
161
+ top: var(--top, -12px); /* -(fallback value = background square size + border width of node) */
159
162
  left: calc(50% - 1px);
160
163
  width: 2px;
161
- height: var(--height, 9px);
164
+ height: var(--height, 10px); /* fallback value = background square size */
162
165
  background-color: rgba(217, 83, 79, 0.8);
163
166
  }
164
167
 
165
168
  .orgchart > ul > li > ul li.isSiblingsCollapsed > .node::before {
166
- top: var(--top-cross-point, -13px);
167
- height: var(--height-cross-point, 11px);
169
+ top: var(--top-cross-point, -12px);
170
+ height: var(--height-cross-point, 10px);
168
171
  }
169
172
 
170
173
  /* node styling */
@@ -227,12 +230,12 @@
227
230
 
228
231
  .orgchart .node .title {
229
232
  box-sizing: border-box;
230
- padding: 2px;
231
233
  width: 130px;
232
234
  text-align: center;
233
- font-size: 0.75rem;
235
+ font-size: 12px;
234
236
  font-weight: bold;
235
237
  height: 20px;
238
+ line-height: 20px;
236
239
  overflow: hidden;
237
240
  text-overflow: ellipsis;
238
241
  white-space: nowrap;
@@ -256,28 +259,27 @@
256
259
  transform-origin: bottom center;
257
260
  }
258
261
 
259
- .orgchart .node .title .symbol {
262
+ .orgchart .node .title .parentNodeSymbol {
260
263
  float: left;
261
- margin-top: 12px;
262
- margin-left: 2px;
263
264
  }
264
265
 
265
- .orgchart .node .title .symbol::before {
266
- background-color: #fff;
267
- border-color: rgba(217, 83, 79, 0.8);
266
+ .orgchart .node .title .parentNodeSymbol::before {
267
+ color: #fff;
268
268
  }
269
269
 
270
- .orgchart .node .title .symbol::after {
270
+ .orgchart .node .title .parentNodeSymbol::after {
271
271
  background-color: #fff;
272
272
  }
273
273
 
274
274
  .orgchart .node .content {
275
275
  box-sizing: border-box;
276
- padding: 2px;
276
+ width: 130px;
277
277
  height: 20px;
278
- font-size: 0.625rem;
278
+ line-height: 20px;
279
+ font-size: 10px;
279
280
  border: 1px solid rgba(217, 83, 79, 0.8);
280
- border-radius: 0 0 4px 4px;
281
+ border-width: 0 1px 1px 1px;
282
+ border-radius: 0 0 0.25rem 0.25rem;
281
283
  text-align: center;
282
284
  background-color: #fff;
283
285
  color: #333;
@@ -325,16 +327,14 @@
325
327
  }
326
328
 
327
329
  .orgchart .node .verticalEdge {
328
- width: calc(100% - 6px);
329
- width: -webkit-calc(100% - 6px);
330
- width: -moz-calc(100% - 6px);
331
- height: 10px;
332
- left: 3px;
330
+ width: calc(100% - 6px); /* node top half's width */
331
+ height: 10px; /* background square's size */
332
+ left: 3px; /* node's padding value */
333
333
  }
334
334
 
335
335
  .orgchart .node .verticalEdge::before {
336
336
  position: absolute;
337
- left: calc(50% - 0.3125rem);
337
+ left: calc(50% - 5px); /* 50% width of node - half width of up arrow icon) */
338
338
  }
339
339
 
340
340
  .orgchart .node .topEdge {
@@ -350,7 +350,7 @@
350
350
  }
351
351
 
352
352
  .orgchart .node .bottomEdge {
353
- bottom: -2px;
353
+ bottom: -2px; /* -(node's border-width) */
354
354
  }
355
355
 
356
356
  .orgchart .node .bottomEdge.oci-chevron-up::before {
@@ -364,9 +364,7 @@
364
364
  .orgchart .node .horizontalEdge {
365
365
  width: 10px;
366
366
  height: calc(100% - 6px);
367
- height: -webkit-calc(100% - 6px);
368
- height: -moz-calc(100% - 6px);
369
- top: 3px;
367
+ top: 3px; /* node's padding */
370
368
  }
371
369
 
372
370
  .orgchart .node .rightEdge {
@@ -379,15 +377,7 @@
379
377
 
380
378
  .orgchart .node .horizontalEdge::before {
381
379
  position: absolute;
382
- top: calc(50% - 0.3125rem);
383
- }
384
-
385
- .orgchart .node .rightEdge.oci-chevron-left::before {
386
- right: -3px;
387
- }
388
-
389
- .orgchart .node .rightEdge.oci-chevron-right::before {
390
- right: 1px;
380
+ top: calc(50% - 5px);
391
381
  }
392
382
 
393
383
  .orgchart .node .leftEdge.oci-chevron-right::before {
@@ -398,16 +388,27 @@
398
388
  left: 1px;
399
389
  }
400
390
 
391
+ .orgchart .node .rightEdge.oci-chevron-left::before {
392
+ right: -3px;
393
+ }
394
+
395
+ .orgchart .node .rightEdge.oci-chevron-right::before {
396
+ right: 1px;
397
+ }
398
+
401
399
  .orgchart .node .toggleBtn {
402
400
  position: absolute;
403
- left: 5px;
401
+ left: -2px; /* -(border width of node) */
404
402
  bottom: -2px;
405
- width: 1rem;
406
- height: 1rem;
403
+ width: 16px;
404
+ height: 16px;
407
405
  }
408
406
 
409
407
  .orgchart .node .toggleBtn::before {
410
408
  background-color: rgba(68, 157, 68, 0.6);
409
+ position: absolute;
410
+ left: 0;
411
+ bottom: 0;
411
412
  }
412
413
 
413
414
  .orgchart .node .toggleBtn:hover::before {
@@ -463,14 +464,14 @@
463
464
 
464
465
  .orgchart .nodes.vertical {
465
466
  display: block;
466
- padding-left: 18px;
467
+ padding-left: 10px; /* width of background square*/
467
468
  }
468
469
 
469
470
  .orgchart .nodes.vertical .nodes {
470
471
  list-style: none;
471
472
  display: block;
472
473
  margin: 0;
473
- padding-left: 18px;
474
+ padding-left: 10px; /* width of background square*/
474
475
  text-align: left;
475
476
  }
476
477
 
@@ -483,45 +484,205 @@
483
484
  content: none;
484
485
  }
485
486
 
486
- .orgchart .nodes.vertical > .hierarchy:first-child::before {
487
- box-sizing: border-box;
488
- top: -11px;
489
- height: 35px;
490
- width: calc(50% - 2px);
491
- border-width: 2px 0 0 2px;
492
- }
493
- .orgchart .nodes.vertical .hierarchy{
487
+ .orgchart .nodes.vertical .hierarchy {
494
488
  position: relative;
495
489
  text-align: left;
496
490
  }
491
+
497
492
  .orgchart .nodes.vertical .hierarchy::before,
498
493
  .orgchart .nodes.vertical .hierarchy::after {
499
494
  box-sizing: border-box;
500
495
  content: '';
501
496
  position: absolute;
502
- left: -6px;
497
+ left: -6px; /* -(background square size + half width of line */
503
498
  border-color: rgba(217, 83, 79, 0.8);
504
499
  border-style: solid;
505
500
  border-width: 0 0 2px 2px;
506
501
  }
502
+
507
503
  .orgchart .nodes.vertical .hierarchy::before {
508
- top: -4px;
509
- height: 30px;
510
- width: 11px;
504
+ top: 0px;
505
+ height: 26px; /* node top half's height(25px) + half width of line */
506
+ width: 11px; /* background square size + half width of line */
511
507
  }
508
+
512
509
  .orgchart .nodes.vertical .hierarchy::after {
513
- top: 1px;
514
- height: 100%;
510
+ bottom: 0;
511
+ height: calc(100% - 24px); /* height of hierarchy - (node top half's height(25px) - half width of line) */
515
512
  }
516
- .orgchart .nodes.vertical .hierarchy:first-child::after {
513
+
514
+ .orgchart .nodes.vertical .hierarchy:last-child::after {
515
+ border-width: 2px 0 0 0;
516
+ }
517
+
518
+ .orgchart .nodes.vertical > .hierarchy:first-child::before {
517
519
  box-sizing: border-box;
518
- top: 24px;
519
- width: 11px;
520
+ top: -11px; /* -(background square size + half width of line) */
521
+ height: 35px; /* node top half's height + node padding + node border width + background square size */
522
+ width: calc(50% + 2px);
520
523
  border-width: 2px 0 0 2px;
521
524
  }
522
- .orgchart .nodes.vertical .hierarchy:last-child::after {
525
+
526
+ .orgchart .nodes.vertical > .hierarchy:first-child::after {
523
527
  box-sizing: border-box;
524
- border-width: 2px 0 0;
528
+ top: 24px; /* node bottom half's height(25px) - half border width of line */
529
+ width: 11px; /* backgroud square size + half border width of line */
530
+ border-width: 2px 0 0 2px;
531
+ }
532
+
533
+ .orgchart .nodes.vertical > .hierarchy:first-child:last-child::after {
534
+ border-width: 2px 0 0 0;
535
+ }
536
+
537
+ /* styles for compact nodes */
538
+ .orgchart .hierarchy > .node.compact {
539
+ position: static;
540
+ display: grid;
541
+ width: 140px;
542
+ height: 50px;
543
+ overflow: hidden;
544
+ background-color: #eee;
545
+ }
546
+
547
+ .orgchart .node.compact.even,
548
+ .orgchart .node.compact.even:hover {
549
+ background-color: #eee;
550
+ }
551
+
552
+ .orgchart .node.compact.odd,
553
+ .orgchart .node.compact.odd:hover {
554
+ background-color: #fff;
555
+ }
556
+
557
+ .orgchart .node.compact.even > .node:hover,
558
+ .orgchart .node.compact.even > .node.focused,
559
+ .orgchart .node.compact.even > .node.selected {
560
+ background-color: #fff;
561
+ }
562
+
563
+ .orgchart .node.compact.odd > .node:hover,
564
+ .orgchart .node.compact.odd > .node.focused,
565
+ .orgchart .node.compact.odd > .node.selected {
566
+ background-color: #eee;
567
+ }
568
+
569
+ .orgchart .hierarchy > .node.compact.looseMode {
570
+ display: grid;
571
+ width: unset;
572
+ height: unset;
573
+ overflow: unset;
574
+ }
575
+
576
+ .orgchart .hierarchy > .node.compact::before {
577
+ top: var(--top-cross-point, -10px);
578
+ }
579
+
580
+ .orgchart .node.compact > .node.compact {
581
+ position: relative;
582
+ display: grid;
583
+ width: 140px;
584
+ height: 50px;
585
+ overflow: hidden;
586
+ }
587
+
588
+ .orgchart .node.compact .node.compact.looseMode {
589
+ width: unset;
590
+ height: unset;
591
+ overflow: unset;
592
+ }
593
+
594
+ .orgchart .hierarchy > .node.compact > .content {
595
+ position: absolute;
596
+ top: 25px;
597
+ left: 5px;
598
+ }
599
+
600
+ .orgchart .hierarchy > .node.compact.looseMode > .title {
601
+ margin-top: 5px;
602
+ margin-left: 5px;
603
+ }
604
+
605
+ .orgchart .hierarchy > .node.compact.looseMode > .content {
606
+ top: 30px;
607
+ left: 10px;
608
+ }
609
+
610
+ .orgchart .node.compact > .node.compact.looseMode > .title {
611
+ margin-top: 5px;
612
+ margin-left: 5px;
613
+ }
614
+
615
+ .orgchart .node.compact > .node.compact > .content {
616
+ position: absolute;
617
+ top: 23px;
618
+ left: 3px;
619
+ }
620
+
621
+ .orgchart .node.compact > .node.compact.looseMode > .content {
622
+ top: 28px;
623
+ left: 8px;
624
+ }
625
+
626
+ .orgchart .node.compact .node {
627
+ margin-bottom: 0;
628
+ }
629
+
630
+ .orgchart .node.compact .node:not(:only-child)::after {
631
+ content: unset;
632
+ }
633
+
634
+ .orgchart .backToCompactSymbol, .orgchart .backToLooseSymbol {
635
+ cursor: pointer;
636
+ }
637
+
638
+ .orgchart .hierarchy > .node.compact > .backToCompactSymbol {
639
+ position: absolute;
640
+ top: 5px;
641
+ left: 5px;
642
+ }
643
+
644
+ .orgchart .hierarchy > .node.compact.looseMode > .backToCompactSymbol {
645
+ top: 10px;
646
+ left: 10px;
647
+ }
648
+
649
+ .orgchart .node.compact > .node.compact.looseMode > .backToCompactSymbol {
650
+ top: 8px;
651
+ left: 8px;
652
+ }
653
+
654
+ .orgchart .node.compact > .node.compact > .backToCompactSymbol {
655
+ position: absolute;
656
+ top: 3px;
657
+ left: 3px;
658
+ }
659
+
660
+ .orgchart .hierarchy > .node.compact > .backToLooseSymbol {
661
+ position: absolute;
662
+ top: 25px;
663
+ right: 5px;
664
+ }
665
+
666
+ .orgchart .node.compact > .node.compact > .backToLooseSymbol {
667
+ position: absolute;
668
+ top: 23px;
669
+ right: 3px;
670
+ }
671
+
672
+ .orgchart .node.compact .backToCompactSymbol::before {
673
+ border-top-color: rgba(68, 157, 68, 0.6);
674
+ }
675
+
676
+ .orgchart .node.compact .backToLooseSymbol::before {
677
+ border-bottom-color: rgba(68, 157, 68, 0.6);
678
+ }
679
+
680
+ .orgchart .node.compact .backToCompactSymbol:hover::before {
681
+ border-top-color: #449d44;
682
+ }
683
+
684
+ .orgchart .node.compact .backToLooseSymbol:hover::before {
685
+ border-bottom-color: #449d44;
525
686
  }
526
687
 
527
688
  /* custom icons for orgchart */
@@ -532,159 +693,153 @@
532
693
  font-family: Arial;
533
694
  }
534
695
 
535
- .oci-chevron-up::before {
536
- content: "";
696
+ .oci-menu::before {
697
+ content: "≡";
537
698
  display: inline-block;
538
- box-sizing: border-box;
539
- vertical-align: text-bottom;
540
- width: 0.625rem;
541
- height: 0.625rem;
542
- border-width: 0 0.2rem 0.2rem 0;
543
- border-style: solid;
544
- border-color: #000;
545
- background: transparent;
546
- transform: rotate(-135deg);
699
+ width: 1rem;
700
+ height: 1rem;
701
+ text-align: center;
702
+ line-height: 1rem;
703
+ color: #000;
704
+ font-size: 1rem;
547
705
  }
548
706
 
549
- .oci-chevron-right::before {
707
+ .oci-chevron-up::before {
550
708
  content: "";
551
- display: inline-block;
552
709
  box-sizing: border-box;
553
- width: 0.625rem;
554
- height: 0.625rem;
555
- border-width: 0 0.2rem 0.2rem 0;
556
- border-style: solid;
557
- border-color: #000;
558
- background: transparent;
559
- transform: rotate(-45deg);
710
+ width: 10px;
711
+ height: 10px;
712
+ display: inline-block;
713
+ border: 3px solid #000;
714
+ transform: rotate(45deg);
715
+ border-right: unset;
716
+ border-bottom: unset;
560
717
  }
561
718
 
562
719
  .oci-chevron-down::before {
563
720
  content: "";
564
- display: inline-block;
565
721
  box-sizing: border-box;
566
- width: 0.625rem;
567
- height: 0.625rem;
568
- border-width: 0 0.2rem 0.2rem 0;
569
- border-style: solid;
570
- border-color: #000;
571
- background: transparent;
722
+ width: 10px;
723
+ height: 10px;
724
+ display: inline-block;
725
+ border: 3px solid #000;
572
726
  transform: rotate(45deg);
727
+ border-top: unset;
728
+ border-left: unset;
573
729
  }
574
730
 
575
731
  .oci-chevron-left::before {
576
732
  content: "";
733
+ box-sizing: border-box;
734
+ width: 10px;
735
+ height: 10px;
577
736
  display: inline-block;
737
+ border: 3px solid #000;
738
+ transform: rotate(45deg);
739
+ border-top: unset;
740
+ border-right: unset;
741
+ }
742
+
743
+ .oci-chevron-right::before {
744
+ content: "";
578
745
  box-sizing: border-box;
579
- width: 0.625rem;
580
- height: 0.625rem;
581
- border-width: 0 0.2rem 0.2rem 0;
582
- border-style: solid;
583
- border-color: #000;
584
- background: transparent;
585
- transform: rotate(135deg);
746
+ width: 10px;
747
+ height: 10px;
748
+ display: inline-block;
749
+ border: 3px solid #000;
750
+ transform: rotate(45deg);
751
+ border-left: unset;
752
+ border-bottom: unset;
586
753
  }
587
754
 
588
- .oci-leader::before {
589
- position: absolute;
755
+ .oci-corner-top-left::before {
590
756
  content: "";
591
757
  display: inline-block;
592
- width: 0.4rem;
593
- height: 0.4rem;
594
- border-radius: 0.2rem;
595
- background: #000;
596
- top: -0.75rem;
597
- left: 0.1rem;
758
+ border-top: 20px solid #000;
759
+ border-right: 20px solid transparent;
598
760
  }
599
761
 
600
- .oci-leader::after {
601
- position: absolute;
762
+ .oci-corner-top-right::before {
602
763
  content: "";
603
764
  display: inline-block;
604
- width: 0.875rem;
605
- height: 0.375rem;
606
- border-radius: 0.25rem 0.25rem 0 0;
607
- background: #000;
608
- top: -0.3rem;
609
- left: -0.125rem;
765
+ box-sizing: border-box;
766
+ width: 0;
767
+ height: 0;
768
+ border-top: 20px solid #000;
769
+ border-left: 20px solid transparent;
610
770
  }
611
771
 
612
- .oci-plus-square::before {
613
- content: "+";
772
+ .oci-corner-bottom-right::before {
773
+ content: "";
614
774
  display: inline-block;
615
- vertical-align: text-bottom;
616
- text-align: center;
617
- width: 1rem;
618
- height: 1rem;
619
- background-color: #000;
620
- color: #fff;
775
+ box-sizing: border-box;
776
+ width: 0;
777
+ height: 0;
778
+ border-bottom: 20px solid #000;
779
+ border-left: 20px solid transparent;
621
780
  }
622
781
 
623
- .oci-plus-circle::before {
624
- content: "+";
782
+ .oci-corner-bottom-left::before {
783
+ content: "";
625
784
  display: inline-block;
626
- vertical-align: text-bottom;
627
- text-align: center;
628
- width: 1rem;
629
- height: 1rem;
630
- border-radius: 0.5rem;
631
- background-color: #000;
632
- color: #fff;
785
+ box-sizing: border-box;
786
+ width: 0;
787
+ height: 0;
788
+ border-bottom: 20px solid #000;
789
+ border-right: 20px solid transparent;
633
790
  }
634
791
 
635
- .oci-minus-square::before {
636
- content: "−";
792
+ .oci-plus-square::before {
793
+ content: "﹢";
637
794
  display: inline-block;
638
- vertical-align: text-bottom;
795
+ width: 16px;
796
+ height: 16px;
639
797
  text-align: center;
640
- width: 1rem;
641
- height: 1rem;
798
+ line-height: 16px;
642
799
  background-color: #000;
643
800
  color: #fff;
801
+ font-weight: bold;
644
802
  }
645
803
 
646
- .oci-minus-circle::before {
647
- content: "−";
804
+ .oci-minus-square::before {
805
+ content: "﹣";
648
806
  display: inline-block;
649
- vertical-align: text-bottom;
807
+ width: 16px;
808
+ height: 16px;
650
809
  text-align: center;
651
- width: 1rem;
652
- height: 1rem;
653
- border-radius: 0.5rem;
810
+ line-height: 16px;
654
811
  background-color: #000;
655
812
  color: #fff;
813
+ font-weight: bold;
656
814
  }
657
815
 
658
- .oci-arrow-circle-up::before {
659
- content: "▲";
816
+ .oci-arrow-square-up::before {
817
+ content: "⬆";
660
818
  display: inline-block;
661
- text-align: center;
662
- vertical-align: text-bottom;
663
819
  width: 1rem;
664
820
  height: 1rem;
665
- border-radius: 0.5rem;
821
+ text-align: center;
822
+ line-height: 1rem;
666
823
  background-color: #000;
667
824
  color: #fff;
668
- font-size: 0.875rem;
825
+ font-weight: bold;
669
826
  }
670
827
 
671
- .oci-arrow-circle-down::before {
672
- content: "▼";
673
- text-align: center;
828
+ .oci-arrow-square-down::before {
829
+ content: "⬇";
674
830
  display: inline-block;
675
- vertical-align: text-bottom;
676
831
  width: 1rem;
677
832
  height: 1rem;
678
- border-radius: 0.5rem;
833
+ text-align: center;
834
+ line-height: 1rem;
679
835
  background-color: #000;
680
836
  color: #fff;
681
- font-size: 0.875rem;
837
+ font-weight: bold;
682
838
  }
683
839
 
684
840
  .oci-info-circle::before {
685
841
  content: "i";
686
842
  display: inline-block;
687
- vertical-align: text-bottom;
688
843
  width: 1rem;
689
844
  height: 1rem;
690
845
  border-radius: 0.5rem;