/*
 * Copyright (C) 2017-2019 Dremio Corporation
 *
 * 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.
 */

.nav {
  composes: flex-column-container from "~#oss/uiTheme/less/layout.less";
  flex-shrink: 0;
  width: 240px;
  padding: 8px 16px;
}

.nav-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 208px;
  height: 40px;
  padding-left: 8px;
  border-radius: 4px;
  margin-bottom: var(--dremio--spacing--05);
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}

.icon {
  margin-inline-end: var(--dremio--spacing--1);
  :global {
    dremio-icon {
      color: var(--icon--primary);
    }
  }
}

.nav-btn-active {
  composes: nav-btn;
  color: white;
  font-weight: 600;
  background-color: var(--fill--brand--bold);

  .icon {
    :global {
      dremio-icon {
        color: var(--icon--nav);
      }
    }
  }
}
