Style optimizations
authorMarcel Werk <burntime@woltlab.com>
Tue, 8 Jul 2014 22:47:37 +0000 (00:47 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 8 Jul 2014 22:47:37 +0000 (00:47 +0200)
com.woltlab.wcf/templates/authorSidebarBox.tpl
com.woltlab.wcf/templates/dashboardBoxStatsSidebar.tpl
com.woltlab.wcf/templates/userInformationStatistics.tpl
wcfsetup/install/files/style/layout.less

index 8d348fea170a7e788a3b9c76c409e8c9f648655a..df16d0dbbed5164c6558c1ca78a4e4a8630434fa 100644 (file)
@@ -11,7 +11,7 @@
                        </div>
                        
                        {if $userProfile->userID}
-                               {include file='userInformationStatistics' user=$userProfile}
+                               {include file='userInformationStatistics' user=$userProfile __userStatsClassname='dataList'}
                        {/if}
                </div>
        </div>
index b17a65be179063803da4a53361ffcb6dd6f055ff..9c63dba45bad7e65661469e919da31664ae11dd4 100644 (file)
@@ -1,4 +1,4 @@
-<dl class="plain inlineDataList">
+<dl class="plain dataList">
        <dt>{lang}wcf.user.members{/lang}</dt>
        <dd>{#$dashboardStats[members]}</dd>
        
index 2363e03f1530f044c36b7a0df6e9cb1b140499ba..7a229543280f6d3781efd366e2226fed4df172b8 100644 (file)
@@ -1,4 +1,4 @@
-<dl class="plain inlineDataList userStats">
+<dl class="plain {if !$__userStatsClassname|empty}{@$__userStatsClassname}{else}inlineDataList{/if} userStats">
        {event name='statistics'}
        
        {if MODULE_LIKE && $user->likesReceived}
index a320c1de6b2187d5b09f59ce1048181572b0b716..49c38bda99508a886efbc379b0c0e7d02de9a070 100644 (file)
@@ -1949,7 +1949,7 @@ dl.inlineDataList {
 dl.dataList {
        dt {
                color: @wcfDimmedColor;
-               clear: both;
+               clear: right;
                float: left;
                margin-right: @wcfGapTiny;
                text-align: left;
@@ -2265,6 +2265,11 @@ ul.inlineDataList {
                }
        }
        
+       dl.dataList {
+               font-size: @wcfSmallFontSize;
+       }
+       
+       /* @deprecated */
        dl.inlineDataList {
                font-size: @wcfSmallFontSize;