/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF 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.
 */
@import "./font/adjuncts.less";

adjuncts-list {
  display: block;

  .media-object {
    @size: 50px;
    width: auto;
    height: auto;
    max-width: @size;
    max-height: @size;
    margin-right: 1em;
  }
  .media-heading,
  .no-highlights {
    margin-top: 15px;
    .text-overflow();
  }

  .highlight {
    display: flex;

    &[class*='adjunct-']:before {
      margin-right: 0.75em;
    }
    margin-left: 6px;
    margin-right: 6px;

    .highlight-description {
      width: 60%;
      padding-right: 1em;
    }
    .highlight-time {
      width: 40%;
    }
  }
  
  .list-group-item {
    padding-top: 12px;
    padding-bottom: 12px;
    
    p:last-child {
        margin-bottom: 0;
    }
  }
  
  .adjunct-name {
    font-weight: 600;
    
    // TODO media-body won't work with ellipsis
    // uses table-cell and width: 10000px
    // suggest not using media-body if we might need ellipsis
    text-overflow: ellipsis;
  }
}