// Licensed to Cloudera, Inc. under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  Cloudera, Inc. licenses this file
// to you 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.

@use 'variables' as vars;
@use 'mixins';

.antd.cuix {
  .hue-storage-browser-tab {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;

    &__title-bar-container {
      display: flex;
      justify-content: space-between;
    }

    &__title-bar {
      display: flex;
      gap: vars.$fluidx-spacing-xs;
      min-width: 100px;
      width: calc(100% - 265px);

      @media screen and (width <=600px) {
        width: calc(100% - 130px);
      }
    }

    &__title-bar-icon {
      flex: 0 0 auto;
      height: vars.$fluidx-heading-h3-line-height;
    }

    &__title-bar-name {
      @include mixins.nowrap-ellipsis;

      font-size: vars.$fluidx-heading-h3-size;
      font-weight: vars.$fluidx-heading-h3-weight;
      margin-bottom: 0;
    }

    &__title-bar-button-group {
      display: flex;
      gap: vars.$fluidx-spacing-xs;

      @media screen and (width <=600px) {
        gap: 0;
      }
    }

    &__title-bar-button {
      @media screen and (width <=600px) {
        span span:last-child {
          display: none !important;
        }
      }
    }

    &__path-browser-container {
      display: flex;
      align-items: center;
      gap: 2px;
      margin-left: vars.$fluidx-spacing-xxs;
    }
  }
}
