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/components/file.css
  3. 10 core/themes/claro/css/classy/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

Default style for file module.

File

core/themes/starterkit_theme/css/components/file.css

View source
  1. /**
  2. * @file
  3. * Default style for file module.
  4. */
  5. /* File icons. */
  6. .file {
  7. display: inline-block;
  8. min-height: 16px;
  9. padding-left: 20px; /* LTR */
  10. background-repeat: no-repeat;
  11. background-position: left center; /* LTR */
  12. }
  13. [dir="rtl"] .file {
  14. padding-right: 20px;
  15. padding-left: inherit;
  16. background-position: right center;
  17. }
  18. .file--general,
  19. .file--application-octet-stream {
  20. background-image: url(../../images/icons/application-octet-stream.png);
  21. }
  22. .file--package-x-generic {
  23. background-image: url(../../images/icons/package-x-generic.png);
  24. }
  25. .file--x-office-spreadsheet {
  26. background-image: url(../../images/icons/x-office-spreadsheet.png);
  27. }
  28. .file--x-office-document {
  29. background-image: url(../../images/icons/x-office-document.png);
  30. }
  31. .file--x-office-presentation {
  32. background-image: url(../../images/icons/x-office-presentation.png);
  33. }
  34. .file--text-x-script {
  35. background-image: url(../../images/icons/text-x-script.png);
  36. }
  37. .file--text-html {
  38. background-image: url(../../images/icons/text-html.png);
  39. }
  40. .file--text-plain {
  41. background-image: url(../../images/icons/text-plain.png);
  42. }
  43. .file--application-pdf {
  44. background-image: url(../../images/icons/application-pdf.png);
  45. }
  46. .file--application-x-executable {
  47. background-image: url(../../images/icons/application-x-executable.png);
  48. }
  49. .file--audio {
  50. background-image: url(../../images/icons/audio-x-generic.png);
  51. }
  52. .file--video {
  53. background-image: url(../../images/icons/video-x-generic.png);
  54. }
  55. .file--text {
  56. background-image: url(../../images/icons/text-x-generic.png);
  57. }
  58. .file--image {
  59. background-image: url(../../images/icons/image-x-generic.png);
  60. }

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