@forsakringskassan/docs-generator 2.0.0 → 2.2.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.
@@ -289,6 +289,9 @@ main {
289
289
  margin-bottom: 0;
290
290
  margin-left: 1rem;
291
291
  }
292
+ .navigation details summary::-webkit-details-marker {
293
+ display: none;
294
+ }
292
295
 
293
296
  #outline {
294
297
  margin-bottom: 1rem;
@@ -424,6 +427,14 @@ main {
424
427
  background-color: #f4f4f4;
425
428
  }
426
429
 
430
+ @keyframes skeleton {
431
+ from {
432
+ transform: translateX(-100%);
433
+ }
434
+ to {
435
+ transform: translateX(100%);
436
+ }
437
+ }
427
438
  #version-banner {
428
439
  margin: 0;
429
440
  }
@@ -799,6 +810,34 @@ main #aside dd {
799
810
  margin: 0;
800
811
  }
801
812
 
813
+ pre.mermaid:not([data-processed]) {
814
+ border: 1px solid #f4f4f4;
815
+ border-radius: 4px;
816
+ background: #ccc;
817
+ display: inline-block;
818
+ filter: blur(1px);
819
+ user-select: none;
820
+ color: transparent;
821
+ overflow: hidden;
822
+ width: 100%;
823
+ height: 3rem;
824
+ cursor: wait;
825
+ }
826
+ pre.mermaid:not([data-processed])::after {
827
+ content: " ";
828
+ display: block;
829
+ inset: 0;
830
+ position: absolute;
831
+ transform: translateX(-100%);
832
+ background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.3), transparent);
833
+ pointer-events: none;
834
+ }
835
+ @media not (prefers-reduced-motion: reduce) {
836
+ pre.mermaid:not([data-processed])::after {
837
+ animation: skeleton 2s infinite;
838
+ }
839
+ }
840
+
802
841
  .icon--code {
803
842
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgwVjB6Ii8+PHBhdGggZD0iTTkuNCAxNi42TDQuOCAxMmw0LjYtNC42TDggNmwtNiA2IDYgNiAxLjQtMS40em01LjIgMGw0LjYtNC42LTQuNi00LjZMMTYgNmw2IDYtNiA2LTEuNC0xLjR6Ii8+PC9zdmc+") no-repeat;
804
843
  background-size: contain;
@@ -289,6 +289,9 @@ main {
289
289
  margin-bottom: 0;
290
290
  margin-left: 1rem;
291
291
  }
292
+ .navigation details summary::-webkit-details-marker {
293
+ display: none;
294
+ }
292
295
 
293
296
  #outline {
294
297
  margin-bottom: 1rem;
@@ -424,6 +427,14 @@ main {
424
427
  background-color: #f4f4f4;
425
428
  }
426
429
 
430
+ @keyframes skeleton {
431
+ from {
432
+ transform: translateX(-100%);
433
+ }
434
+ to {
435
+ transform: translateX(100%);
436
+ }
437
+ }
427
438
  #version-banner {
428
439
  margin: 0;
429
440
  }
@@ -799,6 +810,34 @@ main #aside dd {
799
810
  margin: 0;
800
811
  }
801
812
 
813
+ pre.mermaid:not([data-processed]) {
814
+ border: 1px solid #f4f4f4;
815
+ border-radius: 4px;
816
+ background: #ccc;
817
+ display: inline-block;
818
+ filter: blur(1px);
819
+ user-select: none;
820
+ color: transparent;
821
+ overflow: hidden;
822
+ width: 100%;
823
+ height: 3rem;
824
+ cursor: wait;
825
+ }
826
+ pre.mermaid:not([data-processed])::after {
827
+ content: " ";
828
+ display: block;
829
+ inset: 0;
830
+ position: absolute;
831
+ transform: translateX(-100%);
832
+ background: linear-gradient(90deg, transparent, hsla(0, 0%, 100%, 0.3), transparent);
833
+ pointer-events: none;
834
+ }
835
+ @media not (prefers-reduced-motion: reduce) {
836
+ pre.mermaid:not([data-processed])::after {
837
+ animation: skeleton 2s infinite;
838
+ }
839
+ }
840
+
802
841
  .icon--code {
803
842
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgwVjB6Ii8+PHBhdGggZD0iTTkuNCAxNi42TDQuOCAxMmw0LjYtNC42TDggNmwtNiA2IDYgNiAxLjQtMS40em01LjIgMGw0LjYtNC42LTQuNi00LjZMMTYgNmw2IDYtNiA2LTEuNC0xLjR6Ii8+PC9zdmc+") no-repeat;
804
843
  background-size: contain;