Commit 594c4e0b authored by Thomas Löffler's avatar Thomas Löffler

Improves contrast with bold text in buttons

parent 1f1990d7
Pipeline #1967 passed with stages
in 1 minute and 42 seconds
......@@ -41,7 +41,9 @@
arguments="{extension : extension, versionString : version.versionString, format : 'zip'}"
title="{f:translate(key:'filesize')}: {version.zipFileSize -> terfe2:filesize()}"
class="btn btn-primary">
<f:translate key="download_zip" />
<strong>
<f:translate key="download_zip" />
</strong>
</f:link.action>
</f:then>
<f:else>
......@@ -51,7 +53,9 @@
arguments="{extension : extension, versionString : version.versionString, format : 'zip'}"
class="ter-download-icon ter-download-icon-zip"
title="{f:translate(key:'filesize')}: {version.zipFileSize -> terfe2:filesize()}">
<f:translate key="download_zip" />
<strong>
<f:translate key="download_zip" />
</strong>
</f:link.action>
</f:then>
</f:security.ifHasRole>
......@@ -101,7 +105,9 @@
arguments="{extension : extension, versionString : version.versionString, format : 'zip'}"
title="{f:translate(key:'filesize')}: {version.zipFileSize -> terfe2:filesize()}"
class="btn btn-primary">
<f:translate key="download_zip" />
<strong>
<f:translate key="download_zip" />
</strong>
</f:link.action>
</f:then>
<f:else>
......@@ -111,7 +117,9 @@
arguments="{extension : extension, versionString : version.versionString, format : 'zip'}"
class="ter-download-icon ter-download-icon-zip"
title="{f:translate(key:'filesize')}: {version.zipFileSize -> terfe2:filesize()}">
<f:translate key="download_zip" />
<strong>
<f:translate key="download_zip" />
</strong>
</f:link.action>
</f:then>
</f:security.ifHasRole>
......
......@@ -3,7 +3,7 @@
<h5>Works with TYPO3</h5>
<ul class="list-inline">
<f:for each="{version.matrixOfSupportedTypo3Versions}" key="label" as="supported">
<li class="list-inline-item btn btn-{f:if(condition:'{supported}',then:'success',else:'secondary')}">{label}</li>
<li class="list-inline-item btn btn-{f:if(condition:'{supported}',then:'success',else:'secondary')}"><strong>{label}</strong></li>
</f:for>
</ul>
</f:if>
......
......@@ -33,7 +33,7 @@
<div class="col-md-3">
<f:if condition="{extension.lastVersion.reviewState} != -1">
<f:link.action class="btn btn-primary btn-lg pull-right" controller="Extension" action="download" arguments="{extension : extension, versionString : extension.lastVersion.versionString, format : 'zip'}">
Download {extension.lastVersion.versionString}
<strong>Download {extension.lastVersion.versionString}</strong>
</f:link.action>
</f:if>
</div>
......@@ -47,7 +47,7 @@
<h3>Tags</h3>
<p class="tags">
<f:for each="{extension.tags}" as="tag">
<f:link.page class="btn btn-info mb-1" pageUid="{settings.pages.searchResultsPid}" additionalParams="{tx_solr: {filter: {0: 'keywords:{tag.title}'}}}">#{tag.title}</f:link.page>
<f:link.page class="btn btn-info mb-1" pageUid="{settings.pages.searchResultsPid}" additionalParams="{tx_solr: {filter: {0: 'keywords:{tag.title}'}}}"><strong>#{tag.title}</strong></f:link.page>
</f:for>
</p>
</f:if>
......
......@@ -40,17 +40,17 @@
</f:comment>
<h5>Works with TYPO3</h5>
<ul class="list-inline">
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports6_boolS}',then:'success',else:'secondary')}">6.2 LTS</li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports7_boolS}',then:'success',else:'secondary')}">7 LTS</li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports8_boolS}',then:'success',else:'secondary')}">8 LTS</li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports9_boolS}',then:'success',else:'secondary')}">9</li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports6_boolS}',then:'success',else:'secondary')}"><strong>6.2 LTS</strong></li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports7_boolS}',then:'success',else:'secondary')}"><strong>7 LTS</strong></li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports8_boolS}',then:'success',else:'secondary')}"><strong>8 LTS</strong></li>
<li class="list-inline-item btn btn-{f:if(condition:'{document.supports9_boolS}',then:'success',else:'secondary')}"><strong>9</strong></li>
</ul>
</div>
</div>
<div class="">
<a class="btn btn-primary btn-block btn-lg" href="{document.extensionDownloadZipUrl_stringS}">
<i class="fa fa-download"></i>
Download version {document.extensionVersion_stringS} as ZIP
<strong>Download version {document.extensionVersion_stringS} as ZIP</strong>
</a>
</div>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment