filter.theme.css

Same filename in this branch
  1. main core/themes/olivero/css/theme/filter.theme.css
  2. main core/themes/claro/css/theme/filter.theme.css
  3. main core/themes/admin/css/theme/filter.theme.css
Same filename and directory in other branches
  1. 10 core/themes/olivero/css/theme/filter.theme.css
  2. 10 core/themes/claro/css/theme/filter.theme.css
  3. 11.x core/themes/olivero/css/theme/filter.theme.css
  4. 11.x core/themes/claro/css/theme/filter.theme.css
  5. 9 core/themes/olivero/css/theme/filter.theme.css
  6. 9 core/themes/claro/css/theme/filter.theme.css
  7. 8.9.x core/themes/claro/css/theme/filter.theme.css
  8. 11.x core/themes/admin/css/theme/filter.theme.css
  9. 11.x core/themes/default_admin/css/theme/filter.theme.css

Styling for the Filter module.

File

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

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