file.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**
  2. * @file
  3. * Default style for file module.
  4. */
  5. /* File icons. */
  6. .file {
  7. padding-left: 20px; /* LTR */
  8. display: inline-block;
  9. min-height: 16px;
  10. background-repeat: no-repeat;
  11. background-position: left center; /* LTR */
  12. }
  13. [dir="rtl"] .file {
  14. padding-left: inherit;
  15. padding-right: 20px;
  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. }