system-admin--modules.pcss.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/themes/claro/css/components/system-admin--modules.pcss.css
- 11.x core/themes/claro/css/components/system-admin--modules.pcss.css
- 9 core/themes/claro/css/components/system-admin--modules.pcss.css
- 8.9.x core/themes/claro/css/components/system-admin--modules.pcss.css
- 11.x core/themes/admin/css/components/system-admin--modules.pcss.css
- 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
- /**
- * @file
- * System admin module: modules page.
- */
-
- :root {
- --module-table-cell-padding-vertical: var(--space-m);
- --module-table-cell-padding-horizontal: calc(var(--space-m) - (var(--input-border-size) * 2));
- }
-
- .modules-table-filter,
- .permissions-table-filter {
- padding: 0.25rem var(--space-l);
- border: 1px solid var(--color-gray-200);
- border-radius: 2px 2px 0 0;
- box-shadow: 0 2px 4px rgb(0, 0, 0, 0.1);
-
- /* Visually hide the module filter input description. */
- & .form-item__description {
- position: absolute !important;
- overflow: hidden;
- clip: rect(1px, 1px, 1px, 1px);
- width: 1px;
- height: 1px;
- word-wrap: normal;
- }
- }
-
- .package-listing .gin-details__summary::after {
- content: none;
- }
-
- .modules-table-filter {
- padding: 0;
- border: 0 none;
- box-shadow: none;
- }
-
- .gin-details.module-list__module-details {
- margin-top: 2rem;
- margin-bottom: 0;
- border: none;
- box-shadow: none;
- }
-
- .module-list {
- margin-top: 0;
- }
-
- .module-list__module {
- color: var(--color-text);
- border-block-end: 1px solid var(--gin-border-color);
- background: none;
-
- &:hover {
- background: none;
- }
-
- & td {
- height: auto;
- padding: var(--module-table-cell-padding-vertical) var(--module-table-cell-padding-horizontal);
- vertical-align: top;
- }
-
- /* Set width only on wider view where description is visible by default. */
- @media screen and (min-width: 60em) {
- width: 25%;
- }
- }
-
- .module-list__module-name {
- font-weight: bold;
- }
-
- .module-list__checkbox {
- width: 4%;
- padding-inline-start: 0.6875rem; /* LTR */
- text-align: start;
-
- & .form-type--checkbox {
- margin: 0;
- line-height: var(--details-line-height);
- }
-
- & .form-checkbox:not([disabled]) {
- cursor: pointer;
- }
- }
-
- td.module-list__description {
- padding-inline-end: 0;
- }
-
- .gin-details.module-list__module-details {
- margin: 0;
- }
-
- .gin-details__summary.module-list__module-summary {
- padding-top: var(--module-table-cell-padding-vertical);
- padding-bottom: var(--module-table-cell-padding-vertical);
- font-weight: normal;
- line-height: var(--details-line-height);
-
- &::before {
- top: calc(var(--space-m) + var(--space-s));
- }
- }
-
- .module-details__description {
- font-size: var(--space-s);
- line-height: 0.9375rem;
- }
-
- .gin-details__wrapper.module-details__wrapper {
- margin-block: 0;
- }
-
- .module-details__requirements {
- margin-bottom: var(--space-m);
- }
-
- .module-details__links {
- position: relative;
- /* Negative margin matches the value of action link's top padding. */
- margin-top: calc((var(--space-s) - ((var(--space-l) - var(--space-s)) / 2)) * -1);
- margin-bottom: var(--space-m);
-
- & .action-link + .action-link {
- margin-inline-start: 0;
- }
- }
-
- .gin-details .tableresponsive-toggle {
- padding: var(--space-m) var(--space-m) var(--space-m) 0;
-
- &::before {
- /* This adjustment is necessary for better alignment with the adjacent
- button text. */
- position: relative;
- top: -1px;
- display: inline-block;
- width: calc(var(--space-m) * 2);
- height: 1.25rem;
- content: "";
- cursor: pointer;
- vertical-align: text-top;
- background: url(../../images/icons/545560/plus.svg) no-repeat center;
- background-size: contain;
- }
-
- &:hover {
- color: var(--color-absolutezero-hover);
- background-color: var(--color-bgblue-hover);
-
- &::before {
- background-image: url(../../images/icons/0036b1/plus.svg);
- }
- }
- }
-
- .gin-details .tableresponsive-toggle-columns button {
- margin-top: var(--space-xs);
- text-decoration: none;
- color: var(--color-gray-800);
- font-weight: bold;
- }
-
- .gin-details .admin-missing {
- color: var(--color-maximumred);
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.