<commit_before>@import "core-variables";
@import "core-responsive";
@import "core-modal";
@import "core-drawers";

#outer-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cl-header,
.cl-contents,
.cl-footer {
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

.cl-header {
  top: 0;
}
.cl-header,
.cl-footer {
  z-index: $cl-header-z-index;
}
.cl-footer {
  bottom: 0;
}

.cl-contents {
  overflow: auto;
}

@mixin cl-heights($header-height, $footer-height) {
  /**
   * The following is left out to allow "overflowing" drop-down menus
   * from the header bar.
   **/
//  .cl-header {
//    height: $header-height;
//  }
  .cl-contents {
    top: $header-height;
    bottom: $footer-height;
  }
  .cl-footer {
    height: $footer-height;
  }
}

@media (max-width: $cl-screen-xs-max) {
  @include cl-heights($cl-header-height-xs, $cl-footer-height-xs);
}
@media (min-width: $cl-screen-sm-min) and (max-width: $cl-screen-sm-max) {
  @include cl-heights($cl-header-height-sm, $cl-footer-height-sm);
}
@media (min-width: $cl-screen-md-min) and (max-width: $cl-screen-md-max) {
  @include cl-heights($cl-header-height-md, $cl-footer-height-md);
}
@media (min-width: $cl-screen-lg-min) {
  @include cl-heights($cl-header-height-lg, $cl-footer-height-lg);
}

.iscroll-off {
  .cl-header,
  .cl-footer {
    position: fixed;
  }
  .cl-contents {
    position: absolute;
  }
}

.iscroll-on {
  .cl-header,
  .cl-contents,
  .cl-footer {
    position: absolute;
    overflow: hidden;
  }
}<commit_msg>Fixes #8: The drawer/off-canvas header on the right-hand side is rendered above the main header when turning iScroll off.<commit_after>@import "core-variables";
@import "core-responsive";
@import "core-modal";
@import "core-drawers";

#outer-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cl-header,
.cl-contents,
.cl-footer {
  left: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

.cl-header {
  top: 0;
}
.cl-header,
.cl-footer {
  z-index: $cl-header-z-index;
}
.cl-footer {
  bottom: 0;
}

.cl-contents {
  overflow: auto;
}

@mixin cl-heights($header-height, $footer-height) {
  /**
   * The following is left out to allow "overflowing" drop-down menus
   * from the header bar.
   **/
//  .cl-header {
//    height: $header-height;
//  }
  .cl-contents {
    top: $header-height;
    bottom: $footer-height;
  }
  .cl-footer {
    height: $footer-height;
  }
}

@media (max-width: $cl-screen-xs-max) {
  @include cl-heights($cl-header-height-xs, $cl-footer-height-xs);
}
@media (min-width: $cl-screen-sm-min) and (max-width: $cl-screen-sm-max) {
  @include cl-heights($cl-header-height-sm, $cl-footer-height-sm);
}
@media (min-width: $cl-screen-md-min) and (max-width: $cl-screen-md-max) {
  @include cl-heights($cl-header-height-md, $cl-footer-height-md);
}
@media (min-width: $cl-screen-lg-min) {
  @include cl-heights($cl-header-height-lg, $cl-footer-height-lg);
}

.cl-header,
.cl-footer,
.cl-contents {
  position: absolute;
}

.iscroll-on {
  .cl-header,
  .cl-contents,
  .cl-footer {
    overflow: hidden;
  }
}
{'fraction_non_alphanumeric': 0.19159935379644588, 'fraction_numerical': 0.009369951534733441, 'mean_word_length': 3.062992125984252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7347516', 'n_tokens_mistral': 1281, 'n_tokens_neox': 1249, 'n_words': 243}