/*!
 * Copyright (c) 2024 PLANKA Software GmbH
 * Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
 */

:global(#app) {
  .action {
    border: none;
    border-radius: 0.28571429rem;
    display: inline-block;
    height: 36px;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease;
    width: 100%;

    &:hover {
      background: #e9e9e9;
    }
  }

  .actions {
    margin-top: 20px;
  }

  .actionButton {
    background: transparent;
    color: #6b808c;
    font-weight: normal;
    height: 36px;
    line-height: 24px;
    padding: 6px 12px;
    text-align: left;
    text-decoration: underline;
    width: 100%;
  }

  .images {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    max-height: 60vh;
    overflow-y: auto;

    @supports (-moz-appearance: none) {
      scrollbar-color: rgba(0, 0, 0, 0.32) transparent;
      scrollbar-width: thin;
    }

    &::-webkit-scrollbar {
      width: 9px;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background-clip: padding-box;
      border-left: 0.25em transparent solid;
      border-radius: 3px;
    }
  }
}
