/*
 * Copyright (c) 2008-2018 Haulmont.
 *
 * 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.
 *
 */

/**
 * Caption color of tab in tabSheet
 */
$c-main-tabsheet-tab-caption-text-color: #ffffff !default;

/**
 * Hover color of close font-icon
 */
$c-tabsheet-tab-close-text-color-hover: #cc3301 !default;

/**
 * Close font-icon color of tab in tabSheet
 */
$c-tabsheet-tab-close-text-color: #64798f !default;

/**
 * Background color of application work area
 */
$c-app-workarea-background: #8398af !default;

@mixin havana-main-window {

  .v-tabsheet.c-main-tabsheet.framed.padded-tabbar > .v-tabsheet-tabcontainer {
    background-color: $c-app-workarea-background;
    box-shadow: inset 0px -6px 5px -5px rgba(0, 0, 0, 0.3);

    .v-tabsheet-tabitem .v-caption {
      border-color: transparent;
      background: transparent;
      color: $c-main-tabsheet-tab-caption-text-color;
    }

    .v-tabsheet-tabitem-selected .v-caption {
      background: $v-app-background-color;
      color: $cuba-tabsheet-tab-caption;
    }
  }

  .v-tabsheet-tabitemcell {
    .v-caption {
      color: $cuba-tabsheet-tab-caption;
    }

    .v-tabsheet-caption-close {
      color: $c-tabsheet-tab-close-text-color;
      font-weight: 700;
    }

    .v-tabsheet-caption-close:hover {
      color: $c-tabsheet-tab-close-text-color-hover;
      text-shadow: black 1px 1px;
    }
  }

  .v-label.c-user-select-label,
  .v-label.c-user-timezone-label {
    text-shadow: black 1px 1px;
  }

  .c-app-workarea-initial {
    background: $c-app-workarea-background;
  }
}