<commit_before>ngeo-offline {
  div {
    z-index: 1;
  }
  .main-button {
    position: absolute;
    right: 8px;
    bottom: 15rem;
    cursor: pointer;
    .no-data {
      color: black;
    }
    .no-data, .with-data {
      background-color: white;
      text-align: center;
      font-size: 2.7rem;
      font-family: FontAwesome;
      line-height: 1.5em;
      color: #2980b9;
      width: 41px;
      height: 41px;
      border: 1px solid #8394a0;
      &::after {
        content: @fa-var-arrow-circle-o-down;
      }
    }
    .with-data {
      color: red;
    }
  }

  &.offline-mode {
    .main-button {
      .no-data, .with-data{
        color: green;
      }
    }
  }

  .validate-extent {
    position: absolute;
    top: 4.5rem;
    width: 10rem;
    left: calc(~"50% - 5rem");
  }

  .in-progress {
    position: absolute;
    left: calc(~"50% - 3.3rem");
    top: calc(~"50% - 3rem");
    color: white;
    font-weight: bold;
    background-color: #337ab7;
    padding: 2rem 2rem;
    border-radius: 1rem;
  }

  .modal-content {
    width: 30rem;
  }

  .modal-body {
    button {
      display: block;
      margin: 0.5rem auto;
      width: 25rem;
    }
  }
}

.offline-msg {
  display: none;
}
.offline-or-disconnected .offline-msg {
  display: block;
  position: absolute;
  z-index: 10000;
  width: 100vw;
  text-align: center;
  height: @topbar-height;
  padding-left: 1rem;
  line-height: @topbar-height;

  @media (max-width: @screen-xs-max) {
    height: 40px;
    line-height: 40px;
  }
}


/** Disable components **/

body.offline-or-disconnected {
  .search-container,
  .theme-icon,
  .theme-header,
  .lang,
  .user,
  .infos,
  .legends,
  .routing,
  .toolbox,
  .footer-navigation,
  .catalog-tab,
  .add-layers,
   #dropdown-mymaps,
  app-mymaps>div:first-child,
  .feature-popup-profile,
  .feature-popup-footer .dropup,
  .feature-popup-footer .dropdown {
    display: none;
  }
  app-backgroundlayer,
  app-layerinfo {
    visibility: hidden;<commit_msg>Remove 3D button when offline<commit_after>ngeo-offline {
  div {
    z-index: 1;
  }
  .main-button {
    position: absolute;
    right: 8px;
    bottom: 15rem;
    cursor: pointer;
    .no-data {
      color: black;
    }
    .no-data, .with-data {
      background-color: white;
      text-align: center;
      font-size: 2.7rem;
      font-family: FontAwesome;
      line-height: 1.5em;
      color: #2980b9;
      width: 41px;
      height: 41px;
      border: 1px solid #8394a0;
      &::after {
        content: @fa-var-arrow-circle-o-down;
      }
    }
    .with-data {
      color: red;
    }
  }

  &.offline-mode {
    .main-button {
      .no-data, .with-data{
        color: green;
      }
    }
  }

  .validate-extent {
    position: absolute;
    top: 4.5rem;
    width: 10rem;
    left: calc(~"50% - 5rem");
  }

  .in-progress {
    position: absolute;
    left: calc(~"50% - 3.3rem");
    top: calc(~"50% - 3rem");
    color: white;
    font-weight: bold;
    background-color: #337ab7;
    padding: 2rem 2rem;
    border-radius: 1rem;
  }

  .modal-content {
    width: 30rem;
  }

  .modal-body {
    button {
      display: block;
      margin: 0.5rem auto;
      width: 25rem;
    }
  }
}

.offline-msg {
  display: none;
}
.offline-or-disconnected {

  .offline-msg {
    display: block;
    position: absolute;
    z-index: 10000;
    width: 100vw;
    text-align: center;
    height: @topbar-height;
    padding-left: 1rem;
    line-height: @topbar-height;

    @media (max-width: @screen-xs-max) {
      height: 40px;
      line-height: 40px;
    }
  }

  .main-button {
    bottom: 104px;
  }
}


/** Disable components **/

body.offline-or-disconnected {
  .search-container,
  .theme-icon,
  .theme-header,
  .lang,
  .user,
  .infos,
  .legends,
  .routing,
  .toolbox,
  .footer-navigation,
  .catalog-tab,
  .add-layers,
   #dropdown-mymaps,
  .ol-toogle3d,
  app-mymaps>div:first-child,
  .feature-popup-profile,
  .feature-popup-footer .dropup,
  .feature-popup-footer .dropdown {
    display: none;
  }
  app-backgroundlayer,
  app-layerinfo {
    visibility: hidden;
{'fraction_non_alphanumeric': 0.14943929790346172, 'fraction_numerical': 0.031935641150658216, 'mean_word_length': 2.0280442804428045, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2999841', 'n_tokens_mistral': 1708, 'n_tokens_neox': 1591, 'n_words': 303}