Flat Preloader Icon
<div class="c-preloader">
	<div class="c-preloader__count"></div>
  <div class="c-preloader__progress"></div>
</div>
.bricks-is-frontend .c-preloader {
  position: fixed;
  top: 0;
  left: 0;
  background: #cc0000;
  width: 100%;
  height: 100vh;
  z-index: 10;
}
.bricks-is-frontend .c-preloader__count {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
font-size: clamp(4rem, 3.824vw + 2.776rem, 8rem);
  font-weight: 100;
  letter-spacing: -.5rem;
  z-index: 10;
}
.bricks-is-frontend .c-preloader__progress {
  background: black;
  height: 100%;
  width: 0%;
  position: absolute;
  top: 0;
  left: 0;
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.1.3/TweenMax.min.js"></script>

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/4.1.4/imagesloaded.pkgd.min.js"></script>

<script>
  
var imgLoad = imagesLoaded('img');

var progressBar = jQuery(".c-preloader__progress"),
    count = jQuery(".c-preloader__count"),
    images = jQuery("img").length,
    loadedCount = 0,
    loadingProgress = 0;
 
var tlProgress = new TimelineMax({
    paused: true,
    onUpdate: countPercent,
    onComplete: loadComplete
});

tlProgress.to(progressBar, 1, {width:"100%"});

imgLoad.on('progress', function(instance, image) {
    loadProgress();
});
 
function loadProgress() {
    loadedCount++;
    loadingProgress = (loadedCount / images);
    console.log(loadingProgress);

    TweenMax.to(tlProgress, 1, {progress: loadingProgress});
}

function countPercent() {
    var newPercent = (tlProgress.progress() * 100).toFixed();
    count.text(newPercent + "%");
}

function loadComplete() {
    var tlEnd = new TimelineMax();
    tlEnd
        .to(count, 0.5, {autoAlpha: 0})
        .to(".c-preloader", 0.5, {scaleX: 0, transformOrigin: "center right"});
}

</script>
/* Default state: transparent background */
#brx-header.sticky {
  position: sticky;
  top: 0;
  transition: opacity 0.5s ease, background-color 0.5s ease;
  opacity: 1;
  visibility: visible;
  background-color: transparent !important; /* Start with transparent background */
}

/* Hidden state when scrolling down */
#brx-header.sticky.nav-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: transparent !important; /* Stay transparent when hidden */
}

/* Visible state when scrolling up: background becomes black */
#brx-header.sticky.nav-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.5) !important; /* Background becomes black when scrolling up */
}
document.addEventListener('DOMContentLoaded', function () {
  let lastScrollTop = 0;
  const nav = document.querySelector('#brx-header.sticky'); // Ensure this targets the correct header element
  let hasScrolledDown = false; // Track if the user has scrolled down

  // Listen for the scroll event on the window
  window.addEventListener('scroll', function () {
    let scrollTop = window.pageYOffset || document.documentElement.scrollTop;

    console.log('Scroll position:', scrollTop); // Check scroll position in console

    if (scrollTop > lastScrollTop) {
      // User is scrolling down
      console.log('Scrolling down');
      nav.classList.remove('nav-visible');
      nav.classList.add('nav-hidden');
      hasScrolledDown = true; // User has scrolled down
    } else if (scrollTop < lastScrollTop && hasScrolledDown) {
      // User is scrolling up and has already scrolled down
      console.log('Scrolling up');
      nav.classList.remove('nav-hidden');
      nav.classList.add('nav-visible');
    }

    // Update the last scroll position
    lastScrollTop = scrollTop;
  });
});

Availability and Affordability of Essential Palliative Care Medicine in Nepal

The need for accessible palliative care is more pressing than ever in Nepal, where significant strides are being made to improve the availability and affordability of essential medications. A recent paper titled “Availability and Affordability of Essential Palliative Care Medicine in Nepal” has been published in the renowned Journal of Pain and Symptom Management, marking…

  • 1:43 min

  • 0 comments
The need for accessible palliative care is more pressing than ever in Nepal, where significant strides are being made to improve the availability and affordability of essential medications. A recent paper titled “Availability and Affordability of Essential Palliative Care Medicine in Nepal” has been published in the renowned Journal of Pain and Symptom Management, marking a critical step toward shedding light on the current challenges and gaps in accessing palliative care in the region. This study offers valuable insights into the accessibility of these medicines and examines the economic and logistical barriers that patients often face.

Build­ing on this momentum, a Pal­li­at­ive Care for­mu­lary has been drafted to estab­lish a stand­ard­ised guide for the essen­tial med­ic­a­tions required in pal­li­at­ive care prac­tices across Nepal. This for­mu­lary is cur­rently under expert review by seasoned pal­li­at­ive care spe­cial­ists, who are fine-tuning the recom­mend­a­tions to ensure the highest stand­ards of care and access­ib­il­ity. Once approved, this for­mu­lary will provide health­care prac­ti­tion­ers with a unified ref­er­ence for pre­scrib­ing and man­aging pal­li­at­ive care med­ic­a­tions, con­trib­ut­ing to more con­sist­ent care for patients across dif­fer­ent regions.

In a par­al­lel effort, a manu­script has been sub­mit­ted to the Indian Journal of Pal­li­at­ive Care, doc­u­ment­ing both the achieve­ments and per­sist­ent chal­lenges related to opioid access­ib­il­ity in Nepal. Opioids, often crit­ical in man­aging severe pain for pal­li­at­ive patients, remain dif­fi­cult to access due to reg­u­lat­ory, edu­ca­tional, and logist­ical issues. This manu­script high­lights ongoing efforts to address these bar­ri­ers, provid­ing a bal­anced view of both the pro­gress made and the hurdles that still need to be over­come. It’s a candid reflec­tion on the com­plex­it­ies of opioid access­ib­il­ity in Nepal and offers recom­mend­a­tions for future improve­ments, aiming to inform policy changes and health­care practices.

These com­bined efforts rep­res­ent a sig­ni­fic­ant push toward a future where all Nepalis in need of pal­li­at­ive care have afford­able access to essen­tial med­ic­a­tions. Each pub­lic­a­tion and policy review strengthens the found­a­tion for a more com­pre­hens­ive pal­li­at­ive care system, giving hope for a future where relief from pain and suf­fer­ing is within reach for all.


Please download: The Report

Share this post: