@import "../../../style/mixin.scss";

@include export-module('co-image-history-tile-layout') {
  .co-image-history-tile {

    .image-history-item {
      width: 100%;
      height: 100%;
      max-height: 250px;
      position: relative;

      .image-history-hover {
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;

        .image-history-item-zoom {
          cursor: pointer;
        }

        .tile-toolbar {
          display: flex;
          align-items: center;
          justify-content: space-around;
          gap: 25px;
          cursor: pointer;
        }

      }

      &:hover {
        .image-history-hover {
          visibility: visible;
        }
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
      }
    }
  }
}
