@forsakringskassan/docs-generator 2.6.0 → 2.7.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.
@@ -125,6 +125,101 @@ pre code {
125
125
  display: block;
126
126
  }
127
127
 
128
+ .docs-contextmenu {
129
+ background-color: var(--docs-contextmenu-background-color);
130
+ }
131
+ .docs-contextmenu__list {
132
+ background: inherit;
133
+ border-radius: 2px;
134
+ border: 1px solid var(--docs-contextmenu-border-color);
135
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
136
+ color: var(--docs-contextmenu-link-color);
137
+ display: block;
138
+ font-weight: normal;
139
+ margin: 0;
140
+ padding: 0.5rem;
141
+ position: absolute;
142
+ right: 0;
143
+ visibility: hidden;
144
+ z-index: 1;
145
+ }
146
+ .docs-contextmenu__item {
147
+ display: block;
148
+ list-style-type: none;
149
+ white-space: nowrap;
150
+ }
151
+ .docs-contextmenu__item.highlight {
152
+ background-color: var(--docs-contextmenu-highlight-color);
153
+ font-weight: bold;
154
+ }
155
+ .docs-contextmenu__anchor {
156
+ cursor: pointer;
157
+ display: block;
158
+ padding: 0.75rem;
159
+ }
160
+ .docs-contextmenu__anchor, .docs-contextmenu__anchor:visited, .docs-contextmenu__anchor:active {
161
+ color: var(--docs-contextmenu-link-color-default);
162
+ }
163
+ .docs-contextmenu__anchor:hover {
164
+ color: var(--docs-contextmenu-link-color-default);
165
+ background-color: var(--docs-contextmenu-link-background-hover);
166
+ }
167
+
168
+ .docs-topnav {
169
+ background-color: var(--docs-topnav-background-color);
170
+ margin: 0 -0.5rem;
171
+ overflow: hidden;
172
+ }
173
+ .docs-topnav__list {
174
+ display: flex;
175
+ gap: 1rem;
176
+ margin: 0;
177
+ padding: 0;
178
+ }
179
+ .docs-topnav__item {
180
+ display: inline-flex;
181
+ list-style-type: none;
182
+ padding: 1.1rem 0 0 0;
183
+ white-space: nowrap;
184
+ }
185
+ .docs-topnav__item.highlight {
186
+ color: var(--docs-topnav-link-color-highlight);
187
+ font-weight: bold;
188
+ }
189
+ .docs-topnav__item.highlight :where(.docs-topnav__anchor) {
190
+ border-color: var(--docs-topnav-border-color-highlight);
191
+ font-weight: bold;
192
+ }
193
+ .docs-topnav__item--more {
194
+ position: absolute;
195
+ visibility: hidden;
196
+ }
197
+ .docs-topnav__anchor {
198
+ border: none;
199
+ border-bottom: 5px solid transparent;
200
+ cursor: pointer;
201
+ display: inline-flex;
202
+ padding-bottom: 0.5rem;
203
+ }
204
+ .docs-topnav__anchor, .docs-topnav__anchor:visited, .docs-topnav__anchor:active {
205
+ color: var(--docs-topnav-link-color-default);
206
+ }
207
+ .docs-topnav__anchor:hover {
208
+ color: var(--docs-topnav-link-color-hover);
209
+ border-color: var(--docs-topnav-border-color-hover);
210
+ }
211
+ button.docs-topnav__anchor {
212
+ align-items: center;
213
+ background: none;
214
+ display: flex;
215
+ gap: 0.75rem;
216
+ padding: 0;
217
+ padding-bottom: 0.5rem;
218
+ }
219
+ button.docs-topnav__anchor svg {
220
+ color: var(--docs-topnav-border-color-highlight);
221
+ }
222
+
128
223
  .layout-wrapper {
129
224
  display: grid;
130
225
  grid-template: "header" auto "primary" 1fr "footer" auto;
@@ -484,6 +579,135 @@ main {
484
579
  margin: 0;
485
580
  }
486
581
 
582
+ pre code.hljs {
583
+ display: block;
584
+ overflow-x: auto;
585
+ padding: 1em;
586
+ }
587
+
588
+ code.hljs {
589
+ padding: 3px 5px;
590
+ }
591
+
592
+ /*!
593
+ Theme: Default
594
+ Description: Original highlight.js style
595
+ Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
596
+ Maintainer: @highlightjs/core-team
597
+ Website: https://highlightjs.org/
598
+ License: see project LICENSE
599
+ Touched: 2021
600
+ */
601
+ /*
602
+ This is left on purpose making default.css the single file that can be lifted
603
+ as-is from the repository directly without the need for a build step
604
+
605
+ Typically this "required" baseline CSS is added by `makestuff.js` during build.
606
+ */
607
+ pre code.hljs {
608
+ display: block;
609
+ overflow-x: auto;
610
+ padding: 1em;
611
+ }
612
+
613
+ code.hljs {
614
+ padding: 3px 5px;
615
+ }
616
+
617
+ /* end baseline CSS */
618
+ .hljs {
619
+ background: #F3F3F3;
620
+ color: #444;
621
+ }
622
+
623
+ /* Base color: saturation 0; */
624
+ .hljs-subst {
625
+ /* default */
626
+ }
627
+
628
+ /* purposely ignored */
629
+ .hljs-comment {
630
+ color: #697070;
631
+ }
632
+
633
+ .hljs-tag,
634
+ .hljs-punctuation {
635
+ color: rgba(68, 68, 68, 0.6666666667);
636
+ }
637
+
638
+ .hljs-tag .hljs-name,
639
+ .hljs-tag .hljs-attr {
640
+ color: #444;
641
+ }
642
+
643
+ .hljs-keyword,
644
+ .hljs-attribute,
645
+ .hljs-selector-tag,
646
+ .hljs-meta .hljs-keyword,
647
+ .hljs-doctag,
648
+ .hljs-name {
649
+ font-weight: bold;
650
+ }
651
+
652
+ /* User color: hue: 0 */
653
+ .hljs-type,
654
+ .hljs-string,
655
+ .hljs-number,
656
+ .hljs-selector-id,
657
+ .hljs-selector-class,
658
+ .hljs-quote,
659
+ .hljs-template-tag,
660
+ .hljs-deletion {
661
+ color: #880000;
662
+ }
663
+
664
+ .hljs-title,
665
+ .hljs-section {
666
+ color: #880000;
667
+ font-weight: bold;
668
+ }
669
+
670
+ .hljs-regexp,
671
+ .hljs-symbol,
672
+ .hljs-variable,
673
+ .hljs-template-variable,
674
+ .hljs-link,
675
+ .hljs-selector-attr,
676
+ .hljs-operator,
677
+ .hljs-selector-pseudo {
678
+ color: #ab5656;
679
+ }
680
+
681
+ /* Language color: hue: 90; */
682
+ .hljs-literal {
683
+ color: #695;
684
+ }
685
+
686
+ .hljs-built_in,
687
+ .hljs-bullet,
688
+ .hljs-code,
689
+ .hljs-addition {
690
+ color: #397300;
691
+ }
692
+
693
+ /* Meta color: hue: 200 */
694
+ .hljs-meta {
695
+ color: #1f7199;
696
+ }
697
+
698
+ .hljs-meta .hljs-string {
699
+ color: #38a;
700
+ }
701
+
702
+ /* Misc effects */
703
+ .hljs-emphasis {
704
+ font-style: italic;
705
+ }
706
+
707
+ .hljs-strong {
708
+ font-weight: bold;
709
+ }
710
+
487
711
  /* reset broken FKUI reset */
488
712
  dialog {
489
713
  display: none;
@@ -598,6 +822,7 @@ header .page-header {
598
822
  padding-top: 0.5rem;
599
823
  padding-bottom: 0.5rem;
600
824
  padding-left: 1.2rem;
825
+ padding-right: 1.2rem;
601
826
  border-bottom: 1px solid #ddddde;
602
827
  flex-wrap: wrap;
603
828
  }
@@ -650,9 +875,6 @@ header .page-header__right-slot {
650
875
  margin-top: 0.5rem;
651
876
  margin-left: -1.5rem;
652
877
  }
653
- header .imenu {
654
- padding-left: 0 !important;
655
- }
656
878
  header button kbd {
657
879
  display: none;
658
880
  }
@@ -675,23 +897,6 @@ header .label {
675
897
  margin-bottom: 0;
676
898
  }
677
899
 
678
- /* meny */
679
- header .imenu {
680
- background-color: #fff;
681
- margin-left: -0.5rem;
682
- }
683
-
684
- header .imenu__list {
685
- gap: 1rem;
686
- }
687
-
688
- header .imenu--horizontal .imenu__list__item {
689
- display: inline-flex;
690
- padding-top: 1.1rem;
691
- padding-left: 0;
692
- padding-right: 0;
693
- }
694
-
695
900
  /* navigering vänster */
696
901
  #sidenav {
697
902
  background-color: #f4f4f4;
@@ -125,6 +125,101 @@ pre code {
125
125
  display: block;
126
126
  }
127
127
 
128
+ .docs-contextmenu {
129
+ background-color: var(--docs-contextmenu-background-color);
130
+ }
131
+ .docs-contextmenu__list {
132
+ background: inherit;
133
+ border-radius: 2px;
134
+ border: 1px solid var(--docs-contextmenu-border-color);
135
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
136
+ color: var(--docs-contextmenu-link-color);
137
+ display: block;
138
+ font-weight: normal;
139
+ margin: 0;
140
+ padding: 0.5rem;
141
+ position: absolute;
142
+ right: 0;
143
+ visibility: hidden;
144
+ z-index: 1;
145
+ }
146
+ .docs-contextmenu__item {
147
+ display: block;
148
+ list-style-type: none;
149
+ white-space: nowrap;
150
+ }
151
+ .docs-contextmenu__item.highlight {
152
+ background-color: var(--docs-contextmenu-highlight-color);
153
+ font-weight: bold;
154
+ }
155
+ .docs-contextmenu__anchor {
156
+ cursor: pointer;
157
+ display: block;
158
+ padding: 0.75rem;
159
+ }
160
+ .docs-contextmenu__anchor, .docs-contextmenu__anchor:visited, .docs-contextmenu__anchor:active {
161
+ color: var(--docs-contextmenu-link-color-default);
162
+ }
163
+ .docs-contextmenu__anchor:hover {
164
+ color: var(--docs-contextmenu-link-color-default);
165
+ background-color: var(--docs-contextmenu-link-background-hover);
166
+ }
167
+
168
+ .docs-topnav {
169
+ background-color: var(--docs-topnav-background-color);
170
+ margin: 0 -0.5rem;
171
+ overflow: hidden;
172
+ }
173
+ .docs-topnav__list {
174
+ display: flex;
175
+ gap: 1rem;
176
+ margin: 0;
177
+ padding: 0;
178
+ }
179
+ .docs-topnav__item {
180
+ display: inline-flex;
181
+ list-style-type: none;
182
+ padding: 1.1rem 0 0 0;
183
+ white-space: nowrap;
184
+ }
185
+ .docs-topnav__item.highlight {
186
+ color: var(--docs-topnav-link-color-highlight);
187
+ font-weight: bold;
188
+ }
189
+ .docs-topnav__item.highlight :where(.docs-topnav__anchor) {
190
+ border-color: var(--docs-topnav-border-color-highlight);
191
+ font-weight: bold;
192
+ }
193
+ .docs-topnav__item--more {
194
+ position: absolute;
195
+ visibility: hidden;
196
+ }
197
+ .docs-topnav__anchor {
198
+ border: none;
199
+ border-bottom: 5px solid transparent;
200
+ cursor: pointer;
201
+ display: inline-flex;
202
+ padding-bottom: 0.5rem;
203
+ }
204
+ .docs-topnav__anchor, .docs-topnav__anchor:visited, .docs-topnav__anchor:active {
205
+ color: var(--docs-topnav-link-color-default);
206
+ }
207
+ .docs-topnav__anchor:hover {
208
+ color: var(--docs-topnav-link-color-hover);
209
+ border-color: var(--docs-topnav-border-color-hover);
210
+ }
211
+ button.docs-topnav__anchor {
212
+ align-items: center;
213
+ background: none;
214
+ display: flex;
215
+ gap: 0.75rem;
216
+ padding: 0;
217
+ padding-bottom: 0.5rem;
218
+ }
219
+ button.docs-topnav__anchor svg {
220
+ color: var(--docs-topnav-border-color-highlight);
221
+ }
222
+
128
223
  .layout-wrapper {
129
224
  display: grid;
130
225
  grid-template: "header" auto "primary" 1fr "footer" auto;
@@ -484,6 +579,135 @@ main {
484
579
  margin: 0;
485
580
  }
486
581
 
582
+ pre code.hljs {
583
+ display: block;
584
+ overflow-x: auto;
585
+ padding: 1em;
586
+ }
587
+
588
+ code.hljs {
589
+ padding: 3px 5px;
590
+ }
591
+
592
+ /*!
593
+ Theme: Default
594
+ Description: Original highlight.js style
595
+ Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
596
+ Maintainer: @highlightjs/core-team
597
+ Website: https://highlightjs.org/
598
+ License: see project LICENSE
599
+ Touched: 2021
600
+ */
601
+ /*
602
+ This is left on purpose making default.css the single file that can be lifted
603
+ as-is from the repository directly without the need for a build step
604
+
605
+ Typically this "required" baseline CSS is added by `makestuff.js` during build.
606
+ */
607
+ pre code.hljs {
608
+ display: block;
609
+ overflow-x: auto;
610
+ padding: 1em;
611
+ }
612
+
613
+ code.hljs {
614
+ padding: 3px 5px;
615
+ }
616
+
617
+ /* end baseline CSS */
618
+ .hljs {
619
+ background: #F3F3F3;
620
+ color: #444;
621
+ }
622
+
623
+ /* Base color: saturation 0; */
624
+ .hljs-subst {
625
+ /* default */
626
+ }
627
+
628
+ /* purposely ignored */
629
+ .hljs-comment {
630
+ color: #697070;
631
+ }
632
+
633
+ .hljs-tag,
634
+ .hljs-punctuation {
635
+ color: rgba(68, 68, 68, 0.6666666667);
636
+ }
637
+
638
+ .hljs-tag .hljs-name,
639
+ .hljs-tag .hljs-attr {
640
+ color: #444;
641
+ }
642
+
643
+ .hljs-keyword,
644
+ .hljs-attribute,
645
+ .hljs-selector-tag,
646
+ .hljs-meta .hljs-keyword,
647
+ .hljs-doctag,
648
+ .hljs-name {
649
+ font-weight: bold;
650
+ }
651
+
652
+ /* User color: hue: 0 */
653
+ .hljs-type,
654
+ .hljs-string,
655
+ .hljs-number,
656
+ .hljs-selector-id,
657
+ .hljs-selector-class,
658
+ .hljs-quote,
659
+ .hljs-template-tag,
660
+ .hljs-deletion {
661
+ color: #880000;
662
+ }
663
+
664
+ .hljs-title,
665
+ .hljs-section {
666
+ color: #880000;
667
+ font-weight: bold;
668
+ }
669
+
670
+ .hljs-regexp,
671
+ .hljs-symbol,
672
+ .hljs-variable,
673
+ .hljs-template-variable,
674
+ .hljs-link,
675
+ .hljs-selector-attr,
676
+ .hljs-operator,
677
+ .hljs-selector-pseudo {
678
+ color: #ab5656;
679
+ }
680
+
681
+ /* Language color: hue: 90; */
682
+ .hljs-literal {
683
+ color: #695;
684
+ }
685
+
686
+ .hljs-built_in,
687
+ .hljs-bullet,
688
+ .hljs-code,
689
+ .hljs-addition {
690
+ color: #397300;
691
+ }
692
+
693
+ /* Meta color: hue: 200 */
694
+ .hljs-meta {
695
+ color: #1f7199;
696
+ }
697
+
698
+ .hljs-meta .hljs-string {
699
+ color: #38a;
700
+ }
701
+
702
+ /* Misc effects */
703
+ .hljs-emphasis {
704
+ font-style: italic;
705
+ }
706
+
707
+ .hljs-strong {
708
+ font-weight: bold;
709
+ }
710
+
487
711
  /* reset broken FKUI reset */
488
712
  dialog {
489
713
  display: none;
@@ -598,6 +822,7 @@ header .page-header {
598
822
  padding-top: 0.5rem;
599
823
  padding-bottom: 0.5rem;
600
824
  padding-left: 1.2rem;
825
+ padding-right: 1.2rem;
601
826
  border-bottom: 1px solid #ddddde;
602
827
  flex-wrap: wrap;
603
828
  }
@@ -650,9 +875,6 @@ header .page-header__right-slot {
650
875
  margin-top: 0.5rem;
651
876
  margin-left: -1.5rem;
652
877
  }
653
- header .imenu {
654
- padding-left: 0 !important;
655
- }
656
878
  header button kbd {
657
879
  display: none;
658
880
  }
@@ -675,23 +897,6 @@ header .label {
675
897
  margin-bottom: 0;
676
898
  }
677
899
 
678
- /* meny */
679
- header .imenu {
680
- background-color: #fff;
681
- margin-left: -0.5rem;
682
- }
683
-
684
- header .imenu__list {
685
- gap: 1rem;
686
- }
687
-
688
- header .imenu--horizontal .imenu__list__item {
689
- display: inline-flex;
690
- padding-top: 1.1rem;
691
- padding-left: 0;
692
- padding-right: 0;
693
- }
694
-
695
900
  /* navigering vänster */
696
901
  #sidenav {
697
902
  background-color: #f4f4f4;
@@ -998,6 +1203,12 @@ kbd {
998
1203
  --docs-warning-background: #fffcf3;
999
1204
  --docs-error-color: #ca1515;
1000
1205
  --docs-error-background: #fcf3f3;
1206
+ --docs-contextmenu-background-color: #ffffff;
1207
+ --docs-contextmenu-border-color: #ddddde;
1208
+ --docs-contextmenu-highlight-color: #e7f0e9;
1209
+ --docs-contextmenu-link-color-default: var(--docs-text-color-default);
1210
+ --docs-contextmenu-link-color-hover: var(--docs-text-color-default);
1211
+ --docs-contextmenu-link-background-hover: #ddddde;
1001
1212
  --docs-heading-font-family: var(--docs-font-family);
1002
1213
  --docs-heading-font-weight: var(--docs-font-weight);
1003
1214
  --docs-heading-line-height: 1.4;
@@ -1013,6 +1224,12 @@ kbd {
1013
1224
  --docs-tags-optional-background-color: transparent;
1014
1225
  --docs-tags-optional-border-color: #5f6165;
1015
1226
  --docs-tags-optional-text-color: var(--docs-text-color-discrete);
1227
+ --docs-topnav-background-color: transparent;
1228
+ --docs-topnav-link-color-default: var(--docs-text-color-default);
1229
+ --docs-topnav-link-color-hover: var(--docs-text-color-link-hover);
1230
+ --docs-topnav-link-color-highlight: var(--docs-text-color-link-hover);
1231
+ --docs-topnav-border-color-hover: #afcfb5;
1232
+ --docs-topnav-border-color-highlight: #116a3e;
1016
1233
  --docs-version-text-color: var(--docs-text-color-discrete);
1017
1234
  --docs-version-link-color: var(--docs-text-color-discrete);
1018
1235
  --docs-version-hover-color: var(--docs-text-color-default);
@@ -18,6 +18,12 @@
18
18
  --docs-warning-background: #fffcf3;
19
19
  --docs-error-color: #ca1515;
20
20
  --docs-error-background: #fcf3f3;
21
+ --docs-contextmenu-background-color: #ffffff;
22
+ --docs-contextmenu-border-color: #ddddde;
23
+ --docs-contextmenu-highlight-color: #e7f0e9;
24
+ --docs-contextmenu-link-color-default: var(--docs-text-color-default);
25
+ --docs-contextmenu-link-color-hover: var(--docs-text-color-default);
26
+ --docs-contextmenu-link-background-hover: #ddddde;
21
27
  --docs-heading-font-family: var(--docs-font-family);
22
28
  --docs-heading-font-weight: var(--docs-font-weight);
23
29
  --docs-heading-line-height: 1.4;
@@ -33,6 +39,12 @@
33
39
  --docs-tags-optional-background-color: transparent;
34
40
  --docs-tags-optional-border-color: #5f6165;
35
41
  --docs-tags-optional-text-color: var(--docs-text-color-discrete);
42
+ --docs-topnav-background-color: transparent;
43
+ --docs-topnav-link-color-default: var(--docs-text-color-default);
44
+ --docs-topnav-link-color-hover: var(--docs-text-color-link-hover);
45
+ --docs-topnav-link-color-highlight: var(--docs-text-color-link-hover);
46
+ --docs-topnav-border-color-hover: #afcfb5;
47
+ --docs-topnav-border-color-highlight: #116a3e;
36
48
  --docs-version-text-color: var(--docs-text-color-discrete);
37
49
  --docs-version-link-color: var(--docs-text-color-discrete);
38
50
  --docs-version-hover-color: var(--docs-text-color-default);