@use 'upload-button' as button; :host { display: block; } .selected-files { margin-top: 20px; } .selected-files__header { align-items: center; display: flex; gap: 10px; justify-content: space-between; margin-bottom: 8px; } .selected-files__header h3 { font-size: 15px; font-weight: 600; margin: 0; } .selected-files__count { align-items: center; background: var(--color-step); border-radius: 20px; color: #52651d; display: inline-flex; font-size: 12px; font-weight: 600; height: 25px; justify-content: center; min-width: 25px; padding: 0 7px; } .selected-files__list { border: 1px solid #e7eae3; border-radius: 8px; list-style: none; margin: 0; max-height: 220px; overflow-y: auto; padding: 0; } .file-row--readonly { grid-template-columns: 22px minmax(0, 1fr) auto; padding-right: 12px; } .file-row { align-items: center; display: grid; gap: 10px; grid-template-columns: 22px minmax(0, 1fr) auto 40px; min-height: 54px; padding: 6px 8px 6px 12px; } .file-row + .file-row { border-top: 1px solid #eef0eb; } .file-row__icon { color: #71882b; font-size: 20px; height: 20px; width: 20px; } .file-row__name { font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .file-row__size { color: #737b6b; font-size: 12px; white-space: nowrap; } .file-row__remove { color: #596273; } .file-row__remove:focus-visible { @include button.focus; } @media (max-width: 600px) { .file-row { gap: 6px; grid-template-columns: 20px minmax(0, 1fr) auto 36px; padding-left: 8px; } .file-row--readonly { grid-template-columns: 20px minmax(0, 1fr) auto; } .file-row__name { font-size: 12px; } .file-row__size { font-size: 11px; } }