/*
 * 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.
 */
.adjunct-header {
  margin-bottom: 48px;
  .media-left {
    padding-right: 32px;
  }
  .media-body {
    p {
      margin-top: 12px;
    }
  }
}

.detail {
  .media-object {
    @size: 80px;
    width: auto;
    height: auto;
    max-width: @size;
    max-height: @size;
  }

  .flex-grow {
    .text-overflow();
  }

  .summary-block.first-set-of-items {
    margin-bottom: 30px;
  }
  
  .summary-item {
    [class*='adjunct-'] {
      font-size: 30px;
      text-align: center;
      color: #aaaaaa;
    }
    margin-bottom: 24px !important;
  }
  
  // we declare adjunct detail so we get a lot of those items

  // override items from activies/detail/detail.less
  .summary-item-timestamp {
            .summary-item-value {
                display: flex !important;
                flex-direction: row;
                div {
                    flex: 1;
                    width: 50%;
                    padding-right: 1em;
                    position: relative !important;
                }
                .timestamp {
                    // just enough to line this up with above
                    padding-left: 32px;
                }
                .timestamp span {
                    opacity: 1.0;
                    padding-right: 40px;
                    position: absolute;
                    &.fade.ng-hide {
                        opacity: 0;
                    }

                    &.fade.ng-hide-remove,
                    &.fade.ng-hide-add {
                        display: block !important;
                    }

                    &.fade.ng-hide-remove {
                        transition: all linear 300ms;
                    }

                    &.fade.ng-hide-add {
                        transition: all linear 300ms;
                    }
                }
            }
  }

  task-list .no-activities {
    text-align: left;
    margin-top: 20px;
    font-size: medium;
  }

}