system-admin--modules.css

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

System admin module: modules page.

File

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

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