You are here

system-admin--modules.css in Drupal 10

System admin module: modules page.

File

core/themes/claro/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(--space-m);
  13. --module-table-cell-padding-horizontal: calc(var(--space-m) - (var(--input-border-size) * 2));
  14. }
  15. .modules-table-filter {
  16. padding: 0.25rem var(--space-l);
  17. border: 1px solid var(--color-gray-200);
  18. border-radius: 2px 2px 0 0;
  19. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  20. }
  21. /* Visually hide the module filter input description. */
  22. .modules-table-filter .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. .claro-details.claro-details--package-listing,
  31. .claro-details.module-list__module-details {
  32. margin-top: 2rem;
  33. margin-bottom: 0;
  34. border: none;
  35. box-shadow: none;
  36. }
  37. .claro-details__wrapper.claro-details__wrapper--package-listing {
  38. margin: 0;
  39. }
  40. .claro-details__summary.claro-details__summary--package-listing {
  41. color: var(--color-text);
  42. border-radius: 0.25rem;
  43. background: var(--color-gray-050);
  44. font-size: 1.125rem; /* 18px */
  45. line-height: 1.424rem; /* 23px */
  46. }
  47. .module-list {
  48. margin-top: 0;
  49. }
  50. .module-list__module {
  51. color: var(--color-text);
  52. border-bottom: 1px solid var(--color-gray-200);
  53. background: none;
  54. }
  55. .module-list__module:hover {
  56. background: none;
  57. }
  58. .module-list__module td {
  59. height: auto;
  60. padding: var(--module-table-cell-padding-vertical) var(--module-table-cell-padding-horizontal);
  61. vertical-align: top;
  62. }
  63. /* Set width only on wider view where description is visible by default. */
  64. @media screen and (min-width: 60em) {
  65. td.module-list__module {
  66. width: 25%;
  67. }
  68. }
  69. .module-list__module-name {
  70. font-weight: bold;
  71. }
  72. .module-list__checkbox {
  73. padding-left: 0.6875rem; /* LTR */
  74. text-align: left; /* LTR */
  75. }
  76. [dir="rtl"] .module-list__checkbox {
  77. padding-right: 0.6875rem;
  78. padding-left: var(--module-table-cell-padding-horizontal);
  79. text-align: right;
  80. }
  81. .module-list__checkbox .form-type--checkbox {
  82. margin: 0;
  83. line-height: var(--details-line-height);
  84. }
  85. .module-list__checkbox .form-checkbox:not([disabled]) {
  86. cursor: pointer;
  87. }
  88. td.module-list__checkbox {
  89. width: 4%;
  90. }
  91. td.module-list__description {
  92. padding-top: 0;
  93. padding-right: 0;
  94. padding-bottom: 0;
  95. }
  96. .claro-details.module-list__module-details {
  97. margin: 0;
  98. }
  99. .claro-details__summary.module-list__module-summary {
  100. padding-top: var(--module-table-cell-padding-vertical);
  101. padding-bottom: var(--module-table-cell-padding-vertical);
  102. font-weight: normal;
  103. line-height: var(--details-line-height);
  104. }
  105. .claro-details__summary.module-list__module-summary::before {
  106. top: calc(var(--space-m) + var(--space-s));
  107. }
  108. .module-details__description {
  109. font-size: var(--space-s);
  110. line-height: 0.9375rem;
  111. }
  112. .claro-details__wrapper.module-details__wrapper {
  113. margin-top: 0;
  114. margin-bottom: 0;
  115. }
  116. .module-details__requirements {
  117. margin-bottom: var(--space-m);
  118. }
  119. .module-details__links {
  120. position: relative;
  121. /* Negative margin matches the value of action link's top padding. */
  122. margin-top: calc((var(--space-s) - ((var(--space-l) - var(--space-s)) / 2)) * -1);
  123. margin-bottom: var(--space-m);
  124. }
  125. .module-details__links .action-link + .action-link {
  126. margin-left: 0; /* LTR */
  127. }
  128. [dir="rtl"] .module-details__links .action-link + .action-link {
  129. margin-right: 0;
  130. }
  131. .claro-details .tableresponsive-toggle {
  132. padding: var(--space-m) var(--space-m) var(--space-m) 0;
  133. }
  134. .claro-details .tableresponsive-toggle::before {
  135. /* This adjustment is necessary for better alignment with the adjacent button
  136. text. */
  137. position: relative;
  138. top: -1px;
  139. display: inline-block;
  140. width: calc(var(--space-m) * 2);
  141. height: 1.25rem;
  142. content: "";
  143. cursor: pointer;
  144. vertical-align: text-top;
  145. 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;
  146. background-size: contain;
  147. }
  148. .claro-details .tableresponsive-toggle:hover {
  149. color: var(--color-absolutezero-hover);
  150. background-color: var(--color-bgblue-hover);
  151. }
  152. .claro-details .tableresponsive-toggle:hover::before {
  153. 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");
  154. }
  155. .claro-details .tableresponsive-toggle-columns button {
  156. margin-top: var(--space-xs);
  157. text-decoration: none;
  158. color: var(--color-gray-800);
  159. font-weight: bold;
  160. }