UNPKG

@uploadcare/blocks

Version:

Building blocks for Uploadcare products integration

46 lines (41 loc) 947 B
lr-custom-source-btn { display: flex; align-items: center; padding-right: 1em; border-bottom: var(--border-light); user-select: none; cursor: pointer; --l10n-src-type-custom: 'CUSTOM TEXT'; } lr-custom-source-btn:last-of-type { border-bottom: none; } lr-custom-source-btn lr-icon { display: inline-flex; flex-grow: 1; min-width: var(--ui-size); justify-content: center; } lr-custom-source-btn[type='local'] > .txt::after { content: var(--l10n-local-files); } lr-custom-source-btn[type='camera'] > .txt::after { content: var(--l10n-camera); } lr-custom-source-btn[type='url'] > .txt::after { content: var(--l10n-from-url); } lr-custom-source-btn[type='other'] > .txt::after { content: var(--l10n-other); } lr-custom-source-btn .txt { display: flex; align-items: center; height: 100%; width: 100%; height: var(--ui-size); padding: 0; border: none; box-sizing: border-box; white-space: nowrap; }