filter.admin.css

Same filename in this branch
  1. 9 core/themes/seven/css/theme/filter.admin.css
  2. 9 core/themes/bartik/css/theme/filter.admin.css
  3. 9 core/themes/stable/css/filter/filter.admin.css
Same filename in other branches
  1. 8.9.x core/themes/stable/css/filter/filter.admin.css
  2. 10 core/profiles/demo_umami/themes/umami/css/theme/filter.admin.css
  3. 11.x core/profiles/demo_umami/themes/umami/css/theme/filter.admin.css

Admin styling for the Filter module.

File

core/profiles/demo_umami/themes/umami/css/theme/filter.admin.css

View source
  1. /**
  2. * @file
  3. * Admin styling for the Filter module.
  4. */
  5. /**
  6. * Filter information under field.
  7. */
  8. .text-format-wrapper > .form-item {
  9. margin-bottom: 0;
  10. }
  11. .filter-wrapper {
  12. overflow: hidden;
  13. margin: 0;
  14. padding: 0.5em 0.666em;
  15. border: 1px solid #ccc;
  16. border-top: 0;
  17. }
  18. .filter-wrapper .form-item {
  19. margin: 0;
  20. }
  21. .filter-wrapper .form-item label {
  22. display: inline;
  23. }
  24. .filter-help {
  25. float: right; /* LTR */
  26. }
  27. [dir="rtl"] .filter-help {
  28. float: left;
  29. }
  30. .filter-guidelines .filter-guidelines-item {
  31. margin-top: 1em;
  32. }
  33. .filter-help p {
  34. margin: 0;
  35. }
  36. .filter-help a {
  37. position: relative;
  38. margin: 0 20px 0 0; /* LTR */
  39. }
  40. [dir="rtl"] .filter-help a {
  41. margin: 0 0 0 20px;
  42. }
  43. .filter-help a:after {
  44. position: absolute;
  45. top: 0;
  46. right: -20px; /* LTR */
  47. display: block;
  48. width: 16px;
  49. height: 16px;
  50. content: "";
  51. background: transparent url(../../../../../../misc/help.png);
  52. }
  53. [dir="rtl"] .filter-help a:after {
  54. right: auto;
  55. left: -20px;
  56. }
  57. .text-format-wrapper .description {
  58. margin-top: 0.5em;
  59. }
  60. .tips {
  61. margin-top: 0;
  62. margin-bottom: 0;
  63. padding-top: 0;
  64. padding-bottom: 0;
  65. font-size: 0.9em;
  66. }
  67. /**
  68. * Improve filter tips position.
  69. */
  70. .tips {
  71. padding-left: 0; /* LTR */
  72. }
  73. [dir="rtl"] .tips {
  74. padding-right: 0;
  75. }

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