/*
 * Copyright 2015 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

.film-strip-view {
  overflow: auto hidden;
  align-content: flex-start;
  min-height: 81px;
}

.film-strip-view .frame .time {
  font-size: 10px;
  margin-top: 2px;
}

.film-strip-view .gray-info-message {
  margin: auto;
}

.film-strip-view .frame {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px;
  flex: none;
  cursor: pointer;
}

.film-strip-view .frame .thumbnail {
  min-width: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  pointer-events: none;
  margin: 4px 0 2px;
  border: 2px solid transparent;
}

.film-strip-view .frame:hover .thumbnail,
.film-strip-view .frame:focus .thumbnail {
  border-color: var(--sys-color-primary);
}

.film-strip-view .frame .thumbnail img {
  height: auto;
  width: auto;
  max-width: 80px;
  max-height: 50px;
  pointer-events: none;
  box-shadow: 0 0 3px var(--box-shadow-outline-color);
  flex: 0 0 auto;
}

.film-strip-view .frame:hover .thumbnail img,
.film-strip-view .frame:focus .thumbnail img {
  box-shadow: none;
}

.film-strip-image-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;

  .image-box {
    overflow: auto;
    margin: var(--sys-size-7) var(--sys-size-8) var(--sys-size-8)
      var(--sys-size-8);
    border: var(--sys-size-1) solid var(--sys-color-divider);
  }

  img {
    max-height: 80vh;
    max-width: 80vw;
  }

  .time-box {
    margin: 0 var(--sys-size-3);
  }

  .button-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--sys-size-6) 0 var(--sys-size-5);
  }
}
