who.fhir.template 0.5.0 → 0.5.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.
package/README.md CHANGED
@@ -1,3 +1,4 @@
1
1
  # WHO SMART Guidelines FHIR IG Template
2
2
 
3
3
  **This template may only be used for ImplementationGuides that are authored by the World Health Organization.**
4
+
@@ -15,6 +15,9 @@
15
15
  --ig-header-color: #f6f7f9;
16
16
  --toc-box-border: navy;
17
17
  --toc-box-bg-color: #f6f7f9;
18
+ --must-color: #4d0000;
19
+ --should-color: #4d4000;
20
+ --may-color: #00004d;
18
21
  }
19
22
 
20
23
 
@@ -420,7 +423,7 @@ body {
420
423
  }
421
424
 
422
425
  td,
423
- p {
426
+ p, li {
424
427
  font-family: 'Noto Sans', sans-serif !important;
425
428
  /* font-weight: 500; */
426
429
  }
@@ -573,3 +576,85 @@ div.markdown-toc {
573
576
  background-size: calc(50% / 5) 100px;
574
577
  background-repeat: repeat-x;
575
578
  }
579
+
580
+
581
+
582
+
583
+ .info-box {
584
+ border: 2px solid #004080;
585
+ border-radius: 7px;
586
+ padding: 10px;
587
+ margin: 10px 0;
588
+ background-color: #f0f0f0;
589
+ position: relative;
590
+ font-size: 0.9em;
591
+ line-height: 1.6;
592
+ }
593
+
594
+ .info-title {
595
+ font-weight: bold;
596
+ color: #004080;
597
+ margin-bottom: 10px;
598
+ display: flex;
599
+ align-items: center; /* Ensure the text and icon align vertically */
600
+ /* padding-left: 30px; */
601
+ }
602
+
603
+ .info-box .info-title:before {
604
+ font-family: 'Font Awesome 5 Free';
605
+ content: ""; /* This will be dynamically filled based on the class */
606
+ margin-right: 10px;
607
+ display: block;
608
+ width: 20px; /* Ensure sufficient space for the icon */
609
+ text-align: center;
610
+ }
611
+
612
+ .info-box.must {
613
+ border-color: var(--must-color);
614
+ }
615
+
616
+ .info-box.must .info-title,
617
+ .info-box.must .info-title:before {
618
+ color: var(--must-color);
619
+ }
620
+
621
+ .info-box.should {
622
+ border-color: var(--should-color);
623
+ }
624
+
625
+ .info-box.should .info-title,
626
+ .info-box.should .info-title:before {
627
+ color: var(--should-color);
628
+ }
629
+
630
+ .info-box.may {
631
+ border-color: var(--may-color);
632
+ }
633
+
634
+ .info-box.may .info-title,
635
+ .info-box.may .info-title:before {
636
+ color: var(--may-color);
637
+ }
638
+ .info-box.must .info-title:before {
639
+ content: "\f023"; /* Lock icon for "must" */
640
+ }
641
+
642
+ .info-box.should .info-title:before {
643
+ content: "\f164"; /* Thumbs up icon for "should" */
644
+ }
645
+
646
+ .info-box.may .info-title:before {
647
+ content: "\f05a"; /* Information circle icon for "may" */
648
+ }
649
+
650
+ .info-box pre {
651
+ display: inline-block; /* Inline-block makes it flow in line but respect whitespace */
652
+ background: #e1e1e1; /* Light grey background for distinction */
653
+ padding: 2px 4px; /* Padding around the text */
654
+ margin: 0 2px; /* Margins for spacing */
655
+ border-radius: 4px; /* Rounded corners */
656
+ vertical-align: middle; /* Adjusts the vertical alignment to match baseline of surrounding text */
657
+ white-space: pre-wrap; /* Allows text to wrap if necessary */
658
+ }
659
+
660
+
@@ -1,2 +1,2 @@
1
1
  <link href="{{site.data.info.assets}}assets/css/who.css" rel="stylesheet"/>
2
- <link href="{{site.data.info.assets}}assets/css/lforms.min.css" rel="stylesheet"/>
2
+ <link href="{{site.data.info.assets}}assets/css/lforms.min.css" rel="stylesheet"/>
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"who.fhir.template","type":"fhir.template","license":"CC0-1.0","description":"WHO FHIR IG Template","author":"World Health Organization","canonical":"http://github.com/WorldHealthOrganization/smart-ig-template-who","base":"fhir.base.template.a","dependencies":{"fhir.base.template.a":"0.8.0"},"version":"0.5.0","date":"20240425221526"}
1
+ {"name":"who.fhir.template","type":"fhir.template","license":"CC0-1.0","description":"WHO FHIR IG Template","author":"World Health Organization","canonical":"http://github.com/WorldHealthOrganization/smart-ig-template-who","base":"fhir.base.template.a","dependencies":{"fhir.base.template.a":"0.8.1"},"version":"0.5.1","date":"20240706071054"}