filter.theme.css

Same filename in this branch
  1. 10 core/themes/claro/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. 11.x core/themes/olivero/css/theme/filter.theme.css
  5. 11.x core/themes/claro/css/theme/filter.theme.css

Styling for the Filter module.

File

core/themes/olivero/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-block-end: 0;
  16. }
  17. .form-element--editor-format {
  18. vertical-align: top;
  19. }
  20. .filter-wrapper {
  21. margin-block: var(--sp1) var(--sp0-5);
  22. }
  23. .filter-wrapper .form-item {
  24. margin: 0;
  25. }
  26. .filter-help {
  27. float: right; /* LTR */
  28. padding-block: var(--sp0-5);
  29. font-size: var(--font-size-xxs);
  30. /**
  31. * Chromium and Webkit do not yet support flow relative logical properties,
  32. * such as float: inline-end. However, PostCSS Logical does not compile this
  33. * value, so we accommodate by not using these.
  34. *
  35. * @see https://caniuse.com/mdn-css_properties_clear_flow_relative_values
  36. * @see https://github.com/csstools/postcss-plugins/issues/632
  37. */
  38. }
  39. .filter-help:dir(rtl) {
  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-block: var(--sp1-5);
  49. }
  50. /**
  51. * Filter guidelines.
  52. */
  53. .filter-guidelines__item {
  54. margin-block-start: var(--sp1);
  55. font-size: var(--font-size-s);
  56. line-height: var(--line-height-s);
  57. }
  58. .filter-guidelines p {
  59. margin-block: var(--sp0-25) 0;
  60. }
  61. /**
  62. * Filter tips.
  63. *
  64. * Long is used on '/filter/tips[/name]', short is used for the filter tips
  65. * below a text format input.
  66. */
  67. .filter-tips--long {
  68. margin-block-end: var(--sp1-5);
  69. }
  70. .filter-tips__item,
  71. .filter-tips--long p {
  72. margin-block: var(--sp0-75);
  73. }
  74. .filter-tips__item--short {
  75. margin-block: var(--sp0-25) 0;
  76. }

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