file.pcss.css

Same filename in other branches
  1. 8.9.x core/themes/claro/css/components/file.pcss.css
  2. 10 core/themes/claro/css/components/file.pcss.css
  3. 11.x core/themes/claro/css/components/file.pcss.css

Extends styles of the file link.

File

core/themes/claro/css/components/file.pcss.css

View source
  1. /**
  2. * @file
  3. * Extends styles of the file link.
  4. */
  5. @import "../base/variables.pcss.css";
  6. .file {
  7. min-height: calc(var(--space-m) + 0.0625rem);
  8. padding-left: var(--space-l); /* LTR */
  9. background-position: left 0.0625rem;
  10. background-size: var(--space-m) var(--space-m);
  11. font-size: var(--font-size-s);
  12. line-height: calc(18rem / 16);
  13. }
  14. [dir="rtl"] .file {
  15. padding-right: var(--space-l);
  16. }
  17. .file__size {
  18. color: var(--color-gray-800);
  19. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.