system-admin--modules.pcss.css

Same filename in this branch
  1. main core/themes/claro/css/components/system-admin--modules.pcss.css
  2. main core/themes/admin/css/components/system-admin--modules.pcss.css
Same filename and directory in other branches
  1. 10 core/themes/claro/css/components/system-admin--modules.pcss.css
  2. 11.x core/themes/claro/css/components/system-admin--modules.pcss.css
  3. 9 core/themes/claro/css/components/system-admin--modules.pcss.css
  4. 8.9.x core/themes/claro/css/components/system-admin--modules.pcss.css
  5. 11.x core/themes/admin/css/components/system-admin--modules.pcss.css
  6. 11.x core/themes/default_admin/css/components/system-admin--modules.pcss.css

System admin module: modules page.

File

core/themes/default_admin/css/components/system-admin--modules.pcss.css

View source
  1. /**
  2. * @file
  3. * System admin module: modules page.
  4. */
  5. :root {
  6. --module-table-cell-padding-vertical: var(--space-m);
  7. --module-table-cell-padding-horizontal: calc(var(--space-m) - (var(--input-border-size) * 2));
  8. }
  9. .modules-table-filter,
  10. .permissions-table-filter {
  11. padding: 0.25rem var(--space-l);
  12. border: 1px solid var(--color-gray-200);
  13. border-radius: 2px 2px 0 0;
  14. box-shadow: 0 2px 4px rgb(0, 0, 0, 0.1);
  15. /* Visually hide the module filter input description. */
  16. & .form-item__description {
  17. position: absolute !important;
  18. overflow: hidden;
  19. clip: rect(1px, 1px, 1px, 1px);
  20. width: 1px;
  21. height: 1px;
  22. word-wrap: normal;
  23. }
  24. }
  25. .package-listing .gin-details__summary::after {
  26. content: none;
  27. }
  28. .modules-table-filter {
  29. padding: 0;
  30. border: 0 none;
  31. box-shadow: none;
  32. }
  33. .gin-details.module-list__module-details {
  34. margin-top: 2rem;
  35. margin-bottom: 0;
  36. border: none;
  37. box-shadow: none;
  38. }
  39. .module-list {
  40. margin-top: 0;
  41. }
  42. .module-list__module {
  43. color: var(--color-text);
  44. border-block-end: 1px solid var(--gin-border-color);
  45. background: none;
  46. &:hover {
  47. background: none;
  48. }
  49. & td {
  50. height: auto;
  51. padding: var(--module-table-cell-padding-vertical) var(--module-table-cell-padding-horizontal);
  52. vertical-align: top;
  53. }
  54. /* Set width only on wider view where description is visible by default. */
  55. @media screen and (min-width: 60em) {
  56. width: 25%;
  57. }
  58. }
  59. .module-list__module-name {
  60. font-weight: bold;
  61. }
  62. .module-list__checkbox {
  63. width: 4%;
  64. padding-inline-start: 0.6875rem; /* LTR */
  65. text-align: start;
  66. & .form-type--checkbox {
  67. margin: 0;
  68. line-height: var(--details-line-height);
  69. }
  70. & .form-checkbox:not([disabled]) {
  71. cursor: pointer;
  72. }
  73. }
  74. td.module-list__description {
  75. padding-inline-end: 0;
  76. }
  77. .gin-details.module-list__module-details {
  78. margin: 0;
  79. }
  80. .gin-details__summary.module-list__module-summary {
  81. padding-top: var(--module-table-cell-padding-vertical);
  82. padding-bottom: var(--module-table-cell-padding-vertical);
  83. font-weight: normal;
  84. line-height: var(--details-line-height);
  85. &::before {
  86. top: calc(var(--space-m) + var(--space-s));
  87. }
  88. }
  89. .module-details__description {
  90. font-size: var(--space-s);
  91. line-height: 0.9375rem;
  92. }
  93. .gin-details__wrapper.module-details__wrapper {
  94. margin-block: 0;
  95. }
  96. .module-details__requirements {
  97. margin-bottom: var(--space-m);
  98. }
  99. .module-details__links {
  100. position: relative;
  101. /* Negative margin matches the value of action link's top padding. */
  102. margin-top: calc((var(--space-s) - ((var(--space-l) - var(--space-s)) / 2)) * -1);
  103. margin-bottom: var(--space-m);
  104. & .action-link + .action-link {
  105. margin-inline-start: 0;
  106. }
  107. }
  108. .gin-details .tableresponsive-toggle {
  109. padding: var(--space-m) var(--space-m) var(--space-m) 0;
  110. &::before {
  111. /* This adjustment is necessary for better alignment with the adjacent
  112. button text. */
  113. position: relative;
  114. top: -1px;
  115. display: inline-block;
  116. width: calc(var(--space-m) * 2);
  117. height: 1.25rem;
  118. content: "";
  119. cursor: pointer;
  120. vertical-align: text-top;
  121. background: url(../../images/icons/545560/plus.svg) no-repeat center;
  122. background-size: contain;
  123. }
  124. &:hover {
  125. color: var(--color-absolutezero-hover);
  126. background-color: var(--color-bgblue-hover);
  127. &::before {
  128. background-image: url(../../images/icons/0036b1/plus.svg);
  129. }
  130. }
  131. }
  132. .gin-details .tableresponsive-toggle-columns button {
  133. margin-top: var(--space-xs);
  134. text-decoration: none;
  135. color: var(--color-gray-800);
  136. font-weight: bold;
  137. }
  138. .gin-details .admin-missing {
  139. color: var(--color-maximumred);
  140. }

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