You are here

system-admin--modules.css in Drupal 9

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