/*
 * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * 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.
 */

@import "variables";

.cp-navigation-panel {
  background-color: @navigation-panel-color;
}

.cp-navigation-panel.impersonated {
  background-color: @navigation-panel-color-impersonated;
}

.cp-navigation-panel .cp-navigation-menu-item {
  color: @navigation-item-color;
  background-color: transparent;
  text-transform: uppercase;
  border: 0 solid transparent;
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: larger;
  text-decoration: none;
}

.cp-navigation-panel .cp-divider.cp-navigation-divider {
  background-color: @navigation-item-color;
  opacity: 0.5;
  margin: 0 4px;
  width: calc(100% - 8px);
  border: none;
}

.cp-navigation-panel .cp-navigation-menu-item.selected {
  background-color: @navigation-panel-highlighted-color;
}

.cp-navigation-panel.impersonated .cp-navigation-menu-item.selected {
  background-color: @navigation-panel-highlighted-color-impersonated;
}

.cp-navigation-panel .cp-navigation-menu-item i {
  font-weight: bold;
  font-size: large;
}

.cp-navigation-panel .cp-navigation-menu-item.cp-runs-menu-item.active {
  color: @navigation-item-runs-color;
}

.cp-navigation-item-logo {
  height: 26px;
  width: 26px;
  display: block;
  background-image: @logo-image;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
