Improved view on mobile devices
authorAlexander Ebert <ebert@woltlab.com>
Sun, 17 Apr 2016 16:24:13 +0000 (18:24 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 17 Apr 2016 16:24:18 +0000 (18:24 +0200)
wcfsetup/install/files/style/layout/pageHeader.scss
wcfsetup/install/files/style/ui/button.scss

index a913fcbabfbd227c442db154468d68b0977063e6..c1b005a3b310ce5052525a5bd7dfa6935300033a 100644 (file)
 }
 
 @include small-screen-only {
+       .pageHeaderContainer {
+               // touch browser allow to scroll past the page top before they bounce back,
+               // but in that case the original background color is visible
+               background-color: transparent;
+       }
+       
        .pageHeader > div > div {
                padding-bottom: 10px;
                padding-top: 10px;
index 9915698be5d50880998859b0ec792436459c33da..86816915229bc86fbf8768a803f1dbd7b4da1596 100644 (file)
@@ -5,6 +5,7 @@ input[type="submit"],
 .button,
 a.button { // a.button is required to override link formatting, such as drop-down buttons
        background-color: $wcfButtonBackground;
+       border-radius: 0;
        border-width: 0;
        color: $wcfButtonText;
        cursor: pointer;
@@ -17,6 +18,9 @@ a.button { // a.button is required to override link formatting, such as drop-dow
        @include wcfFontDefault;
        @include wcfLineHeight;
        
+       // removes UA styling enforced by Safari on iOS
+       -webkit-appearance: none;
+       
        .icon {
                color: inherit;
        }