filter.theme.css

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

Styling for the Filter module.

File

core/themes/claro/css/theme/filter.theme.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. * Styling for the Filter module.
  10. */
  11. /**
  12. * Filter information under field.
  13. */
  14. .text-full > .form-item {
  15. margin-bottom: 0;
  16. }
  17. .form-element--editor-format {
  18. vertical-align: top;
  19. }
  20. @media screen and (max-width: 37.5rem) {
  21. /* Leave editor's select auto-scaled. */
  22. .form-element.form-element--editor-format {
  23. width: auto;
  24. }
  25. }
  26. .filter-wrapper {
  27. margin-top: 0.5em; /* (8 / 16) */
  28. margin-bottom: 0.5em; /* (8 / 16) */
  29. }
  30. .filter-wrapper .form-item {
  31. margin: 0;
  32. }
  33. .filter-help {
  34. float: right; /* LTR */
  35. padding-top: 0.25em; /* (3 / 12), because font size is 12px */
  36. padding-bottom: 0.25em; /* (3 / 12) */
  37. font-size: 0.75em; /* (12 / 16), inherited font size is 16px */
  38. }
  39. [dir="rtl"] .filter-help {
  40. float: left;
  41. }
  42. /**
  43. * Compose tips.
  44. *
  45. * Wraps filter tips on page '/filter/tips[/name]'.
  46. */
  47. .compose-tips__item {
  48. margin-top: 1.5em;
  49. margin-bottom: 1.5em;
  50. }
  51. /**
  52. * Filter guidelines.
  53. */
  54. .filter-guidelines__item {
  55. margin-top: 0.5em; /* (6 / 12) */
  56. color: var(--input-fg-color--description);
  57. font-size: 0.75em; /* (12 / 16) */
  58. }
  59. .filter-guidelines p {
  60. margin-top: 0.3333em; /* (4 / 12) */
  61. margin-bottom: 0;
  62. }
  63. /**
  64. * Filter tips.
  65. *
  66. * Long is used on '/filter/tips[/name]', short is used for the filter tips
  67. * below a text format input.
  68. */
  69. .filter-tips--long {
  70. margin-bottom: 1.5em;
  71. }
  72. .filter-tips__item,
  73. .filter-tips--long p {
  74. margin-top: 0.75em;
  75. margin-bottom: 0.75em;
  76. }
  77. .filter-tips__item--short {
  78. margin-top: 0.3333em; /* (4 / 12) */
  79. margin-bottom: 0;
  80. }

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