file.css

Same filename in this branch
  1. 10 core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  2. 10 core/themes/claro/css/classy/components/file.css
  3. 10 core/themes/starterkit_theme/css/components/file.css
Same filename in other branches
  1. 7.x modules/file/file.css
  2. 9 core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  3. 9 core/themes/seven/css/classy/components/file.css
  4. 9 core/themes/claro/css/components/file.css
  5. 9 core/themes/claro/css/classy/components/file.css
  6. 9 core/themes/bartik/css/classy/components/file.css
  7. 9 core/themes/starterkit_theme/css/components/file.css
  8. 9 core/themes/classy/css/components/file.css
  9. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  10. 8.9.x core/themes/seven/css/classy/components/file.css
  11. 8.9.x core/themes/claro/css/components/file.css
  12. 8.9.x core/themes/claro/css/classy/components/file.css
  13. 8.9.x core/themes/bartik/css/classy/components/file.css
  14. 8.9.x core/themes/classy/css/components/file.css
  15. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  16. 11.x core/themes/claro/css/components/file.css
  17. 11.x core/themes/claro/css/classy/components/file.css
  18. 11.x core/themes/starterkit_theme/css/components/file.css

Extends styles of the file link.

File

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

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/3084859
  5. * @preserve
  6. */
  7. /**
  8. * @file
  9. * Extends styles of the file link.
  10. */
  11. .file {
  12. --file-offset: 0.0625rem;
  13. --file-font-size: var(--font-size-s);
  14. --file-size-color: var(--color-gray-800);
  15. min-block-size: calc(var(--space-m) + var(--file-offset));
  16. padding-inline-start: var(--space-l);
  17. background-position: left var(--file-offset);
  18. background-size: var(--space-m) var(--space-m);
  19. font-size: var(--file-font-size);
  20. line-height: calc(18rem / 16);
  21. }
  22. .file__size {
  23. color: var(--file-size-color);
  24. }

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