Small style optimizations
authorMarcel Werk <burntime@woltlab.com>
Mon, 19 May 2014 13:41:53 +0000 (15:41 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 19 May 2014 13:41:53 +0000 (15:41 +0200)
wcfsetup/install/files/style/layout.less
wcfsetup/install/files/style/message.less

index 275800b882e5283746318e0f3d44857af3e2f05c..2525b92599882d5cecd92dfad4bef4db2158c338 100644 (file)
@@ -1936,18 +1936,24 @@ dl.inlineDataList {
 
 dl.dataList {
        dt {
+               color: @wcfDimmedColor;
+               clear: both;
                float: left;
-               overflow: hidden;
-               text-align: right;
-               text-overflow: ellipsis;
-               white-space: nowrap;
-               width: 35%;
-               word-wrap: normal;
+               margin-right: @wcfGapTiny;
+               text-align: left;
+               
+               &::after {
+                       content: ":";
+               }
        }
        
        dd {
-               text-align: left;
-               margin-left: 38%;
+               float: right;
+               text-align: right;
+               
+               &:not(:last-child) {
+                       margin-bottom: 3px;
+               }
        }
 }
 
index 42b453e856566883aa046f12fda689d6c70c10c5..303b2878f1cdfe55c4e0039cfdd34a3166e14507 100644 (file)
                margin: @wcfGapSmall 0 0;
                overflow: hidden;
                padding: @wcfGapSmall 0 0;
-               
-               .dataList {
-                       > dt {
-                               width: 46%;
-                       }
-                       
-                       > dd {
-                               margin-left: 49%;
-                               word-wrap: break-word;
-                       }
-               }
        }
 }