filter.theme.pcss.css

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

Styling for the Filter module.

File

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

View source
  1. /**
  2. * @file
  3. * Styling for the Filter module.
  4. */
  5. /**
  6. * Filter information under field.
  7. */
  8. .text-full > .form-item {
  9. margin-bottom: 0;
  10. }
  11. .form-element--editor-format {
  12. width: auto;
  13. vertical-align: top;
  14. .form-item__label {
  15. inset-block-start: 3px;
  16. padding-block-end: 0;
  17. }
  18. }
  19. @media screen and (max-width: 600px) {
  20. /* Leave editor's select auto-scaled. */
  21. .form-element.form-element--editor-format {
  22. width: auto;
  23. }
  24. }
  25. .filter-wrapper {
  26. margin-block: 0.5em; /* (8 / 16) */
  27. .form-item {
  28. margin: 0;
  29. }
  30. .field--type-text-with-summary &,
  31. .field--widget-text-textarea
  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. max-width: var(--gin-max-line-length);
  56. margin-top: 0.5em; /* (6 / 12) */
  57. color: var(--gin-color-text-light);
  58. font-size: 0.75em; /* (12 / 16) */
  59. }
  60. .filter-guidelines p {
  61. margin-top: 0.3333em; /* (4 / 12) */
  62. margin-bottom: 0;
  63. }
  64. /**
  65. * Filter tips.
  66. *
  67. * Long is used on '/filter/tips[/name]', short is used for the filter tips
  68. * below a text format input.
  69. */
  70. .filter-tips--long {
  71. margin-bottom: 1.5em;
  72. }
  73. .filter-tips__item,
  74. .filter-tips--long p {
  75. margin-top: 0.75em;
  76. margin-bottom: 0.75em;
  77. }
  78. .filter-tips__item--short {
  79. margin-top: 0.3333em; /* (4 / 12) */
  80. margin-bottom: 0;
  81. }

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