Small style optimization
authorMarcel Werk <burntime@woltlab.com>
Sun, 17 Mar 2013 23:34:35 +0000 (00:34 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 17 Mar 2013 23:34:35 +0000 (00:34 +0100)
wcfsetup/install/files/style/form.less
wcfsetup/install/files/style/layout.less

index f97eed23a6cb242e0018dddec8581989bce14443..410cf7368e0eb28ced110caa58019999f1e817d6 100644 (file)
@@ -349,6 +349,16 @@ textarea {
        width: 100%;
 }
 
+@media only screen and (max-device-width: 480px) {
+       textarea {
+               max-height: 160px;
+       }
+       
+       .medium {
+               width: 100%;
+       }
+}
+
 /* upload button */
 .uploadButton {
        margin-top: @wcfGapSmall;
index 4d5948499c8a22a5868d39f3306be60a7505a997..e7a956372ad9b6b725e77e84dd5fa9031a1c10dd 100644 (file)
        .containerList {
                > li {
                        padding: @wcfGapSmall;
+                       
+                       .containerContentType {
+                               display: none;
+                       }
                }
                
                &.infoBoxList {
                        white-space: nowrap;
                        
                        &.ui-state-active {
-                               margin-right: -7px;
-                               margin-left: -6px;
-                               
                                > a {
                                        background-color: @wcfContainerBackgroundColor;
                                        border-color: @wcfContainerBorderColor @wcfContainerBorderColor @wcfContainerBackgroundColor;
                                        padding: 10px 15px 5px;
                                        z-index: 30;
                                }
+                               
+                               &:first-child {
+                                       margin-left: -6px;
+                               }
+                               
+                               &:last-child {
+                                       margin-right: -6px;
+                               }
                        }
                        
                        > a {