Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

media-embed-error.css

Same filename in this branch
  1. 11.1.x core/profiles/demo_umami/themes/umami/css/classy/components/media-embed-error.css

Media Embed filter: default styling for media embed errors.

File

core/themes/claro/css/classy/components/media-embed-error.css

View source
  1. /**
  2. * @file
  3. * Media Embed filter: default styling for media embed errors.
  4. */
  5. /**
  6. * The caption filter's styling overrides ours, so add a more specific selector
  7. * to account for that.
  8. */
  9. .media-embed-error,
  10. .caption > .media-embed-error {
  11. max-width: 200px;
  12. padding: 100px 20px 20px;
  13. text-align: center;
  14. background-color: #ebebeb;
  15. background-image: url(../../../../../modules/media/images/icons/no-thumbnail.png);
  16. background-repeat: no-repeat;
  17. background-position: center top;
  18. background-size: 100px 100px;
  19. }

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal