filter.theme.pcss.css

Same filename in this branch
  1. 9 core/themes/claro/css/theme/filter.theme.pcss.css
Same filename in other branches
  1. 8.9.x core/themes/claro/css/theme/filter.theme.pcss.css
  2. 10 core/themes/olivero/css/theme/filter.theme.pcss.css
  3. 10 core/themes/claro/css/theme/filter.theme.pcss.css
  4. 11.x core/themes/olivero/css/theme/filter.theme.pcss.css
  5. 11.x core/themes/claro/css/theme/filter.theme.pcss.css

Styling for the Filter module.

File

core/themes/olivero/css/theme/filter.theme.pcss.css

View source
  1. /**
  2. * @file
  3. * Styling for the Filter module.
  4. */
  5. @import "../base/variables.pcss.css";
  6. /**
  7. * Filter information under field.
  8. */
  9. .text-full > .form-item {
  10. margin-block-end: 0;
  11. }
  12. .form-element--editor-format {
  13. vertical-align: top;
  14. }
  15. .filter-wrapper {
  16. margin-block: var(--sp1) var(--sp0-5);
  17. }
  18. .filter-wrapper .form-item {
  19. margin: 0;
  20. }
  21. .filter-help {
  22. float: inline-end;
  23. padding-block: var(--sp0-5);
  24. font-size: var(--font-size-xxs);
  25. }
  26. /**
  27. * Compose tips.
  28. *
  29. * Wraps filter tips on page '/filter/tips[/name]'.
  30. */
  31. .compose-tips__item {
  32. margin-block: var(--sp1-5);
  33. }
  34. /**
  35. * Filter guidelines.
  36. */
  37. .filter-guidelines__item {
  38. margin-block-start: var(--sp1);
  39. font-size: var(--font-size-s);
  40. line-height: var(--line-height-s);
  41. }
  42. .filter-guidelines p {
  43. margin-block: var(--sp0-25) 0;
  44. }
  45. /**
  46. * Filter tips.
  47. *
  48. * Long is used on '/filter/tips[/name]', short is used for the filter tips
  49. * below a text format input.
  50. */
  51. .filter-tips--long {
  52. margin-block-end: var(--sp1-5);
  53. }
  54. .filter-tips__item,
  55. .filter-tips--long p {
  56. margin-block: var(--sp0-75);
  57. }
  58. .filter-tips__item--short {
  59. margin-block: var(--sp0-25) 0;
  60. }

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