diff --git a/core/modules/update/css/update.admin.css b/core/modules/update/css/update.admin.css index a3816af..7e00e60 100644 --- a/core/modules/update/css/update.admin.css +++ b/core/modules/update/css/update.admin.css @@ -7,7 +7,7 @@ font-weight: bold; font-size: 110%; padding-left: .25em; /* LTR */ - height: 22px; + min-height: 22px; } [dir="rtl"] .update .project { padding-right: .25em; @@ -80,55 +80,72 @@ } table.update, -.update table.version { +.update .version { width: 100%; margin-top: .5em; border: none; } -.update table.version tbody { - border: none; +.versions{ + margin:0; + padding: 1em; + list-style-type:none; +} + +.versions:after{ + content:""; + display:table; + clear:both; } -.update table.version tr, -.update table.version td { +.update .version { line-height: .9em; padding: 0; margin: 0; border: none; background: none; + clear: both; +} +.update .version > * { + padding-bottom:0.3em; } -.update table.version .version-title { - padding-left: 1em; /* LTR */ +.update li.version .version-title { width: 14em; -} -[dir="rtl"] .update table.version .version-title { - padding-left: 1em; + float:left; } -.update table.version .version-details { +.update li.version .version-details { padding-right: .5em; /* LTR */ + float:left; } -[dir="rtl"] .update table.version .version-details { +[dir="rtl"] .update .version .version-details { padding-left: .5em; direction: ltr; } -.update table.version .version-links { +.update .version .version-links { + float: right; /* LTR */ text-align: right; /* LTR */ - padding-right: 1em; /* LTR */ } -[dir="rtl"] .update table.version .version-links { + +.update .version .version-links .links { + list-style-type: none; + margin-top: 0; + padding-left: 0; + margin-left: 0.5em; +} + +[dir="rtl"] .update li.version .version-links { + float:left; text-align: left; - padding-left: 1em; } -.update table.version-security .version-title { +.update .version-security .version-title { color: #970f00; } -.update table.version-recommended-strong .version-title { +.update .version-recommended-strong .version-title { font-weight: bold; } diff --git a/core/modules/update/templates/update-report.html.twig b/core/modules/update/templates/update-report.html.twig index abb6611..3bc4489 100644 --- a/core/modules/update/templates/update-report.html.twig +++ b/core/modules/update/templates/update-report.html.twig @@ -66,11 +66,11 @@ {% if project.versions %} -
+
+ {% endif %}
diff --git a/core/modules/update/templates/update-version.html.twig b/core/modules/update/templates/update-version.html.twig index c001a23..dc51dc7 100644 --- a/core/modules/update/templates/update-version.html.twig +++ b/core/modules/update/templates/update-version.html.twig @@ -4,7 +4,7 @@ * Default theme implementation for the version display of a project. * * Available variables: - * - attributes: HTML attributes for the update versions table. + * - attributes: HTML attributes for the update versions element. * - version_link: Link to this version's release notes on drupal.org. * - version_date: The date of the release. * - version_links: Links to download this version and to this version's release notes. @@ -15,15 +15,13 @@ * @ingroup themeable */ #} - - - {{ tag }} - - {{ version_link }} - ({{ version_date }}) - - - {{ version_links }} - - - + +
{{ tag }}
+
+ {{ version_link }} + ({{ version_date }}) +
+ +