[BUGFIX] EM: distribution label "Official distribution" should use TWBS 11/35911/2
authorBenjamin Mack <benni@typo3.org>
Thu, 8 Jan 2015 19:36:56 +0000 (20:36 +0100)
committerBenjamin Mack <benni@typo3.org>
Thu, 8 Jan 2015 20:45:12 +0000 (21:45 +0100)
Instead of using a custom-defined CSS span class,
the label "Official distribution" in the distributions section
of the EM should use the regular TWBS label styling.

Resolves: #64194
Releases: master
Change-Id: I8ecd2521c95eb8a4a287edf2839bbb3985a28de9
Reviewed-on: http://review.typo3.org/35911
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
Reviewed-by: Benjamin Mack <benni@typo3.org>
Tested-by: Benjamin Mack <benni@typo3.org>
typo3/sysext/extensionmanager/Resources/Private/Partials/List/Distribution.html
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_module_extensionmanager.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css

index 94ea42c..9046a8e 100644 (file)
@@ -34,7 +34,7 @@
                                <span class="fa fa-cloud-download">&nbsp;</span><f:translate key="extensionList.installDistribution">Install</f:translate>
                        </f:link.action>
                        <f:if condition="{official}">
-                               <span class="distribution-official">
+                               <span class="label label-success">
                                        <f:translate key="extensionList.officialDistribution">Official Distribution</f:translate>
                                </span>
                        </f:if>
index 6b7d4fb..d97af77 100644 (file)
        .distribution-install {
                margin-top: 0.5em;
        }
-       .distribution-official {
-               border: 1px solid @brand-primary;
-               background-color: @brand-primary;
-               border-radius: 2px;
-               display: inline-block;
-               padding: 3px 8px;
-               vertical-align: middle;
-               color: #FFFFFF;
-       }
 }
 
 // Distributions detail
index 0218053..abbdac8 100644 (file)
@@ -11196,15 +11196,6 @@ fieldset[disabled] .live-search-list .x-btn button.active {
 .distribution-meta .distribution-install {
   margin-top: 0.5em;
 }
-.distribution-meta .distribution-official {
-  border: 1px solid #0078e6;
-  background-color: #0078e6;
-  border-radius: 2px;
-  display: inline-block;
-  padding: 3px 8px;
-  vertical-align: middle;
-  color: #FFFFFF;
-}
 .distribution-detail-flashmessage {
   margin-bottom: 2.5em;
 }