diff --git a/core/modules/update/css/update.admin.css b/core/modules/update/css/update.admin.css deleted file mode 100644 index 56bf4af..0000000 --- a/core/modules/update/css/update.admin.css +++ /dev/null @@ -1,169 +0,0 @@ -/** - * @file - * Styles used by the Update Manager module. - */ - -.update .project { - font-weight: bold; - font-size: 110%; - padding-left: .25em; /* LTR */ - height: 22px; -} -[dir="rtl"] .update .project { - padding-right: .25em; -} - -.update .version-status { - float: right; /* LTR */ - padding-right: 10px; /* LTR */ - font-size: 110%; - height: 20px; -} -[dir="rtl"] .update .version-status { - float: left; - padding-left: 10px; -} - -.update .not-supported { - float: left; /* LTR */ -} -[dir="rtl"] .update .not-supported { - float: right; -} - -.update .version-status .icon { - padding-left: .5em; /* LTR */ -} -[dir="rtl"] .update .version-status .icon { - padding-right: .5em; -} - -.update .version-date { - white-space: nowrap; -} - -.update .info { - margin: 0; - padding: 1em 1em .25em 1em; -} - -.update tr.even, -.update tr.odd { - border: none; -} - -.update tr td { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - -.update tr.error { - background: #fcc; -} - -.update tr.error .version-recommended { - background: #fdd; -} - -.update tr.ok { - background: #dfd; -} - -.update tr.warning { - background: #ffd; -} - -.update tr.warning .version-recommended { - background: #ffe; -} - -.current-version, -.new-version { - direction: ltr; /* Note: version numbers should always be LTR. */ -} - -.update tr.unknown { - background: #ddd; -} - -table.update, -.update table.version { - width: 100%; - margin-top: .5em; - border: none; -} - -.update table.version tbody { - border: none; -} - -.update table.version tr, -.update table.version td { - line-height: .9em; - padding: 0; - margin: 0; - border: none; - background: none; -} - -.update table.version .version-title { - padding-left: 1em; /* LTR */ - width: 14em; -} -[dir="rtl"] .update table.version .version-title { - padding-left: 1em; -} - -.update table.version .version-details { - padding-right: .5em; /* LTR */ -} -[dir="rtl"] .update table.version .version-details { - padding-left: .5em; - direction: ltr; -} - -.update table.version .version-links { - text-align: right; /* LTR */ - padding-right: 1em; /* LTR */ -} -[dir="rtl"] .update table.version .version-links { - text-align: left; - padding-left: 1em; -} - -.update table.version-security .version-title { - color: #970f00; -} - -.update table.version-recommended-strong .version-title { - font-weight: bold; -} - -.update .security-error { - font-weight: bold; - color: #970f00; -} - -.update .check-manually { - padding-left: 1em; /* LTR */ -} -[dir="rtl"] .update .check-manually { - padding-right: 1em; -} - -.update-major-version-warning { - color: #ff0000; -} - -table tbody tr.update-security, -table tbody tr.update-unsupported { - background: #fcc; -} - -th.update-project-name { - width: 50%; -} - -.versions table ul.links { - list-style-type: none; -} diff --git a/core/modules/update/css/update.admin.theme.css b/core/modules/update/css/update.admin.theme.css index 7f1b9e3..abf0a88 100644 --- a/core/modules/update/css/update.admin.theme.css +++ b/core/modules/update/css/update.admin.theme.css @@ -3,149 +3,61 @@ * Styles used by the Update Manager module. */ -.update .project { +.project-update__title { font-weight: bold; font-size: 110%; - padding-left: .25em; /* LTR */ } -[dir="rtl"] .update .project { - padding-right: .25em; -} - -.update .version-status { +.project-update__status { float: right; /* LTR */ font-size: 110%; } -[dir="rtl"] .update .version-status { +[dir="rtl"] .project-update__status { float: left; } - -.update .not-supported { +.project-update__status--not-supported { float: left; /* LTR */ } -[dir="rtl"] .update .not-supported { +[dir="rtl"] .project-update__status--not-supported { float: right; } - -.update .version-status .icon { - padding-left: .5em; /* LTR */ -} -[dir="rtl"] .update .version-status .icon { - padding-right: .5em; -} - -.update .version-date { - white-space: nowrap; -} - -.update .info { - padding: 1em 1em .25em 1em; -} - -.update tr td { - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; -} - -.update tr.error { - background: #fcc; -} - -.update tr.error .version-recommended { - background: #fdd; -} - -.update .ok { - background: #dfd; -} - -.update tr.warning { - background: #ffd; -} - -.update tr.warning .version-recommended { - background: #ffe; +.project-update__status--security-error { + font-weight: bold; + color: #970f00; } -.current-version, -.new-version { - direction: ltr; /* Note: version numbers should always be LTR. */ +.project-update__status-icon { + padding-left: 0.5em; /* LTR */ } - -.update .unknown { - background: #ddd; +[dir="rtl"] .project-update__status-icon { + padding-left: 0; + padding-right: 0.5em; } - -.update, -.update .version { - margin-top: .5em; +.project-update__details { + padding: 1em 1em 0.25em 1em; } -.update table.version tr, -.update table.version td { - padding: 0; - margin: 0; - border: none; +.project-update__version { + padding: 1em 0; } - -.update .version .version-title { - padding-left: 1em; /* LTR */ - width: 14em; -} -[dir="rtl"] .update .version .version-title { - padding-left: 1em; +.project-update__version-date { + white-space: nowrap; } - -.update .version .version-details { - padding-right: .5em; /* LTR */ +.project-update__version-details { + padding-right: 0.5em; /* LTR */ } -[dir="rtl"] .update .version .version-details { - padding-left: .5em; - direction: ltr; +[dir="rtl"] .project-update__version-details { + padding-left: 0.5em; + direction: ltr; /* Version numbers should always be LTR. */ } - -.update .version .version-links { +.project-update__version-links { text-align: right; /* LTR */ padding-right: 1em; /* LTR */ + list-style-type: none; } -[dir="rtl"] .update .version .version-links { +[dir="rtl"] .project-update__version-links { text-align: left; padding-left: 1em; } - -.update .version-security .version-title { - color: #970f00; -} - -.update .version-recommended-strong .version-title { - font-weight: bold; -} - -.update .security-error { +.project-update__version--recommended-strong .project-update__version-title { font-weight: bold; - color: #970f00; -} - -.update .check-manually { - padding-left: 1em; /* LTR */ -} -[dir="rtl"] .update .check-manually { - padding-right: 1em; -} - -.update-major-version-warning { - color: #ff0000; -} - -table tbody .update-security, -table tbody .update-unsupported { - background: #fcc; -} - -.update-project-name { - width: 50%; -} - -.versions table .links { - list-style-type: none; } diff --git a/core/modules/update/templates/update-last-check.html.twig b/core/modules/update/templates/update-last-check.html.twig index ea6a2f2..213f724 100644 --- a/core/modules/update/templates/update-last-check.html.twig +++ b/core/modules/update/templates/update-last-check.html.twig @@ -13,11 +13,11 @@ * @ingroup themeable */ #} -
{% if last %} {{ 'Last checked: @time ago'|t({'@time': time}) }} {% else %} {{ 'Last checked: never'|t }} {% endif %} - ({{ link }}) -
| {{ title }} | -
+
+
+ {{ title }}
+
{{ version.version }}
- ({{ version.date|date('Y-M-d') }})
- |
-
-
|
-