/**
 * SuiteCRM is a customer relationship management program developed by SalesAgility Ltd.
 * Copyright (C) 2021 SalesAgility Ltd.
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License version 3 as published by the
 * Free Software Foundation with the addition of the following permission added
 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
 * IN WHICH THE COPYRIGHT IS OWNED BY SALESAGILITY, SALESAGILITY DISCLAIMS THE
 * WARRANTY OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * In accordance with Section 7(b) of the GNU Affero General Public License
 * version 3, these Appropriate Legal Notices must retain the display of the
 * "Supercharged by SuiteCRM" logo. If the display of the logos is not reasonably
 * feasible for technical reasons, the Appropriate Legal Notices must display
 * the words "Supercharged by SuiteCRM".
 */

.history-timeline-viewport {
  height: 45em;
  overflow-x: auto;
}

.history-timeline-viewport-no-data {
  height: 100px;
}

.history-timeline {
  font-size: small;
  font-weight: bold;
  padding-top: 0 !important;

  .card {
    border: none;
    margin-left: 7px;
    padding-left: 18px;
    border-left: 1px solid $lightgray;
    border-bottom: 1px solid $lightgray;
  }

  .history-timeline-entry {

    .history-timeline-entry-icon {
      z-index: 2;
      margin-right: -1.5rem;

      .icon-square {
        width: 2rem;
        height: 2rem;
        border: 2px solid $lightgray;
        background: $white;
      }
    }
  }

  .history-timeline-image svg {
    font-size: 150%;
  }

  .history-timeline-entry-title {
    margin-bottom: 0;
    line-height: 1;
  }

  .history-timeline-entry-date{
    line-height: 1;
  }

  .history-timeline-entry-user {
  }
}

.history-timeline .history-timeline-entry-description {
  white-space: pre;
}

.history-timeline .history-timeline-entry-description {
  white-space: pre;
}

.history-timeline .connector {
  height: 0.5rem;
  width: 0.6rem;
  border-top: 0.17em solid;
  border-bottom: 0.17em solid;
}

.history-timeline .history-timeline-entry.entry-yellow {
}

.history-timeline .history-timeline-entry.entry-yellow .icon-square{
  border-color: $goldenrod;
}

.history-timeline .entry-yellow .card {
}

.history-timeline .history-timeline-entry.entry-yellow svg {
  fill: $goldenrod;
  stroke: $goldenrod;
}

.history-timeline .history-timeline-entry.entry-yellow a {
  color: $goldenrod;
}

.history-timeline .history-timeline-entry.entry-purple {
}

.history-timeline .history-timeline-entry.entry-purple .icon-square {
  border-color: $dark-purple
}

.history-timeline .history-timeline-entry.entry-purple svg {
  fill: $dark-purple;
  stroke: $dark-purple;
}

.history-timeline .history-timeline-entry.entry-purple a {
  color: $dark-purple;
}

.history-timeline .entry-purple .card {
}

.history-timeline .history-timeline-entry.entry-blue {
}

.history-timeline .history-timeline-entry.entry-blue .icon-square{
  border-color: $mild-blue;
}

.history-timeline .history-timeline-entry.entry-blue svg {
  fill: $mild-blue;
  stroke: $mild-blue;
}

.history-timeline .history-timeline-entry.entry-blue a {
  color: $mild-blue;
}

.history-timeline .entry-blue .card {
}

.history-timeline .history-timeline-entry.entry-orange {
}

.history-timeline .history-timeline-entry.entry-orange .icon-square{
  border-color: $dark-yellow;
}

.history-timeline .history-timeline-entry.entry-orange svg {
  fill: $dark-yellow;
  stroke: $dark-yellow;
}

.history-timeline .history-timeline-entry.entry-orange a {
  color: $dark-yellow;
}

.history-timeline .entry-orange .card {
}

.history-timeline .history-timeline-entry.entry-green {
}

.history-timeline .history-timeline-entry.entry-green .icon-square{
  border-color: $thick-green;
}

.history-timeline .history-timeline-entry.entry-green svg {
  fill: $thick-green;
  stroke: $thick-green;
}

.history-timeline .history-timeline-entry.entry-green a {
  color: $thick-green;
}

.history-timeline .entry-grey .card {
}

.history-timeline .history-timeline-entry.entry-grey {
}

.history-timeline .history-timeline-entry.entry-grey .icon-square{
  border-color: $light-grey;
  background-color: $white;

}

.history-timeline .history-timeline-entry.entry-grey svg {
  fill: $white;
  stroke: $white;
}

.history-timeline .history-timeline-entry.entry-grey a {
  color: $light-grey;
}

.history-timeline .entry-grey .card {
}
