_field-textoutput.scss 557 B

1234567891011121314151617181920212223
  1. @use 'sass:map';
  2. /**
  3. * A container for rendering human-readable field values in forms in a way
  4. that makes them 'focusable' without rendering an actual input.
  5. */
  6. .w-field__textoutput {
  7. @include input-base();
  8. @apply w-body-text-large;
  9. background-color: theme('colors.surface-field-inactive');
  10. width: 100%;
  11. padding: theme('spacing.[1.5]') theme('spacing.5');
  12. min-height: $text-input-height;
  13. position: relative;
  14. overflow: hidden;
  15. overflow-wrap: break-word;
  16. &,
  17. &:hover {
  18. border-color: theme('colors.border-field-inactive');
  19. }
  20. }