file.css

Same filename in this branch
  1. 9 core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  2. 9 core/themes/seven/css/classy/components/file.css
  3. 9 core/themes/claro/css/classy/components/file.css
  4. 9 core/themes/bartik/css/classy/components/file.css
  5. 9 core/themes/starterkit_theme/css/components/file.css
  6. 9 core/themes/classy/css/components/file.css
Same filename in other branches
  1. 7.x modules/file/file.css
  2. 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  3. 8.9.x core/themes/seven/css/classy/components/file.css
  4. 8.9.x core/themes/claro/css/components/file.css
  5. 8.9.x core/themes/claro/css/classy/components/file.css
  6. 8.9.x core/themes/bartik/css/classy/components/file.css
  7. 8.9.x core/themes/classy/css/components/file.css
  8. 10 core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  9. 10 core/themes/claro/css/components/file.css
  10. 10 core/themes/claro/css/classy/components/file.css
  11. 10 core/themes/starterkit_theme/css/components/file.css
  12. 11.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
  13. 11.x core/themes/claro/css/components/file.css
  14. 11.x core/themes/claro/css/classy/components/file.css
  15. 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. min-height: 1.0625rem;
  13. padding-left: 1.5rem; /* LTR */
  14. background-position: left 0.0625rem;
  15. background-size: 1rem 1rem;
  16. font-size: 0.889rem;
  17. line-height: 1.125rem;
  18. }
  19. [dir="rtl"] .file {
  20. padding-right: 1.5rem;
  21. }
  22. .file__size {
  23. color: #55565b;
  24. }

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