@hackersheet/react-document-content-styles 0.1.0-alpha.10 → 0.1.0-alpha.11

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.
@@ -488,3 +488,63 @@
488
488
  .main :global .gist-block .gist-file:last-child {
489
489
  margin-bottom: 0;
490
490
  }
491
+ .main :global .directory-tree {
492
+ font-family: var(--hsdc-font-code);
493
+ position: relative;
494
+ margin: 0;
495
+ padding: 0.5rem 1rem;
496
+ font-size: 0.85rem;
497
+ font-weight: 400;
498
+ line-height: 1.5rem;
499
+ list-style: none;
500
+ }
501
+ .main :global .directory-tree .directory-tree-node-content {
502
+ display: flex;
503
+ flex-direction: row;
504
+ align-items: center;
505
+ gap: 0.5rem;
506
+ }
507
+ .main :global .directory-tree .directory-tree-directory > .directory-tree-node-content {
508
+ font-weight: 800;
509
+ color: hsl(var(--hsdc-muted-foreground));
510
+ }
511
+ .main :global .directory-tree ul {
512
+ padding-left: 5px;
513
+ list-style: none;
514
+ line-height: 1.5rem;
515
+ }
516
+ .main :global .directory-tree li {
517
+ line-height: 1.5rem;
518
+ }
519
+ .main :global .directory-tree ul li {
520
+ position: relative;
521
+ padding-top: 5px;
522
+ padding-bottom: 5px;
523
+ padding-left: 15px;
524
+ -webkit-box-sizing: border-box;
525
+ -moz-box-sizing: border-box;
526
+ box-sizing: border-box;
527
+ }
528
+ .main :global .directory-tree ul li:before {
529
+ position: absolute;
530
+ top: 15px;
531
+ left: 0;
532
+ width: 10px;
533
+ height: 1px;
534
+ margin: auto;
535
+ content: "";
536
+ background-color: #666;
537
+ }
538
+ .main :global .directory-tree ul li:after {
539
+ position: absolute;
540
+ top: 0;
541
+ bottom: 0;
542
+ left: 0;
543
+ width: 1px;
544
+ height: 100%;
545
+ content: "";
546
+ background-color: #666;
547
+ }
548
+ .main :global .directory-tree ul li:last-child:after {
549
+ height: 15px;
550
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hackersheet/react-document-content-styles",
3
- "version": "0.1.0-alpha.10",
3
+ "version": "0.1.0-alpha.11",
4
4
  "description": "Hacker Sheet document content styles.",
5
5
  "keywords": [],
6
6
  "repository": {