forum.css

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

Styling for the Forum module.

File

core/profiles/demo_umami/themes/umami/css/classy/components/forum.css

View source
  1. /**
  2. * @file
  3. * Styling for the Forum module.
  4. */
  5. .forum__description {
  6. margin: 0.5em;
  7. font-size: 0.9em;
  8. }
  9. .forum__icon {
  10. float: left; /* LTR */
  11. width: 24px;
  12. height: 24px;
  13. margin: 0 9px 0 0; /* LTR */
  14. background-image: url(../../../images/classy/icons/forum-icons.png);
  15. background-repeat: no-repeat;
  16. }
  17. [dir="rtl"] .forum__icon {
  18. float: right;
  19. margin: 0 0 0 9px;
  20. }
  21. .forum__title {
  22. overflow: hidden;
  23. }
  24. .forum .indented {
  25. margin-left: 20px; /* LTR */
  26. }
  27. [dir="rtl"] .forum .indented {
  28. margin-right: 20px;
  29. margin-left: 0;
  30. }
  31. .forum__topic-status--new {
  32. background-position: -24px 0;
  33. }
  34. .forum__topic-status--hot {
  35. background-position: -48px 0;
  36. }
  37. .forum__topic-status--hot-new {
  38. background-position: -72px 0;
  39. }
  40. .forum__topic-status--sticky {
  41. background-position: -96px 0;
  42. }
  43. .forum__topic-status--closed {
  44. background-position: -120px 0;
  45. }

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