// This file is part of Indico.
// Copyright (C) 2002 - 2026 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

@use 'base/palette' as *;

.image-select-field {
  align-items: last baseline;

  :global(.ui.selection.dropdown .menu > .item) {
    padding: 0 !important;

    .option-header {
      font-size: 0.9em;
      display: flex;
    }

    .preview {
      display: flex;
      width: 4.5em;
      height: 4.5em;
      align-items: center;
      justify-content: center;
      vertical-align: middle;
      background: no-repeat center/cover $light-gray;
    }

    :global(.content) {
      padding: 1em;
    }
  }
}
