/**
 * Copyright (c) 2015 Bosch Software Innovations GmbH and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
// scss-lint:disable ImportantRule, PropertySortOrder

@mixin accordion {

  //Accordion caption style.accordion is displayed in confirmation popup
.v-accordion-item-caption {
    color: $accordion-action-history-title-color !important;
    .v-caption {
      line-height: 30px !important;
      font-weight: bold;
      color: $accordion-action-history-title-color !important;
    }
  }

  .accordion {
    margin: 10px;
    width: 550px !important;
  }

  //Accordion table style
  .accordion-tab-table-style {

    //Below style wraps the text and displays ellipses when the text length is more the column width
    .v-table-cell-wrapper {
      line-height: 1.5;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      -o-text-overflow: ellipsis;
      -icab-text-overflow: ellipsis;
      -khtml-text-overflow: ellipsis;
      -moz-text-overflow: ellipsis;
      -webkit-text-overflow: ellipsis;
    }

    .v-table-body {
      border: none !important;
    }
  }
}
