/*
  Copyright 2017 Red Hat Inc.

  Licensed under the Apache License, Version 2.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
  a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  License for the specific language governing permissions and limitations
  under the License.
 */

.fixed-container {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1020
}

.modal-panel-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: auto;
}

.modal-panel-wrapper {
  // animation classes are put on modal-panel-wrapper, we need to animate modal-panel
  &.fade .modal-panel{
    transform: translateX(500px)
  }
  &.fade.in .modal-panel {
    transform: translateX(0)
  }
}

.modal-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 1;
  background-color: white;
  transition: transform .4s cubic-bezier(.35,0,.25,1), opacity .1s linear, width .2s cubic-bezier(.35,0,.25,1);

  .nav-tabs {
    font-size: 12px;
    padding: 15px 15px 0 15px;
  }
}

// classes to construct scrollable columns inside modalPanel
.flex-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  overflow-y: auto; // important for correct responsive behavior
}

.flex-column {
  overflow-y: auto;
  overflow-x: hidden; // ensures that x-axis scrollbar does not appear (nav-arrows)
}
