diff --git a/core/modules/system/css/components/module-page-styles.css b/core/modules/system/css/components/module-page-styles.css deleted file mode 100644 index 0faa352..0000000 --- a/core/modules/system/css/components/module-page-styles.css +++ /dev/null @@ -1,115 +0,0 @@ -/** - * @file - * Visual styles for module page. - */ - -.system-modules thead > tr { - border: 0; -} -.system-modules div.incompatible { - font-weight: bold; -} -.system-modules td.checkbox { - min-width: 25px; - width: 4%; -} -.system-modules td.module { - width: 25%; -} -.system-modules td { - vertical-align: top; -} -.system-modules label, -.system-modules-uninstall label { - color: #1d1d1d; - font-size: 1.15em; -} -.system-modules details { - color: #5c5c5b; - line-height: 20px; - overflow: hidden; /* truncates descriptions if too long */ - text-overflow: ellipsis; - white-space: nowrap; -} -.system-modules details[open] { - height: auto; - overflow: visible; - white-space: normal; -} -.system-modules details[open] summary .text { - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - hyphens: auto; - text-transform: none; -} -.system-modules td details a { - color: #5C5C5B; - border: 0px; -} -.system-modules td details { - border: 0; - margin: 0; - height: 20px; -} -.system-modules td details summary { - padding: 0; - text-transform: none; - font-weight: normal; - cursor: default; -} -.system-modules td { - padding-left: 0; -} - -@media screen and (max-width: 40em) { - .system-modules td.name { - width: 20%; - } - .system-modules td.description { - width: 40%; - } -} -.system-modules .requirements { - padding: 5px 0; - max-width: 490px; -} -.system-modules .links { - overflow: hidden; /* prevents collapse */ -} -.system-modules .checkbox { - margin: 0 5px; -} -.system-modules .checkbox .form-item { - margin-bottom: 0; -} -.admin-requirements, -.admin-required { - font-size: 0.9em; - color: #666; -} -.admin-enabled { - color: #080; -} -.admin-missing { - color: #f00; -} -.module-link { - display: block; - padding: 2px 20px; - white-space: nowrap; - margin-top: 2px; - float: left; /* LTR */ -} -[dir="rtl"] .module-link { - float: right; -} -.module-link-help { - background: url(../../../misc/icons/787878/questionmark-disc.svg) 0 50% no-repeat; -} -.module-link-permissions { - background: url(../../../misc/icons/787878/key.svg) 0 50% no-repeat; -} -.module-link-configure { - background: url(../../../misc/icons/787878/cog.svg) 0 50% no-repeat; -} diff --git a/core/modules/system/css/components/modules-page.css b/core/modules/system/css/components/modules-page.css new file mode 100644 index 0000000..cc7d1ba --- /dev/null +++ b/core/modules/system/css/components/modules-page.css @@ -0,0 +1,115 @@ +/** + * @file + * Visual styles for modules page. + */ + +.system-modules thead > tr { + border: 0; +} +.system-modules div.incompatible { + font-weight: bold; +} +.system-modules td.checkbox { + min-width: 25px; + width: 4%; +} +.system-modules td.module { + width: 25%; +} +.system-modules td { + vertical-align: top; +} +.system-modules label, +.system-modules-uninstall label { + color: #1d1d1d; + font-size: 1.15em; +} +.system-modules details { + color: #5c5c5b; + line-height: 20px; + overflow: hidden; /* truncates descriptions if too long */ + text-overflow: ellipsis; + white-space: nowrap; +} +.system-modules details[open] { + height: auto; + overflow: visible; + white-space: normal; +} +.system-modules details[open] summary .text { + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + hyphens: auto; + text-transform: none; +} +.system-modules td details a { + color: #5C5C5B; + border: 0px; +} +.system-modules td details { + border: 0; + margin: 0; + height: 20px; +} +.system-modules td details summary { + padding: 0; + text-transform: none; + font-weight: normal; + cursor: default; +} +.system-modules td { + padding-left: 0; +} + +@media screen and (max-width: 40em) { + .system-modules td.name { + width: 20%; + } + .system-modules td.description { + width: 40%; + } +} +.system-modules .requirements { + padding: 5px 0; + max-width: 490px; +} +.system-modules .links { + overflow: hidden; /* prevents collapse */ +} +.system-modules .checkbox { + margin: 0 5px; +} +.system-modules .checkbox .form-item { + margin-bottom: 0; +} +.admin-requirements, +.admin-required { + font-size: 0.9em; + color: #666; +} +.admin-enabled { + color: #080; +} +.admin-missing { + color: #f00; +} +.module-link { + display: block; + padding: 2px 20px; + white-space: nowrap; + margin-top: 2px; + float: left; /* LTR */ +} +[dir="rtl"] .module-link { + float: right; +} +.module-link-help { + background: url(../../../misc/icons/787878/questionmark-disc.svg) 0 50% no-repeat; +} +.module-link-permissions { + background: url(../../../misc/icons/787878/key.svg) 0 50% no-repeat; +} +.module-link-configure { + background: url(../../../misc/icons/787878/cog.svg) 0 50% no-repeat; +} diff --git a/core/modules/system/system.libraries.yml b/core/modules/system/system.libraries.yml index ea7e010..3069b93 100644 --- a/core/modules/system/system.libraries.yml +++ b/core/modules/system/system.libraries.yml @@ -44,7 +44,7 @@ admin: css/components/admin-panel.css: {} css/components/compact-links.css: {} css/components/inline-admin-links.css: {} - css/components/module-page-styles.css: {} + css/components/modules-page.css: {} css/components/status-report.css: {} css/components/appearance-page.css: {} css/components/vertical-toolbar.css: {}